#add-ons-archived

1 messages · Page 6 of 1

languid roost
#

Oh? 🙂

bitter skiff
#

...maybe

languid roost
#

Any hints you can provide will be very very welcome.

#

When it's finished, I plan to release it to teh deeper community

bitter skiff
#

That may be the most resilient, since you won't want to touch the base HA image, and you can control the additional packages that are put on to the addon w/ config

languid roost
#

RE SSH - I'm just 1 issue away from finding my next issue 🙂

languid roost
#

I assume the SSH addon runs from its own container, and avoids the base install?

bitter skiff
#

All addons are their own container

languid roost
#

awesome.
I just wish I knew what was missing from the official ssh addon in comparison to the community one

bitter skiff
#

Why not just use the community one

#

It has more features anyway

languid roost
#

I did... when I wrote the bash script.

It just doesn't want to work when I call the script from YAML

#

error 127

#

not found

#

(or library not available)

bitter skiff
#

How are you calling it from YAML.... I think you might still be confused.

If you're throwing the script into a /config/ subdir and using the command_line, it's going to be executing using the main HA container

#

That is yet a different container than either the Official HA SSH addon or the Community SSH addon

languid roost
#

Very likely.

I had deleted the yaml since it didn't work..

Let me re-write it

#

Ahhh

#

so SSH is going to be the way?

#

with keys

bitter skiff
#

That's the easiest way I can think of at the moment to do what you want to do. Unless you've got another host that you'd want to offload things to (which is effectively what you'd be using the addon for otherwise)

languid roost
#

Yeah I was thinking that.

Spinning up another linux machine to do the heavy lifting, and then publishing the results.

messy

#

that was how I called it

bitter skiff
#

Yeah, that's just the main HA container

languid roost
#

Shame, as my other bash commands seem to work for other things I have created

bitter skiff
#

Think it's just openssl that's missing

languid roost
#

hmmm

#

that would be for the key decoding I think

#

deeper devices use a public key with some extra sauce

bitter skiff
#

Looks like it's being used to encrypt the password

languid roost
#

yes that's right

bitter skiff
#

Does that password change?

languid roost
#

the browser does it before sending

#

Yes 😦

bitter skiff
#

Gotcha

languid roost
#

It's Base64

bitter skiff
#

Looks like it's the first arg to the script

#

That's not static?

#

It changes?

languid roost
#

The code on teh device is

export const encryptWithPublicKey = function (string) {
  if (string) {
    const encrypted = crypto.publicEncrypt(publicKey, Buffer.from(string));
    return encrypted.toString('base64');
  }
};```
#

it's the buffer that is added to the key

bitter skiff
#

That just looks like it's creating a buffer from the argument

#

(which is likely the password)

languid roost
#

yeah.

I handled it in my bash script (with some help)

bitter skiff
#

Right, all I was thinking... and it's not great, but if you wanted to avoid the SSH stuff. If you had passed in the encrypted password instead, you could remove the openssl call

languid roost
#

yeah, not possible unfortunately 😦

#

it changes every time

bitter skiff
#

Gotcha, well then, SSH time

languid roost
#

well in that case...

Could you advise me of something..

Currently I am running this :

ssh root@homeassistant.local -p 22

wants password.

Tried the -i flag

ssh root@homeassistant.local -p 22 -i /etc/ssh/ssh_host_rsa_key

Still asks for password

bitter skiff
#

Is it added to the authorized_keys?

languid roost
#

yes

#

it's in ~/.ssh/authorized_keys

Or at least the key I made in putty is

#

I am a little confused about what key it needs

oblique leaf
#

It needs the key you generated. The host SSH key is used for when a client is SSHing in to that server

languid roost
#

Yeah the key I generated is in authorized_keys

#

I think I need to ssh from HA to teh host

oblique leaf
#

That's the public key, but the client that's running the SSH command needs the private key specified on the command line

#

e.g. -i ~/.ssh/id_rsa

languid roost
#

ok, let me try that 🙂

#

thanks

#

permission denied

#

hmmm

#

(publickey, keyboard-interactive)

#

ahh tried to cat it.. not found

oblique leaf
#

Well that was an example, you need to put the appropriate path to wherever you stored it

languid roost
#

so the key I need to pass in the command is the key I made?

#

private?

bitter skiff
#

Where are you SSHing from anyway

languid roost
#

from HA to HA

#

(host)

#

core-ssh

#

to ~

bitter skiff
#

That's an addon

#

You don't want to SSH from the addon back to the addon

#

That won't help you

languid roost
#

Yeah I want to SSH to somewhere that can run my script

#

Which seems to run in the community terminal without issue

bitter skiff
#

Right... and the addon is fine for that, but keep in mind that the thing that will be initiating the SSH is the HA Core container

languid roost
#

ok

bitter skiff
#

If you've got the community add-on and protection mode is disabled you can follow the guide above to test things out

languid roost
#

ok I will give it a go

bitter skiff
#

It shows you how to get a terminal inside the Core container

languid roost
#

thanks for the tip bud 🙂

bitter skiff
#

You bet

languid roost
#

I've worked on this for over a week now. The end is SOOO near

#

I have the community addon running on 222 and the official addon running on 22

#

Needed to look at them side by side to figure out WHERE I was

#

Ahhhhh I need to store the keys with config.

DOH!

I should have guessed that!

#

hmmm I think I need to CHMOD the key...
It's "too open"

bitter skiff
#

0600 for most of those sensitive files

languid roost
#

Nice, thanks

#

One more question...

Since I already have a pub / private key pair, can I generate the ID file without having to mint new keys?

bitter skiff
#

If you want to use your existing pair, that's fine, you don't have to follow that section. Just make sure you store the keys in a spot the core container can access them

#

(like /config)

languid roost
#

I have done that. Still asks for password.

I issued ssh root@homeassistant.local -p 222 -i /config/keys/private.ppk

error in libcrypto

I think it doesn't like PPK

bitter skiff
#

Just generate a new one? Otherwise, you'll need to convert to pem I think

languid roost
#

ah fair play. I made them in putty

#

puttygen

oblique leaf
#

ssh-keygen

languid roost
#

cool. Was trying to avoid that, but that's fine.

#

Amazing.

PuttyGen let's me convert to pem, and now it works

#

thank you both for your help, very much appreciated 🙂

analog bridge
#

I am trying to use Nut Addon. Any idea what this means? Failed to save add-on configuration, Missing option 'devices' in root in Network UPS Tools (a0d7b954_nut). Got {'mode': 'netserver', 'shutdown_host': False, 'users': [{'actions': [], 'instcmds': ['all'], 'password': 'didyoureallythinkIwouldleavethis', 'username': 'comeonnow'}]}

#

I think it started when the power dropped during system hung while trying to either install or remove Nut and now all future installs have this bug that prevents saving configurations.

bitter skiff
#

The devices list isn't there

analog bridge
#

I still have my original problem. It auto fails when I try to login to the Nut Server

clear lark
#

Is there a way to make sure that an add-on starts before HA actually starts in HAOS? I recently had a power outage and on restart, Home Assistant started before the mariadb add-on (serving as my recording). That led to wall of integration setup errors that ultimately were able to be solved simply but I had to scratch my head on.

#

^I'm sure the above has been asked before but I wasn't able to find an answer on that one. In a Docker-Compose, I would have just made HASS depend_on the maria container to ensure it would wait to startup

analog bridge
#

Any idea what is wrong with this configuartion? ```devices:

  • name: CyberPowerSX950U
    driver: usbhid-ups
    port: >-
    /devices/platform/scb/fd500000.pcie/pci0000:00/0000:00:00.0/0000:01:00.0/usb1/1-1/1-1.4
    config:
    • vendorid = 0764
    • desc = CyberPower-SX950U
      mode: netserver
      shutdown_host: "false"
      users:
  • actions: []
    instcmds:
    • all
      password: password
      username: name```
languid roost
#

@bitter skiff IT WORKS!!!!!

bitter skiff
#

🥳

languid roost
#

final command, for reference

ssh root@homeassistant.local -p 222 -i /config/keys/SSH/HA-Private.pem -o StrictHostKeyChecking=no "bash ./config/shell_scripts/deeper.sh credit 192.168.1.198"

#

When I publish on github, I want to credit you.

Is there an identity you wish to be credited as?

bitter skiff
#

🤷‍♂️ If you really want to, just NSX from HA Discord is fine, but definitely not necessary at all

languid roost
#

Gonna add it to the comments of the script

bitter skiff
analog bridge
#
   0.000000    fopen /run/nut/upsd.pid: No such file or directory
   0.001813    listening on 0.0.0.0 port 3493
   0.004168    Connected to UPS [CyberPowerSX950U]: usbhid-ups-CyberPowerSX950U
[18:21:41] INFO: Starting the UPS monitor and shutdown controller...
   0.000000    fopen /run/nut/upsmon.pid: No such file or directory
   0.000645    Using power down flag file /etc/killpower
   0.000942    UPS: CyberPowerSX950U@localhost (master) (power value 1)
   0.001186    debug level is '1'
   0.001314    Warning: running as one big root process by request (upsmon -p)
   0.001936    Init SSL without certificate database
   0.005865    Trying to connect to UPS [CyberPowerSX950U@localhost]
   0.032409    User upsmonmaster@127.0.0.1 logged into UPS [CyberPowerSX950U]
   0.010856    Logged into UPS CyberPowerSX950U@localhost```
#

The logs show nothing wrong either.

#

The problem is everything appears to be working but when I go to integrations and type everything in, it fails instantly.

bitter skiff
#

Well... what are you providing as details in the integration

#

any logs in HA for that?

analog bridge
#

Integration says Failed to Connect Is there some other location of logs?

bitter skiff
#

/config/home-assistant.log

analog bridge
#

found the log.

#

Failure getting Nut ups alias, Socket error

Source: components/nut/__init__.py:270
Integration: Network UPS Tools (NUT) (documentation, issues)
First occurred: 10:44:53 PM (7 occurrences)
Last logged: 11:48:50 PM

