#add-ons-archived

1 messages ยท Page 41 of 1

sly kindle
#

the getting started docs

radiant marlin
#

ooh

#

so its the link!!

#

ok

#

thanks

mint sierra
#

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

weary stratus
#

Btw, if it makes a difference, I'm using supervised hassOS qcow2 vm

cunning wolf
#

And it's been that many hours that your error message has scrolled way off the screen. Remind me what issue you were having.

weary stratus
#

@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

cunning wolf
#

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?

weary stratus
#

I haven't tried that. I'm still learning yaml. Would I do that with [ssh blah, ssh blah]?

cunning wolf
#

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.

weary stratus
#

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

cunning wolf
#

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.

weary stratus
#

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.

potent harness
#

@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.

foggy marlin
#

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?

olive geyser
#

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

tulip bolt
#

How come I can't see any of the official addons in the addon store?

#

Third party repositories work

outer swan
#

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.

manic fox
#

it might be hidden, do you have the SSH access? you could just do docker ps | grep addon to see if it shows up.

outer swan
#

No, I donโ€™t have SSH access.
I run the home assistant raspberry pi3 image.

stoic kiln
#

Hi , I just installed HA in RPI3.

#

Stupid question : Do i need to run rasp-config ?

manic fox
#

@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

stoic kiln
#

thanks @manic fox , in fact i was thinking about SSH server ?

manic fox
#

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

stoic kiln
#

ah ok , i need to do that in order to have SSH connectivity .. back to install phase . Thank you

manic fox
stoic kiln
#

@chilly havenju-Rn , i used to do that with rasbian installation

fair flint
#

@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

stoic kiln
#

issue closed

raven tinsel
#

@fair flint Don't we all

outer swan
#

@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.

manic fox
#

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

outer swan
#

@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?

manic fox
#

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

outer swan
#

@manic fox thanks

#

Yes Iโ€™m able to delete the container and the image

frozen coyote
#

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 ?

cunning wolf
frozen coyote
stoic kiln
#

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

stoic kiln
#

in my case .

viscid orchid
#

No

stoic kiln
#

Thank you @viscid orchid

molten grail
chilly hare
#

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

cunning wolf
#

Does the addon say it can be tuned?

chilly hare
#

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

upper lichen
#

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?

dense spadeBOT
hollow depot
#

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

cunning wolf
#

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

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

#

internal: [blank]

#

Portforward to Hassio is HTTPS-Server TCP 443 443

cunning wolf
#

I believe the port number is redundant in your external_url. https implies 443.

hollow depot
#

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

cunning wolf
#

Are you sure you can reach your home network from the internet without Nabu Casa? Anything, not just HA.

hollow depot
#

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

cunning wolf
#

I'm not sure what it is then. Hang around and one of the SysAdmin type people will be along ๐Ÿ˜‰

hollow depot
#

Thanks

patent copper
#

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.
cunning wolf
#

Looks like it took 80 minutes to make the copy. Start by investigating why file I/O is so slow.

patent copper
#

What tools are natural for that? Not sure how to approach this...

cunning wolf
#

You probably want to ask in a more relevant channel and see what people there say. #330944238910963714 would make sense.

patent copper
#

Hehe... I tried and was pointed in this direction. ๐Ÿ˜‰

#

Iยดll go back and try again...

cunning wolf
#

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 ๐Ÿ˜„

wicked leaf
#

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 ?

weary stratus
#

how do I add an addon from github

#

cant see anywhere in the addon store to import one ?

#

found it - 3 dots

void skiff
#

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 ๐Ÿ™‚

south zealot
#

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.

cunning wolf
#

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 ๐Ÿ˜‰

brave sequoia
#

Is anyone having issue with Samba Shares? I am able to start the add-on, but it shuts down immediately

cunning wolf
#

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?

dense spadeBOT
brave sequoia
#

the issue appears to be the host name, but I am not seeing where I need to put that information.]

cunning wolf
#

What does your config look like for the addon?

brave sequoia
#

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

cunning wolf
#

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... ๐Ÿค”

brave sequoia
#

HA is running on my synology NAS

cunning wolf
#

Then... is your NAS running SMB?

#

If so, you can't have something else on the same machine listening on the same port.

brave sequoia
#

yes i have SMB enabled on the nas.

dark yoke
#

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

brave sequoia
#

so how would I go about getting access to my folder if SMB HA is not running? I am running HA via docker.

dark yoke
brave sequoia
#

so my synology has a native install for Hassio. This install also requires docker to be running .

dark yoke
#

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

brave sequoia
#

ok got it , that sucks, so in the future can I still ask about issues related to it in this forum

dark yoke
#

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.

peak bluff
#

is there grocy integration that lives outside of ha?

cunning wolf
#

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.

peak bluff
#

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

cunning wolf
#

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.

