#add-ons-archived
1 messages ยท Page 41 of 1
InfluxDB
I have a statistics sensor hooked up to a watts measurement. I'm trying to create a graph based on the variance attribute but all I'm getting is Your query is syntactically correct but returned no results
@cunning wolf pretty simple config, it's here
https://pastebin.com/8NUHEfe8
Re: my SSH addon config
Btw, if it makes a difference, I'm using supervised hassOS qcow2 vm
And it's been that many hours that your error message has scrolled way off the screen. Remind me what issue you were having.
@cunning wolf so the issue is that using the ssh addon from the community repo, using only 1 key file works fine. In the config I shared, there's a second key. It was originally added by modifying the ~/.ssh/authorized_keys file directly. Whenever Hass restarts, the keys end up on one long line. So instead of:
ssh-rsa keyhere
ssh-rsa keyhere
It's doing:
ssh-rsa keyhere ssh-rsa keyhere
It's stripping the line feed. I tried escaping \n \r but it doesn't escape out. I have to manually log in to my supervisor via ssh with the first key, edit the authorized_keys file to correct the line feed, and it'll stay that way until another reboot
It seems to me that it's deliberately trying to put things on one line. The key is expecting a list - what happens if you provide a list?
I haven't tried that. I'm still learning yaml. Would I do that with [ssh blah, ssh blah]?
Neater if you use multiple lines in this case.
authorized_keys:
- ssh-rsa keyonegoeshere
- ssh-rsa keytwogoeshere```
Also, watch your indentation. 2 spaces everywhere, you only had 1.
Maybe I'll take a look at the GitHub code and see if it can cleanly make a list when multiple lines are detected. And submit a patch. Thanks for your help
I had to write it out by hand, copy paste is screwy on my phone with Hass config editing
I'd normally recommend PRs if you're savvy... but lists are the expected way to handle, well... lists of things.
If it wanted a raw file, it'd ask you to provide one.
Probably not a popular use case to have multiple ssh keys in the config, so it wasn't really noticed or anything
I could also just use one key. But I like to make it work rather than work around ๐ but really, thanks for the help.
And the syntax I showed, was auto created by the addon, from my authorized_keys file. I didn't write the - >- or put the key directly in the config
Yah, no matter what I do, the addon re adds >- by force.
@mint sierra that's an InfluxDB informational message, which means that there's no data of the field name you've requested in the time range you're querying. It might be that your data has a different field name, but it's often due to ingesting data to the database with a timestamp of the wrong length (the default is epoch ns timestamp). If your data happens to be using a ms timestamp, it'll be stored in the 1970s unless you specify the timezone format (eg: precision="ms") when you ingest the data.
Hi! I was checking the nginx-proxy-manager addons, and see that it does not support stream. Does that interfere with HA's Stream integration?
well dang, tried manually changing adding ports to the hostconfig.json and config.v2.json and now for some reason the container doesnt even show up in docker ps -a anymore
should have backed up the config file first
json lint test helped me find the issue. woo hoo
wish it wasnt such a pain to modify ports of an existing container
How come I can't see any of the official addons in the addon store?
Third party repositories work
After installing update of Node-Red in home assistant I get:
"endpoint with name addon_a0d7b954_nodered already exists in network".
I have un installed Node-Red from home assistant but still get the same problem.
20-07-14 09:36:11 INFO (SyncWorker_15) [supervisor.docker.interface] Clean addon_a0d7b954_nodered application
20-07-14 09:37:01 ERROR (SyncWorker_15) [supervisor.docker] Can't start addon_a0d7b954_nodered: 403 Client Error: Forbidden ("endpoint with name addon_a0d7b954_nodered already exists in network host")
And i cant finde "addon_a0d7b954_nodered" on the network in "Portainer".
Im new to this.
Hope some one are willing to help me whit this.
Thanks.
it might be hidden, do you have the SSH access? you could just do docker ps | grep addon to see if it shows up.
No, I donโt have SSH access.
I run the home assistant raspberry pi3 image.
@outer swan You could add a SSH add-on. However, not sure if that provides a docker command access in that container
@stoic kiln rasp-config is for the configuring the Raspbian in RPI - not required, unless you need to expand the storage, setup wifi, etc. Nothing directly related to HA, if that was your question
thanks @manic fox , in fact i was thinking about SSH server ?
However, I hope you have done apt get update and apt-get upgrade that always a good practice before installing anything
@stoic kiln in your SD card, just place a file by name ssh (obviously you will have to take it out and do it from other computer). and you will have the SSH access
ah ok , i need to do that in order to have SSH connectivity .. back to install phase . Thank you
yeah simple googling given this result which I guess has detailed steps in case you want to double check https://linuxize.com/post/how-to-enable-ssh-on-raspberry-pi/
@chilly havenju-Rn , i used to do that with rasbian installation
@raven tinsel Couple annoying UI editor bugs in the NR 1.1 version -- One makes the browser not responsive and another makes scrolling on mobile not work -- looks like ol' dependabot has merged the upstream fixes, would love to see a new addon release for the peeps in #node-red-archived
issue closed
@fair flint Don't we all
@manic fox do you know how I can get SSH access...
I installed the add on in home assistant but it only gives access to Home Assistant.
yeah with that image, you are pretty limited since it is a seperate container. Have you tried checking in teh portainer to display all the add-ons? Otherwise for your node-red add-on problem, a reboot might help
I was also using what was previously called HASS and had to change the installation because of this limitation, i needed to have full access to OS
@manic fox yes, I have all containers visible.
I have tried to rename the container and started it... renamed it running and it run.
Then uninstall it.
But still same problem.
So I guess the only solution is to start from scratch again.
What is your suggestion for new installation?
delete the container. Are you also able to delete the image?
I would recommend the docker installation method, but that would mean you need to learn some linux and docker skills, if you do not have it already. I still run the HA supervised, although has been deprecated
HI all, I test to add android TV on Ha bit when I add the configuration in config.yaml
and check is config is ok
a received :
Platform error sensor.androidtv - No module named 'homeassistant.components.androidtv.sensor'
```
do you have idea whats it's the problem ?
Sounds like an #integrations-archived question ๐
hooo ok excuse I go to #integrations-archived ๐
Hi , I just finish the installation of HA on RPI3 and is ready to continue with the Zwave part . I am using a Aeotec USB dongle connected to an USB poort of tye RPI3. So my question is : Do i really need to install the add-on Zwave to MQTT gateway ? Thank you
because i do not need normally
in my case .
No
Thank you @viscid orchid
Hi, addon: https://www.github.com/home-assistant/hassio-addons/tree/master/ssh ; after I changed IP of hassio host I can't start addon; reinstall didn't help; error: standard_init_linux.go:211: exec user process caused "structure needs cleaning"; I suppose this is general problem for the add-ons. Can anyone help me?
Is there a way to tune the motion eye addon so its not as sensitive when triggering events ? I keep getting false positives and I dont know how to reduce them
Does the addon say it can be tuned?
Yes. There's lots of options but not much in terms of documentation about each parameter
Right now it's overly sensitive, triggering about 2 dozen events a day. However if I change the motion detection % from 4% to 5% it flips to detecting nothing
Does anyone know if a Zabbix addon exists already?
Not the Integration.
I mean running a full Zabbix server on HASS. Or is that not possible?
Here , try this:
http://letmegooglethat.com/?q=zabbix+home+assistant+addon
Hi I need help. Been trying to figure this out for literally months re remote access. My HA instance has a valid SSL certificate. I can get to the HA login screen from within my internal network at the [].duckdns.org address, but if I try to access from an external address, there is no access to the login screen. Longterm tokens also do not work.
I can't work out what else to try.
From external ip, the login screen times out. Could this be something to do with my router, even though the server SSL certificates check out and the port is open?
Using NGINX
Oh i should say that it does work if I use nabu.casa, but I don't want to use that
It sounds like your port forwarding could be wrong. If it's timing out, it's because whatever's supposed to be listening on that port isn't responding.
And if you still can't figure it out, provide more information. How's your port forwarding configured? How are HA's internal/external URLs configured? What's your nginx proxy config?
@hollow depot
Port 443 is open
domain: xxxx.duckdns.org
certfile: fullchain.pem
keyfile: privkey.pem
hsts: max-age=31536000; includeSubDomains
cloudflare: false
customize:
active: false
default: nginx_proxy_default*.conf
servers: nginx_proxy/*.conf
external https://xxxx.duckdns.org:443
internal: [blank]
Portforward to Hassio is HTTPS-Server TCP 443 443
The SSL certificate checks out in all respects at https://www.geocerts.com/ssl-checker
I believe the port number is redundant in your external_url. https implies 443.
I don't understand why HA would load the AUTH screen from my internal IP but not from external
I believe the port number is redundant in your external_url. https implies 443.
@cunning wolf doesn't make a difference when I delete 443
Are you sure you can reach your home network from the internet without Nabu Casa? Anything, not just HA.
Well the fact that the SSL certificate checks out and the port check is open on 443 confirms that does it not?
I haven't got any other servers running to check
I'm not sure what it is then. Hang around and one of the SysAdmin type people will be along ๐
Thanks
Does anyone have any idea why the config check takes more than an hour to complete? CPU load during the process is only at about 3-6%. System load (htop) is at about 9 at a quad core machine. Supervised install.
[10:05:37] INFO: Don't worry, this temporary installation is not overwriting your current one.
[10:05:37] INFO: Installing Home Assistant: latest...
[10:05:37] INFO: Please be patient, this might take a few minutes...
[10:06:52] INFO: Installed Home Assistant 0.112.5
[10:06:52] INFO: Making a copy of your configuration for checking...
[11:28:46] INFO: Checking your configuration against this version...
It also failed with this output:
[11:31:44] INFO: Configuration check finished - no error found! :)
s6-svscanctl: fatal: unable to control /var/run/s6/services: supervisor not listening
[cont-finish.d] executing container finish scripts...
[cont-finish.d] done.
[s6-finish] waiting for services.
Looks like it took 80 minutes to make the copy. Start by investigating why file I/O is so slow.
What tools are natural for that? Not sure how to approach this...
You probably want to ask in a more relevant channel and see what people there say. #330944238910963714 would make sense.
Hehe... I tried and was pointed in this direction. ๐
Iยดll go back and try again...
Your problem has nothing to do with addons. You're asking about core HA functionality and how to troubleshoot it - which depends entirely on how you installed HA.
Tinkerer usually knows best though... so I dunno ๐
after brute remove adguard home container it seems like my NUC cant resolve any address after quick research i found that it have static 8.8.8.8 dns so its not misconfigured does adguard add something else that i need to rollback ?
how do I add an addon from github
cant see anywhere in the addon store to import one ?
found it - 3 dots
Hi, can someone help me with the Mosquitto broker addon? I am trying to connect to the websocket but failed till now. Log says "Opening websockets listen socket on port 1884.". Same for 8884. Documentation doesn't say anything about websockets.
Using default config but added a login
Thanks in advance ๐
I was wondering if it is a known issue that there is no way to use a VS Code (Installed locally, not the add-on) remote SSH session with with either the SSH add-on by frenck or via directly SSHing into HassOS?
I posted this on a community thread too where people were discussing this issue and it seems like there is no solution at hand. Could the devs here shed some light on this topic, please?
-
The SSH add-on fails to work as the version of Alpine Linux used is older and the Alpine versions of glibc and libstdc++ (which VS Code Remote SSH needs), are not compatible with VS Code.
-
The HassOS host SSH approach is probably not even recommended. Nevertheless, it fails because it starts without a TTY and offers one only after the user types in โloginโ and arrives at the zsh shell.
-
Lastly, accessing the config folder via a Samba mount (Samba add-on) works, but is much slower than direct SSH during git operations and often gives phantom file changes in git, probably due to permissions changes owing to Sambaโs default mask settings.
Forum thread where this discussion started: https://community.home-assistant.io/t/vs-code-remote/129887/11
I can't say I've ever noticed any performance issues with VS Code over SMB.
And if you're insistent on using SSH for everything, you're probably a power user that's more comfortable with vim anyway ๐
Is anyone having issue with Samba Shares? I am able to start the add-on, but it shuts down immediately
You don't really want to know if others are having problems, do you?
I'm guessing you'd like to solve your own problem ๐
What does your config look like for the addon? And is there anything in the logs when it happens?
Please use https://paste.ubuntu.com/ or https://www.hastebin.com/ to share code or logs.
the logs shows https://paste.ubuntu.com/p/Tv3qcbg6B6/
the issue appears to be the host name, but I am not seeing where I need to put that information.]
What does your config look like for the addon?
exactly like this one ```workgroup: WORKGROUP
username: homeassistant
password: Your_Password
interface: ''
allow_hosts:
- 10.0.0.0/8
- 172.16.0.0/12
- 192.168.0.0/16
veto_files: - ._*
- .DS_Store
- Thumbs.db
- icon?
- .Trashes
compatibility_mode: false```
except that I have my username and password
Are you sure there's nothing else running SMB on the same host machine? This looks wrong:
Failed to open nmb bcast socket on interface 169.254.255.255 for port 137. Error was Address not available
Actually, that's a broadcast IP... ๐ค
HA is running on my synology NAS
Then... is your NAS running SMB?
If so, you can't have something else on the same machine listening on the same port.
yes i have SMB enabled on the nas.
Running a supervised installation on a NAS is not suppoprted, you are probably better off running #449717345808547842 and using your NAS software for other things like samba
so how would I go about getting access to my folder if SMB HA is not running? I am running HA via docker.
HA via docker (#449717345808547842) does not have addons
so my synology has a native install for Hassio. This install also requires docker to be running .
Yeah... that one is not supported
It may work, and may have documentation for where the files is, but your best bet is to ask the author
ok got it , that sucks, so in the future can I still ask about issues related to it in this forum
generally yes, Home Assistant is Home Assistant no matter how you install it.
But when you have issues because you installed it like that like you have now, #general-archived may be able to answer, but the forum thread for it is your best bet.
is there grocy integration that lives outside of ha?
Integrations connect to things. They don't run applications.
If you're asking if you can run Grocy yourself, then the answer is 'probably'
Have a look at how the addon works and just do the same thing in the environment of your choice.
Addons are just Docker containers.
right run grocy standalone and then configure home assistant to connect to it
hmm I might do that. Was wonder if this has already been done
But HA won't be connecting to it in the same way you can connect to lightbulbs / weather / etc. It's just a web app, from what I can tell.
understood I wanted to mimic the addon but have grocy run separate from home assistant
Is there a known issue with the 502: bad gateway error for certain components? I see a bit of trouble with updates.
Clean install of HA using the VMDK and some of Frenck's add-ons work, some don't.... Code Server works, node-red does not
dumb user error... Trying the VM instead of roll your own... Didn't see the configuration option at top
@cunning wolf any sysadmin ppl around re my remote access problem from yesterday?
I need to downgrade an addon
there is a bug with esphome and I need the older version
I know the version I want to downgrade to
I don't see a --version on any of the ha addons commands
you don't downgrade add-ons. you could restore from snapshot?
otherwise get esphome to fix the bug
did something in the "duckDNS" config change recently? cause I can't get it to work with any of the guides (and all of them are from before 2020).
Forget about guides, read the actual duckumentation.
And it's helpful if you post any error messages / config if you're having trouble.
right, I'm trying to recreate the error I was getting. but I've been messing with the configuration.yaml too much...
here is the configuration.yaml https://pastebin.com/zFGRmxdB
and all errors are around the duckDNS sub, mostly "invalid option for [duckDNS]".
What are you trying to do? Set up the add-on or just the integration that keeps your IP address up to date?
They're not the same thing, and they're not managed in the same place.
the remote access documentation on https://www.home-assistant.io/docs/configuration/remote/ is no help and I don't seem to be able to find documentation other then in the add-on menu.
I'm trying to get remote access
I'm not interested in what you'll do next once it's set up. I'm asking what you're trying to set up now.
The addon or the integration?
oh the integration
You just shared your configuration.yaml, which has zero to do with the addon.
Then you're in the wrong channel.
@sly kindle is downgrade of an addon a not-implemented feature or is there a technical barrier (like downgrading the state is not automatically possible)?
I think it's just not implemented.
If an upgrade works, why would you downgrade? And if it doesn't, well you took a backup, right?
I reckon adding functionality to enable downgrading would be pretty low on the list of improvements for the above reasons. It'll probably only happen if someone does a pull request for it themselves.
Is there a way to manually update zigbee-herdsman in the hassio zigbee2mqtt addon?
got proxmox installed hassio working in the container, influx, grafana, nodered all up but cant get the mqtt addon to work. tried uninstall, reinstall still no anyone able to help? acl ist generated
what part doesn't work?
I dont use any custom config. Install addon, start addon and go
How many different users do you have?
three so far
i created users in ha for them, and did what is mentioned in the documentation
I just make use of the HA users, which is the default. Are the mqtt clients connecting to the broker ok?
yes nodered connect fine, and mqttfx in my pc connects fine
oh you mean node-red nodes?
log says [INFO] found hauser on Home Assistant
1595009003: New client connected from 192.168.200.156 as hauser (p2, c1, k60, u'hauser').
[INFO] found nodered on Home Assistant
1595008814: New client connected from 172.30.32.1 as nodered (p2, c1, k60, u'nodered').
ok. looks good
nodered gets used in a flow outputtung rflink messages to the right topics
when i try to subscribe to # on mqttfx i dont get the messages nodered sends, homeassistant doesnt get them either, it doesnt get the values into the sensors of the configuration
i got it circumvented.
when loggin in with the user and pass which homeassistant holds in it user database the user can log in but cant communicate
logging in whithout credentials it works for nodered, hauser and my laptop
config looks like logins: []
anonymous: true
customize:
active: true
folder: mosquitto
certfile: fullchain.pem
keyfile: privkey.pem
require_certificate: false
and the acl file is without the user [YOUR_MQTT_USER]
thanks for your time
glad you got it sorted
@sly kindle if I fork the add-on then theoretically I could update it myself, right?
@teal hollow oh yeah. You could download it and manually install that as well
that's what the /addons directory is for
I think I'm going down a rabbit hole with this...I like this rabbit hole but it'd definitely deep
So I forked the add-on originally so I could add the adapter option for conbee in the confi.json
Now I want the latest merge of herdsman because they fixed OTA updates
I'm not afraid to admit (1) I've never done this before, (2) I've never really used github
Am I right in thinking that I can install both influxdb (for grafana) and mariadb to replace the default home_assistant_v2.db?
Add-ons does not care, they get mapped paths from the supervisor
ok... does the supervisor support external drive mapping?
You can offload the entire data placement with #330990055533576204, with #330944238910963714 you are the boss of the FS so you do whatever you want
Evening everyone. Is it okay to ask for help on Mosquitto in here?
Specifically issues with devices constantly disconnecting
Don't ask to ask, just ask your question. Then people can answer when they're around.
When you do ask a question, try to provide as much background detail as possible. Ask yourself these questions first so that others don't have to:
- What version of the Home Assistant are you running? (remember, last isn't a version)
- What exactly are you trying to do that won't work?
- Is the problem uniform or erratic?
- What's the exact error message?
- When did it arise?
- What exactly don't you "get"?
- Can you share sample code, ideally with line errors where the error occurs?
Is there a way to run two instances of an add-on? Use case: I run an unsecured MQTT Server (locally only, so not thaat big of a deal, but still). I'd like to migrate, unfortunately there are sooo many devices to migrate, I'd rather prefer to take a step by step approach. So ideally, I'd like to run a second MQTT Server secured, and migrate the devices one by one...
Nope. But the OS isn't the only way to install HA. If you want more flexibility, you should investigate the other methods.
Hi everyone. I'm having issues with my MQTT disconnecting and becoming unavailable in Home Assistant every few minutes. Been working fine for months and I can't think of any recent changes that may have caused this. I've investigated everything I can think of around my Wifi network, Mosquitto and Home Assistant.
Just a snapshot of some of my attempts at troubleshooting/resolution: Constant ping to all devices to ensure they are not disconnecting, performed numerous backups and restores of Tasmota, HA and Mosquitto, checked MQTT credentials, deleted the integration, removed Mosquitto and reinstalled.
Home Assistant 0.112.4.
Mosquitto 5.1.
All devices wifi based and running Tasmota 8.3.1.6
Example of Mosquitto log for one device:
1595022311: Socket error on client DVES_7BE374, disconnecting.
1595022322: New connection from 192.168.0.5 on port 1883.
1595022322: New client connected from 192.168.0.5 as DVES_7BE374 (p2, c1, k30, u'mqtt').
What's HA running on?
And what exactly disconnects? Does Mosquitto drop all active connections at once or are other devices dropping off at different times?
It only appears to be WiFi devices (all smart plugs). I have some zigbee devices and they appear ok
And they disconnect at different times?
Yeah I mean it is so frequently it is hard to tell as they do overlap. My instance is just coming back up so I'll monitor and try to confirm
Yeah different times.
2 just went offline and 1 stayed online.
Device 1
23:12:50 MQT: Attempting connection...
23:12:53 MQT: Connected
Device 2
23:12:18 MQT: Attempting connection...
23:12:33 MQT: Connect failed to 192.168.0.213:1883, rc -4. Retry in 10 sec
23:12:44 MQT: Attempting connection...
23:12:59 MQT: Connect failed to 192.168.0.213:1883, rc -4. Retry in 10 sec
23:13:10 MQT: Attempting connection...
23:13:23 MQT: Connected
If it's only some of your WiFi devices, my initial thoughts would be that they're dropping their WiFi connection.
Nothing to do with your Mosquitto add-on.
I thought that too.
I've got a constant ping going to them and they never drop
Constant? No gaps between pings at all?
None
If that was true (which I doubt, there's always some gap), you're carrying out a DOS attack on your devices.
make sure you use different client names
I even went as far as factory resetting my router and changing the SSID and adding devices back 1 at a time
Thanks for your help.
It drops so frequently that I would notice the drop. Response times mostly below 5ms odd one spikes to 10-12.
Ludeeus - I saw others mentions that online and they are all unique. I haven't added any new devices in a few weeks
I don't see how it can be wifi as I can control the device flawlessly from the Tasmota web interface during the period it is unavailable
OK hear my madness. I used a zigbee button utilising ZigBee2MQTT to turn a light running Tasmota on/off every few seconds for a few minutes.
The device stayed online and available the whole time. I stopped and after 1 minute it started dropping off again. I'm now thinking it is some form of sleep mode. Over to the Tasmota wiki I go. Thanks for your help, just going over the logic sometimes help
Anyone using Tellstick Znet? Im trying to run it on local, but cant seem to get it to work!
Hi I have a question for matrix addon
it's the good room to send my question ?
The matrix serveur is just the server or just the client ?
Hello! I'm trying to use letsencrypt addon to generate the SSL certificates (http method). I already port forwarded 80 to 80, 443 to 443 and 8123 to 8123. But it seems it can't generate the certificate.... Type: unauthorized error 503
Never mind. it was my reverse proxy
Hello everyone. I got a question on usb sound devices in HA. I am trying to use Hey Ada! Add-on but when I start it, it fails with cannot find card '0'. I assume it is a permission error in the container (supervised). However, starting the container priviledged also failed with [cont-init.d] setup-filesystem.sh: executing...
mount: permission denied (are you root?)... Any Idea?
Is it possible to write API query and get all available options to put in config.json for the specific community addon?
I installed Terminal and SSH but I can't get it to connect. Same issue whether using password or key
@rigid cloud posted a code wall, it is moved here --> https://paste.ubuntu.com/p/DBCMhCj34y/
@rigid cloud Rule #6: Spam will not be tolerated, including but not limited to: self-promotion, flooding, text walls (longer than 15 lines) and unapproved bots.
Please take the time now to review all of the rules and references in #rules.
I suspect this line is telling me something but I don't know what
[11:34:41] INFO: Restoring host keys...
cp: can't stat '/data/host_keys/*': No such file or directory
Never mind. I deleted Terminal and SSH and instead installed SSH and Terminal from the community addons. It worked first try
If that's Frenck's one, I prefer it anyway. It comes with zsh preinstalled ๐
how to find all aviable option that can put in config.json for the any addon?
You read the source code.
no way to query api for that purpose?
An API that magically knows all the things that an add-on can do?
Nope.
Add-ons are self-contained applications.
homeassistant.helpers.config_validation can parse config file foe errors
Yes. And it'll know that because presumably each add-on exposes validation rules.
afaik, there isn't a way to ask HA what all of those rules are. You could add that feature.
~ $ docker
PROTECTION MODE ENABLED!
To be able to use this command, you'll need to disable
protection mode on this add-on. Without it, the add-on
is unable to access Docker.
Steps:
- Go to the Supervisor Panel.
- Click on the SSH & Web Terminal add-on.
- Set the 'Protection mode' switch to off.
- Restart the add-on.
i put protection_mode: disable but did,t affect
Where did you get this from? protection_mode: disable
that is a correct option for this reason in community addon ssh
It isn't in the documentation.
i know...
You said it's correct. It's not documented. How can you know it's correct? ๐ค
does every community addon share it configuration to hassio?
How about we go with this...
The XY problem is asking about your attempted solution rather than your actual problem. This leads to enormous amounts of wasted time and energy, both on the part of people asking for help, and on the part of those providing help.
The problem occurs when people get stuck on what they believe is the solution and are unable to step back and explain the issue in full.
What are you trying to do? Forget about your solution, what's the problem?
i want to enter in docker instances but have not permission to do
So you don't actually need to know if there's an API to tell all the available configuration options for all add-ons from HA...
You just want to use one add-on.
Turn off protection. Restart.
but how to turn off protection in ssh addon ? what option?
The toggle in the info tab.
o i see 10x
So what's the problem?
sorry i am so stupid
I don't have a way to get to my configuration.yaml, and it looks like the "Configurator" tab I previously had was something I added and forgot about. Is there a simple add-on to get that back that I'm not finding?
Ok, it is not found by searching for "Configurator" but instead for "File editor" in add-ons.
Looking for help with an addon using WebRTC; specifically, the host_network true attribute does not trigger the Docker container attribute for PublishAllPorts to true. Am I missing something w.r.t. how the host_network being true is supposed to operate?
Any add-on gurus available to help with duckdns setup? It is currently running but only works on http, not https.
You need to set up SSL under http: in your configuration.yaml @final coral
Did you set lets_encrypt to true as well?
Yes to both
Did you restart home assistant after setting up SSL under http:?
I can get to it by using the url I created, but I have to use http
It works fine there.
If I change to https it no longer works
Did you run a config check?
That wouldn't validate. ssl_ceritificate
I don't follow
It's spelled wrong
Always run the configuration check command when you make changes. Don't trust the UI check - it misses some problems.
What gave you the green light?
The UI config check.
How would I run the command?
Click the link above
Also sorry, I thought you were having issues with the add-on itself, but since that's not the issue then #integrations-archived is where to be
Just curious what is the reason vscode can't run on hass os? Pi3
I'm trying to set up Samba Share but the share isn't showing up in my Network in Explorer in windows
I've got the workgroup right and I've added the IP range for my wifi network.
I'm seeing this message in the logs: "Samba name server HOMEASSISTANT is now a local master browser for workgroup WORKGROUP on subnet 192.168.86.190"
And my window's machine is 192.168.86.188
so I'm not sure what I'm missing here
getting them to show up under "network" is .... annoyingly unreliable
can you live with just adding a "Quick Access" ?
Yeah, that's fine. I was just following a youtube tutorial
and can you access it at \\servername\share or \\serverIP\Share ?
if that file is at the top of your Share, it would be at \\servername\share\check_config.txt then
Ah, I see. I was just down too far. Had to go up a level to get to the \serverIP\config
glad you got it sorted out!
Good morning all
I am trying to make use of secrets.yaml for the first time, in sabeechen's google drive backup addon.
I've configured a secret in secrets.yaml, and on rebooting it doesn't complain about it in the log (anymore ๐ )
When I try to configure the snapshot password in the addon configuration, however, it complains about invalid YAML... any idea what I'm doing wrong?
If I use the following: snapshot_password: !secret test
it complains
If I use the following: snapshot_password: test
it does not complain
I am editing this through the browser's addon configuration page.
it complains
What does it say? Share the error message.
You need to quote it
Single quotes? Double quotes?
With either around the full !secret test part, I get the following:
Failed to save addon configuration, not a valid value for dictionary value @ data['options']. Got {'max_snapshots_in_hassio': 4, 'max_snapshots_in_google_drive': 4, 'days_between_snapshots': 1, 'use_ssl': False, 'specify_snapshot_folder': True, 'send_error_reports': True, 'snapshot_name': '{type}snapshot|ha{version_ha}|os{version_hassos}|superversion_super|{year}-{month}-{day}|{hr24}:{min}:{sec}', 'generational_days': 7, 'generational_weeks': 4, 'snapshot_password': '!secret test'}
the documentation says double quotes, but then again that also indicates double quotes for the property name itself, which is not accepted.
https://github.com/sabeechen/hassio-google-drive-backup
Found it - double quotes, but I need to use the actual ID rather than the test value of course. Doh!
thanks
i am truing to install community addon :NGINX Home Assistant SSL proxy
but it give me error: Failed to install addon, Unknown Error, see logs ; noting in mail log: error and hostassistant.components.addon : debug log
Hello, I have a question:
I have grafana installed, works nice ๐
But I have now 2 grafana options in the sidebar: one is working, the 2nd is not (wrong link). I want to remove the 2nd, uninstalling grafana is removing the working option, the 2nd not-working options stays.. Any idea how to fix that ? Searched all the files for the bad grafana link: not found... first time I have grafana installed, it added the sidebar option. Some months and updates later grafana was not working anymore. I have removed grafana, influxdb, glances (grafana sidebar option was not removed) and reinstalled everything: everything works great but still I have this 2nd notworking grafana option in the sidebar..
Whst does the URL change to when you click on it?
Must be configured somewhere, the link which is pointing to is: http://192.168.1.20:8123/grafana (not correct)
the 1st option has this (correct) link: http://192.168.1.20:8123/a0d7b954_grafana
That would be one of the panel #integrations-archived remove if from your configuration
can't find it...
Check Configuration > Lovelace Dashboards
Don't ask to ask, just ask your question. Then people can answer when they're around.
When you do ask a question, try to provide as much background detail as possible. Ask yourself these questions first so that others don't have to:
- What version of the Home Assistant are you running? (remember, last isn't a version)
- What exactly are you trying to do that won't work?
- Is the problem uniform or erratic?
- What's the exact error message?
- When did it arise?
- What exactly don't you "get"?
- Can you share sample code, ideally with line errors where the error occurs?
Heh, fair enough.
I've got two thermostats that I want to show up in one graph, but if I add both entities manually I get "no data" but if I add the domain of "climate" I get only one data point not both. I've found the only way to do it is to have two individual graphs using entity id for each one.
Here is my query - SELECT mean("current_temperature") FROM "state" WHERE ("domain" = 'climate') AND $timeFilter GROUP BY time($__interval) fill(none)
Hello , I would like tho ask a question about Nodered:
...about a flow that was triggered correctly upon restart (of Homeassistant + nodered extension) but not anymore since the last upgrade of the nodered extension (V7)
I mean add-on (when I wrote extension)
You have a question about #node-red-archived?
Yes , the question is described just above
A question that might be better asked in #node-red-archived?
There's a channel dedicated to #node-red-archived.
hey real basic question here, sometimes the simple things are not said !! ... but what system is homeassistant using to save sensor data, BEFORE we install influx/grafanan ??
thanks mono, I will ask there
By default, all data goes to a SQLite database.
You can change that to something like MariaDB if you want.
Sending data to Influx doesn't prevent HA storing history in its own DB though.
arrr i did think it must have some kinda SQL db ... can you make the grafanna addon use that sq database ?
I'm not sure... and I doubt you'd want to.
It's not very performant, which is why one of the first things many people do is to change it to MariaDB.
Besides, Influx and the HA DB serve different purposes. One is just basic, short-term history. The other is for longer-term time series data.
See #analytics-archived for the stuff people use Influx for
so influx whould be the better addon to install to compliment grafanna
or would mariadb be preferd/workbetter ?
They do different things...
MariaDB becomes your HA database. Grafana+Influx are for other stuff you want to do differently.
If you don't even know what you're trying to do, why does any of this matter?
well at the moment just want to present my temperature graphs better, (overlay them etc) also got some energy graphs to display... thought grafana was stand alone and used HA database ... didnt think i needed much more than that ..
so before i fall down the rabbit hole of database addons thought i would do a bit of research first !
@inner dune posted a code wall, it is moved here --> https://paste.ubuntu.com/p/XfJwn4hs9s/
Not only was that a codewall, it was on the wrong channel completely. Questions about integrating go in, well... #integrations-archived
except I'm totally stupid it isnt the wrong channel by any means. My questions affects mainly the ADDON "ADB - Android Debug Bridge" ...
You said the bridge (the addon) is connected.
Next step, fix the #integrations-archived.
I am looking to set up Circadian Lighting, and I have HACS installed. HACS supposedly has Circadian Lighting in its default repositories, as evidenced here (https://hacs.xyz/docs/default_repositories), but when I search for "circadian" nothing shows up. Any tips?
HACS is a custom component. The things it installs are custom components too. Ask in #integrations-archived
Addons are Docker containers running stuff that isn't HA.
Ah, ok, I understand now. Thank you!
You are searching your installed and new repositories, click the + in the bottom right corner.
https://hacs.xyz/docs/faq/addons
Love the link ๐
@dark yoke That was it! Thank you!
Also, don't crosspost ๐
Thanks
what sourcery is needed to get that toggle "Show in sidebar" for your addon? i know one can add it manually from its config
oh well, looks like it's only when you have ingress enabled
need TP
Is it possible to uninstall an add-on without the webUI?
from ssh, yes
Usage:
ha addons uninstall [slug] [flags]
Aliases:
uninstall, remove, delete, del, rem, un, uninst
Examples:
ha addons uninstall core_ssh
Flags:
-h, --help help for uninstall
ha addons gives you a list
mmmm. Ok. I may have to wipe and reload a snapshot. My PuTTY tells me it can't connect.
it's unlikely that an addon would cause problems for Home Assistant by itself
It's not letting me access my UI. It's the NGINX addon, I don't think it's configured correctly. My hassio.local and duckdns URL are not working.
The server is up, I know that, but I can't get into it.
my influxdb addon keeps running fine for some time (6-10 days) and then randomly stops and refuses to start up again
running on a rpi4, anybody else experiencing this issue?
https://paste.ubuntu.com/p/32ZcKy4fVG/
You might want to ask integrations questions in #integrations-archived. HACS isn't an addon, nor are the things it installs.
Sorry, will move the question.
for some reason, letsencrypt isn't spitting out the certificates in the /data/letsencrypt dir
they should be at /ssl
there are a few files in there but i get a weird error when using them
something about the length of the cert
when using them where?
hang about, i'll switch the cert back over and show you
When I open the community SSH i get a 502 Bad Gateway. I found this: https://github.com/home-assistant/hassio-addons/issues/1239 But I am not sure how to follow those instructions. Does anyone know? Thanks. fixed
Someone have problem with deCONZ after last update? I'm using Raspberry PI3B
@smoky mango posted a code wall, it is moved here --> https://paste.ubuntu.com/p/KW6wr5ncQJ/
Hey there, I had PiHole all set up and running well. It was depreciated it seems, and has disappeared from Home Assistant. Decided to try using AdGuard as a replacement, but I cannot get it to run because PiHole seems to still be running in the background. Any idea how to get rid of it?
Also, since when was PiHole deprecated since 2017? Lol
@fluid dove the addon was deprecated. It was a pain to maintain. If you've removed it, then it shouldn't be running in the background
You can still run it elsewhere on your network
anyone know how to troubleshoot NGINX creating a certificate? It is giving me an internal error:
domain: https://domain.duckdns.org
scheme: http
hostname/ip: IP of home assistant
port: 8123
tried to force SSL and create a cert and it gives internal error
are you using nginx proxy manager now?
fffigured itto out
dont put the https://
@sly kindle yes ๐
next up is trying to figure out how to make a local address like switch.local
usually set up on the host of whatever it is you are referring to
like if i want to do unifi controller?
anyone here willing to help me out with configuring DNSMasq to forward a local URL domain to a server?
trying to upgrade firmware in deconz add-on on a proxmox hassio..it starts the upgrade but then the whole vm messes up have to hard reset it.. any ideas?
cross posting from #integrations-archived: My recorder integration didnt come up after i moved (via snapshot) to a new machine. The configuration line states : ```recorder:
db_url: mysql://username:password@core-mariadb/homeassistant?charset=utf8
should the core-mariadb be renamed to something else?
@polar crest Please DO NOT cross post. Read the channel description, post it and wait for folks to respond.
@weary stratus If you haven't already, you should probably ask over in #zigbee-archived. As it's a more specific channel, you're more likely to find the right answers.
Hi, wondering if anyone has any ideas. With one of my android phones on one carrier, the HA client app can connect on https. I'm using duckdns. But the three other android phones which are on another carrier refuse to do so. I tried downgrading the SSL_profile to intermediate, but that didn't help. The #android-archived group sent me here.
I have questions about Network UPS Tools -- I see it listed in integrations and add-ons. Should I post here for in integrations for questions?
Depends on if you're having problems installing the addon or the integration ๐
Hah, maybe that's why I am having problems...
This is such a strange project, although I am a noob so....
The instructions say to use the Integration, but I can't log in successfully despite combinations of things that "could make sense". When using the add on I can actually configure things, but then when I try to connect to the NUT server it doesn't work.
I am confused hahaha.
@timber tapir It sounds like you have the concepts right: Add-ons are services or servers which you add to your system. They are independent of HA and could even potentially have nothing to do with HA. Integrations are how you get HA to pull in other things to HA itself.
can one run addons as standalone?
my rpi4 apparently has some issues with compacting the influxdb DB (https://github.com/influxdata/influxdb/issues/11339)
and I can't seem to find any official containers with chronograf and kapacitor
I'd like to run it on a 64bit docker host
I don't use the NUT addon and I believe that is a beta community addon yes?
Yes. you are correct @sly kindle
NUT
I found this article https://www.smarthomebeginner.com/nut-sensor-on-home-assistant-synology-ups/ and realized that I might need to give my HA permissions to manage/view the UPS. So I did that.
@covert arch they are all standalone...what do you mean
are there docker-compose.yml available?
yep
https://github.com/gabrielgt/docker-influxdb-chronograf-kapacitor
this looks to be it, but last commit is 3 yrs ago
OK, so I am using the NUT add on listed here (https://github.com/hassio-addons/addon-nut/blob/master/nut/DOCS.md)
I am getting driver issues, despite using both usbid-ups and cyberpower configurations:
Network UPS Tools - Generic HID driver 0.41 (3.8.0-3396-gcdc7c4b5b1)
No matching HID UPS found
USB communication driver 0.33
Driver failed to start (exit status=1)
https://networkupstools.org/ddl/Cyber_Power_Systems/CP1500PFCLCD.html
This article stipulates that I should be able to use this driver for this model.
Good evening all
I should be able to comment the YAML through the "Configuration" screen in the browser frontend, right? For example for the Hass.io Google Drive backup, I am trying to document why I configure certain settings the way I do, but when saving the YAML it removes the comment.
For example:
#99 to overrule default, should not be managed by this addon but by https://github.com/jcwillox/hass-auto-backup
max_snapshots_in_hassio: 99
why is this hass-auto-backup for hacs and not a proper addon?
I haven't a clue why.
The main reason I use a combination of this one and the google drive addon is I like its cleanup approach using generational backups better
why is this hass-auto-backup for hacs and not a proper addon?
It's not HACS. It's an add-on.
HACS doesn't do add-ons, only components.
did I stumble upon don't mention ze HACS in #addons ?
In your case, it seems to be a bit of both. And I may have misunderstood slightly... didn't click that link ๐
All it does is expose services though, if I'm reading it right. It doesn't do the backups for you.
That's one to bookmark and check out later, thanks.
you're welcome :)
The main thing I like is it can purge snapshots at a separate threshold per creation trigger.... for example, keep partials only for a day while keeping full ones for a week.
back to my question, though - I should be able to comment using # in YAML, right?
From what I'm seeing now, my comments got removed.
That feels like nails on a chalkboard.
I've never tried. But I'd guess the UI editor parses the input before saving it to a file. Must be stripping comments.
If you're at the point where you're comfortable with YAML and writing things out by hand though, I'd recommend giving the UI a miss.
I write XML configuration in old versions of mule by hand, as well as XSLT. I'm fairly comfortable with taking backups all the time
You may also notice that the UI editor does other weird things like alphabetising keys in a dictionary. Makes your files look like gibberish after you spent time putting them in a meaningful order ๐
All the pros use source control ๐ There's some links from the cookbook to the configs of some of the more familiar users.
I changed my router and now I cannot get to HA. I've opened port 443 pointed to 8123.
I used the duckdns method originally. I can verify that the duckdns is pointing to the right IP and i can ping the hardware at both the duckdns name and the local ip. Anyone have any idea what might be going on? I can also see the config folder that I have mounted on my computer. When I go to the duck dns name, i get "Unable to connect to Home Assistant."
When i setup everything with duck dns, before this new router an problem, i was no longer able to reach HA via the local IP address. I followed this video https://www.youtube.com/watch?v=XdiGdC7K4sI from 11:02 onward
can you ssh into the machine?
i did the raspberry pi install. * just tried putty to the ip...no luck
you need to install the addon first ๐ but you can't access Home Assistant right now so it's not very helpful
haha :/
i setup everything with duck dns, before this new router an problem, i was no longer able to reach HA via the local IP address.
You need nginx ssl proxy in front if you want to access HA with from your local ip address as well
I am assuming this is also something i needed to setup before i trashed this HA install? ๐ฆ
(also addon)
If you're currently locked out because the usual means don't let you in, you might have better luck asking in the installation channels - the tools available to you depend on how you installed HA.
Was it the image installation?
yes
#330990055533576204 then
ok will try there
is anyone having issues with "kodi recently added media". I have it installed and can only get the tv episodes showing but not movies.
hello, I have a quick question to this addon: https://github.com/home-assistant/hassio-addons/blob/master/rpc_shutdown/DOCS.md
it needs credentials: user%password
can I somehow store these in the secrets file instead of typing it into the addon config directly?
@signal mauve unfortunately not
Hi All, i just installed the Unifi (multiple times) but if i import my backup from my Synology Unifi controller (same version, this is my UNF file 5.12.66-20200722-1535.unf) then if the add-on is restarting i cannot do anything more because it says in the log:
*org.tuckey.web.filters.urlrewrite.UrlRewriteFilter INFO: destroy called
Exception in thread "Thread-15" org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'requestMappingHandlerMapping' defined in com.ubnt.net.v2.config.WebMvcV2Configuration: Initialization of bean failed; nested exception is java.lang.IllegalStateException: BeanFactory not initialized or already closed - call 'refresh' before accessing beans via the ApplicationContext
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:601)
*
What can i do, and does someone has an solution for this?
i'm using the new openzwave addon. i have multiple devices with the same name and i think the system does not show all the devices with the same name. can i change the names in openzwave beta? dont really know where to post this ๐
#zwave-archived is probably better
@fluid dove the addon was deprecated. It was a pain to maintain. If you've removed it, then it shouldn't be running in the background
@sly kindle Never got back to this, sorry. They catch is, I never removed it. Had it in Home Assistant up until the past couple of weeks, somehow. Just noticed it had disappeared. Since it is no longer there, I can't remove it, and it seems that it is running in the background or something weird, and AdGuard Home keeps throwing 502 errors because the port is in use (i assume). Super weird.
@fluid dove it's not in your list of addons? that is weird
Nope. Very odd.
Last I recall looking, it was in there. But that may have been a couple weeks ago
I guess I could use a different port for AdGuard to sidestep the issue? Any adverse effects from that?
no but I can
Hi
Iโve been using the occusim app working in in the appdaemon 3 for years and now it stopped. The log schedule looks normal, with ramdom off and on times reported but none of the entities physically function No errors reported by sppdaemon either.
Running 112.4 in lastest hassio os. Have now upgraded to appdaemon 4. Same.
Hi there, is there a way that I can make an addon in the side panel visible to a HA user? In my case only the admin accounts See the MotionEye Panel
Is it possible to connect to InfluxDB (and Grafana) in Homeassistant for a windows 10 PC with blue iris installed. I would like to monitor this windows 10 pc regarding diskusage en cpu usage in my Home Assistant grafana. I have Telegraf working on the Windows 10 pc
If you just want performance stats from your PC, check out IoT Link
Yes I would like to monitor a Windows 10 PC with Security Cams installed. But I would like to monitor this PC on Home Assistant (installed on Raspberry Pi4.
IoT Link lets you do exactly that.
InfluxDB and Grafana is also installed on Raspbarry Pi in Home assistant
IoT Link sends information via MQTT. HA can read that information.
Oke. IoT Link? Is this an addon in HA
No... Google it.
Oke! Thnks alot!
@wide hare it is not an addon https://iotlink.gitlab.io/
And it uses it's own definition of "addons" so don't get confused there
I have it running allready. Ik can see CPU stats. But I am missing Harddisk stats. Manualy configuring this sensor gives an " unknown" value
@cunning wolf I have it al running. Great siolution. Thanks again for the suggestion. Exactly what I was looking for.
anyone got CEC addong working?
I am using HA in docker on ubuntu
I get autodetect failed
No device type given. Using 'recording device'
CEC Parser created - libCEC version 4.0.4
no serial port given. trying autodetect: FAILED```
Hi
I try to add the addon https://github.com/gabe565/popup-backdrop-filter
I added the ressource
But nothing happened on the background when i open a popup
Someone could help me to find the problem ? ๐
That's not an add-on, it's a custom integration. Don't crosspost.
@cunning wolf Sorry, i though my post in #frontend-archived was not at the good place
Strictly speaking, it's an integration. However, because it's for the frontend, I think it's okay to ask there.
But don't ask questions in more than one channel. Ask in one, then wait for an answer.
Hello guys
Since the last update to 113 the energyvalue from my zigbee energy plugs has changed from kW to W.
Now my hole Grafana dashboard is not anymore working...
Has anybody an idear how to convert this datasets at influxdb?
Theoretially it should be "dataset kWx1000 and copy values to W"
(Please ping me @weak siren ๐ )
Can't you customise the entity to have the proper unit of measurement?
Sorry, I have no clue where or how to do it
ah ok you mean the config customizations
Thx but that will not change the "wrong" values at my database
No but they'll stop bad values going in...
If you have bad data in a database, it's your job to fix it now.
another way to do it would be reconfiguring grafana to use W instead of kW but then I "lose" the data from this year...
If you have bad data in a database, it's your job to fix it now.
@cunning wolf I know and that is my prefered way to do it but I have no idear how...
That is the reason why I'm asking here
Some other guys should have the same problem and maybe know how to do it ๐
Well there's a new channel for data/DB stuff: #analytics-archived. You might have better luck there.
@cunning wolf Thx
Then I try it there agian ^^
I'm a bit confused about the current mqtt addon. I just uninstalled the deprecated one and installed the new one, the integration process went fine, but even though I have anonymous: true and subscriptions seem to go alright, no one's receiving any data. mosquitto_sub -h localhost -v -d -t '#' connects, I even see it in the hassio log. Am I misunderstanding this?
Who are you expecting to receive data?
If all you've done is set up the broker, you still need to tell everything to connect to it.
Well mosquitto_sub, for starters. And my rtl_433 instance should send out data. It shows connected, but I get no messages (and my associated switches stopped working in ha)
Are you publishing anything manually to check it's received?
Trying to... mosquitto_pub -h localhost -d -t test -m "asdasd" looks like it works (and I see the connect and disconnect in the addon log), but the active mosquito_sub doesn't output anything
Then it sounds like you're not talking to the right broker.
Hmpf
Alternatively, do away with anonymous and set a password like any self-respecting person ๐
This works for me on the mosquitto addon:
- username: user
password: hunter23
anonymous: false
customize:
active: true
folder: mosquitto
certfile: fullchain.pem
keyfile: privkey.pem
require_certificate: false```
yeah, it goes a bit smoother without anon
Quite pointless without ssl (but next thing you're gonna tell me I don't have any self-respect either ๐ฎ )
It's more a case of things expecting there to be some kind of auth, even it it's only basic auth.
No-one's suggesting it's actually secure.
I used to run with the I like to be pwned option, but it was always fine in anon mode.
At this point I don't really understand what the anonymous: option does.
And the part in the docs about configuring that ACL.. didn't really understand that either. Is that mandatory if I just want to run anonymously?
I think it just doesn't report the client identifier.
I haven't set up an ACL
Seems like the kind of thing you'd do at a reverse proxy layer if you cared about it.
Ok I've fixed it... "Add the following configuration to enable unrestricted access to all topics." in the ACL part of the doc gave it away.
A bit strange to have to add an ACL to remove access control, but still..
I can go back to being my own non-self-respecting self!
Hm I don't understand this "new" access control at all. I got my clients talking to each other anonymously, but HA would still not receive anything. So I reconfigured the integration settings, i.e. removed username and password there, and HA was subscribed again. So different users seem to get different versions of the server in this configuration. Which I don't care about, because I don't have any self-respect and don't want any either, so I'm back to my happy anon configuration. But apparently this was all overhauled.
Or.. just different from how the "old" hassio community addon used to work, I guess.
Sorry if I offended you, it was just meant as a joke.
And I have no idea how it differs from the integrated broker that used to exist - I was advised to stay away from that when I started with HA.
Haha no I can appreciate that
What I was using was a community-provided package of mosquitto that's now marked as deprecated in favor of the core addon. So still mosquitto, but different configuration.
But seeing the red flag, I felt I should upgrade.
I've been in the game for a while now, should have known better than to just do that ๐
But all fixed, thanks for your help
Hi, after a fresh install on Home assistant, I installed duckdns. Now how do I get it all on https and not http?
I was surprised to find Let's Encrypt add-on certificates expired. No one in the house could access the interface. Yet is as read the details....... The add-on does not actually say it automatically renews the certificates. Is the expectation that I log in (via IP address, not hostname) and renew the certificates manually?
Manually or set up something to do it for you.
I think the nginx proxy manager renews them automatically.
re added http section in the config pointing to the certificates worked this time.. must have had a typo somewhere or a space ๐
hmmmm.... upgraded to 113.1 and my HACS disappeared. Tried reinstalling from the Integrations and it refuses saying it's already installed.
@jagged magnet HACs is not an add-on, but a custom integration. So #integrations-archived
hey fellas, does anyone know how to upload a file using visual studio code? cant seem to find an upload button like in file editor
hey trying to get influxdb add-on working... im running HA supervised, seems to install ok, can open up influx main page, setup new home assistant database, and user with ALL permissions etc ...
but HA wont connect... with error in log like this Database host is not accessible due to 'HTTPConnectionPool(host='a0d7b954_influxdb', port=8086): Max retries exceeded with url: /write?db=homeassistant (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7f100f069090>: Failed to establish a new connection: [Errno -3] Try again'))', please check your entries in the configuration file (host, port, etc.) and verify that the database exists and is READ/WRITE. Retrying again in 60 seconds.
any ideas ?
the log of the injluxdb, seems clear no erors (its Kapacitor Chronograf starting ok etc)
check and tripple check user/pass/port in configuration.yaml, even changed it to something real simple to make sure !
Hi, I Have a question about to ssh connection. When i connect the rasberry pi with ssh i can only use home assistance comments starting with ha. How can i connect normal ssh?
HELP!!! I've beating my head against a wall for a week trying to integrate google assistant into home assistant. Is there anyone out there that can assist?
Don't crosspost.
can anybody tell me whether this is the official or community ssh addon? https://github.com/hassio-addons/addon-ssh
Looks like the community one
The official one is 'Terminal & SSH', the community one is 'SSH & Web Terminal'.
If you're unsure which one to install, go for the one you linked.
they both basically do the same thing right? i need to setup an init command for my nuc
The community one gives easier access to things and has some nice extra touches out of the box like zsh.
gotcha. with these warnings about ssh keys, thats only if a bad actor had access to my local network right?
Which warnings?
@compact sky the only "normal" ssh is the debug access to the host. What are you trying to do?
I want to run python code for other tasks
You might look into appdaemon or python scripts integration for that
Okey i will research this subjects. In addtion are there any addon for collect data from 433MHZ motion sensor with rf receiver
I find "Raspberry Pi RF" addon but i think is only for switches. I want to receive motion sensor data
Depends on the RF receiver, really. I use a Sonoff RF Bridge, which picks up RF and forwards the messages via MQTT - so just the standard MQTT integration needed in HA.
If you're talking about SDR, that's a whole other story.
Hey everybody. I'm running HA on ubuntu and I'm having trouble getting the Mosquitto Broker add-on to start. When I click start the button flashes back red and nothing at all is showing up in the add-on log?
You need to check the supervisor logs
Supervisor is responsible for loading add-ons. Once loaded, add-ons might log their own information internally.
Got it, thanks! I'll check there
anyone here using DNSMasq for local hoostnames?
Hello, I have HA with Mosquitto addon running, everything is working fine, I was able to add two mitsubishi2mqtt hvac controls and control them from HA just fine. However, I noticed that none of the stats from mqtt sensors are being recorded in InfluxDB. Everything else seems to be recording just fine. I did some searching on the internet, and it looks like it should work without extra setup, but is there somewhere I can look to make sure states are being added to InfluxDB?
Just in case, devices were auto-discovered by HA, so I don't have configuration for them, but I can see them under sensors "climate.hvac01" and "02"
I am using the HA Hyper-V VM, I have Grafana installed and working, now when I try to set the environment variable to enable smtp, it keeps giving an error message ... I've stripped down everything to the default config and added only the GF_SMTP_ENABLED variable and when i Save it says:
Failed to save addon configuration, not a valid value for dictionary value @ data['options']. Got {'plugins': [], 'ssl': True, 'certfile': 'fullchain.pem', 'keyfile': 'privkey.pem', 'env_vars': [{'name': 'GF_SMTP_ENABLED', 'value': True}]}
I'm obviously doing something stupid but I can't for the life of me figure out what ... what is the proper syntax for adding these in the config? I did it like it dhows on the Documentation tab as far as I can tell.
Any suggestions?
Hi all. Iโd really like to try the VS code add on, I saw a blog post from Feb saying it should now be available on Raspberry Pi, but on the supervised/addons page inside HASS it says not available on your device. Is there any way to use this add on on a Pi 3b?
In the File Editor, is there a way to disable/hide the panel on the left (trigger platforms, etc.)? It takes up WAY too much real estate, especially on mobile devices. If not currently, can we maybe add that feature?
If not currently, can we maybe add that feature?
@green heath Feel free to log a feature request over on the forum. Your suggestion will get lost in the noise here.
hello all, i have a problem with RFlink integration, RFlink receive Haxe value but parser want to parse decimal value... where is my problem ?
2020-07-26 18:23:29 DEBUG (MainThread) [rflink.protocol] decoded packet: None 2020-07-26 18:23:29 WARNING (MainThread) [rflink.protocol] no valid packet 2020-07-26 18:23:32 DEBUG (MainThread) [rflink.protocol] received data: 20;57;RFX10METER;ID=01;TYPE=0;ME 2020-07-26 18:23:32 DEBUG (MainThread) [rflink.protocol] received data: TER=5a0; 2020-07-26 18:23:32 DEBUG (MainThread) [rflink.protocol] got packet: 20;57;RFX10METER;ID=01;TYPE=0;METER=5a0; 2020-07-26 18:23:32 ERROR (MainThread) [rflink.protocol] failed to parse packet data: 20;57;RFX10METER;ID=01;TYPE=0;METER=5a0; Traceback (most recent call last): File "/usr/local/lib/python3.8/site-packages/rflink/protocol.py", line 152, in handle_raw_packet packet = decode_packet(raw_packet) File "/usr/local/lib/python3.8/site-packages/rflink/parser.py", line 325, in decode_packet value = VALUE_TRANSLATION[key](value) ValueError: invalid literal for int() with base 10: '5a0'
Hope I'm on the right Channel. @raven tinsel can't get the Let's Encrypt addon to renew the cerificate and it runs out in 2 days. I know it doesn't do it automatically, but when I start the addon I see it saying cert not due for renewal.
[15:17:17] INFO: Selected DNS Provider: dns-cloudflare
[15:17:17] INFO: Use propagation seconds: 60
[15:17:18] INFO: Use CloudFlare token
Saving debug log to /var/log/letsencrypt/letsencrypt.log
Plugins selected: Authenticator dns-cloudflare, Installer None
Cert not yet due for renewal
Keeping the existing certificate
Like I said you need to restart Home Assistant
Done so. Do I need to restart the server. Still does not explain why it says no certificate to renew.
Checking https://crt.sh/?q=hassio.borpin.net it indicates the certificates have renewed earlier this month, so it looks like the add-on has not transferred them to the ssl folder as that reports the old ones are still there.
$ ls -la /usr/share/hassio/ssl/
total 16
drwxr-xr-x 2 root root 4096 Jul 26 15:17 .
drwxr-xr-x 11 pi pi 4096 Apr 11 18:44 ..
-rw-r--r-- 1 root root 3562 Jul 26 15:17 fullchain.pem
-rw------- 1 root root 1704 Jul 26 15:17 privkey.pem
As the log file is inside the docker, it is impossible to get to to look for errors. The add-on really needs a force option.
Hi there, trying to add an aeotec siren 6 to open zwave but its not being added as a switch or some sort
You're better off asking in #zwave-archived
thx
@neat heart posted a code wall, it is moved here --> https://paste.ubuntu.com/p/FzKbmPTwPt/
Anyone around that can help with NGINX? I have it installed, but have a couple of questions on it.
Restarted the server - no luck.
I have found the certificates in
$ sudo ls -la /usr/share/hassio/addons/data/core_letsencrypt/letsencrypt/live/hassio.borpin.net
These seem to match the dates on crt.sh. Copied to ssl folder but no luck
is there a way to access a Bluetooth device from within an addon container? I'm able to use bluetoothctl to pair with my device on the host bash, but it doesn't seem to see my device within the addon container
I'm trying to use the embedded Bluetooth adapter in a RPi4
This add-on does, so you could have a look at how: https://github.com/Limych/addon-presence-monitor
Trying to install visual studio code and got this error
[supervisor.addons] Add-on a0d7b954_vscode not supported on that platform
hass.io installed on RP3b+ Supervisor version 229
Any suggestions? Or any other add-ons to edit files on machine?
Just set up Samba and edit from any machine on your network instead.
Yep. I use Notepad++ just 'cause it's quicker.
Quicker, fully-featured, local.
And even if you want version control for your config on the HA host, there's nothing to stop you initialising a repo there.
can HACS be installed through the supervisor add-on store?
@cunning wolf ok thanks
What's the easiest way to delete retained messages in Mosquitto? Need to re-add a z2m device.
MQTT Explorer makes it really easy to see and manipulate messages on a server
or just publish a non-retained message, but I don't see that option in teh built-in Mosquitto integration
Is there a message you can publish to remove all retained messages? Can just use mqtt.publish then.
Can MQTT be used to to publish the state and possibly control of zigbee device between 2 HA instances. Only one of the HA instances has a Zigbee stick, but I want to share it with another HA instance that I have running as a failover.
Yes, kinda the whole point of an MQTT broker. Messages/control abstracted.
At least that's how I understand it.
wow really that may be the best news I have gotten about this quest that I have undertaken.๐ ๐ 
@median agate there is a custom integration for that. remote home assistant
well, not really as a failover, so maybe not what you want.
Hey Cogneato, I will look into it, if that doesn't work out, can I use MQTT in the way that I have mentioned?
Hi can anyone here help with HTML5 notify setup?
#integrations-archived @hollow depot
thanks
Anyone have the DuckDNS add-on working with SSL so that they can access their HA remotely with **https://**my-domain.duckdns.org:8123 ? I have DuckDNS working with http:// but I cannot seem to get a secure connection established. I've changed the accept_terms to "true" in the configuration, restarted, and nothing in the logs indicates any problems, but when I try to go to **https://**my-domain.duckdns.org:8123 in Chrome I get an ERR_SSL_PROTOCOL_ERROR, and something similar in other browsers.
resolved by adding http: to the configuration.yaml, ala this thread: https://old.reddit.com/r/homeassistant/comments/hf2943/https_and_duckdns/fvuxixx/
Are there any alternate versions of adb-shell that improve response time?
it's not really intended to be realtime
Any idea why Grafana only gives me one of my solar inverters when I run this query and not all? If I change the domain to entity, I see all the entity ID's of my solar inverters, but only one when the domain is set to sensor.
SELECT mean("value") FROM "W" WHERE ("domain" = 'sensor') AND $timeFilter GROUP BY time($__interval) fill(none)
what are you doing that requires "fast" adb?
Is there an add-on that does the inverse of AirCast?
Exposes AirPlay (audio) devices as Chromecast devices?
So I can do stuff like.. play audio from youtube on my HomePod
Can someone help me set up OpenZWave. I just bought the Aeotec Z-Stick Gen 5 and i have no idea how to use it in home assistant. I am only guessing that the OpenZWave add on has something to do with it
#zwave-archived is a better place to ask. question will be whether you want to use the built-in integration (which doesn't require the addon) or the beta version, which either requires the addon or a separate container
oh didnt know that existed thank u
Are there any alternate versions of adb-shell that improve response time?
@sour oar ADB isn't slow, it's theinputcommand that is slow. See here for a faster alternative: https://www.home-assistant.io/integrations/androidtv/#androidtvlearn_sendevent-for-faster-adb-commands
@cyan sable attempt to replace the LEFT command in my lovelace remote returns the error 'sendevent: /dev/input/event4: No such file or directory'
maybe I need to place the command in a script instead
@sour oar what is the sendevent command that you sent?
Where can I paste images?
Please use imgur or other image sharing web sites, and share the link here.
There has to be an easier way to write this: https://imgur.com/a/6VULqb9
I've got 19 of these, and I would think I could include them all in one query, but am running into problems.
Hi All, i just installed the Unifi (multiple times) but if i import my backup from my Synology Unifi controller (same version, this is my UNF file 5.12.66-20200722-1535.unf) then if the add-on is restarting i cannot do anything more because it says in the log:
*org.tuckey.web.filters.urlrewrite.UrlRewriteFilter INFO: destroy called
Exception in thread "Thread-15" org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'requestMappingHandlerMapping' defined in com.ubnt.net.v2.config.WebMvcV2Configuration: Initialization of bean failed; nested exception is java.lang.IllegalStateException: BeanFactory not initialized or already closed - call 'refresh' before accessing beans via the ApplicationContext
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:601)
*
What can i do, and does someone has an solution for this?
Hi. How do I query the entity's state from a python script?
hass.states.get(<entity_id>) returns the whole entity
Nvm, I'm silly and didn't save my script.. it is .state
Anybody having issues with accessing the deCONZ VNC interface from the addon page? It starts novnc, but after that it fails.
You might have better luck in #zigbee-archived
Thanks. Going to need it ๐
Is the last deCONZ Update broken? I kills itself after seconds @tepid surge
Ah, there are already a lot of issues: https://github.com/home-assistant/hassio-addons/issues/1508
@cyan sable I solved the issue. The sendevent commands, at first, were copied from my Shield TV Remote, but (being a Bluetooth device) it would sleep & disconnect, which led to the "no such file" errors. Unless the mimicked device keeps a wired connection, the sendevent commands all eventually stop working on my Shield TV. After using learn_sendevent on a wired controller, the new commands continue to work, and they have made my lovelace remote much faster. Thank you for pointing me in the right direction!
Hey everybody, I'm attempting set up the Samba addon so I can export my Snapshot backups. I have never used Samba before. I installed the addon and changed the username/password, and also added my windows desktop's IP address to the "allow hosts" section. However, I do not see any Samba share in the "Network" section of the file explorer in windows. How can I access the Samba share? thanks
Just access it by IP address: \\192.168.x.x\config
worked thank you
So I just did my first snapshot backup, I copied it to my desktop from the "backup" folder on the Samba share. There is nothing else I need to backup right?
Well, it depends. What if you have a house fire?
The snapshot is everything you need but keeping all your backups in one location is a bad idea.
I will have it on home computer and in cloud
But with regards to the actual homeassistant device i mean
If the SD card fails today am I gonna be pretty much set with the snapshot
Does someone know what could the new OpenZwave add-on cause it to be stuck on "starting..."? I tried with my old Aeotec stick config and after I fully reset the stick network. Both the same results: the network is never fully starting and nearly all functions are unavailable via VNC. When I used my old config most devices would show up properly in HA though and I could control them properly...
are you running 0.5.2 ?
you boy, I just figured out that I need to click the second "start" button. not the first one. How embarrassing...
*oh boy
it is working now...
Is is possible to rename the entities via VNC? It seems like I can click into the name field and mark the name, but can't edit it.
I thought you meant the addon itself
@sly kindle after the correct add-on config and that was easier than the misleading UI haha
@leaden matrix if there is a way, I haven't found it. โน๏ธ
I thought some people were talking about it in the forum. Was hoping I can simply change the name in the OZW admin interface and it propagates through to HA - that is always a huge pain in the ass to do it manually for all device entities...
yeah that would be https://github.com/OpenZWave/ozw-admin
ah I see, I thought the OpenWave add-on and ozw admin is one and the same... So ozw-admin will be a full html replacement for the current VNC admin interface?
@leaden matrix the addon provides us the ozw-admin and the vnc
@sour oar thanks for following up! But I didn't quite follow your reply. By "mimicked device" are you referring to the device that sent the command that the learn_sendevent service learned? And what do you mean by a "wired controller"?
@cyan sable Yes, precisely. I mean a device that is connected to the Nvidia Shield TV through a USB cable.
would this be the place for some noob questions about mosquito on hass?
If it's about the add-on, sure.
Anyone experience issues with new deconz version 6.2.0? It wont start since i updated..
it's about my configuration with the addon.. I added it and enabled it, but I can't get a tasmota to connect to it. I think it's about the authentication. I created a new user for a fan, called fan1, it's not a homeassistant admin, but I used those credentials to configure the mqtt on tasmota. I have
[ERROR] Auth error with fan1
1595965475: Socket error on client <unknown>, disconnecting.
1595965486: New connection from 192.168.1.125 on port 1883.
user and topic is fan1 and I set the correct password as well. (that's the IP of the tasmota device, the garget mqtt server is the RPI with hass)
Hi all. I cannot seem to get Mosquitto MQTT to work. I installed add-on and clicked configure in integrations. What is supposed to be my broker address? IP address or core-mosquitto?
@urban brook It doesn't know the client ID. If you're sure the username and password are correct, try setting a client ID on the device. Though I'm not sure why you want a different user per device - if someone gets access to your network, that's not going to give any extra security.
@queen wing The broker address is the IP address of the host on which you have Mosquitto. If you're using the add-on, then it's probably the IP address of the machine (or virtual machine) that HA runs on.
deconz updated to 6.2.0 now the docker container kills itself it looks like.. last log lines below:
[cont-finish.d] executing container finish scripts...
[cont-finish.d] done.
[s6-finish] waiting for services.
[s6-finish] sending all processes the TERM signal.
[s6-finish] sending all processes the KILL signal and exiting.
A few people have been posting deCONZ issues today. I think there are issues logged on the GitHub page for it.
Follow the issues to hear when there are updates.
@cunning wolf Thanks. However the ip address of the Rasp Pi is not recognized. When I test it in Node red and use core-mosquitto then it will however recognize the message on the test topic
When using ip address the mqtt node is 'disconnected'
So any config I need to do still?
What do you mean the IP address is not recognised?
I tested in node red. When i use as broker server IP X.X.X.X with port 1883 the mqtt listening node shows as disconnected
However, when i use broker address core-mosquitto it shows as connected and actually listens
What do the HA and Mosquitto logs say when you use the IP address?
Well if it works with core-mosquitto, you can try using that in your HA config too.
You'll still want to figure out why the IP doesn't work in case you want other devices on your network to connect.
That's the point. I want other devices to connect...
I tried using config.yaml
mqtt:
broker IP X.X.X.X
but that doesn't work
broker core-mosquitto i mean
What do the logs say?
@cunning wolf havent seen any on the github or im bad at google ๐
'it doesn't work' is about the most useless piece of information if you're after support.
It was the HA GH, not deCONZ. I wasn't paying much attention to the link, only the discussion.
Might not be the same issue as you but a few people mentioned trouble on 6.2.0
I found this at least:
2020-07-28 21:46:46 INFO (MainThread) [homeassistant.components.mqtt] Data in your configuration entry is going to override your configuration.yaml: {'discovery': True, 'port': 1883, 'protocol': '3.1.1', 'broker': 'core-mosquitto'}
ty @cunning wolf , I changed it to my user and it connected, I'll figure out what to do with the users
That error isn't important, Repjas. Anything else in the logs?
[20:52:09] INFO: Setup mosquitto configuration
[20:52:09] WARNING: SSL not enabled - No valid certs found!
[20:52:09] INFO: No local user available
[20:52:09] INFO: Initialize system configuration.
[20:52:09] INFO: Initialize Hass.io Add-on services
[20:52:09] INFO: Initialize Home Assistant discovery
[20:52:09] INFO: Start Mosquitto daemon
1595962329: mosquitto version 1.6.3 starting
1595962329: Config loaded from /etc/mosquitto.conf.
1595962329: Loading plugin: /usr/share/mosquitto/auth-plug.so
This is the first part
@queen wing posted a code wall, it is moved here --> https://paste.ubuntu.com/p/fTXbBcp5JX/
@queen wing posted a code wall, it is moved here --> https://paste.ubuntu.com/p/NK3sPT62H8/
Rule #6: Spam will not be tolerated, including but not limited to: self-promotion, flooding, text walls (longer than 15 lines) and unapproved bots.
Please take the time now to review all of the rules and references in #rules.
Remember to use code sharing tools please.
Do you have a username, password and client ID set up for your broker? If not, set them up and try again.
Sorry.
Where do you mean to set them up? Because I there is config in the addon: logins: []
Or there is also username and password (prefilled) in the integrations page
Or do you mean config.yaml file?
Both. Change the addon to have something like this:
logins:
- username: username
password: password
anonymous: false```
Then update your HA's MQTT config to use the same username and password.
With the last one you mean via the integrations page?
@urban brook while you can create a new user for each mqqt client, you don't have to. You can create one "mqtt" user in HA, or you can use any existing user's credentials in HA, and those credentials will work for connecting a client to the broker
Okay and where do I set up clinet ID? And is reboot needed?
I think it will decide the client ID for you when HA talks to it. Yes, you'll have to restart when you change the integration settings.
I'm not sure, sorry. See who else comes along.
Okay thanks for your effort
@queen wing what is it that you're looking for?
I am trying to get mosquitto to work. When testing a listening node in nod-red it works when using broker core-mosquitto, but I want to use it for other devices. The IP adress however does not work as server
is there a way to check for updates on an addon? force it so to speak. Noticed that there is a new release for deconz 6.2.1 but im only at 6.2.0 after upgrade.. hoping the upgrade will fix my issue
@sly kindle https://pastebin.com/3F0vc6rg that's my lastest log from Mosquitto
ok. and what are the other devices you are trying to connect? @queen wing Are they tasmota or...?
@languid iris upper right corner of the addon store page
reload
@sly kindle Sorry for late reply. It is an android phone with an app that has mqtt (alarm panel specifically)
Should the server name be 192.168.1.X without http and port?
should be without http. port might be specified at the end or in another field depending on the app
Okay so that setting is correct then. Any idea why the IP address isn't working?
anyone know if you need to forward port for motoineye? and which port?
anybody knows of a good alternative to https://github.com/hassio-addons/addon-ide ?
I need something general purpose on a rpi to edit files
found it :)
https://hub.docker.com/r/linuxserver/code-server
even runs on armhf
What are the biggest reasons that I would want to install an app manually vs. via hass.io?
Obviously hass.io is more convenient and doing it manually gives me more control
Is there anything else?
you need to setup forwarding to the container yourself
how do you mean?
oh
like if I just want to inspect my pihole dashboard, I can do it from the home assistant dash if it's an add-on
but if I want to do it from a manual install I have to forward that too?
that makes sense
So now that esphome is a part of the core addons, should I remove the one i loaded in from the side? Any easy way to migrate?
nevermind, it got discovered automatically
found it :)
https://hub.docker.com/r/linuxserver/code-server
even runs on armhf
@covert arch would not recommend that, it with ease eats up your whole pi
hm, works fine for me :/ 90% idle...
Trying to run everything on a Pi is madness. It's a toy/hobby device. Use SMB or ssh+vim.
The more stuff you run on a Pi, the quicker you'll burn out your SD card too.
I run 2 pi4, no problems whatsoever, both boot via NFS
At least you're avoiding the inevitable SD card failure then ๐
As many others the last few days I'm having problems with the Deconz add-on. Cound't connect to Conbee II anymore. My setup: Hass on a VM on a Synology, worked fine. Now the Conbee is getting unmounted from the VM (i think it crashes, getting a deregisterd in dmesg). @raven tinsel i saw you close https://github.com/home-assistant/hassio-addons/issues/1376 saying it is not the add-on but Deconz, but now i'm running Deconz in a docker on the Synology and it connects just fine. So i do think the add-on or HA itself has something to do with it. For now i'll stick with the docker instead of the add-on, hoping it will get resolved in the future.
The docker image for deconz (maintained by a third party) actively strips out the ABI tags
that may work
but will cause issues in the end
we choose not the mess around with the binaries and run the program as shipped by dresden
In the end, if you are having problems running that add-on, it means your Linux kernel is heavily outdated (unsupported, unsecure and end of life)
you will run into more issues on a regular basis
ah, I see, so that would be the root cause.
well it's a synology (918+) with an up to date DSM. So would the kernel version realy be the problem?
kernel version: 4.4.59+
16th LTS release, maintained from January 2016 to February 2022
Anyways, happy to be back online, and hopefully dresden will fix their software so it will run in these still supported kernels. Thanks for the info @raven tinsel ๐
that kernel sounds fine I think
can anybody tell me if this is the correct way to format init commands on the ssh addon?
hello, just got a new issue. trying to setup letsencrypt, with a cloudflare dns that I have. I added port forwarding on my router, added my external IP to mywildcardname.mydns.com. going to the IP i can see the website, even though it's locked, but going to the dns i have nothing... I think I have to add the generated cert files to home assistant, but I don't know how to make those changes
ok, the http: works, not the https://, def need to add in the cert path..
Hi. Using MotionEye add-on. Had a power cut and 3 of my IP camera IP's changed. Is there not a way of updating the IP in settings of Camera Device in motioneye? Only way seems to be deleting the camera and starting again but I have all the settings for motion detection and storage etc. A right pain. Thanks in advance
@austere sierra can you assign or reserve the previous ips from your router?
tried that but unfortunately the root router from the isp is locked down and not configurable. Got 3 other routers off that but the dhcp server is the isp provided one. Bit of a pain really.
Is there a config file for motioneye that I can modify?
Anyone using Bookstack-addon and have managed to save pictures inside it?
@weary stratus What issue are you having with it?, it should work fine, unless the files are very large....
So, Im trying to set up MQTT Broker so I can set up Zigbee2MQTT, however, I cannot seem to get the MQTT broker working, and the documentation seems - old.
From the log here is what I see: [INFO] found homeassistant on local database
1596076924: New client connected from 172.30.32.1 as auto-8C398882-41DC-ACB7-8CDE-E664142EB20A (p2, c1, k60, u'homeassistant').
1596076924: Client auto-8C398882-41DC-ACB7-8CDE-E664142EB20A disconnected.
1596076924: New connection from 172.30.32.1 on port 1883.
1596076924: New client connected from 172.30.32.1 as auto-CDE03F17-46B7-6D07-6C1C-ED062F1677D4 (p2, c1, k60, u'homeassistant').
1596077002: New connection from 172.30.32.1 on port 1883.
1596077002: Socket error on client <unknown>, disconnecting.
1596077122: New connection from 172.30.32.1 on port 1883.
[WARN] Not found homeassistant on local database
1596077122: Socket error on client <unknown>, disconnecting.
mosquitto broker add-on?
did you add any config ?
not sure what you mean by old documentation.. the add-on is basically just install and start..then you can add security
Ive done it with the default and Iโve added a user
So is it working even if I keep getting those disconnecting messages in the log
yes
I keep getting failed login notifications too
like @weary stratus says
..just install it and start it unless you need any advanced setup
Ok, so Iโll put it back to default and start it agin
Iโll be looking to then run zigbee2mqtt
i don't use it, but i think that might require more. ZHA without mqtt works well for what i have
Iโm using a cc2531 and share worked great for 10 devices and then stopped connecting to devices
Those 10 were mains and considered routers
So some suggested mqtt
So I uninstalled zha and started trying my luck in mqtt
If you have a zha suggestion I could go back to that?
Zha was really great on those devices lol
You might check in #zigbee-archived . i dont know enough about zigbee2mqtt to say
Fair, thanks
thanks, I have MQTT and Zigbee2MQTT seemingly speaking- now onto zigbee to figure out how to connect devices. Thank you for the help.
Is there any way to disable (and prevent from restarting) the Hassio_audio container?
Anyone running NGINX? I don't know how to get back to being able to access HA via my local IP address. The integration is running and forwards http://address.duckdns/ to https://address.duckdns/ but my hassio.local doesn't work.
@final coral http://your_ha_ipaddress:8123 ?
Does not work either
you can't really lose local
I have it forwarded to the IP
if it isn't available locally, it can't be available remotely
Left that part out. ๐
Is it a port issue then?
I can access it through my duckdns all day
what's the local ip address?
192.168.1.26:8123
what does http://192.168.1.26:8123 give you?
what error
if you're on your local network right now, you can just click that
"192.168.1.26 didn't send any data
ERR_EMPTY_RESPONSE"
ok and https://192.168.1.26:8123 ?
works
do you get a warning
Yea, but just about unsecure
right
so you probably have the ssl_ lines under http: in your configuration
Yea, for duckdns. NGINX says to get rid of them, but when I do nothing works.
Also, double check...what do you see as your hostname when you go to Supervisor > system > host
homeassistant
ok. so if mdns is functioning, you would want to use homeassistant.local:8123 and not hassio.local:8123 anyway
I have hassio forwarded to the local IP
so hassio.local is never going to work
it's just the friendly name for the same ip you are using now
Yes, but it's forwarded. I can go change it in the computer, but it was easier to get the autocomplete since I also get into my router from time to time.
Less concerned about that though.
Are you using the nginx proxy manager addon or the nginx Home Assistant SSL proxy addon?
The latter
If I comment out the ssl lines in configuration.yaml, my ip works again, but my duckdns does not.
Loads a HA page but just is forever initializing.
Which leads me to believe I didn't set up NGINX properly, or it's just not working for some reason.
@final coral if you use NPM instead, it will get LE certs for you, and you could remove those lines. The result would be https://your_duck and http://local_ip:8123
so ssl for your external, and no ssl being forced on the internal
For some reason my remote access setup stopped working.
I have the DuckDNS and NGINX SSL Proxy setup.
I worked like a charm for a few weeks.
But somehow it seems like the recent updates broke it.
I have no clue what I could change to fix it.
Hope anyone can give some pointers!
Seems intuitive, but now I get a 502 bad gateway on my duckdns address. Local IP still works.
Ah, so itโs a common problem since the recent updates?
Local works indeed!
Strange thing is that from my local network the duckdns.org subdomain also works.
Oh I'm only just now setting this up, so I have no idea.
Just not when I switch to 4G and try the remote address again.
My setup seems to only work with either local IP or the duckdns address, based on whether or not I add ssl lines to my configuration .yaml
WHA got it. Just had to fiddle with settings.
I only have ip_ban setup under http
I don't have anything, so we're in a similar boat there.
Did it work before for you?
What do your nginx settings look like?
It did not, but like I said, I'm only setting it up now.
I had only used the local IP up to this point.
Lemme check the settings
domain: MYDOMAIN.duckdns.org
certfile: fullchain.pem
keyfile: privkey.pem
hsts: max-age=31536000; includeSubDomains
cloudflare: false
customize:
active: false
default: nginx_proxy_default*.conf
servers: nginx_proxy/*.conf
(in the add-on config tab)
So, I couldn't get that to work either. cogneato suggested I move to the other add-on, not the HA one.
So the rocket logo, not the green logo.
Thanks, seems worth a try!
Just strange that it used to work like a charm and is now broken.
ยฏ_(ใ)_/ยฏ
So I'm pretty new to the whole docker thing (especially the add-on containers) so sorry if this question is a bit dumb...
I am wanting to get my ozwcache.xml file (or config file whatever it is called) out of zwave2mqtt cause I seem to be having an issue with a device and want to make sure the config is correct. How can I access this file? There does not seem to be an export function from the control panel. The only reference I see to the config is the config path which is set to "/etc/openzwave". Any assistance would be greatly appreciated!
depends on where and what access you have to your HA device... you can SSH into device, or you could use portainer and then open up a console from there...
you may be able to use the VisualStudio Addon to get some kinda access ??
I am unfamiliar with the Portainer add-on (I am running Home Assistant OS in a VM). I installed it and the Home page says I have 23 containers running, but when I go to containers, it only shows the homeassistant container?
most are filtered out
you can un-filter them at the bottom of the Settings page
you're on your own from there, though
Thanks!
So I have the file I want location from going into the terminal. Is there a way to download/copy the file with my setup?
If you're using ssh, scp it.
The addon containers may have the config dir mounted, so you might be able to just copy it there
Eh, I just cat it to terminal and copied the text like a noob...
Thanks for all the help, this community is awesome!
Iโm trying to use DuckDNS. I can install and connect to my HA through the DNS but, itโs not secure. When I do use HTTPS I get canโt connect. Any suggestions?
@hallow raptor did you add the http: configuration to configuration.yaml?
@sly kindle yes I did.
There must be something off about it. If entered correctly then https:// is your only option
Share a link to a screenshot?
@sly kindle Iโm on the new side. How do I do that?
you could copy and paste it here with formatting instead, too
Please use https://paste.ubuntu.com/ or https://www.hastebin.com/ to share code or logs.
To format your text as code, enter three backticks on the first line, press Enter for a new line, paste your code, press Enter again for another new line, and lastly three more backticks. Here's an example:
```
code here
```
Watch the animated gif here: https://bit.ly/2GbfRJE
DO NOT repeat posts. Please edit previously posted message, here is how -> https://bit.ly/2qOOf1G
http:
base_url: https://xxxxxxxxxxxx.duckdns.org:8123
ssl_certificate: /ssl/fullchain.pem
ssl_key: /ssl/privkey.pem
Thereโs the code I have in the configuration yaml.
Obviously xxxxx is my domain.
yeah, but without the formatting (see above) you may have something else wrong.
like this
# ssl_certificate: /ssl/fullchain.pem
# ssl_key: /ssl/privkey.pem
base_url: https://bishopshassio.duckdns.org:8123
ssl_certificate: /ssl/fullchain.pem
ssl_key: /ssl/privkey.pem ```
Learn something new everyday lol
is that exactly how it looks in your configuration.yaml?
Yes
ok. first, you don't need the base_url at all, because it is deprecated
and second, every below http: needs to be indented two spaces
ssl_certificate: /ssl/fullchain.pem
ssl_key: /ssl/privkey.pem```
I had the indented spaces before. Still nothing.
is there a space in front of http: ?
Iโll try removing the base url and indent. Standby.
No space in front of http.
Do I need to reboot after making those changes?
restart HA, yes. But not a full reboot.
When you restart HA you are only restarting the software server. A reboot from Supervisor > System > Host actually reboots the hardware or virtual machine
ssl_certificate: /ssl/fullchain.pem
ssl_key: /ssl/privkey.pem```
looks good
Still no go on HTTPS.
does http://local_ip_address:8123/ work?
Yes no problem.
share some of the code which is right above or below http:
http:
ssl_certificate: /ssl/fullchain.pem
ssl_key: /ssl/privkey.pem
logger:
default: info```
like that
Does it need to be in a specific place?
it can be above it, below it, doesn't matter
as long as you're copying and pasting exactly what is present
No I meant does the http: coding need to be in a specific place in the configuration yaml?
oh umm..it should not. But moving it does mysteriously help sometimes
@hallow raptor posted a code wall, it is moved here --> https://paste.ubuntu.com/p/myZdx4byWQ/
My code mustโve been too long. I posted quite a bit of my code.
Not that Iโm seeing. Which logs should I be looking in?
Also, while you're in there using http:// to reach it, go to configuration > general and fill in external and internal
use https://yourduckdns.org:8123 address
for both
I am getting an error in the logs. I was looking in the wrong logs.
Invalid config for [http]: not a file for dictionary value @ data['http']['ssl_certificate']. Got '/ssl/fullchain.pem' not a file for dictionary value @ data['http']['ssl_key']. Got '/ssl/privkey.pem'. (See /config/configuration.yaml, line 14). Invalid config for [automation]: [mode] is an invalid option for [automation]. Check: automation->mode. (See /config/configuration.yaml, line 9). Invalid config for [automation]: [mode] is an invalid option for [automation]. Check: automation->mode. (See /config/configuration.yaml, line 9).
Yes itโs started.
if it is, go ahead and restart it, and then go to the logs tab
?
Still not working though. Let me restart HA now.
what did you find?
I had my duckdns.org address as xxxxxxxx@duckdns.org not .duckdns.org.
ok
Even after rebooting, still getting an error in the logs.
before you restart HA, make sure that the duckdns logs show success with the certificate
Shows โOKโ in log of duckdns.
Certificate shows valid until October.
Still getting this error in the logs: Invalid config for [http]: not a file for dictionary value @ data['http']['ssl_certificate']. Got '/ssl/fullchain.pem' not a file for dictionary value @ data['http']['ssl_key']. Got '/ssl/privkey.pem'. (See /config/configuration.yaml, line 14). Invalid config for [automation]: [mode] is an invalid option for [automation]. Check: automation->mode. (See /config/configuration.yaml, line 9). Invalid config for [automation]: [mode] is an invalid option for [automation]. Check: automation->mode. (See /config/configuration.yaml, line 9).
what's in automations.yaml ?