Failure getting NUT ups alias, Socket error.```
bitter skiff
#

what's the host you're using

#

in the integration

analog bridge
#

What do you mean by what is the host?

bitter skiff
#

That top box

analog bridge
#

localhost

bitter skiff
#

Use a0d7b954-nut

analog bridge
#

That worked. Where did you get that number from?

bitter skiff
#

It's the addon's hostname

analog bridge
#

Oh, so addons need a special name for localhost. You can't type local host. Is that a known bug or a "feature"?

bitter skiff
#

It's neither

#

The HA Core container is what's initiating a connection when you're adding an integration

#

The Core container isn't hosting the NUT server, so going to that port within the Core container won't work

analog bridge
#

Oh

#

I think it would be useful to change the interface people see so localhost would work. Either that or change the default value of adding a Nut Integration to its real localhost value.

lament otter
#

That's not how docker works

#

(This is the docs page that shows up for the add-on in HA)

analog bridge
#

Thankyou for that information. I still think that updating the default value in host would be a good thing to do all the same but your right. I should have seen that.

lament otter
#

Well the integration works with any NUT server, assuming people are using the add-on would be incorrect in many cases—and impossible if you were using a container install

analog bridge
#

With external servers, it is quite obvious to put the external server their and how to format it. People are use to doing that with external servers. Many people are use to using localhost to mean localhost and not some special value.

#

It would alleviate being blinded because of assumptions that standards are normal and followed standards.

languid roost
woeful salmon
#

can I get the duck dns app if I'm using HA on a pi using containers?

oblique leaf
#

Container doesn't have add-ons, but add-ons are just Docker containers, so you can just add another container to your system

woeful salmon
#

Okay, is it at all correlated to the "internet" entry in the settings>home assistant URL? Can I expect to enter my duckdns URL and expect it to magically link?

oblique leaf
#

I haven't used DuckDNS but I believe all it's doing is dynamic DNS and SSL certs, so it wouldn't just magically work. You'd have to also open the port on your router and do whatever other configuration is necessary. If you're looking for a simpler solution there's always the Nabu Casa Cloud subscription

slow beacon
#

Hi!
im trying to send this in nodered but it doesnt allowed extra keys, what am i missing?
{
"message": "command_activity",
"mode": "single",
"data": {
"channel": "com.google.android.deskclock",
"tag": "android.intent.action.SET_TIMER",
"group": "android.intent.extra.alarm.SKIP_UI: true,android.intent.extra.alarm.LENGTH:1"
}
}

slow beacon
weary stratus
weary stratus
#

Hi, i'm new here and trying to install the #Eufy integration. However i'm stuck with the add-on version 1.3.0 as i see there are already newer versions available, how can i update to the newest version (that hopefully enables 2FA). I have almost no knowledge of coding so this makes it even harder... Thanks!

bitter skiff
#

The integration is a separate piece in HACS

lusty elm
#

Are more people having trouble running NodeRed as addon? Since a month or so. It will not working anymore. There are issues mentioned at github. The server will not connect to the supervisor anymore and so NodeRed is useless. Do somebody knows a work around?

#

I did remove the addon and directory to start from scratch.

#

but no result

#

My work around is running NR as docker. But from then my automations are much slower

bitter skiff
#

You could downgrade temporarily?

lusty elm
#

I did. without succes

bitter skiff
#

To which version

lusty elm
#

several . The earliest I had was snapshot was 2022.12.3 or so. I'm not sure anymore because i tried that already about 4 weeks ago

#

My feeling is that it has to do with the latest supervisor update

bitter skiff
#

Well, it's definitely not universal, I've got no problems w/ mine. Without further information or debug logs, it'll be pretty hard to diagnose what's actually causing your issue.

lusty elm
#

I'm running HA supervised as a VM under Unraid

oblique leaf
#

Don't run Supervised 😦

bitter skiff
#

Start by adding log_level: debug to your NR addon

#

But yeah, supervised comes w/ a whole host of issues if you aren't diligent in adhering to standards and updates

lusty elm
#

there are nog logs except in NR

bitter skiff
#

If you're already running HA in a VM though, not sure why you wouldn't move to HA OS

lament otter
#

Just install HAOS and restore a backup. It will likely solve a bunch of weirdness.

bitter skiff
lusty elm
#

i try to show a screenshot over here but won't work

bitter skiff
#

Post on imgur and link it

lusty elm
#

imgur?

bitter skiff
#

any image sharing site

lusty elm
#

oke

#

but is syas every second several times: connecting to http://supervisor/core followed by connected and disconnecting

bitter skiff
#

Did you bump your log level to debug as I mentioned?

lusty elm
#

no at the moment i removed NR addon and the NR directory. For doing that I do need to install again

river wharfBOT
#

Open your Home Assistant instance and show your Supervisor system logs

bitter skiff
#

Also check out the supervisor logs (dropdown in the upper right)

#

Both may give some insight into what's up

lusty elm
#

supervisor log did not give any errors at that time

#

how do I change nodered log to debug?

#

then I will try tonight to start up again

bitter skiff
#

Go to the config tab of the add-on, hit show unused optional configuration options, select debug in log_level

lusty elm
#

thanks for the help sofar

bitter skiff
#

np

weary stratus
bitter skiff
#

Should just be part of the integration set up

#

Step 6 talks about MFA

weary stratus
#

Thanks!

bitter skiff
#

yw

lusty elm
#

terugkomend op disconnecten:

#

dit is log in debugnode

#

wat mij opvalt is dat er staat integration not loaded

#

@bitter skiff

oblique leaf
#

Your best bet is to just switch to HAOS and restore a backup as Rosemary suggested

lusty elm
#

Dan I do miss my supervisor?

#

and it did work perfect before

#

I also do use zwave-js as addon

oblique leaf
#

HAOS has add-ons if that's what you mean

lusty elm
#

owh?

#

I didn''t know that

lament otter
#

HAOS is Supervised without the migraines.

lusty elm
#

I can not find that

#

I only see a VM posibility

lusty elm
#

oke thanks

clear lark
#

@analog bridge How would I make the recorder delay start? I don't think I've ever seen that option in the integrations setup?

analog bridge
clear lark
#

So the Database is setup to start on boot but I believe HomeAssistant tries to connect and read the recorder before booting is complete

prisma blade
#

Does the AirCast addon use airplay v1 or v2?

#

I don't know if it's an IOS limitation, but I have two Google Homes Minis that are setup using AirCast, and a homepod and soundbar that use legitimate airplay.

#

If I select one of the Google Home Minis, I'm unable to play to a second device simultaneously.

analog bridge
raven cosmos
#

(Image)

bitter skiff
half umbra
#

any reason mosquitto broker would have stopped allowing my other devices to log in?

#

a bunch of tasmota devices became unavailable. the console on those shows that they fail to connect to the MQTT broker.

bitter skiff
#

What's the exact error? How about logs from the Mosquitto addon?

half umbra
#

the error on the tasmota devices is "03:18:59 MQT: Connect failed to 192.168.1.120:1883, rc -2. Retry in 10 sec"

#

log from the broker:

river wharfBOT
#

@half umbra I converted your message into a file since it's above 15 lines :+1:

half umbra
#

i tried creating a new HA user to see if that would allow the tasmota device to log in. no luck.

bitter skiff
#

It has worked before though? You haven't made changes to either configuration?

half umbra
#

correct. it has been working for years.

#

tasmota devices are showing "became unavailable" and then "became unknown" in the logbook. it looks like they worked earlier today based on the logbook though.

bitter skiff
#

Didn't happen to have your broker change IP address or anything, did you?

half umbra
#

no, i'm using a pi with HA and the mosquitto add-on. static IP.

bitter skiff
half umbra
#

ok that's helpful

#

ok, weird. i just checked some ESPhome devices and they're being weird too

#

thanks for that @bitter skiff . i tried restarting all the network equipment and that solved my problem

bitter skiff
#

Nice, glad you got it working

gleaming minnow
#

hi, when trying to get 'HASS Addon Calendar' to work and create a sensor it looks like the addon not creating a sensor for my calendar even though I have configured my google account to it.
YAML:
https://pastebin.com/BV4udRkj
by the way, I have reinstalled the addon and changed the name to one word without spaces in between just to make sure it wasn't the issue.

weary stratus
#

Still struggling to get the Eufy inegration live... when trying to enter the captcha i receive 'Translation Error: The intl string context variable "captcha_img" was not provided to the string "{captcha_img}"' anyone else has this?

kind heath
#

I don't know what happened but I can't get any add-ons to start up that aren't already running
Can't start addon_a0d7b954_nodered: 500 Server Error for http+docker://localhost/v1.41/containers/[container id]/start: Internal Server Error ("failed to open stdout fifo: error creating fifo /var/run/docker/containerd/[container id]/init-stdout: no space left on device")
Can't start addon_a0d7b954_vscode: 500 Server Error for http+docker://localhost/v1.41/containers/[container id]/start: Internal Server Error ("failed to open stdout fifo: error creating fifo /var/run/docker/containerd/[container id]/init-stdout: no space left on device")

But in Settings / System / Storage section it says Used Space 9.5 %

#

I've cleaned up a bunch of old backups but that didn't change anything

#

I've got it running on an odroid which has been working fine for months

scenic python
#

Hello, is anyone else having problems renewing the certificate with Lets encrypt addon? Works well but now error: The Certificate Authority failed to download the challenge files from the temporary standalone webserver started by Certbot on port 80.

agile basin
#

hello all! I am using the frigate (non-proxy) addon and it needs open ports for RTSP streaming and a special web interface on port 5000. how would i open ports this for HASS on the local network in my house?

fresh ridge
#

Hi Everone, I have used DuckDNS for HA but it had many offline hours so I installed DynuDns, today it seemed to not work so I turned back on DuckDNS addon, now the certifcate for DynuDNS was overwritten by the duckdns one and I cannot return, DynuDNS addon is happy that it is valid for more than a month still and does nothing, is there any way I can force it renew? I worry even reinstalling might not do the trick, I changed config and returned, whatever I do it does not change the certificate 😦

brittle night
fresh ridge
brittle night
#

Or buy a cheap one off namecheap for $5 or less

#

Porkbun is free for a year with that link tho

fresh ridge
#

thanks.

plucky cedar
#

hey, this might be a weird question but is there a way to install an add-on on my computer and then copy it to HA instead of downloading it from HA directly? because my HA is blocked from accessing the internet thanks to my country

#
``` thats the error i get when trying to add a repository
oblique leaf
#

You might be out of luck without some sort of VPN that you can funnel all of your HA traffic through

brittle night
#

Yea tailscale etc with an exit node outside your country is probably the easy answer

plucky cedar
plucky cedar
brittle night
# plucky cedar Can I do that on the same pi running HA?