peak bluff
#

understood I wanted to mimic the addon but have grocy run separate from home assistant

mossy hedge
#

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

mossy hedge
#

dumb user error... Trying the VM instead of roll your own... Didn't see the configuration option at top

hollow depot
#

@cunning wolf any sysadmin ppl around re my remote access problem from yesterday?

atomic stone
#

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

atomic stone
#

I don't see a --version on any of the ha addons commands

sly kindle
#

you don't downgrade add-ons. you could restore from snapshot?

#

otherwise get esphome to fix the bug

grizzled iris
#

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).

cunning wolf
#

Forget about guides, read the actual duckumentation.

#

And it's helpful if you post any error messages / config if you're having trouble.

grizzled iris
#

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]".

cunning wolf
#

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.

grizzled iris
#

I'm trying to get remote access

cunning wolf
#

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?

grizzled iris
#

oh the integration

cunning wolf
#

You just shared your configuration.yaml, which has zero to do with the addon.

#

Then you're in the wrong channel.

grizzled iris
#

the add-on has started and is saying OK in the log

#

oh right sorry

atomic stone
#

@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)?

cunning wolf
#

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.

teal hollow
#

Is there a way to manually update zigbee-herdsman in the hassio zigbee2mqtt addon?

sly kindle
#

@teal hollow no. dev would need to update the addon

#

you can submit an issue or PR

weary stratus
#

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

sly kindle
#

what part doesn't work?

weary stratus
#

the users can login, but no messages get send to the other nodes

#

got an idea?

sly kindle
#

I dont use any custom config. Install addon, start addon and go

#

How many different users do you have?

weary stratus
#

three so far

#

i created users in ha for them, and did what is mentioned in the documentation

sly kindle
#

I just make use of the HA users, which is the default. Are the mqtt clients connecting to the broker ok?

weary stratus
#

yes nodered connect fine, and mqttfx in my pc connects fine

sly kindle
#

oh you mean node-red nodes?

weary stratus
#

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').

sly kindle
#

ok. looks good

weary stratus
#

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

sly kindle
#

glad you got it sorted

teal hollow
#

@sly kindle if I fork the add-on then theoretically I could update it myself, right?

sly kindle
#

@teal hollow oh yeah. You could download it and manually install that as well

#

that's what the /addons directory is for

teal hollow
#

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

cosmic sleet
#

Am I right in thinking that I can install both influxdb (for grafana) and mariadb to replace the default home_assistant_v2.db?

honest bloom
#

do addons support external storage?

#

yet

dark yoke
#

Add-ons does not care, they get mapped paths from the supervisor

honest bloom
#

ok... does the supervisor support external drive mapping?

dark yoke
mellow nacelle
#

Evening everyone. Is it okay to ask for help on Mosquitto in here?

#

Specifically issues with devices constantly disconnecting

