#add-ons-archived
1 messages · Page 6 of 1
...maybe
Any hints you can provide will be very very welcome.
When it's finished, I plan to release it to teh deeper community
I started to look at this https://community.home-assistant.io/t/automation-to-run-shell-script-in-terminal-add-on-ssh-web-terminal-fails/451414, but that service they reference was deprecated, so I don't think that will work, you may need to actually SSH
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
RE SSH - I'm just 1 issue away from finding my next issue 🙂
Yeah, that's kinda what made me want to ask about the APKs
I assume the SSH addon runs from its own container, and avoids the base install?
All addons are their own container
awesome.
I just wish I knew what was missing from the official ssh addon in comparison to the community one
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)
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
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
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)
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
Yeah, that's just the main HA container
Shame, as my other bash commands seem to work for other things I have created
Think it's just openssl that's missing
hmmm
that would be for the key decoding I think
deeper devices use a public key with some extra sauce
Looks like it's being used to encrypt the password
yes that's right
Does that password change?
Gotcha
It's Base64
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
That just looks like it's creating a buffer from the argument
(which is likely the password)
yeah.
I handled it in my bash script (with some help)
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
Gotcha, well then, SSH time
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
Is it added to the authorized_keys?
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
It needs the key you generated. The host SSH key is used for when a client is SSHing in to that server
Yeah the key I generated is in authorized_keys
I think I need to ssh from HA to teh host
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
ok, let me try that 🙂
thanks
permission denied
hmmm
(publickey, keyboard-interactive)
ahh tried to cat it.. not found
Well that was an example, you need to put the appropriate path to wherever you stored it
Where are you SSHing from anyway
That's an addon
You don't want to SSH from the addon back to the addon
That won't help you
Yeah I want to SSH to somewhere that can run my script
Which seems to run in the community terminal without issue
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
ok
If you've got the community add-on and protection mode is disabled you can follow the guide above to test things out
ok I will give it a go
It shows you how to get a terminal inside the Core container
thanks for the tip bud 🙂
You bet
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"
0600 for most of those sensitive files
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?
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)
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
Just generate a new one? Otherwise, you'll need to convert to pem I think
ssh-keygen
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 🙂
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.
That got me thinking about about how the file looks. I found that the UI editor is bugged. It can only be edited in yaml. I need to report that bug.
I still have my original problem. It auto fails when I try to login to the Nut Server
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
You could modify your integrations to have a delay on start.
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```
- all
🥳
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?
🤷♂️ If you really want to, just NSX from HA Discord is fine, but definitely not necessary at all
Gonna add it to the comments of the script
It's easier to troubleshoot when you explain what's not working, what the error message is, share the logs, etc.
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.
Well... what are you providing as details in the integration
any logs in HA for that?
Integration says Failed to Connect Is there some other location of logs?
/config/home-assistant.log
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.```
What do you mean by what is the host?
localhost
Use a0d7b954-nut
That worked. Where did you get that number from?
Oh, so addons need a special name for localhost. You can't type local host. Is that a known bug or a "feature"?
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
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.
That's not how docker works
The NUT add-on docs do explicitly state what you need to use for the integration: https://github.com/hassio-addons/addon-nut/blob/main/nut/DOCS.md
(This is the docs page that shows up for the add-on in HA)
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.
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
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.
https://pbs.twimg.com/media/FmZSOO3XwAYQ0z7?format=jpg
Happy with this so far! 🙂
can I get the duck dns app if I'm using HA on a pi using containers?
Container doesn't have add-ons, but add-ons are just Docker containers, so you can just add another container to your system
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?
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
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"
}
}
Try the #node-red-archived channel 🙂
yeay, noticed that one now!
I would like to use KPN IPTV with my Unifi setup (https://www.vanachterberg.org/usg-kpn-ftth/posts/unifi-security-gateway-kpn-ftth-iptv-ipv6/). But how can I add a file to the Unifi controller (add-on) as required? Basically I need to add the file system of the docker instance I think?
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!
The addon version 1.3.0 is the latest
The integration is a separate piece in HACS
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
You could downgrade temporarily?
I did. without succes
To which version
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
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.
I'm running HA supervised as a VM under Unraid
Don't run Supervised 😦
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
there are nog logs except in NR
If you're already running HA in a VM though, not sure why you wouldn't move to HA OS
Just install HAOS and restore a backup. It will likely solve a bunch of weirdness.
I'm not sure what you mean by that
i try to show a screenshot over here but won't work
Post on imgur and link it
imgur?
oke
but is syas every second several times: connecting to http://supervisor/core followed by connected and disconnecting
Did you bump your log level to debug as I mentioned?
no at the moment i removed NR addon and the NR directory. For doing that I do need to install again
Open your Home Assistant instance and show your Supervisor system logs
Also check out the supervisor logs (dropdown in the upper right)
Both may give some insight into what's up
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
Go to the config tab of the add-on, hit show unused optional configuration options, select debug in log_level
thanks for the help sofar
np
Thanks! I have just installed HACS, is there anywhere some information on what i need to do next to get the 2FA working? Thanks!
Thanks!
yw
terugkomend op disconnecten:
dit is log in debugnode
wat mij opvalt is dat er staat integration not loaded
@bitter skiff
Your best bet is to just switch to HAOS and restore a backup as Rosemary suggested
Dan I do miss my supervisor?
and it did work perfect before
I also do use zwave-js as addon
HAOS has add-ons if that's what you mean
HAOS is Supervised without the migraines.
is there a HAOS supervised docker for unraid?
I can not find that
I only see a VM posibility
https://www.home-assistant.io/installation/linux#install-home-assistant-container
But you want the #installation-archived channel
oke thanks
@analog bridge How would I make the recorder delay start? I don't think I've ever seen that option in the integrations setup?
I know addons have a start on boot option and there is a trigger option for when Homeassist is finished booting. What starts the writing to the database?
So the Database is setup to start on boot but I believe HomeAssistant tries to connect and read the recorder before booting is complete
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.
Is this an automation reading that?
Does someone know why this is? I did like the steps in an tuterial and now I have this. Did I miss something ? Pls tag me thanks https://cdn.discordapp.com/attachments/784895938774564864/1063964815674048512/image.png
(Image)
This is more for #frontend-archived , but you need to add the layout-card frontend cards from HACS (or manually install it)
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.
What's the exact error? How about logs from the Mosquitto addon?
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:
@half umbra I converted your message into a file since it's above 15 lines :+1:
i tried creating a new HA user to see if that would allow the tasmota device to log in. no luck.
It has worked before though? You haven't made changes to either configuration?
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.
Didn't happen to have your broker change IP address or anything, did you?
no, i'm using a pi with HA and the mosquitto add-on. static IP.
https://tasmota.github.io/docs/MQTT/#return-codes-rc Just looking at -2 here, it doesn't seem to be credential related or anything... it seems to be network related
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
Nice, glad you got it working
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.
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?
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
Ow okay my bad and thank you
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.
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?
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 😦
https://www.home-assistant.io/integrations/cloudflare/ this is the best solution not continuing down your rabbit hole
freenom seems unavailable, do you know any other domain that will work with it to send me to? pls
Or buy a cheap one off namecheap for $5 or less
Porkbun is free for a year with that link tho
thanks.
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
You might be out of luck without some sort of VPN that you can funnel all of your HA traffic through
Yea tailscale etc with an exit node outside your country is probably the easy answer
I wanted to try the openvpn addon on ha to do since I can’t figure any other way to get a vpn between my ha and the internet
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?
yeah that makes sense
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
cant i run tailscale on my mac then get ha running and download openvpn to it and use that or it wont work?
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
?
Like tunnel through a tunnel?
We’re gettin real weird with it
like use the mac as a tunnel until i setup openvpn on home assistant or will openvpn not help with my problem anyway?
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
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
I blame YouTube sellouts with their nordvpn etc thing confusing you about VPNs
yeah i had to learn the truth the hard way
so i guess there is noway out of this jail for me
Solutions exist like I said above but it’s diy and has inherent risk
alright i will take a look at the vps and cloudflare's tunnel
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!
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.
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)
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?
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...
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
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.
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.
How did you add your key?
Ok. No idea what's causing that
Here is the log for better inspection. http://pastie.org/p/5QWTtw1rpuYnRbusrdmSNc
I would agree with that. I have tried uninstalling and reinstalling to the same result
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
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
On the add-on config page click the
then "Edit in YAML" and paste the config (and obfuscate any sensitive info)
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
hmm, that looks normal
I would hope so as I had not touched in on this reinstall
How would i get to the console in the os?
Monitor and keyboard
Or you can try the core SSH addon
Which?
Core SSh
I attempted to try it earlier but got scared off then found how to gen a key and did not go back to it
rsa-keygen 🙂
Thank you for your help.
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!
Hi All, is anyone using the following add on and can comment on how it is? https://github.com/aegjoyce/ha-addons
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.
does the new Reolink add-on, not offer binary sensors? Connected to my camera directly and I don't get the entities...
I think you are mixing up the term "add-on" versus "integration"
As Home Assistant added a new Reolink integration in the last release, I'm not aware of an Reolink add-on.
uh, I guess I am... what's the difference?
I see, yes, I was referring to https://www.home-assistant.io/integrations/reolink ... so that's an integration... however, it doesn't offer the sensor and other binary sensors I expected...
So, should I use this addon: https://github.com/fwestenberg/reolink_dev ?
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.
It won't bring binary sensors, patch releases never add new features
me? not yet, just got the notification
binary sensors are in development (see: https://github.com/home-assistant/core/pull/85654)
fresh out of the oven
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)?
Have anyone encountered problem to start Studio code server? i get error 503
sorry, error 502. bad gateway
well now it does...
working now lol
patience, grasshopper
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!
Hi, i was wondering why the visual studio code server addon isnt compatible with my raspberry pi. Is it because its 32bit?
Ah thanks
/config/share != /share
Thank you!!
how can I get through /share just by SAMBA or there is another way?
Sweet, thank you
Even VSCode Server will let you open a new instance of a folder
Just defaults to /config
Okay I moved it to the real /share folder, let's see if it's running now
Works great, thanks!
Has anyone else ditched LastPass and moved to Bitwarden?
every homelabber in the last 3+ years has been screaming bitwarden from the rooftops
highly recommend
I was pleasantly surprised I can host my own server on HA via Vaultwarden (Bitwarden) and get my pw database completely off the cloud!
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
I jumped ship to Bitwarden (cloud last week) but am now self-hosted...
sweet
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!
I can't believe people still use LastPass with all of the incidents they've had the last few years
hey like 90% of the world still thinks it's okay to use google as their smartphone hardware and OS provider
given their track record with personal info giggle
I wouldn't say any of the big corps have a clean slate for personal data
nah you gotta pick your poison
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
I started getting antsy about them back in Sept/Oct. My master password was unique, cryptic, & long there too so unlikely the vault would ever be decrypted, but I feel much better now off the cloud completely. Now just need to finish changing passwords on 287 or so websites.....
You have a backup strategy, right? 🙂
i wish i had $ to put a box or three at friends places on top of just cloud backup
Having been in IT Support for 35+ years, YES!!!
I'll even export & print the damn thing off if I have to!
Google Cloud backup & Samba backup to NAS...
deconz Plugin issue
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);
}
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
For both of you: https://discord.gg/XeUa5nv2
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.
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
https://github.com/danielperna84/hass-configurator
IMPORTANT: The configurator fetches JavaScript libraries, CSS and fonts from CDNs. Hence it does NOT work when your client device is offline.
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?
I think you should not mention/tag people at random
it kinda comes across demanding
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 😂
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
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
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?
Well you need the #zigbee-archived channel, your Conbee on a long shielded extension cable, and to put the devices into pairing mode 😉
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.
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
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...
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
without port forwarding no external access... my HA is a virtual machine (HA OS) in a VMWare
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
I want SSL from outside only.
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.
stop forwarding 443 to 8123
forward 443 to whatever nginx is exposing
and remove ssl config in ha
yes, removing ssl config in configuration.yaml is probably what you want
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...
If I delete that, only internal access...
you want internal http right?
Internal http and external SSL
yes so remove the ssl config
- 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
let Nginx Proxy Manager get the certificate and manage it
homeassistant will only do https if you give it a certificate. remove the ssl config and keep it removed
can I post some img here with my IP problems?
not mine nor duckdns. is a ddns from my Asus router
And I generated the Let's Encrypt certificate using NGNIX comunity addon
you can proxy nginx https to http on homeassistant, there is no problem doing http in between as its on the same host
only internal http access then
yes
that is what you want, isn't it?
the next steps follow
but keep that ssl config away
I will do it now and post here the result, ok?
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
I did that in NGNIX web UI
alright, then make your router port forward 443 to HA:443
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
is that 400 Bad request happening when you use the external url?
yes
and you use https ?
yes. https://ddns
base_url was deprecated long ago, and you still need the configuration for trusted_proxies:
with that still no external acces
NPM handles the certificate. You don't need to tell HA about it
I reinstalled it 3 or 4 times up to now. I even tried to use official addon. same result
#add-ons-archived message
I guess you still proxy to https: rather than http:
that was my understanding but seems somthing is not ok here
in my nginix web ui I use http -> ha ip -> 8123
where can I post some img from my ha?
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.
link from google drive is ok?
have a look at the nginx logs
now or with SSL?
nginix log
and yet, no access without that ssl lines...lol
so
have a look into your ha
with local http
do you see a persistent notification?
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.
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
and not entire:
use_x_forwarded_for: true
trusted_proxies:
- 192.168.24.0/24
yes also x_forwarded
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
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
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
from here?
I have no idea why you'd attach a additional interface in vmware with 172
yes, they contain your domain stuff
I'll stop sharing
I didn't do it
I thought is something from HA when I installed it
I checked and I only have one network adapter active in my vm
Thanks for replying... I'm trying not to @ mention. It's such a strong habit.
Grafana Agent is very similar to promtail, it embeds it along with many other components.
I went ahead and ran it in a native docker container for now and I'll see about turning it into an addon - I've sort of been put off by the experience yesterday.
It’s only an issue with a handful of people they just happen to be very active here. Just try to respect their personal wishes and you’ll be fine.
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...
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
Did you check the logs?
i just did.. sorry im new to this HA things...
Refusing to start because configuration is not valid, found the following errors:
- must have required property 'mqtt'
If you don't know how to solve this, read https://www.zigbee2mqtt.io/guide/configuration
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
What does the config look like? (in YAML form,
> Edit in YAML)
Please use a code share site to share code or logs, for example:
- http://pastie.org/ (select YAML for the language)
- https://dpaste.org/ (select YAML for the language)
- https://paste.debian.net/ (you guessed it, select YAML as the language)
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.
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 ?
Are you using the Mosquitto add-on also, or some other MQTT broker?
i have followed this guide. https://github.com/zigbee2mqtt/hassio-zigbee2mqtt#installation
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...
Generally you don't want to use /dev/ttyUSB0 for the coordinator stick. You can find the path via the Hardware page
> All Hardware, then start typing /dev/serial/by-id into the search
ttyACM0
/dev/serial/by-id/usb-dresden_elektronik_ingenieurtechnik_GmbH_ConBee_II_DE2667085-if00
Yeah, you'll want to use /dev/serial/by-id/usb-dresden_elektronik_ingenieurtechnik_GmbH_ConBee_II_DE2667085-if00
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)
I've never used a Conbee, but it apparently requires additional parameters to start
https://www.zigbee2mqtt.io/guide/installation/20_zigbee2mqtt-fails-to-start.html#error-srsp-sys-ping-after-6000ms
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!
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
With the Mosquitto broker add-on, you shouldn't need to be specifying any info under mqtt:
lets try!
Zigbee2MQTT:info 2023-01-20 18:29:00: Zigbee2MQTT started!
lifesaver @oblique leaf
🥳
now lets see if i can handle this zigbee2MQTT haha
#zigbee-archived can help with pairing
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
Yes
Home Assistant Operating System
but alright i will check that out
Long live haos 
oh i can apparently run visual studio as a container and link to HA
Yeah that's an option as well. Add-ons are just Docker containers
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)
Yeah I see
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?
I am looking at the best path to have it work on my setup
Home Assistant doesn't support such setups, so, I don't plan on adding it either
To install addons such as Visual Studio there is HAOS, Supervised and that's it ?
or are there other ways ?
https://cdn.discordapp.com/attachments/743144302334443622/1019746044877230190/unknown.png old pic i still find useful
(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)
thanks !
that's quite useful
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
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
OS
That is by far build to be click & go (including OS updates)
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
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
I had my whole server setup using containers that's why I went with the container install of HA
Yeah that is possible and fine too 🙂
yeah definitely not going to use those
oh ok
so I can use my container AND install addons
you can try
If you don't want to wipe your server (e.g. if you use it for other things too) and still want HAOS, you can always install it in a VM
No, but you can achieve the same by installing those application manually (see the documentation of the application you need on how to set it up)
all you need to do is find images/containers at dockerhub and then mentally refer to those as add-ons
yeah that's what I saw someone do with Visual Studio
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
it does have it, and the integration results in having the supervisor to manage them and calling them add-ons
you have angered the frenck
we have security ratings and other cool stuff too 😛
you've been bitten by the bug.. welcome to the party 😛
yeah that's what I meant, using the container version limits you
you can backup your container install and restore to haos in a vm and play around
worst case you jump back to the container
there are many many more containers available than have been templated and made available as add-ons, so it's kind of the reverse. Fewer limitations with a container installation, more convenience with the HA OS installation
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)
No need to say sorry for that
that is a perfectly fine installation method
Which allows for some really nice flexibility as well
what limitations?
hahha i was kinda joking
because of this
HA is gonna take me the whole weekend but oh man am i excited
just dont set it up and walk away
- 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
oh yeah definitely
the thing is I have nothing in my home that is smart (except maybe me)
anyways they like us to stick with channel topics and we're out of addons territory
so i will set up the ui and a few things (homekit/homepod/the router/plex...)
we can jump to #hardware-archived if you want suggestions on how to spend your money 
and little by little i will buy a few things
lmaooo bet i will have a look at that
ya i have all that setup. smart lights turning on/off based on plex play states is sweet
dang that's cool
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
Card issues are #frontend-archived
well im not sure if is card or the config of the addon for the card xd
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?
You need a server to use that integrations, here's an example of an add-on that'd serve it: https://community.home-assistant.io/t/add-on-rtsptoweb-and-rtsptowebrtc/387846
I need like 4 add-ons to directly plug in a USB camera to the raspberry pi?
Why is this
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
Is there a less complicated method of just opening a USB camera in HA
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
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!
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?
So in a new line, they hit the space bar twice? Watching the video it sounds like they just hit one key once
https://youtu.be/ICuWjPp3L9Q?t=304
This guy for example. It sounds like he just hits enter?
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)
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
There's one here, it does say unsupported though: https://github.com/dy1io/hassio-addons
used a different way, thanks though <3
managed to get external access through a web tunnel
cloudflare <33
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.
If you can use DNS-01 validation for Let's Encrypt, then there's no need to use port 80 at all
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?
Then move your domain to a better registrar like cloudflare…
Yes, cost is a consideration...
Cloudflare sells domains at cost. No markup
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
A lot of those gTLDs have stupid high prices
Well I have a popular last name so i had to get creative for the domains I wanted
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
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
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
#cameras-archived can help with that
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
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
Does anyone have any experience with the infinitude add on for Carrier thermostats?
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
ESPHome is a system to control your ESP8266/ESP32, with a native integration for Home Assistant.
You can find their documentation here, and get help with ESPHome itself here in the #diy-archived channel (#integrations-archived for the Home Assistant side integration with it). They also have their own Discord server too.
Sounds specific to ESPHome rather than directly HA related, so I'd try checking their Discord
Thanks, I couldn't find a link to it and assumed they didn't have one. Ill ask there.
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.
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
that isnt accurate
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
gotcha - sounds great, thanks!
https://cdn.discordapp.com/attachments/743144302334443622/1019746044877230190/unknown.png here's an old picture if this helps visualize it
ah ok - I thought the add-ons ran on containers and there was some issue
nah you're good to go
Anybody?
@lime girder For some reason I can't change the port on sharry, any ideas on what I could do wrong?
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?
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
Found a bug report with multiple people having the same issue
https://github.com/home-assistant/addons/issues/2737
got it working via YAML editor
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
Hey can you take a look at my messages a few lines up and compare our logs? I wonder if we're having the same issue
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
That seems excessive but I guess it’s not hurting anything (monthly backup checks)
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)
🙂
Wait you don't regularly test your backups?
@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
Nope, lot of people already do that. Would have noticed in the issue tracker something is wrong. Keep long enough backup history to have a way out.
automatically, it discovers itself
@raven tinsel Actually, mine hasn't... 😦
You can use 127.0.0.1 and port number 45158 in case you want to do it manually
Well a history of backups doesn't really matter if there's a problem with them that's persisting
Then just all the backup instances could be bad. The number of them doesn't really matter
True... It going unnoticed for so long would be insanely rare. Then again, my general automation config is stored in git. Loosing a backup wouldn't be the end of the world.
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
It is huh? Haven't used it much myself, but the stories are great
I personally just think it is amazing it restores across architectures as well ( I migrated from x64 to arm64 at some point, just worked)
It’s painless I love it
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
You use a yellow as a test bed with haos right?
add-ons have architectural differences. For example, the VSCode add-on uses different docker images for x86 vs arm64
I use an HA Yellow (POE) for prod (running nightly dev)
Ah
I misread thought you meant you haven’t used haos much yourself (not just the restore feature)
I use a HA Blue for pre-release add-on testing (for the arm part that is)
Right but I mean what's being backed up is just data, raw or config.
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
Yeah for sure 🙂
Btw guys in #general-archived were asking about donations for nabu casa- still only way to support is by subscribing with cloud right?
Yup, that is the only way
another way to support the project is to look for people you want to support, e.g., contributors
Yeah for sure
Thanks a bunch! A restart of Core fixed the discovery issue.
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
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.
Nice! 👍
Is each person who opens or replies to an issue counted in that number?
I'm not 100% sure how GitHub counts that number, you could ask them.
Wasn’t sure if you meant people with PRs only or something
Any contribution
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
like reporting an issue is just as important as fixing one
With how ubiquitous home assistant name is on Reddit I honestly expected the users to be like 10x here https://analytics.home-assistant.io/
Cuz it’s becoming a household name I think
I.e. 40,000 users in USA seems low
It is opt-in, estimations are way above 500K instances. But no way to know exactly how many.
Yet, analytics are important. They show how popular integrations are, and things like that
it helps with prioritizing and polishing things
And as numbers for swinging weight around to get companies to work with y’all better
Make small step, small changes at the time. Small PRs go through way quicker
Although I think we’re in a good spot there so far
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
Yeah I'm definitely focusing on keeping it small. I don't think it can be any simpler in terms of functionality. I've been using the Steam and GitHub integration as references
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.
Nature of the beast I think
We’re lucky frenck chooses to maintain so many popular things lol
Comments it will get. That is how reviews work, don't be scared of it, embrace it (it isn't personal). It help you learn (I still learn every PR I submit)
We have a large queue, true. Small PRs just fall through faster in general (as easier to pick up by more people)
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.
Well I’d say many people are at the mercy of devs who want the same thing
Looking at it now
There is no top or bottom in many cases 🙂
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
Exactly. I've had 5 seeming good backups and in my testing doing new once on fresh VMs produces the same corrupted outcome
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.
That actually does concern me a bit. This probably comes off ignorant and I understand it's human nature, but it kinda sounds like favoritism and politics
it is how people work. This is an open source project. Most of everything you see in Open Source projects are from contributions (including reviews). Those are from people that do this in their spare time.
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
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
@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
Yeah that's also a good point.
Skill level doesn't matter. Multiple people looking at things, just make things better. Filtering out initial comments and issues, helps a lot already
Yea
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
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
There is a bunch of closed issues for that
Could you post any relevant logs here?
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.
incentive program would help
How would that look? We are looking for passion and people that know what they are doing. Not for a game of collecting freebees.
I've done that yesterday in the #installation-archived but will copy it here in a bit.
I am on my phone so it's tricky
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
@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)
For sure, the ratio of open to closed issues is outstanding on this project
The fact we are able to maintain a pretty steady open/close ratio is pretty ok
We do monitor those numbers btw
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
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
Old issues are automatically closed when there is no activity already
There has been an issue releasing 2022.12.4 for some platform, 2022.12.5 of ESPHome is being shipped as we speak (to address that)
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
(GitHub stale bot not included)
Ah okay, thanks for the info 👍
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.
shakes fist and github stale bot
You'll learn a lot of things aren't as scary as they are/looked 🙂
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
Hehe vscode is used a lot
that said, I'm not using the documented methods myself either 🙂
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
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
Sounds like you have custom init commands in your setup
that no longer work
try to remove it from the add-on configuration
Welp that was easy and more verbose than I thought... thanks 🙂
@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.
You don't use VS Code?
I think I've seen "Unknown/unsupported storage engine: InnoDB", but that might just be a general error
Just as a piece of additional info, above this section there were literally (and I am using it the way it was intended to be used) few hundred to a thousand rows of symbols, patterns and sometimes sensor names and/or values between them. As if it's dumping the tables into the logs.
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?
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
my router is a bit ****. If I do it that way, adguard/pi-hole whatever shows all requests coming form the gateway ip. So no device control.
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
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
What kind of router do you have?
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
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
Yes changing the DNS setting is easy - just doesn't behave as you'd expect. From memory. I'll post results in a moment.
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
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
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
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.
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
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.
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
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?
on your router config page you set DHCP DNS to 192.168.1.93?
Yep it is.
I would past screenshot but I don't think I have premissions to do so on this channel
you have to use imgur
that looks like the dns for your router
not dns that dhcp will hand out
but maybe it is
That looks like the correct page, it has toggles for the DHCP server
it doesnt explicitly state it
It has been working fine using an upstream smartDNS that I use to watch HBOGo in australia
cool
So pretty confident that's the right setting. But no sure why adguard home isn't receiving those requests.
https://imgur.com/a/BSuq4eQ
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.
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?
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
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
https://github.com/bakito/adguardhome-sync/ you can setup a secondary instance on a pi or something and then run this to sync them
so if hass is down you still have working dns
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
it wouldnt
2 DHCP servers will either not work, if you're lucky, or they'll just fight and make a mess
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
Yes I understand you never run more than 1x DHCP, wasn't sure if the sync application handled that or not.
I do use vscode
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?
I would just purchase a NAS for storage.
No there is no such functionality at this point. There are feature requests open for it on the community forums
and some very very early attempts/initiatives to implement such things have started.
but right now, that is something that is not natively supported.
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.
I have a nas, the issue is I can't point Frigate addon at it.
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
Hi @raven tinsel, there is a new Deconz Stable release available. Could you please provide an update for the add-on.
No?
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?
ok, is someone else doing it?
I dunno, this is an open source project
I can't look onto the desks of people contributing from all around the world
But the good news with it being open source: if you want something you can do it yourself! 😄
@zinc terrace - do you plan to put in the issue for MariaDB failing to recover, when you get a chance?
Yeah I just want to test one more thing
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?
Just in case you'd like to 'compare notes' here is the full dump when the DB crashes upon boot - https://pastebin.com/JCbjBh9H
It seems to do a few loops of death before it completely craps out.
Bad link?
Hmm...OK, let me try again
pastebin.com isn't great
Please use a code share site to share code or logs, for example:
- http://pastie.org/ (select YAML for the language)
- https://dpaste.org/ (select YAML for the language)
- https://paste.debian.net/ (you guessed it, select YAML as the language)
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.
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."
Third time the charm... https://dpaste.org/9rjRF
Sorry for that, no idea why it doesn't work.
From the look of it, just guessing it was too big?
Maybe, but anyway, you can see what I am dealing with here.
Mosquitto broker will not start
I have aircast running but it’s showing duplicates due to some groups I have set up. How do you disable certain speakers
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.
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
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?
I can't see the option for that in adguard DHCP settings
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.
How do I edit a file of an addon in HAOS?
One doesn't
Add-ons are not persistent files on a disk
(changes are not persistent that is)
But the addon in question requires me to edit its config file
What problem are you trying to solve?
It helps to explain your issue, instead of asking of a solution for a different problem 🙂