Imagine you’re in jail and you want to meet up with your gf. Each time you want to meet with her, you need to get out of jail right? So you dig a tunnel and you go through that tunnel to see her. In this story, the tunnel is the vpn, the gf is the home assistant urls you can’t access, and you’re the guy in jail with a pi

#

The exit node can’t be on the pi.. cuz then where are you tunneling to?

#

Make sense?

plucky cedar
#

yeah that makes sense

brittle night
#

You’d have to setup a VPS or something and run tailscale as an exit node there

#

But then you’d have to pay for bandwidth with the vps or deal with limits

#

It’s all trivial to setup with tailscale tho

#

Or

plucky cedar
#

cant i run tailscale on my mac then get ha running and download openvpn to it and use that or it wont work?

brittle night
#

Maybe cloudflare Argo tunnel but I think you will get banned for breaking ToS

#

If it’s downloading a bunch of stuff

#

Plus they might have an agreement with your country not to forward traffic to banned sites idk

#

Sucks bro

brittle night
#

Like tunnel through a tunnel?

#

We’re gettin real weird with it

plucky cedar
brittle night
#

Tunnel to where?

#

You’re still in jail remember

#

Your MacBook is in jail cuz you managed to conceal it in your body on the intake to jail

#

Not to mention you’re putting yourself at risk with your country’s laws by going around what they’ve banned

#

So whatever you do, that should be on your mind too

plucky cedar
#

yeah i just remembered i still can't access ha urls from the mac either so i would need a vpn over tailscale to use that as the tunnel

brittle night
#

I blame YouTube sellouts with their nordvpn etc thing confusing you about VPNs

plucky cedar
#

yeah i had to learn the truth the hard way

#

so i guess there is noway out of this jail for me

brittle night
#

Solutions exist like I said above but it’s diy and has inherent risk

plucky cedar
#

alright i will take a look at the vps and cloudflare's tunnel

gleaming minnow
#

hi, need some help with HASS Addon Calendar -
I have set up everything, but looking at the logs it seems that the add-on cannot find the .json file of my google calendar.
Path to the .json file:
https://imgur.com/a7P4VKz
Logs:
http://pastie.org/p/5CTKWsUMvbqAYzE5PjyFjL

Download service account credentials and store in HA share folder: The guide also describes how to obtain the json file with your service account credentials. You need to place that file in the /share folder of your Home Assistant installation. This add-on expects that to be the location. You can get easy access to this folder with the samba add-on. The filename is to be provided as a configuration parameter.

I placed it in the right folder, so I don't know why it can't find it.

Configuration to the add-on:
http://pastie.org/p/5kFwswcxwiNhGprOvwm3eY

Thanks for helping!

solemn egret
#

Whenever I change my HAOS PC network connection from WiFi to Ethernet, I lose access (can't see it) to the it from Samba, from my Windows Laptop. Its IP changes, obviously, but that's it. I restarted the addon too and HAOS too but nothing.

This is the Samba log: http://pastie.org/p/6WGA4cDSJL4zfzOUM9yrl9
This is the Samba config: http://pastie.org/p/1HQN3m8D9Oti5kpKn1bZbs
I've added the last 2 lines in an effort to allow my devices connections, but nothing. Funny because without those lines it works fine in WiFi anyway. My laptop is 192.168.1.115

Any idea?

Edit replying to myself FIY: must be some Windows crap. It just can't discover the HAOS PC, but if I manually type //homeassistant on Windows Explorer it finds it just fine. I just saved it as favorite. No clue why it does that though, stupid Windows.

frozen rain
#

Is there a way to get the nginx_proxy to restart (or reload certificates) when the certificates change?

#

My HA just lost external access since the certificates it used had expired (even though the files had new certificates in them)

junior elk
#

Using local traccar server addon with nginx proxy all is working. when adding device tracker in home assistant my devices shows up. but no events event if all events is enabled or specific event is specified in config. anyone else having this problem?

junior elk
#

I know i can see allmost everything from the device_tracker enetity but when on more then one geofence it shows only one geofence at a time...

visual raft
#

Hello, I don,t know if someone can help me, but I try to update to the latest version for Adguard and Node-red and both won't start after. I have some errors in the logs. View complete log here http://pastie.org/p/41CM3oyi4DAQ2ebAvJ4fDE

analog bridge
#

What are the commands to enable and disable motion detection in Motioneye? The ones I see posted in 2019 and 2020 threads are not working.

spare tusk
#

Hello I am attempting to setup the SSH & Web Terminal addon for the first time I have setup an authorized key but when I start the addon the log spits out like "No such file or directory" and "/usr/bin/curl: line 10: syntax error near unexpected token `|'" and " Something went wrong contacting the API. Any help would be appreciated.

viscid orchid
#

How did you add your key?

spare tusk
#
    ssh-rsa
    Key
    my computer
#

The key was generated via command prompt.

viscid orchid
#

Ok. No idea what's causing that

spare tusk
viscid orchid
#

That looks super broken

#

I would try uninstalling and reinstalling the addon

spare tusk
#

I would agree with that. I have tried uninstalling and reinstalling to the same result

viscid orchid
#

Then try to start it. It will fail without credentials, but you're not getting that far

#

Ok. I'm using a container install and can't check

spare tusk
#

To clarify the setup in is a Raspberry Pi3B

#

setup with the os

#

I just reinstalled it and did no configuration after the reinstall and got as far as I can tell the exact same errors in the log

oblique leaf
#

On the add-on config page click the dotsvertical then "Edit in YAML" and paste the config (and obfuscate any sensitive info)

spare tusk
#

init_commands: []
packages: []
share_sessions: false
ssh:
allow_agent_forwarding: false
allow_remote_port_forwarding: false
allow_tcp_forwarding: false
authorized_keys: []
compatibility_mode: false
password: ""
sftp: false
username: hassio
zsh: true

#

the only change i had previously was adding my key

oblique leaf
#

hmm, that looks normal

spare tusk
#

I would hope so as I had not touched in on this reinstall

viscid orchid
#

I suggest running ha su repair from the console

#

Or you can try the core SSH addon

spare tusk
#

How would i get to the console in the os?

viscid orchid
#

Monitor and keyboard

spare tusk
#

oh hooking in directly.

#

ok

viscid orchid
#

Or you can try the core SSH addon

spare tusk
#

Alright I will try that.

#

whelp that worked thanks

viscid orchid
#

Which?

spare tusk
#

Core SSh

viscid orchid
#

Weird

#

Do an ha su repair in ssh

spare tusk
#

I attempted to try it earlier but got scared off then found how to gen a key and did not go back to it

viscid orchid
#

rsa-keygen 🙂

spare tusk
#

Thank you for your help.

gleaming minnow
#

hi, need some help with HASS Addon Calendar -
I have set up everything, but looking at the logs it seems that the add-on cannot find the .json file of my google calendar.
Path to the .json file:
https://imgur.com/a7P4VKz
Logs:
http://pastie.org/p/4Myrpu4ZTMERfctGe6E5vl

Download service account credentials and store in HA share folder: The guide also describes how to obtain the json file with your service account credentials. You need to place that file in the /share folder of your Home Assistant installation. This add-on expects that to be the location. You can get easy access to this folder with the samba add-on. The filename is to be provided as a configuration parameter.

I placed it in the right folder, so I don't know why it can't find it.

Configuration to the add-on:
http://pastie.org/p/3lkOz1bKu2XzbIdKB9wLlV

Thanks for helping!

tame fiber
tropic crag
#

How do I prevent the 'Silicon Labs Multiprotocol' add-on from starting on boot? The option is disabled, yet it sometimes starts on its own.

#

Asking because I currently do not use the onboard ZigBee adapter, last night my HA Yellow processor use went from 6 to 34% (not sure what happened but it was the add-on) and hate the otbr integration error in the log.

#

I just uninstalled it but seems not really a correct solution.

lucid terrace
#

does the new Reolink add-on, not offer binary sensors? Connected to my camera directly and I don't get the entities...

raven tinsel
#

As Home Assistant added a new Reolink integration in the last release, I'm not aware of an Reolink add-on.

lucid terrace
#

uh, I guess I am... what's the difference?

lucid terrace
raven tinsel
#

So, that would mean you are in the wrong channel 😉
Nevertheless, to answer your question: No it doesn't support binary sensors yet. That part is in development and will probably land in 2022.3

So, should I use this addon: https://github.com/fwestenberg/reolink_dev ?

👆 That isn't an add-on, that is a custom integration.

gleaming minnow
#

Have you updated to 2023.1.5 Core?

#

They changed some stuff on Reolink.

raven tinsel
lucid terrace
raven tinsel
lucid terrace
#

fresh out of the oven

marsh bear
#

Does someone here know if there is an add-on already for a Portainer Agent (so it can join another portainer instance as an environment)?

devout laurel
#

Have anyone encountered problem to start Studio code server? i get error 503

#

sorry, error 502. bad gateway

#

well now it does...

viscid orchid
#

that usually means that it didn't start

#

or start fully (yet)

devout laurel
#

working now lol

viscid orchid
#

patience, grasshopper

gleaming minnow
#

hi, need some help with HASS Addon Calendar -
I have set up everything, but looking at the logs it seems that the add-on cannot find the .json file of my google calendar.
Path to the .json file:
https://imgur.com/a7P4VKz
Logs:
http://pastie.org/p/4Myrpu4ZTMERfctGe6E5vl

 You need to place that file in the /share folder of your Home Assistant installation. This add-on expects that to be the location. You can get easy access to this folder with the samba add-on. The filename is to be provided as a configuration parameter.

I placed it in the right folder, so I don't know why it can't find it.

Configuration to the add-on:
http://pastie.org/p/3lkOz1bKu2XzbIdKB9wLlV

Thanks for helping!

finite bough
#

Hi, i was wondering why the visual studio code server addon isnt compatible with my raspberry pi. Is it because its 32bit?

raven tinsel
#

From the documentation:

finite bough
#

Ah thanks

gleaming minnow
bitter skiff
#

SFTP?

#

Any other file access methods

gleaming minnow
#

Sweet, thank you

bitter skiff
#

Even VSCode Server will let you open a new instance of a folder

#

Just defaults to /config

gleaming minnow
#

Okay I moved it to the real /share folder, let's see if it's running now

gleaming minnow
#

Works great, thanks!

queen crest
#

Has anyone else ditched LastPass and moved to Bitwarden?

brittle night
#

every homelabber in the last 3+ years has been screaming bitwarden from the rooftops

#

highly recommend

queen crest
#

I was pleasantly surprised I can host my own server on HA via Vaultwarden (Bitwarden) and get my pw database completely off the cloud!

brittle night
#

i cant specifically speak about the addon but shouldnt matter

#

ya it's cool too you can expose it out wan and turn off new sign ups

queen crest
#

I jumped ship to Bitwarden (cloud last week) but am now self-hosted...

brittle night
#

sweet

queen crest
#

I'm using Cloudflared (also recently discovered) so things are locked down pretty good, I think...

#

...and yes, my master password is a cryptic 16 character password!

bitter skiff
#

I can't believe people still use LastPass with all of the incidents they've had the last few years

brittle night
#

given their track record with personal info giggle

bitter skiff
#

I wouldn't say any of the big corps have a clean slate for personal data

brittle night
#

nah you gotta pick your poison

bitter skiff
#

People also don't want to pay for things.... and things cost money, so it sucks, but it's not like it's terribly surprising

queen crest
bitter skiff
#

You have a backup strategy, right? 🙂

brittle night
#

i wish i had $ to put a box or three at friends places on top of just cloud backup

queen crest
queen crest
#

Google Cloud backup & Samba backup to NAS...

atomic sonnet
#

deconz Plugin issue

icy surge
#

Anyone good with ESPHome? I've added this sensor in

text_sensor:
  - platform: homeassistant
    id: level
    entity_id: sensor.dexcom_glucose_value

then I check and print it to a display, but nothing shows?

   if (id(glucose_level).has_state()) {
        it.printf(64, 0, id(roboto), TextAlign::TOP_RIGHT , "%.1f°", id(glucose_level).state);
      }
raven cosmos
#

Does someone know how to fix this error? I get it everythime i try to instal my ESP32 CAM to ESPHOME please tag me

-------------------------------------------------------------------------------- Error: Could not find one of 'package.json' manifest files in the package

viscid orchid
hoary spindle
#

Hi, I just installed the File Editor addon in homeassistant. When trying to use it, it want's to make requests to cloudflare. I guess it tries to load external libs. Is there a way to host these libs locally? Not providing information to third parties is an important aspect for me to run home assistant.

bitter skiff
#

Use another method of accessing your files then: SFTP, Samba, not sure if VSCode Server has external deps

#

Apart from making your own add-on w/o external deps, hass-configurator includes external libraries without any ability to customize that

cold haven
#

Hey @lime girder and @raven tinsel
I have a need to run Grafana Agent in HASS, currently I run @lime girder's promtail addon and a separate Prometheus node exporter but the exporter needs to be scraped over the internet, which is not very convenient (my friend's RPI is not part of my internal multisite network setup). Grafana Agent can remote write logs and metrics to my environment and run additional built-in components which would be useful (e.g. snmp exporter).
I'm thinking of giving it a shot to clone addon-promtail and pretty much convert it into addon-grafanaagent where possible with as little changes as needed, but I'm not experienced with building HASS addons so may need help.
The existing promtail config (sort of) embeds into the Grafana Agent config.
What do you guys think?