dense spadeBOT
#

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:

  1. What version of the Home Assistant are you running? (remember, last isn't a version)
  2. What exactly are you trying to do that won't work?
  3. Is the problem uniform or erratic?
  4. What's the exact error message?
  5. When did it arise?
  6. What exactly don't you "get"?
  7. Can you share sample code, ideally with line errors where the error occurs?
ruby musk
#

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...

cunning wolf
#

Nope. But the OS isn't the only way to install HA. If you want more flexibility, you should investigate the other methods.

mellow nacelle
#

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').

cunning wolf
#

What's HA running on?

mellow nacelle
#

Proxmox

#

Sorry that doesn't fully answer your question.
HassOS in Proxmox

cunning wolf
#

And what exactly disconnects? Does Mosquitto drop all active connections at once or are other devices dropping off at different times?

mellow nacelle
#

It only appears to be WiFi devices (all smart plugs). I have some zigbee devices and they appear ok

cunning wolf
#

And they disconnect at different times?

mellow nacelle
#

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

cunning wolf
#

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.

mellow nacelle
#

I thought that too.
I've got a constant ping going to them and they never drop

cunning wolf
#

Constant? No gaps between pings at all?

mellow nacelle
#

None

cunning wolf
#

If that was true (which I doubt, there's always some gap), you're carrying out a DOS attack on your devices.

dark yoke
#

make sure you use different client names

mellow nacelle
#

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

mellow nacelle
#

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

mellow nacelle
#

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

quaint marten
#

Anyone using Tellstick Znet? Im trying to run it on local, but cant seem to get it to work!

frozen coyote
#

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 ?

upper musk
#

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

upper musk
#

Never mind. it was my reverse proxy

thick pulsar
#

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?

molten grail
#

Is it possible to write API query and get all available options to put in config.json for the specific community addon?

rigid cloud
#

I installed Terminal and SSH but I can't get it to connect. Same issue whether using password or key

dense spadeBOT
#

@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.

rigid cloud
#

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

cunning wolf
#

If that's Frenck's one, I prefer it anyway. It comes with zsh preinstalled ๐Ÿ‘Œ

molten grail
#

how to find all aviable option that can put in config.json for the any addon?

cunning wolf
#

You read the source code.

molten grail
#

no way to query api for that purpose?

cunning wolf
#

An API that magically knows all the things that an add-on can do?

#

Nope.

#

Add-ons are self-contained applications.

molten grail
#

homeassistant.helpers.config_validation can parse config file foe errors

cunning wolf
#

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.

molten grail
#

~ $ 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

cunning wolf
#

Where did you get this from? protection_mode: disable

molten grail
#

that is a correct option for this reason in community addon ssh

cunning wolf
#

It isn't in the documentation.

molten grail
#

i know...

cunning wolf
#

You said it's correct. It's not documented. How can you know it's correct? ๐Ÿค”

molten grail
#

does every community addon share it configuration to hassio?

cunning wolf
#

How about we go with this...

dense spadeBOT
#

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.

cunning wolf
#

What are you trying to do? Forget about your solution, what's the problem?

molten grail
#

i want to enter in docker instances but have not permission to do

cunning wolf
#

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.

molten grail
#

but how to turn off protection in ssh addon ? what option?

cunning wolf
#

The toggle in the info tab.

molten grail
#

soory but can not understand what you mean

#

๐Ÿ˜ฉ

cunning wolf
molten grail
#

o i see 10x

cunning wolf
#

So what's the problem?

molten grail
#

sorry i am so stupid

shy arch
#

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.

eternal steeple
#

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?

final coral
#

Any add-on gurus available to help with duckdns setup? It is currently running but only works on http, not https.

teal lotus
#

You need to set up SSL under http: in your configuration.yaml @final coral

#

Did you set lets_encrypt to true as well?

final coral
#

Yes to both

teal lotus
#

Did you restart home assistant after setting up SSL under http:?

final coral
#

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

teal lotus
#

Did you run a config check?

final coral
teal lotus
#

That wouldn't validate. ssl_ceritificate

final coral
#

I don't follow

teal lotus
#

It's spelled wrong

dense spadeBOT
#

Always run the configuration check command when you make changes. Don't trust the UI check - it misses some problems.

final coral
#

lol

#

So even though it was spelled wrong, it gave me the green light.

teal lotus
#

What gave you the green light?

final coral
#

The UI config check.
How would I run the command?

teal lotus
#

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

mild ember
#

Just curious what is the reason vscode can't run on hass os? Pi3

smoky marten
#

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

naive lion
#

getting them to show up under "network" is .... annoyingly unreliable

#

can you live with just adding a "Quick Access" ?

smoky marten
#

Yeah, that's fine. I was just following a youtube tutorial

naive lion
#

and can you access it at \\servername\share or \\serverIP\Share ?

smoky marten
#

yes! Thanks!

#

well maybe... I have a single file called "check_config.txt"

naive lion
#

if that file is at the top of your Share, it would be at \\servername\share\check_config.txt then

smoky marten
#

Ah, I see. I was just down too far. Had to go up a level to get to the \serverIP\config

naive lion
#

glad you got it sorted out!

rich skiff
#

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.

cunning wolf
#

it complains
What does it say? Share the error message.

rich skiff
#

It says "invalid YAML"

#

As soon as I enter the exclamation mark

dark yoke
#

You need to quote it

rich skiff
#

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'}

#

Found it - double quotes, but I need to use the actual ID rather than the test value of course. Doh!

#

thanks

molten grail
#

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

willow kestrel
#

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..

dark yoke
#

Whst does the URL change to when you click on it?

willow kestrel
dark yoke
willow kestrel
#

can't find it...

mint sierra
#

Check Configuration > Lovelace Dashboards

weary stratus
#

Any grafana experts here?

#

Or even people who just know more than a little?

dense spadeBOT
#

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:

  1. What version of the Home Assistant are you running? (remember, last isn't a version)
  2. What exactly are you trying to do that won't work?
  3. Is the problem uniform or erratic?
  4. What's the exact error message?
  5. When did it arise?
  6. What exactly don't you "get"?
  7. Can you share sample code, ideally with line errors where the error occurs?
weary stratus
#

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)

unreal cloud
#

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)

cunning wolf
unreal cloud
#

Yes , the question is described just above

cunning wolf
sonic shell
#

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 ??

unreal cloud
#

thanks mono, I will ask there

cunning wolf
#

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.

sonic shell
#

arrr i did think it must have some kinda SQL db ... can you make the grafanna addon use that sq database ?

cunning wolf
#

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.

sonic shell
#

so influx whould be the better addon to install to compliment grafanna

#

or would mariadb be preferd/workbetter ?

cunning wolf
#

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?

sonic shell
#

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 !

dense spadeBOT
cunning wolf
#

Not only was that a codewall, it was on the wrong channel completely. Questions about integrating go in, well... #integrations-archived

inner dune
#

except I'm totally stupid it isnt the wrong channel by any means. My questions affects mainly the ADDON "ADB - Android Debug Bridge" ...

cunning wolf
#

You said the bridge (the addon) is connected.

shy arch
#

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?

cunning wolf
#

Addons are Docker containers running stuff that isn't HA.

shy arch
#

Ah, ok, I understand now. Thank you!

dark yoke
cunning wolf
#

Love the link ๐Ÿ˜„

shy arch
#

@dark yoke That was it! Thank you!

cunning wolf
#

Also, don't crosspost ๐Ÿ˜‰

distant moss
#

Thanks

weary stratus
#

what sourcery is needed to get that toggle "Show in sidebar" for your addon? i know one can add it manually from its config

weary stratus
#

oh well, looks like it's only when you have ingress enabled

weary stratus
#

need TP

final coral
#

Is it possible to uninstall an add-on without the webUI?

viscid orchid
#

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

final coral
#

mmmm. Ok. I may have to wipe and reload a snapshot. My PuTTY tells me it can't connect.

viscid orchid
#

it's unlikely that an addon would cause problems for Home Assistant by itself

final coral
#

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.

covert arch
#

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/

cunning wolf
#

You might want to ask integrations questions in #integrations-archived. HACS isn't an addon, nor are the things it installs.

slim bronze
#

Sorry, will move the question.

weary stratus
#

for some reason, letsencrypt isn't spitting out the certificates in the /data/letsencrypt dir

teal lotus
#

they should be at /ssl

weary stratus
#

there are a few files in there but i get a weird error when using them

#

something about the length of the cert

sly kindle
#

when using them where?

weary stratus
#

hang about, i'll switch the cert back over and show you

topaz summit
smoky mango
#

Someone have problem with deCONZ after last update? I'm using Raspberry PI3B

dense spadeBOT
fluid dove
#

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

sly kindle
#

@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

lethal jay
#

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

sly kindle
#

are you using nginx proxy manager now?

lethal jay
#

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

sly kindle
#

usually set up on the host of whatever it is you are referring to

lethal jay
#

like if i want to do unifi controller?

lethal jay
#

anyone here willing to help me out with configuring DNSMasq to forward a local URL domain to a server?

weary stratus
#

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?

polar crest
#

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?

weary stratus
#

tried this but this doesnt work any more..it just kills the container..

dense spadeBOT
#

@polar crest Please DO NOT cross post. Read the channel description, post it and wait for folks to respond.

cunning wolf
#

@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.

hollow depot
#

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.

timber tapir
#

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?

sly kindle
#

Depends on if you're having problems installing the addon or the integration ๐Ÿ˜›

timber tapir
#

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.

sly kindle
#

@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.

covert arch
#

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

sly kindle
#

I don't use the NUT addon and I believe that is a beta community addon yes?

timber tapir
#

Yes. you are correct @sly kindle

covert arch
#

NUT

timber tapir
sly kindle
#

@covert arch they are all standalone...what do you mean

covert arch
#

are there docker-compose.yml available?

sly kindle
#

no

#

You could run it somewhere else?

covert arch
#

yep

timber tapir
#

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.

rich skiff
#

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

weary stratus
#

why is this hass-auto-backup for hacs and not a proper addon?

rich skiff
#

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

cunning wolf
#

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.

rich skiff
#

did I stumble upon don't mention ze HACS in #addons ?

cunning wolf
#

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.

rich skiff
#

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.

cunning wolf
#

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.

rich skiff
#

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

cunning wolf
#

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 ๐Ÿ˜„

rich skiff
#

Has anyone put source control on the yaml files yet? :)

#

Git gud

cunning wolf
#

All the pros use source control ๐Ÿ˜„ There's some links from the cookbook to the configs of some of the more familiar users.

hidden delta
#

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

weary stratus
#

can you ssh into the machine?

hidden delta
#

i did the raspberry pi install. * just tried putty to the ip...no luck

weary stratus
#

you need to install the addon first ๐Ÿ™‚ but you can't access Home Assistant right now so it's not very helpful

hidden delta
#

haha :/

weary stratus
#

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

hidden delta
#

I am assuming this is also something i needed to setup before i trashed this HA install? ๐Ÿ˜ฆ

weary stratus
#

(also addon)

cunning wolf
#

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?

hidden delta
#

yes

cunning wolf
hidden delta
#

ok will try there

covert gull
#

is anyone having issues with "kodi recently added media". I have it installed and can only get the tv episodes showing but not movies.

signal mauve
#

it needs credentials: user%password

#

can I somehow store these in the secrets file instead of typing it into the addon config directly?

raven tinsel
#

@signal mauve unfortunately not

signal mauve
#

I tried credentials: !secret login_pc

#

oh ok

topaz river
#

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?

pliant flicker
#

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 ๐Ÿ™‚

cunning wolf
fluid dove
#

@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.

sly kindle
#

@fluid dove it's not in your list of addons? that is weird