raven tinsel
#

I think you should not mention/tag people at random

#

it kinda comes across demanding

cold haven
#

I did not mean that; however, @lime girder is the maintainer of the promtail addon and I thought it would be a good idea to get your input as well as you've built the overall Grafana addon. It is normal for people to tag each other for attention where I work, so it's just a habit. If people didn't tag my name, I'd never respond to them 😂

raven tinsel
#

Now you do it again

#

please don't pull people into conversations

#

it is impolite and demanding

#

I just told you that, and you just do it again

#

There are over 100K people in this server, let's not tag maintainers, mods and people to demand attention

#

If all 100K people do that, it will become a mess.

#

I have no input for you

lime girder
# cold haven I did not mean that; however, <@378913215624511489> is the maintainer of the pro...

I haven't used grafana agent so not really sure what's involved. If cloning the promtail addon makes it easier though go for it.

For add-on dev, all the doc on it is here: https://developers.home-assistant.io/docs/add-ons. Typically addons use s6 (https://github.com/just-containers/s6-overlay) as their init system in the container which is what is going on in my addon. That's not required though if your already comfortable dockerizing a service in a different way

spare imp
#

I installed Zigbee2MQTT with Conbee2. I click Permit join, to detect devices but none are found. Does anyone have ideas as to what might be wrong?

lament otter
#

Well you need the #zigbee-archived channel, your Conbee on a long shielded extension cable, and to put the devices into pairing mode 😉

prime beacon
#

Hi. Can somone help me with Nginx Proxy Manager add-on? I followed all steps and it works only with SSL (ouside and inside network). I need to use SSL from outside and non-SSL from home network.

viscid orchid
#

installing and configuring that addon will have no impact on direct access to HA

#

if you want non-SSL access at home, you don't go through NGINX

prime beacon
# viscid orchid if you want non-SSL access at home, you don't go through NGINX

I want to access with SSL from outside for security and for Google Home voice commands and non-SSL from inside to cast a dashboard with DashCast on a Google Nest Hub. I tried both official and comunity addons and same result: only SSL with certificate error on internal IP access since certificate only covers DDNS from outside. This way I cannot cast my dashboard. I tried without certificate and cast is working just fine but I have no acces from outside. And, by the way, do I have to forward port 443 to <my HA IP>:8123 if I use NGINIX, because this is the way that is working now...

viscid orchid
#

if you don't want to use SSL, you need to go direct to HA and not through NGINX

#

you're already redirecting NGINX traffic to it:

<my HA IP>:8123

prime beacon
viscid orchid
#

I'm not following the problem

#

you go through NGINX if you want SSL access to HA, and you go direct to HA via <your HA IP address>:8123 when on your local network and you don't

#

doesn't matter how you run HA

#

I'm not suggesting that you not forward 443 to NGINX, but that's for SSL

#

if you don't want SSL, don't access HA that way

viscid orchid
#

ok. I keep repeating myself

prime beacon
#

As I said: NGNIX addon in HA; port frwd 80, 81 and 443 on router from ethernet to HA IP => internal and external access only by https with certificate error from internal ip. No http internal access. All tutorials I followd regarding NGNIX (official and comunity addon) said that https only external and http://IP or hostname intern. Not in my case.... It supposed to work this way or as in tutorials? And if I delete "ssl_certificate "and "ssl_key" from "configuration.yaml" no more https://<my DDNS> or https://<my IP> access.

covert arch
#

stop forwarding 443 to 8123

#

forward 443 to whatever nginx is exposing

#

and remove ssl config in ha

sly kindle
#

yes, removing ssl config in configuration.yaml is probably what you want

prime beacon
# covert arch stop forwarding 443 to 8123

If I stop frwd 443 to 8123 and remove ssl form config I only have internal http access. I tried all NGNIX sugestions from NGNIX pages and forums. That's way I'm asking here. Is the only place where I hope to solve this... If I did'n get that Google Nest Hub, I wouldn't even know that is not OK the way it works...

prime beacon
covert arch
#

you want internal http right?

prime beacon
covert arch
#

yes so remove the ssl config

viscid orchid
#
  • Remove all SSL cert references from the HA config
  • Configure NGINX with the SSL cert you plan to use and direct it to http://<ha address>:8123
  • Forward port 443 from your router to NGINX
sly kindle
#

let Nginx Proxy Manager get the certificate and manage it

covert arch
#

homeassistant will only do https if you give it a certificate. remove the ssl config and keep it removed

prime beacon
#

can I post some img here with my IP problems?

sly kindle
#

are you using your own domain or duckdns

#

and how are you getting the certificate

prime beacon
#

not mine nor duckdns. is a ddns from my Asus router

#

And I generated the Let's Encrypt certificate using NGNIX comunity addon

covert arch
#

you can proxy nginx https to http on homeassistant, there is no problem doing http in between as its on the same host

prime beacon
covert arch
#

yes

#

that is what you want, isn't it?

#

the next steps follow

#

but keep that ssl config away

prime beacon
#

I will do it now and post here the result, ok?

covert arch
#

the result is your domain and external and nginx access not running, we know that and is expected

#

you need to change your nginx addon to proxy to :8123

prime beacon
#

I did that in NGNIX web UI

covert arch
#

alright, then make your router port forward 443 to HA:443

prime beacon
#

did it: removed ssl, port frwd 443 to 443 => no external acces - 400: Bad Request

#

my configuration.yaml:

Configure a default setup of Home Assistant (frontend, api, etc)

default_config:

Uncomment this if you are using SSL/TLS, running in Docker container, etc.

#http:

base_url: http://192.168.24.128:8123

ssl_certificate: /ssl/nginxproxymanager/live/npm-1/fullchain.pem

ssl_key: /ssl/nginxproxymanager/live/npm-1/privkey.pem

ssl_certificate: /ssl/fullchain.pem

ssl_key: /ssl/privkey.pem

use_x_forwarded_for: true

trusted_proxies:

- 192.168.24.0/24

#

my ssl cert is in /ssl/nginxproxymanager/live/npm-<nr>/fullchain.pem. I have to move it in /ssl/ to work

covert arch
#

is that 400 Bad request happening when you use the external url?

prime beacon
#

yes

covert arch
#

and you use https ?

prime beacon
prime beacon
sly kindle
#

base_url was deprecated long ago, and you still need the configuration for trusted_proxies:

covert arch
#

then something is wrong with your nginx config, check that

#

and what cogneato says

prime beacon
sly kindle
#

NPM handles the certificate. You don't need to tell HA about it

prime beacon
#

I reinstalled it 3 or 4 times up to now. I even tried to use official addon. same result

covert arch
prime beacon
prime beacon
#

where can I post some img from my ha?

river wharfBOT
#

Please use imgur or other image sharing web sites, and share the link here.

Image posting is blocked in most channels to discourage people from sharing text as images. Sharing text as images assumes that everybody sees the world as you do, which isn't the case. Some people are colour blind, or have visual impairment that means they can't make sense of an image of text.

prime beacon
#

link from google drive is ok?

covert arch
#

have a look at the nginx logs

prime beacon
#

now or with SSL?

covert arch
#

now

#

you will never need ssl in ha config with your setup

#

never ever

prime beacon
#

nginix log

prime beacon
covert arch
#

so

#

have a look into your ha

#

with local http

#

do you see a persistent notification?

prime beacon
#

no notifications

#

everything is clean

covert arch
#