fluid dove
#

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?

sly kindle
#

@fluid dove I'd work on getting rid of pihole

#

do you have the ssh add-on?

fluid dove
#

no but I can

sly kindle
#

go ahead and get the community ssh add-on then

#

not the official one

graceful quarry
#

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.

surreal crest
#

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

wide hare
#

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

cunning wolf
#

If you just want performance stats from your PC, check out IoT Link

wide hare
#

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.

cunning wolf
#

IoT Link lets you do exactly that.

wide hare
#

InfluxDB and Grafana is also installed on Raspbarry Pi in Home assistant

cunning wolf
#

IoT Link sends information via MQTT. HA can read that information.

wide hare
#

Oke. IoT Link? Is this an addon in HA

cunning wolf
#

No... Google it.

wide hare
#

Oke! Thnks alot!

sly kindle
#

And it uses it's own definition of "addons" so don't get confused there

wide hare
#

I have it running allready. Ik can see CPU stats. But I am missing Harddisk stats. Manualy configuring this sensor gives an " unknown" value

wide hare
#

@cunning wolf I have it al running. Great siolution. Thanks again for the suggestion. Exactly what I was looking for.

copper siren
#

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```
calm iris
#

Hi

#

I added the ressource

#

But nothing happened on the background when i open a popup

#

Someone could help me to find the problem ? ๐Ÿ˜‰

cunning wolf
#

That's not an add-on, it's a custom integration. Don't crosspost.

calm iris
cunning wolf
#

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.

weak siren
#

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 ๐Ÿ™ )

cunning wolf
#

Can't you customise the entity to have the proper unit of measurement?

weak siren
#

Sorry, I have no clue where or how to do it

weak siren
#

ah ok you mean the config customizations
Thx but that will not change the "wrong" values at my database

cunning wolf
#

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.

weak siren
#

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 ๐Ÿ˜‰

cunning wolf
#

Well there's a new channel for data/DB stuff: #analytics-archived. You might have better luck there.

weak siren
#

@cunning wolf Thx
Then I try it there agian ^^

weary stratus
#

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?

cunning wolf
#

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.

weary stratus
#

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)

cunning wolf
#

Are you publishing anything manually to check it's received?

weary stratus
#

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

cunning wolf
#

Then it sounds like you're not talking to the right broker.

weary stratus
#

Hmpf

cunning wolf
#

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```
sly kindle
#

yeah, it goes a bit smoother without anon

weary stratus
#

Quite pointless without ssl (but next thing you're gonna tell me I don't have any self-respect either ๐Ÿ˜ฎ )

cunning wolf
#

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.

weary stratus
#

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?

cunning wolf
#

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.

weary stratus
#

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!

weary stratus
#

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.

cunning wolf
#

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.

weary stratus
#

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

dire glacier
#

Hi, after a fresh install on Home assistant, I installed duckdns. Now how do I get it all on https and not http?

coral meadow
#

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?

cunning wolf
#

Manually or set up something to do it for you.

#

I think the nginx proxy manager renews them automatically.

dire glacier
#

re added http section in the config pointing to the certificates worked this time.. must have had a typo somewhere or a space ๐Ÿ˜›

jagged magnet
#

hmmmm.... upgraded to 113.1 and my HACS disappeared. Tried reinstalling from the Integrations and it refuses saying it's already installed.

sly kindle
lean pond
#

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

sonic shell
#

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 !

compact sky
#

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?

stable grove
#

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?

cunning wolf
#

Don't crosspost.

lean pond
cunning wolf
#

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.

lean pond
#

they both basically do the same thing right? i need to setup an init command for my nuc

cunning wolf
#

The community one gives easier access to things and has some nice extra touches out of the box like zsh.

lean pond
#

gotcha. with these warnings about ssh keys, thats only if a bad actor had access to my local network right?

cunning wolf
#

Which warnings?

sly kindle
#

@compact sky the only "normal" ssh is the debug access to the host. What are you trying to do?

compact sky
#

I want to run python code for other tasks

sly kindle
#

You might look into appdaemon or python scripts integration for that

compact sky
#

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

cunning wolf
#

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.

cold hamlet
#

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?

cunning wolf
#

You need to check the supervisor logs

#

Supervisor is responsible for loading add-ons. Once loaded, add-ons might log their own information internally.

cold hamlet
#

Got it, thanks! I'll check there

lethal jay
#

anyone here using DNSMasq for local hoostnames?

torpid wraith
#

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"

violet swan
#

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?

tight junco
#

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?

green heath
#

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?

cunning wolf
#

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.

gilded totem
#

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'

neat heart
#

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
dark yoke
#

Like I said you need to restart Home Assistant

neat heart
#

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.

cedar rover
#

Hi there, trying to add an aeotec siren 6 to open zwave but its not being added as a switch or some sort

cunning wolf
cedar rover
#

thx

dense spadeBOT
final coral
#

Anyone around that can help with NGINX? I have it installed, but have a couple of questions on it.

neat heart
#

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

final coral
#

nvm solved it

#

Nope jk it undid itself

snow olive
#

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

cunning wolf
desert wagon
#

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?

cunning wolf
#

Just set up Samba and edit from any machine on your network instead.

final coral
#

Yep. I use Notepad++ just 'cause it's quicker.

cunning wolf
#

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.

green frigate
#

can HACS be installed through the supervisor add-on store?

cunning wolf
green frigate
#

@cunning wolf ok thanks

dull jewel
#

What's the easiest way to delete retained messages in Mosquitto? Need to re-add a z2m device.

viscid orchid
#

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

dull jewel
#

Is there a message you can publish to remove all retained messages? Can just use mqtt.publish then.

median agate
#

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.

dull jewel
#

Yes, kinda the whole point of an MQTT broker. Messages/control abstracted.

#

At least that's how I understand it.

median agate
#

wow really that may be the best news I have gotten about this quest that I have undertaken.๐Ÿ˜€ ๐Ÿ‘ explode

sly kindle
#

@median agate there is a custom integration for that. remote home assistant

#

well, not really as a failover, so maybe not what you want.

median agate
#

Hey Cogneato, I will look into it, if that doesn't work out, can I use MQTT in the way that I have mentioned?

hollow depot
#

Hi can anyone here help with HTML5 notify setup?

viscid orchid
hollow depot
#

thanks

shy arch
#

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.

sour oar
#

Are there any alternate versions of adb-shell that improve response time?

viscid orchid
#

it's not really intended to be realtime

weary stratus
#

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)

viscid orchid
#

what are you doing that requires "fast" adb?

simple bridge
#

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

solar vector
#

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

viscid orchid
#

#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

solar vector
#

oh didnt know that existed thank u

viscid orchid
#

did you read this?

#

there's much in the docs about Z-Wave

cyan sable
sour oar
#

@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

cyan sable
#

@sour oar what is the sendevent command that you sent?

weary stratus
#

Where can I paste images?

dense spadeBOT
#

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

weary stratus
#

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.

topaz river
#

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?

magic crag
#

Hi. How do I query the entity's state from a python script?
hass.states.get(<entity_id>) returns the whole entity

magic crag
#

Nvm, I'm silly and didn't save my script.. it is .state

tepid surge
#

Anybody having issues with accessing the deCONZ VNC interface from the addon page? It starts novnc, but after that it fails.

cunning wolf
tepid surge
#

Thanks. Going to need it ๐Ÿ™‚

hot fog
#

Is the last deCONZ Update broken? I kills itself after seconds @tepid surge

sour oar
#

@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!

distant tiger
#

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

cunning wolf
#

Just access it by IP address: \\192.168.x.x\config

distant tiger
#

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?

cunning wolf
#

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.

distant tiger
#

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

leaden matrix
#

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...

sly kindle
#

are you running 0.5.2 ?

leaden matrix
#

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...

sly kindle
#

oh that...yeah I've been there

#

I thought you meant the addon itself

leaden matrix
#

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

sly kindle
#

@leaden matrix if there is a way, I haven't found it. โ˜น๏ธ

leaden matrix
#

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...

sly kindle
leaden matrix
#

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?

sly kindle
#

@leaden matrix the addon provides us the ozw-admin and the vnc

cyan sable
#

@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"?

sour oar
#

@cyan sable Yes, precisely. I mean a device that is connected to the Nvidia Shield TV through a USB cable.

urban brook
#

would this be the place for some noob questions about mosquito on hass?

cunning wolf
#

If it's about the add-on, sure.

languid iris
#

Anyone experience issues with new deconz version 6.2.0? It wont start since i updated..

urban brook
#

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)

queen wing
#

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?

cunning wolf
#

@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.

languid iris
#

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.

cunning wolf
#

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.

queen wing
#

@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?

cunning wolf
#

What do you mean the IP address is not recognised?

queen wing
#

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

cunning wolf
#

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.

queen wing
#

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

cunning wolf
#

What do the logs say?

languid iris
#

@cunning wolf havent seen any on the github or im bad at google ๐Ÿ™‚

cunning wolf
#

'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

queen wing
#

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'}

urban brook
#

ty @cunning wolf , I changed it to my user and it connected, I'll figure out what to do with the users

cunning wolf
#