that 400 is your homeassistant instance

#

I just don't know why it's responding a 400

#

did you set up trusted_proxies ?

#

only

http:
  trusted_proxies:```

no ssl.
prime beacon
#

Now you see my problem? lol.
Is not active now but I wil uncomment and try again. I think I did that a few days ago bu no acces

prime beacon
covert arch
#

yes also x_forwarded

prime beacon
#

?

covert arch
#

yes

#

maybe even 172.17.0.0/16

#

so

http:
  use_x_forwarded_for: true
  trusted_proxies:
    - 192.168.24.0/24
    - 172.17.0.0/16
prime beacon
#

without - 172.17.0.0/16 still 400: Bad Request from ddns, no access from https and only http access

#

I have 172.30.32.1 the other IP

#

In my VMWare, I have 192.168.24.128 and 172.30.32.1 for HA vm

covert arch
#

that sounds... weird

#

yeah but the settings as you have them in ha currently are good, you want that

#

work from there on

#

and remove your google links

prime beacon
covert arch
#

I have no idea why you'd attach a additional interface in vmware with 172

#

yes, they contain your domain stuff

prime beacon
prime beacon
cold haven
brittle night
prime beacon
# covert arch maybe even 172.17.0.0/16

this is what I uncommented in configuration.yaml and now is working as it supossed to: http inside and ssl outside!
http:

base_url: http://192.168.24.128:8123

ssl_certificate: /ssl/nginxproxymanager/live/npm-1/fullchain.pem

ssl_key: /ssl/nginxproxymanager/live/npm-1/privkey.pem

ssl_certificate: /ssl/fullchain.pem

ssl_key: /ssl/privkey.pem

use_x_forwarded_for: true
trusted_proxies:
- 192.168.24.0/24

- 172.17.0.0/16

- 172.30.0.0/16
#

it seems that the second ip was the key

#

Thank you all for all the help!

#

It seems I cannot @ mention you but thank you again!
It would never cross my mind to add that IP in my config...

devout laurel
#

im having issues with the Zigbee2MQTT addon. latest HAOS.
when im starting the add in and then wait for a minute and trying to open UI it says the addin is not started

oblique leaf
#

Did you check the logs?

devout laurel
#

i just did.. sorry im new to this HA things...

#

Refusing to start because configuration is not valid, found the following errors:

oblique leaf
#

What does the config look like? (in YAML form, dotsvertical > Edit in YAML)

river wharfBOT
#

Please use a code share site to share code or logs, for example:

Please don't use Pastebin, since it can randomly add spaces to the main view. Please also don't share text as images since it makes it harder for people to help you. Remember that others may have colour blindness, impaired vision, etc.

devout laurel
#

data_path: /config/zigbee2mqtt
socat:
enabled: false
master: pty,raw,echo=0,link=/tmp/ttyZ2M,mode=777
slave: tcp-listen:8485,keepalive,nodelay,reuseaddr,keepidle=1,keepintvl=1,keepcnt=5
options: "-d -d"
log: false
mqtt: {}
serial:
port: /dev/ttyUSB0

#

maybe use server: mqtt://localhost:1883 ?

oblique leaf
#

Are you using the Mosquitto add-on also, or some other MQTT broker?

devout laurel
#

Ok maybe i have new error now... i will get back to ya!

#

seems to be something to do with the Conbee II USB device now...

oblique leaf
#

Generally you don't want to use /dev/ttyUSB0 for the coordinator stick. You can find the path via the Hardware page

river wharfBOT
#

Open your Home Assistant instance and show hardware information

oblique leaf
#

dotsvertical > All Hardware, then start typing /dev/serial/by-id into the search

devout laurel
#

ttyACM0
/dev/serial/by-id/usb-dresden_elektronik_ingenieurtechnik_GmbH_ConBee_II_DE2667085-if00

oblique leaf
#

Yeah, you'll want to use /dev/serial/by-id/usb-dresden_elektronik_ingenieurtechnik_GmbH_ConBee_II_DE2667085-if00

devout laurel
#

iäll try hang on

#

Zigbee2MQTT:info 2023-01-20 16:26:49: Logging to console and directory: '/config/zigbee2mqtt/log/2023-01-20.16-26-48' filename: log.txt
Zigbee2MQTT:info 2023-01-20 16:26:49: Starting Zigbee2MQTT version 1.29.2 (commit #unknown)
Zigbee2MQTT:info 2023-01-20 16:26:49: Starting zigbee-herdsman (0.14.83-hotfix.0)
Zigbee2MQTT:error 2023-01-20 16:27:10: Error while starting zigbee-herdsman
Zigbee2MQTT:error 2023-01-20 16:27:10: Failed to start zigbee
Zigbee2MQTT:error 2023-01-20 16:27:10: Check https://www.zigbee2mqtt.io/guide/installation/20_zigbee2mqtt-fails-to-start.html for possible solutions
Zigbee2MQTT:error 2023-01-20 16:27:10: Exiting...
Zigbee2MQTT:error 2023-01-20 16:27:11: Error: Failed to connect to the adapter (Error: SRSP - SYS - ping after 6000ms)
at ZStackAdapter.start (/app/node_modules/zigbee-herdsman/src/adapter/z-stack/adapter/zStackAdapter.ts:103:27)
at Controller.start (/app/node_modules/zigbee-herdsman/src/controller/controller.ts:132:29)
at Zigbee.start (/app/lib/zigbee.ts:58:27)
at Controller.start (/app/lib/controller.ts:101:27)
at start (/app/index.js:107:5)

oblique leaf
devout laurel
#

looks like i need to use /dev/ttyACM0

#

Figured it out . ZHa was enabled which this addon hated lol

#

now on to a new error!

devout laurel
#

OK so the new error is...

#

Zigbee2MQTT:info 2023-01-20 18:19:15: Connecting to MQTT server at mqtt://localhost:1883
Zigbee2MQTT:error 2023-01-20 18:19:16: MQTT error: connect ECONNREFUSED 127.0.0.1:1883
Zigbee2MQTT:error 2023-01-20 18:19:16: MQTT failed to connect, exiting...
Zigbee2MQTT:info 2023-01-20 18:19:16: Stopping zigbee-herdsman...
Zigbee2MQTT:error 2023-01-20 18:19:17: MQTT error: connect ECONNREFUSED 127.0.0.1:1883
Zigbee2MQTT:info 2023-01-20 18:19:18: Stopped zigbee-herdsman

#

And mosquitto have '1883' as normal MQTT port

oblique leaf
#

With the Mosquitto broker add-on, you shouldn't need to be specifying any info under mqtt:

devout laurel
#

lets try!

#

Zigbee2MQTT:info 2023-01-20 18:29:00: Zigbee2MQTT started!

#

lifesaver @oblique leaf

oblique leaf
#

🥳

devout laurel
#

now lets see if i can handle this zigbee2MQTT haha

devout laurel
#

should i post here if i have problem pairing to zigbee2mwtt?

#

mqtt *

oblique leaf
dapper falcon
#

Anyone knows where I can install addons ?

#

It says in documentation to go to Settings > Addons

#

but i am not seeing it anywhere

#

ok i think it's because i am not supervised

viscid orchid
#

Yes

dapper falcon
#

going to install that right now 😛

#

I was like where the hell is the option

oblique leaf
#

Please don't install Supervised

#

If you want add-ons, install HAOS instead

dapper falcon
#

oh

#

I will look that up then

#

it was for Visual Studio i found it in hassio

raven tinsel
#

Home Assistant Operating System

dapper falcon
#

but alright i will check that out

brittle night
#

Long live haos hass

dapper falcon
#

oh i can apparently run visual studio as a container and link to HA

oblique leaf
#

Yeah that's an option as well. Add-ons are just Docker containers

raven tinsel
#

add-ons have some additional "sauce" to make setup and use a little easier. E.g., automatically link with Home Assistant, access interfaces through Home Assistant and being able to protect those same interfaces with Home Assistant's authentication

#

but yeah, you can set up the same too. In the end, add-ons wrap existing software (and use a Docker containers for their distribution, although that is abstracted away from the user)

dapper falcon
#

Yeah I see

brittle night
#

frenck would it be possible to have the adguard addon use docker macvlan/ipvlan networking to allow us to use another IP for the adguard instance on our lan subnet?

dapper falcon
#

I am looking at the best path to have it work on my setup

raven tinsel
brittle night
#

ah ok

#

thx for the confirmation

dapper falcon
#

To install addons such as Visual Studio there is HAOS, Supervised and that's it ?

#

or are there other ways ?

dapper falcon
#

(oh i forgot, there is also the install of Visual Studio as a container in my docker compose and then link that to my HASS)

oblique leaf
#

I think part of the reason people end up on Supervised is that they see the Compare Installation Methods matrix and it looks appealing "all the benefits of OS but I can manage the OS myself!", except managing the OS yourself is actually a curse

dapper falcon
#

i personally want the easiest way possible tbh

#

but if you say managing os is something that comes with supervised them im definitely not going to look into it

dapper falcon
raven tinsel
#

That is by far build to be click & go (including OS updates)

dapper falcon
#

thanks guys !

#

ohhhh i see now

#

I am using the docker container that's why I don't have addons

#

so I will need to actually stop using my container and install it another way

#

i thought it was on top of it

#

now it's clearer

raven tinsel
#

Nope.
In general either use the Home Assistant Operating System or manage your own using Home Assistant Container

#

the others (Home Assistant Supervised & Home Assistant Core installation methods) are pretty darn advanced (as in, needed experience) and will take lots of effort to keep up

dapper falcon
#

I had my whole server setup using containers that's why I went with the container install of HA

raven tinsel
#

Yeah that is possible and fine too 🙂

dapper falcon
#

oh ok

#

so I can use my container AND install addons

brittle night
#

you can try

oblique leaf
raven tinsel
sly kindle
#

all you need to do is find images/containers at dockerhub and then mentally refer to those as add-ons

dapper falcon
#

seems pretty easy, just too bad it's not integrated in the container version of HA but that is a choice of mine

#

thanks for your answers guys ❤️

#

installed HA today and it's pretty empty for now but you guys are really helpful

#

i appreciate it

sly kindle
#

it does have it, and the integration results in having the supervisor to manage them and calling them add-ons

brittle night
#

we have security ratings and other cool stuff too 😛

brittle night
dapper falcon
brittle night
#

you can backup your container install and restore to haos in a vm and play around

#

worst case you jump back to the container

sly kindle
dapper falcon
#

i see what you mean

#

i just don't like having too much in my docker compose

#

but it's fine

#

i think i will do a docker compose file for my HA setup only

#

we'll see

#

(sorry frenck)

raven tinsel
#

No need to say sorry for that

#

that is a perfectly fine installation method

#

Which allows for some really nice flexibility as well

dapper falcon
dapper falcon
#

HA is gonna take me the whole weekend but oh man am i excited

brittle night
#

just dont set it up and walk away

#
  1. cuz updates add new features and fix vulnerabilities/bugs etc. 2. cuz the cool kids keep adding on and making their smart home smarter and better
dapper falcon
#

oh yeah definitely

#

the thing is I have nothing in my home that is smart (except maybe me)

brittle night
#

anyways they like us to stick with channel topics and we're out of addons territory

dapper falcon
#

so i will set up the ui and a few things (homekit/homepod/the router/plex...)

brittle night
dapper falcon
#

and little by little i will buy a few things

#

lmaooo bet i will have a look at that

brittle night
dapper falcon
#

dang that's cool

sinful tapir
#

anyone have any experience with webrtc?

#

trying to get a usb webcam working but not sure how uto add it to webrtc card

#

(works in go2rtc addon)

#

also look for an addon/card to monitor hardware cpu/mem/temp if anyone has suggestions

lament otter
sinful tapir
#

like i think i need this

#

rtsptowebrtc

#

but i cant even get part first install question lol

#
The RTSPtoWebRTC integration requires a server to translate RTSP streams into WebRTC. Enter the URL to the RTSPtoWebRTC server.``` what url does it want?
bitter skiff
sinful tapir
#