That error isn't important, Repjas. Anything else in the logs?

queen wing
#

[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

dense spadeBOT
#

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.

cunning wolf
#

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.

queen wing
#

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?

cunning wolf
#

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.

queen wing
#

With the last one you mean via the integrations page?

sly kindle
#

@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

queen wing
#

Okay and where do I set up clinet ID? And is reboot needed?

cunning wolf
#

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.

queen wing
#

No luck

cunning wolf
#

I'm not sure, sorry. See who else comes along.

queen wing
#

Okay thanks for your effort

sly kindle
#

@queen wing what is it that you're looking for?

queen wing
#

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

languid iris
#

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

queen wing
sly kindle
#

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

languid iris
#

@sly kindle aha! thanks alot

#

fyi update to 6.2.1 solved my issue ๐Ÿ™‚

queen wing
#

@sly kindle Sorry for late reply. It is an android phone with an app that has mqtt (alarm panel specifically)

queen wing
#

Should the server name be 192.168.1.X without http and port?

sly kindle
#

should be without http. port might be specified at the end or in another field depending on the app

queen wing
#

Okay so that setting is correct then. Any idea why the IP address isn't working?

wicked heron
#

anyone know if you need to forward port for motoineye? and which port?

covert arch
covert arch
lucid ivy
#

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?

covert arch
#

you need to setup forwarding to the container yourself

lucid ivy
#

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

tepid sleet
#

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?

tepid sleet
#

nevermind, it got discovered automatically

raven tinsel
covert arch
#

hm, works fine for me :/ 90% idle...

cunning wolf
#

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.

covert arch
#

I run 2 pi4, no problems whatsoever, both boot via NFS

cunning wolf
#

At least you're avoiding the inevitable SD card failure then ๐Ÿ˜„

covert arch
#

can I add another docker daemon in vscode? preferrably with a tcp:// endpoint

drifting imp
#

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.

raven tinsel
#

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

drifting imp
#

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

drifting imp
#

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 ๐Ÿ‘

raven tinsel
#

that kernel sounds fine I think

lean pond
#

can anybody tell me if this is the correct way to format init commands on the ssh addon?

urban brook
#

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..

austere sierra
#

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

sly kindle
#

@austere sierra can you assign or reserve the previous ips from your router?

austere sierra
#

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.

austere sierra
#

Is there a config file for motioneye that I can modify?

weary stratus
#

Anyone using Bookstack-addon and have managed to save pictures inside it?

ionic carbon
#

@weary stratus What issue are you having with it?, it should work fine, unless the files are very large....

uneven pine
#

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.

uneven pine
#

.

#

?

weary stratus
#

mosquitto broker add-on?

uneven pine
#

Yes

#

This is making me feel clueless

#

Haha

weary stratus
#

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

uneven pine
#

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

sly kindle
#

yes

uneven pine
#

I keep getting failed login notifications too

sly kindle
#

like @weary stratus says
..just install it and start it unless you need any advanced setup

uneven pine
#

Ok, so Iโ€™ll put it back to default and start it agin

#

Iโ€™ll be looking to then run zigbee2mqtt

sly kindle
#

i don't use it, but i think that might require more. ZHA without mqtt works well for what i have

uneven pine
#

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

sly kindle
#

You might check in #zigbee-archived . i dont know enough about zigbee2mqtt to say

uneven pine
#

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.

halcyon swift
#

Is there any way to disable (and prevent from restarting) the Hassio_audio container?

final coral
sly kindle
#

@final coral http://your_ha_ipaddress:8123 ?

final coral
#

Does not work either

sly kindle
#

you can't really lose local

final coral
#

I have it forwarded to the IP

sly kindle
#

if it isn't available locally, it can't be available remotely

final coral
#

Left that part out. ๐Ÿ˜…

#

Is it a port issue then?

#

I can access it through my duckdns all day

sly kindle
#

what's the local ip address?

final coral
#

192.168.1.26:8123

sly kindle
#

what error

#

if you're on your local network right now, you can just click that

final coral
#

"192.168.1.26 didn't send any data

ERR_EMPTY_RESPONSE"

sly kindle
final coral
#

works

sly kindle
#

do you get a warning

final coral
#

Yea, but just about unsecure

sly kindle
#

right

final coral
#

I never thought to try https.

#

On the local IP

sly kindle
#

so you probably have the ssl_ lines under http: in your configuration

final coral
#

Yea, for duckdns. NGINX says to get rid of them, but when I do nothing works.

sly kindle
#

Also, double check...what do you see as your hostname when you go to Supervisor > system > host

final coral
#

homeassistant

sly kindle
#

ok. so if mdns is functioning, you would want to use homeassistant.local:8123 and not hassio.local:8123 anyway

final coral
#

I have hassio forwarded to the local IP

sly kindle
#

so hassio.local is never going to work

#

it's just the friendly name for the same ip you are using now

final coral
#

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.

sly kindle
#

Are you using the nginx proxy manager addon or the nginx Home Assistant SSL proxy addon?

final coral
#

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.

sly kindle
#

@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

weary stratus
#

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!

final coral
#

Seems intuitive, but now I get a 502 bad gateway on my duckdns address. Local IP still works.

weary stratus
#

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.

final coral
#

Oh I'm only just now setting this up, so I have no idea.

weary stratus
#

Just not when I switch to 4G and try the remote address again.

final coral
#

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.

weary stratus
#

I only have ip_ban setup under http

final coral
#

I don't have anything, so we're in a similar boat there.

weary stratus
#

Did it work before for you?

final coral
#

What do your nginx settings look like?

#

It did not, but like I said, I'm only setting it up now.

weary stratus
#

Ah

#

because for me it used to work

final coral
#

I had only used the local IP up to this point.

weary stratus
#

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)

final coral
#

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.

weary stratus
#

Thanks, seems worth a try!

#

Just strange that it used to work like a charm and is now broken.

final coral
#

ยฏ_(ใƒ„)_/ยฏ

vague nacelle
#

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!

sonic shell
#

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 ??

vague nacelle
#

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?

viscid orchid
#

most are filtered out

#

you can un-filter them at the bottom of the Settings page

#

you're on your own from there, though

vague nacelle
#

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?

cunning wolf
#

If you're using ssh, scp it.

viscid orchid
#

The addon containers may have the config dir mounted, so you might be able to just copy it there

vague nacelle
#

Eh, I just cat it to terminal and copied the text like a noob...

#

Thanks for all the help, this community is awesome!

hallow raptor
#

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?

sly kindle
#

@hallow raptor did you add the http: configuration to configuration.yaml?

hallow raptor
#

@sly kindle yes I did.

sly kindle
#

There must be something off about it. If entered correctly then https:// is your only option

#

Share a link to a screenshot?

hallow raptor
#

@sly kindle Iโ€™m on the new side. How do I do that?

sly kindle
#

you could copy and paste it here with formatting instead, too

dense spadeBOT
#

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

hallow raptor
#

Thereโ€™s the code I have in the configuration yaml.

#

Obviously xxxxx is my domain.

sly kindle
#

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
hallow raptor
#
base_url: https://bishopshassio.duckdns.org:8123
ssl_certificate: /ssl/fullchain.pem
ssl_key: /ssl/privkey.pem ```
#

Learn something new everyday lol

sly kindle
#

is that exactly how it looks in your configuration.yaml?

hallow raptor
#

Yes

sly kindle
#

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```
hallow raptor
#

I had the indented spaces before. Still nothing.

sly kindle
#

is there a space in front of http: ?

hallow raptor
#

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?

sly kindle
#

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

hallow raptor
#
  ssl_certificate: /ssl/fullchain.pem
  ssl_key: /ssl/privkey.pem```
sly kindle
#

looks good

hallow raptor
#

Still no go on HTTPS.

sly kindle
#

try https://local_ip_address:8123

#

you should get a warning

hallow raptor
#

No go on local address as well...

#

I just get safari canโ€™t open this page.

sly kindle
#

does http://local_ip_address:8123/ work?

hallow raptor
#

Yes no problem.

sly kindle
#

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

hallow raptor
#

Does it need to be in a specific place?

sly kindle
#

it can be above it, below it, doesn't matter

#

as long as you're copying and pasting exactly what is present

hallow raptor
#

No I meant does the http: coding need to be in a specific place in the configuration yaml?

sly kindle
#

oh umm..it should not. But moving it does mysteriously help sometimes

dense spadeBOT
hallow raptor
#

My code mustโ€™ve been too long. I posted quite a bit of my code.

sly kindle
#

that's ok

#

that looks fine

#

anything in logs?

hallow raptor
#

Not that Iโ€™m seeing. Which logs should I be looking in?

sly kindle
#

Also, while you're in there using http:// to reach it, go to configuration > general and fill in external and internal

#

for both

hallow raptor
#

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).

sly kindle
#

ok, can you go back to the duckdns addon

#

and check that it is started?

hallow raptor
#

Yes itโ€™s started.

sly kindle
#

if it is, go ahead and restart it, and then go to the logs tab

hallow raptor
#

OMG....

#

I think I found it...

sly kindle
#

?

hallow raptor
#

Still not working though. Let me restart HA now.

sly kindle
#

what did you find?

hallow raptor
sly kindle
#

ok

hallow raptor
#

Even after rebooting, still getting an error in the logs.

sly kindle
#

before you restart HA, make sure that the duckdns logs show success with the certificate

hallow raptor
#

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).

sly kindle
#

what's in automations.yaml ?