Why is this

bitter skiff
#

I'm not sure what else you're using? But an add-on paired with an integration isn't all too uncommon for things that aren't entirely built in

#

The error message you above was from an integration

sinful tapir
#

Is there a less complicated method of just opening a USB camera in HA

bitter skiff
#

I couldn't tell you the best way, just that many of the integrations are targeting IP based cameras, so your best route may be to set up an addon to expose your USB camera to one of the integrations in that manner.

#

You said above it's working in go2rtc? That should let you add it via rtsp

languid roost
# sinful tapir Is there a less complicated method of just opening a USB camera in HA

My generic IP cameras use the MJPEG IP Camera integration. It's pretty easy.

I had tried the ONVIF integration, but it doesn't like it when my IP cameras date and time drifts... And of course I am not exposing them to the internet to correct that.

RTSP didn't want to work reliably for me. Probably due to the same reasons that ONVIF complained. I didn't look into it.

Further information for people who use search:

My generic IP Cams were branded as "Yatwin", but with a bit of digging I realised they are the same as VSTARCAM.

So I downgraded the firmware to a version that has command injection vulnerabilities, and exploited those to enable telnet... Searched the internet, and found the root password, got in. Investigated...

I know I can dissect the firmware (using binwalk) and change the backdoor password, and configure things in a way where I would feel less anxious about exposing the cameras to the internet, then recompile the firmware...
I haven't got round to it yet though.

Fortunately I don't really have to do that, as HA give me the access to the feeds that I want 🙂

However, if I did do all that, one of the things I would do is get rid of the ANNOYING random http port that gets assigned to the admin panel on each boot when DHCP is used, and hard set it to something memorable. Having to NMAP the device to find a way in gets old really quick. Fortunately, you can hard set the port in the admin panel with static settings... you just have to find your way in first!

tall eagle
#

Hello everyone
I just installed HA today for the first time. I really like it!
This will likely sound ridiculous to you but using the file-editor add-on, how do I add those two dots in a new line that seem to be needed for correct yaml formatting?

sly kindle
#

Spaces

#

The dots are showing the number of spaces

tall eagle
#

So in a new line, they hit the space bar twice? Watching the video it sounds like they just hit one key once

tall eagle
sly kindle
#

Tab key

#

Maybe

#

I don't know file editors shortcuts

tall eagle
#

tab key gives me for 4 dots 😅
But would one dot be enough or do I need two dots? (so 1 space or 2 spaces)

sly kindle
frank flicker
#

Installing a ngrok addon from like 2020

#

Error fetching addon info: Addon f6422ef5_ngrok with version latest does not exist in the store

#

I don't think I can do anything can I

bitter skiff
frank flicker
#

used a different way, thanks though <3

#

managed to get external access through a web tunnel

#

cloudflare <33

bitter skiff
#

Ah, yes, much better 🙂

#

I use that, too

tough delta
#

Is there a way for me to delay an Add-On from starting for a specified period of time at home assistant boot up on an RPi4? I do not want to manually have to turn it on. Situation, Node-Red and Hue emulation blocks the port 80, so LetsEncrypt add-on can't check or renew my personal domain certificate. If I could delay Node-Red then LetsEncrypt would finish and then Node-Red could start up.

oblique leaf
#

If you can use DNS-01 validation for Let's Encrypt, then there's no need to use port 80 at all

tough delta
#

Unfortunately, my dns is on mydomain.com which isn't a supported provider. I was thinking maybe the RFC one was a generic standard but i didn't understand how to configure that, if I was even right in that assumption.

#

If my assumption is correct that the RFC method for DNS on LetsEncrypt is a generic standard that I may be able to implement, can you provide more information on how to do it?

brittle night
#

Then move your domain to a better registrar like cloudflare…

tough delta
#

Yes, cost is a consideration...

brittle night
#

$7?

#

Actually it’s $9 for cloudflare .com now

oblique leaf
#

Cloudflare sells domains at cost. No markup

brittle night
#

Yep

#

Namecheap pisses me off tho. They own .host and .network iirc and charge cloudflare a shitload for them

#

So I can’t move those off namecheap

#

Maybe it’s just .network

oblique leaf
#

A lot of those gTLDs have stupid high prices

brittle night
#

Well I have a popular last name so i had to get creative for the domains I wanted

sly kindle
#

Arrrr

brittle night
#

Someone got cookie.monster before I could

#

I’ll never let that go

#

Free year if you’re interested @tough delta

#

Then move name servers to cf

tall eagle
#

If someone knows more about Frigate: Does it only detect people? Or can I also have it detect specific persons? E.g. don't get an alert when my wife comes home, but when a stranger comes to the door

hollow fossil
#

I am working to add a new lock with Keymaster. When i pulled the yaml code from the folder, all of the enties are showing that they don't exist. When i look under enties i see all the varius input*/sensors/etc for the orginal door lock but only the thing that was created for the new door lock was sensor.<name>_code_slot_x

tender breach
#

Having trouble with the cec scanner add-on, were its starting the log output fine, but when it finds what "success" the log output becomes so long i can only see from device # 6 down, whether i look in the logs under cec scanner or the log option on the scanner add-on, is there any way to increase the log file size, or view the logs say from cli, etc, any help would be awsome.. cheers

zinc terrace
#

When I try to restore my HA instance to a fresh test server I've been getting this error for a while:
https://pastebin.com/91afBPFy
The highlights being:

[ERROR] mariadbd: Got error 'Size of control file is smaller than expected' when trying to use aria control file '/data/databases/aria_log_control'
[ERROR] InnoDB: Cannot apply log to [page id: space=91, page number=0] of corrupted file './homeassistant/state_attributes.ibd'
[ERROR] [FATAL] InnoDB: Trying to write 16384 bytes at 230735872 outside the bounds of the file: ./homeassistant/statistics.ibd

My prod instance DB is running fine, so it's curious that there's corruption in the restore. Thoughts?

#

This is a full backup and restore. Also might be relevant that my full backups are about 7 gigs and it looks like the DB is locked for about an hour:

[03:01:40] INFO: MariaDB tables locked.
[03:55:54] INFO: MariaDB tables unlocked.
#

Supervisor logs for the mariadb backup look clean

distant mauve
#

Does anyone have any experience with the infinitude add on for Carrier thermostats?

cyan plover
#

Is this the right place for help with ESPHome addon? I'm setting up my first device, a ESP32-S2 (Adafruit PyQt) and getting an error at the end of the installing /data/cache/platformio/packages/toolchain-xtensa-esp32s2/bin/../lib/gcc/xtensa-esp32s2-elf/8.4.0/../../../../xtensa-esp32s2-elf/bin/ld: cannot find -lalgobsec

river wharfBOT
oblique leaf
#

Sounds specific to ESPHome rather than directly HA related, so I'd try checking their Discord

cyan plover
steep zealot
#

Has anyone been able to successfully restore a mariadb addon from a backup in any recent versions?

#

I believe I've located a bug where there is absolutely no way to do that.

#

I've performed several experiments where a working database has it's tables successfully stopped before the backup and restarted after the backup is complete. But this doesn't matter, because trying to use this back up on the same system a few minutes later returns a massive thousand of lines long dump and data integrity error, stopping the maria addon

#

I don't see any open issues in the ha-core, so probably will have to open one for it, unless someone has some constructive ideas I could test.

#

@sly kindle FYI, regarding your earlier assistance with the same problem. The files I was using shouldn't have been corrupted, but obviously they all are, since none of the 5 backups I've created over the last 3 days are recoverable onto a new HA instance.

lavish totem
#

QQ - if I install Home assistant on a VM, will add-ons install through the UI? I read somewhere that didn't work if you were running it in a VM

brittle night
#

home assistant OS (whether in a vm or installed directly to an ssd or w/e) has the addon store

#

and everything else that goes with the supervisor

lavish totem
#

gotcha - sounds great, thanks!

lavish totem
#

ah ok - I thought the add-ons ran on containers and there was some issue

brittle night
#

nah you're good to go

zenith eagle
#

@lime girder For some reason I can't change the port on sharry, any ideas on what I could do wrong?

soft yacht
#

I'm running the adguard home addon on Home Assistant OS, but I'm unable to figure out which host/port/user/password I should use to add the adguard integration. I've tried a bunch of different alternatives, but where can I find documentation on how the networking between the core container and the adguard container is working?

near mauve
#

HI all, I cant endter my domain in the Duck DNS add-on, anyone know why? When I press the "Enter" key after typing in my domain, nothing happens

#

got it working via YAML editor

safe current
#

hello , how are you? i am kind of new to the homeassistant. A few days ago I updated node and hassio. After updating the node it closed and I could never start it again. The error that the logs give me is:
22 Jan 15:02:00 - [error] Error: Failed to launch the browser process! spawn /config/node-red/node_modules/puppeteer/.local-chromium/linux-982053/chrome-linux/chrome ENOENT
Thank you very much in advance and I hope you can help me

zinc terrace
#

Also how often do you try to restore your backups? I do it once a month when a new HA core version is released. I spin up a fresh test server, restore my latest full backup, and then upgrade to the latest version. I think I've noticed for the past few months actually that I've had these corruption errors. I thought it was related to issues with the test server, but I'm suspecting there might actually be an issue

brittle night
#

That seems excessive but I guess it’s not hurting anything (monthly backup checks)

raven tinsel
#

Also how often do you try to restore your backups?
I've done it twice in 5 years of being with the project (running the dev in production). All two cases have been migrating to another device (VM -> Home Assistant Blue -> Home Assistant Yellow)

#

🙂

zinc terrace
soft yacht
#

@raven tinsel How do you connect to the adguard addon with the adguard integration? I wasn't able to figure out which hostnames and ports are actually used on home assistant OS

raven tinsel
raven tinsel
soft yacht
#

@raven tinsel Actually, mine hasn't... 😦

zinc terrace
#

Then just all the backup instances could be bad. The number of them doesn't really matter

raven tinsel
zinc terrace
#

Yeah I also keep my config in git. Would be a shame to potentially lose a lot of my long term history in influx or long term stats like energy which I assume is stored in the main db

#

It's so easy to restore a HA backup though

raven tinsel
#

I personally just think it is amazing it restores across architectures as well ( I migrated from x64 to arm64 at some point, just worked)

brittle night
zinc terrace
#

Well it's mainly just restoring data. Not sure if there's more going on under the hood, but I don't see why the arch would matter there

brittle night
#

You use a yellow as a test bed with haos right?

raven tinsel
raven tinsel
brittle night
#

Ah

#

I misread thought you meant you haven’t used haos much yourself (not just the restore feature)

raven tinsel
#

I use a HA Blue for pre-release add-on testing (for the arm part that is)

zinc terrace
raven tinsel
#

only data & meta data of the setup (e.g., add-ons installed and such)

#

I agree, it isn't much, but still.. .it just does it

#

There is not much like it out there imho

zinc terrace
#

Yeah for sure 🙂

brittle night
#

Btw guys in #general-archived were asking about donations for nabu casa- still only way to support is by subscribing with cloud right?

raven tinsel
#

Yup, that is the only way

#

another way to support the project is to look for people you want to support, e.g., contributors

brittle night
#

Yeah for sure

soft yacht
zinc terrace
#

I wonder what's going on with my restores though:

[ERROR] mariadbd: Got error 'Size of control file is smaller than expected' when trying to use aria control file '/data/databases/aria_log_control'
[ERROR] InnoDB: Cannot apply log to [page id: space=91, page number=0] of corrupted file './homeassistant/state_attributes.ibd'
[ERROR] [FATAL] InnoDB: Trying to write 16384 bytes at 230735872 outside the bounds of the file: ./homeassistant/statistics.ibd
raven tinsel
#

there are many people working on HA (we has 13,5K contributors in 2022), lot of them accept donations. If you use something that is maintained by someone in particular, it might be an idea to support someone that way.

brittle night
raven tinsel
brittle night
#

Wasn’t sure if you meant people with PRs only or something

raven tinsel
#

Any contribution

zinc terrace
#

Btw Frenck, I have a new integration (Trello) I've been working on that's in a good spot. Is it better to submit polished PRs or would it be better to submit a draft so I can get feedback earlier on? This is my first integration and first time writing python in a while

raven tinsel
#

like reporting an issue is just as important as fixing one

brittle night
#

Cuz it’s becoming a household name I think

#

I.e. 40,000 users in USA seems low

raven tinsel
brittle night
#

Ah right

#

I’ll check mine to confirm opt in

raven tinsel
#

Yet, analytics are important. They show how popular integrations are, and things like that

#

it helps with prioritizing and polishing things

brittle night
raven tinsel
brittle night
#

Although I think we’re in a good spot there so far

raven tinsel
#

hehe

#

Just keep trucking 🚚 🙂

brittle night
#

I wish there was better support for multi zone AC control without needing to diy electric dampers and such

#

Seems you buy a premade system and hope you can integrate with hass or you diy with esphome and that’s not something many people can or are willing to do

zinc terrace
#

I'm just worried about submitting it, it gets some comments, and then falls off the maintainers radars. I've seen PRs submitted to fix issues I've reported that have been really small and have been sitting around for like 6 months. Really worried that's going to happen to my PR.

brittle night
#

Nature of the beast I think

#

We’re lucky frenck chooses to maintain so many popular things lol

raven tinsel
#

We have a large queue, true. Small PRs just fall through faster in general (as easier to pick up by more people)

zinc terrace
#

Oh absolutely, I have so much I'd like to get feedback on. I'm just worried about getting feedback and then fixing things and then it never returns to the top of the maintainers queues.

brittle night
#

Well I’d say many people are at the mercy of devs who want the same thing

raven tinsel
#

People interacting a lot get generally quicker processed (the "Hey I know this guy" principle), it helps to join in doing review of others as well

steep zealot
zinc terrace
#

Alright, well I'll submit sooner than later rather than getting preemptively frustrated 😅 I would like to get the brand/icon and doc PRs ready first so I can submit them all together though. So going to do that after one last pass over the code.

zinc terrace
raven tinsel
#

We are just happy people already do this ❤️

#

And yes, anyone is more inclined to review or help out with stuff from people they are familiar with

#

If you contributed your free time, we can't demand you would be reviewing certain things either.

#

Then there are bug fixes vs new features, or QA improvements in general, or things from wider used integrations, many more of those. It ain't as simple as enforcing fifo

brittle night
#

Well frenck also didn’t explain it as well as he could. Logic would also dictate that devs can see people they already approved multiple PRs for and know about their level of skill and not have to scrutinize the code as much

steep zealot
#

@zinc terrace the logs don't match for the latest round of corruptions but I've seen them before in recent memory. My latest were complete dumps of pages of records stating the tables are corrupted.

#

My backups are also about 7GB with 1.2 Maria.db and 3.5 influxdb

raven tinsel
brittle night
#

Yea

steep zealot
#

Second, it always locks the tables for that long to create a correct backup.

#

Beforehand about 2 years ago Maria wouldn't lock tables and this always corrupted them

zinc terrace
#

I want to say maybe an incentive program would help, review PRs to get yours looked at faster. But incentives are a double edged sword sometimes. Then you'll get a bunch of half assed reviews lol

steep zealot
#

There is a bunch of closed issues for that

zinc terrace
steep zealot
#

Will you be submitting an issue for that? Please ping me when it's in so that I can join and give information as well.

raven tinsel
steep zealot
#

I am on my phone so it's tricky

zinc terrace
#

I was hoping we had similar logs and I was definitely going to submit an issue. I may anyways, but if you can send me any info (feel free to dm me), it maybe help me formulate a more initially informative Pr

raven tinsel
#

@zinc terrace That said, we are not in bad place tbh (although some think that), we still process over 1K PRs on the Core repo alone each month (around 1,5K org wide each month)

zinc terrace
#

For sure, the ratio of open to closed issues is outstanding on this project

raven tinsel
#

The fact we are able to maintain a pretty steady open/close ratio is pretty ok

#

We do monitor those numbers btw

oblique leaf
#

hmm, after updating to HA 2023.1.7, the repairs menu is saying to upgrade devices to ESPHome 2022.12.4 but it looks like the latest version of the add-on is still 2022.12.3? Manually checked for updates and there's nothing newer at the moment

brittle night
#

No argument there, but to Scott’s point a ‘street sweeper’ to go through old open issues would maybe be nice

#

Like how helpdesk tickets get revised after so many months

lament otter
#

Old issues are automatically closed when there is no activity already

raven tinsel
zinc terrace
#

Haha definitely more than ok. Don't sell yourself short, just a first time contributors opinion coming into the system. So I'm sure there's a lot I'm not aware of, but hopefully my perspective is still valuable

brittle night
#

(GitHub stale bot not included)

oblique leaf
raven tinsel
#

Starting on anything the first time... is difficult and scare. Just do it (Sorry Nike, but that is just a fit here), is a key to achieve anything in life.

zinc terrace
#

shakes fist and github stale bot

raven tinsel
#

You'll learn a lot of things aren't as scary as they are/looked 🙂

zinc terrace
#

Yeah for how big the project is, getting started was pretty smooth. My biggest hangup was that I'm not a big VS Code fan and the docs seemed focused on setting up with that

#

I thought I was going to be left hanging setting things up manually, but after I jumped in everything still just kinda worked

raven tinsel
#

Hehe vscode is used a lot

#

that said, I'm not using the documented methods myself either 🙂

mental lagoon
#

Hello fellow HAers 😉

I found out that my tasmoadmin container (running through Docker Portainer) seems unhealthy (i just found out today). It doesn't seem to actually failing at all, but i get this through the log

[19:03:25] INFO: Starting NGINX server...
nginx: [warn] "ssl_stapling" ignored, host not found in OCSP responder "r3.o.lencr.org" in the certificate "/ssl/fullchain.pem"

#

does anyone have the smallest idea of what that actually means?

#

i mean, its obvious, it is about the let's encrypt ssl certificate right? but still, i don't understand what's the issue

weary stratus
#

Hello! I've had the Terminal & SSH addon set up for a long time, but never really used it. Now, I'm getting a 502 and this message in the logs, any ideas?

[22:29:22] FATAL: Failed executing init command: if [ ! -f /backup/_swap.swap ]; then fallocate -l 2G /backup/_swap.swap {MESSAGE}{MESSAGE} mkswap /backup/_swap.swap {MESSAGE}{MESSAGE} chmod 0600 /backup/_swap.swap {MESSAGE}{MESSAGE} swapon /backup/_swap.swap ; elif [[ ! $(dmesg|grep _swap.swap) = *swap\ on* ]]; then swapon /backup/_swap.swap; fi

raven tinsel
#

Sounds like you have custom init commands in your setup

#

that no longer work

#

try to remove it from the add-on configuration

weary stratus
#

Welp that was easy and more verbose than I thought... thanks 🙂

steep zealot
#

@zinc terrace

2023-01-21 15:42:46 0 [Note] InnoDB:  You can use CHECK TABLE to scan your table for corruption. Please refer to https://mariadb.com/kb/en/library/innodb-recovery-modes/ for information about forcing recovery.
2023-01-21 15:42:46 0 [ERROR] InnoDB: Failed to read page 308050 from file './homeassistant/states.ibd': Page read from tablespace is corrupted.
2023-01-21 15:42:46 0 [ERROR] Plugin 'InnoDB' init function returned error.
2023-01-21 15:42:46 0 [ERROR] Plugin 'InnoDB' registration as a STORAGE ENGINE failed.
2023-01-21 15:42:46 0 [Note] Plugin 'FEEDBACK' is disabled.
2023-01-21 15:42:46 0 [ERROR] Could not open mysql.plugin table: "Table 'mysql.plugin' doesn't exist". Some plugins may be not loaded
2023-01-21 15:42:46 0 [ERROR] Unknown/unsupported storage engine: InnoDB
2023-01-21 15:42:46 0 [ERROR] Aborting
230121 15:42:46 mysqld_safe mysqld from pid file /data/databases/core-mariadb.pid ended
#

And this is for a freshly created VM, with just the config and MariaDB being recovered from a production instance of HA where the same DB works just fine.

zinc terrace
zinc terrace
steep zealot
inner willow
#

Is there some experience here on running AdGuard Home as an add-on vs. stand alone. And I guess v.s. pi-hole standalone?
I need to use it as my DHCP server, is there any issue doing this on my HA yellow?

oblique leaf
#

I run AdGuard as an add-on, works great. Using it as a DHCP server isn't a requirement to work though, you can just change your DHCP settings on the router to use it for DNS

#

I used to use pihole but switched to AdGuard since it was available as an add-on and I wanted to keep it all consolidated

inner willow
oblique leaf
#

It sounds like you may have changed your upstream DNS setting, rather than the DNS server that DHCP hands out

#

The location varies by router, but it would be with the rest of your DHCP settings usually

inner willow
#

I have done that in my router yes - even just using 1.1.1.1 as DNS causes the ad-blocker to not identify the clients. I've mucked around with ad-guard but previously used pi-hole

oblique leaf
#

What kind of router do you have?

inner willow
#

linksys EA9500 - not had a great experience with it but the wifi is great.

#

very limiting config options

#

I will give the DNS a try but last time I just had one client in the list that represented my whole network

oblique leaf
inner willow
#

The other reason for wanting to use ad-guard as DHCP is that this routers UI has been freezing and making changes to DHCP reservation has been extremely painful

inner willow
oblique leaf
#

You'd also need to either release/renew the DHCP lease on all the computers, by either running the appropriate commands for your OS or the simpler option is just to reboot

inner willow
#

I'll experiment for a bit and come back. DHCP release only required if I use ad-guard as DHCP server though right? I'm not a network guru

oblique leaf
#

No, so whenever you change the DNS settings in your router's DHCP server, you need to release/renew for the clients to get that change to take effect

#

If you're on Windows, you can ipconfig /release then ipconfig /renew to get a new lease. Then if you ipconfig /all it would show the DNS servers it received. By default it's probably getting something like 192.168.1.1 and you want it to instead get the IP of your Yellow running AdGuard

inner willow
#

Odd..
have released and renewed and windows is still reporting the router as DNS.

DNS Servers . . . . . . . . . . . : 192.168.1.1

Definitely applied yellow's static IP as DNS. web browsing is working OK

#

oh hold on -
AdGuard Home DNS server is listening on the following addresses: 127.0.0.1
That's not my yellow IP. linksus won't accept this as a DNS address though.

brittle night
#

You misunderstood him above

#

Your router is handing out its own ip instead of adguard’s because you didn’t change the dns dhcp address

#

Your router can still be your dhcp server yet it can also hand out DNS servers when it is handling DHCP with a client

#

I’m sure that’s confusing lol

inner willow
#

Yep - I've been using this to set my upstream DNS manually - no problem.
I've changed my router now to have a static DNS of 192.168.1.93 (the local ip of my HA install).
Adguard home instructs to use 127.0.0.1, but my router says that's invalid.

brittle night
#

here's what's happening:
client device connects to router (say.. an iphone after putting in wifi ssid/password) -> router says k bro i see you have a MAC address so here's an IP address and also here's a DNS server -> phone says kthxbabe and then is on the network

#

127.0.0.0-127.255.255.255 is loopback

inner willow
#

Yep that's how I get it. So having released and renewed on my windows PC - why is it still showing router gateway as DNS, instead of the DNS I've put in?

brittle night
#

on your router config page you set DHCP DNS to 192.168.1.93?

inner willow
#

Yep it is.

#

I would past screenshot but I don't think I have premissions to do so on this channel

brittle night
#

you have to use imgur

inner willow
brittle night
#

that looks like the dns for your router

#

not dns that dhcp will hand out

#

but maybe it is

oblique leaf
#

That looks like the correct page, it has toggles for the DHCP server

brittle night
#

it doesnt explicitly state it

inner willow
#

It has been working fine using an upstream smartDNS that I use to watch HBOGo in australia

brittle night
#

cool

inner willow
#

When I previously had pi-hole running on an raspberry pi - I had to use the pi-hole DHCP server (which was much better than linksys). I've since retired that pi though.

inner willow
#

So this is behaviour of this router. On closer inspection, regardless of upstream DNS entered in to linksys router, then client will report the router IP as the DNS address. it is proxying DNS requests.

#

So that takes me back to using ad-guard as DHCP server. Is there any reason I wouldn't do this in a HA add-on?

oblique leaf
#

There shouldn't be any issues with letting the add-on be the DHCP server as long as you disable the router's DHCP server

inner willow
#

Yep. I went out on a limb and did that. didn't work until I restarted the router, now all good

#

'tentatively'
Just need to recreate those reservations before weirdness starts

#

I suppose the follow-on question (which I'll just experiment with) is if I can still use my SmartDNS as the upstream DNS?

#

answer - yes i can

brittle night
#

so if hass is down you still have working dns

inner willow
#

Ah, that is great to know. Thanks.

#

I have a pi running some docker containers. I may install it on that now that I've worked out how to get it going.

#

having redundancy seems smart.

#

How does that handle having two DHCP servers? appreciate both of your help @brittle night @oblique leaf

brittle night
#

it wouldnt

oblique leaf
#

2 DHCP servers will either not work, if you're lucky, or they'll just fight and make a mess

brittle night
#

But all your devices on your network would still have dns if hass was down

#

You just couldn’t add new devices without manually setting an ip and subnet mask

inner willow
#

Yes I understand you never run more than 1x DHCP, wasn't sure if the sync application handled that or not.

raven tinsel
inner yarrow
#

Just set up frigate as an add-on in haos, within a VM on my server. Is there anyway of mapping a drive to use for storage?

potent storm
#

I would just purchase a NAS for storage.

raven tinsel
#

and some very very early attempts/initiatives to implement such things have started.
but right now, that is something that is not natively supported.

inner yarrow
#

Thanks.
I'm sure there's probably a way of making some association between folders on my camera storage drive and where the add-on stores content. Even if the functionality doesn't exist in frigate or ha to define storage location.

inner yarrow
oblique leaf
#

HAOS is meant to be an appliance that you don't modify outside of what's supported, so if you need more complex storage layouts you're better off switching to a Container install

final anvil
#

Hi @raven tinsel, there is a new Deconz Stable release available. Could you please provide an update for the add-on.

lime linden
#

I have just installed Glances Addon to my x86 HA OS installation in order to read the battery status. It shows in the glances frontend, but there is no sensor created for it. I could not find anything in the docs, any idea what I am missing?

final anvil
raven tinsel
#

I dunno, this is an open source project

#

I can't look onto the desks of people contributing from all around the world

lament otter
#

But the good news with it being open source: if you want something you can do it yourself! 😄

steep zealot
#

@zinc terrace - do you plan to put in the issue for MariaDB failing to recover, when you get a chance?

zinc terrace
#

Yeah I just want to test one more thing

mild glade
#

Hi! Having an issue with my MOES thermostat over z2m lately. My log is spammed with this entry:
homeassistant.exceptions.InvalidStateError: Invalid state encountered for entity ID: sensor.wz_thermostat_program. State max length is 255 characters.
I estimate this has to be solved in z2m but is it possible to mute this error message to avoid log spamming?

steep zealot
#

It seems to do a few loops of death before it completely craps out.

steep zealot
#

Hmm...OK, let me try again

steep zealot
oblique leaf
river wharfBOT
#

Please use a code share site to share code or logs, for example:

Please don't use Pastebin, since it can randomly add spaces to the main view. Please also don't share text as images since it makes it harder for people to help you. Remember that others may have colour blindness, impaired vision, etc.

zinc terrace
#

Still 404: "This page is no longer available. It has either expired, been removed by its creator, or removed by one of the Pastebin staff."

steep zealot
steep zealot
zinc terrace
#

From the look of it, just guessing it was too big?

steep zealot
#

Maybe, but anyway, you can see what I am dealing with here.

weary stratus
#

Mosquitto broker will not start

violet creek
#

I have aircast running but it’s showing duplicates due to some groups I have set up. How do you disable certain speakers

inner willow
# brittle night so if hass is down you still have working dns

So I've been back and set this up today. I am succesfully syncing from my primary (HA add-on) adguard to a secondary (pi docker) instance of adguard.
I'm not sure how I can get my devices to use the secondary adguard instance for DNS resolution if/when HA is offline?

#

I would have thought I could set my secondary adguard instance as an 'upstream DNS server' but it fails the tests.

brittle night
#

That’s not what upstream is for

#

Upstream is for an authoritative dns server like cloudflare

#

Pihole and adguard are dns black holes but they still need to hit some other server for actual needed nslookups that aren’t already cached

#

You can set multiple dns servers on clients

#

And dhcp dns can give out multiple

inner willow
#

OK. Seeing as my network DNS is handed out by the adguard DHCP server, and that tells my clients where to go. If adguard is down, I can't back that functionality up?

inner willow
#

Might be that I'm trying to do something that's more suited to having the router assign adguard as DNS server

#

At least I have a backup! If the pi running the backup had an SSD in it, I'd use it as primary. But it doesn't.

lavish shard
#

How do I edit a file of an addon in HAOS?

raven tinsel
#

One doesn't

#

Add-ons are not persistent files on a disk

#

(changes are not persistent that is)

lavish shard
#

But the addon in question requires me to edit its config file

lament otter
#

What problem are you trying to solve?

raven tinsel