#add-ons-archived

1 messages · Page 27 of 1

raven tinsel
#

the traffic is internal on a virtual network

#

if your goal is end-2-end like you've described, you end up with a false sense of security, because you can't do that with the things you are saying

rough gazelle
#

No, these are not on the same box. NGINX Proxy is on SERVER1, Home Assistant is on SERVER2.

raven tinsel
#

oh, so its not about an add-on

rough gazelle
#

The question is how do I leverage Let's Encrypt with Home Assistant on a machine that is acting as a frontend reverse proxy on a different machine.

raven tinsel
#

You can't, besides, you end2end request / motivation still doesn't stand

#

if your goal is to encrypt local network traffic however, creating your own CA/certificates would do

rough gazelle
#

So the answer is it's not possible. Thank you.

weary stratus
#

Back again with a question.

Is there a guide somewehere to get the git-functionality of VScode working over SSH with a pub/priv key?

I've gotten as far as being able to push from the terminal in VScode, but using the native functionality in VScode gives me "git@github.com: Permission denied (publickey)."

raven tinsel
#

@rough gazelle Anything is possible, your things don't add up to me.

dusk vigil
#

wWhere do i put a python file within HA?

rough gazelle
#

@raven tinsel I'm trying to encrypt traffic from internet to nginx (which I can do) and from nginx to home-assistant (which I cannot figure out). Just want to enable HTTPS on the home assistant service itself--my question is how do I leverage Let's Encrypt to get a certificate on that machine if it's behind a proxy. Most environments that are subject to regulations require all data in transit to be encrypted, I am simply trying to figure out how to do the same here. Yes, it wouldn't be a big deal sending HTTP traffic to home assistant if NGINX was acting as a reverse proxy on the same box as home-assistant, but that is not the case here.

raven tinsel
#

If you use a HTTP challenge, that would be hard, but using a DNS challenge on let's encrypt will do

#

however, SSL certificates (the ones from let's encrypt and other public ones) are really meant for outside use

#

on internal network, one should generally generate own certificates and make both ends accept and honor them

#

you can load any certificate up into Home Assistant

rough gazelle
#

Is there an add-on for self-signed certs for Home Assistant?

raven tinsel
#

no

#

you can just use the SSH commandline for that?

rough gazelle
#

Fair enough.

#

Thank you, this helps. Sorry, didn't mean to be pushy.

raven tinsel
#

Don't worry m8 🙂

teal lotus
#

So pushy @rough gazelle 🙄

#

😛

rough gazelle
#

You could say I'm a... mad cow?

Thanks folks, I'll be here all week! 😉

crystal mirage
#

Hello there fellow Home-Assistanters! :)
Is anyone of you using AdGuard? If so ... is there a way to sync settings between two Instances? I'm using one instance on my Server inside Home Assistant but I want a backup Instance in case of rebooting the Home Server. I want to use a Pi that I have lying around for that but I'm too lazy to always edit settings on two servers. Any ideas?
I hope that this is the right channel for this question

leaden crystal
#

@teal lotus I have followed the easy installation but get an apparmor error and even though the devices pop up in HA, nothing more happens

#

No control or status updates

#

UnhandledPromiseRejectionWarning: DBusError: An AppArmor policy prevents this sender from sending this message to this recipient; type="method_call", sender="(null)" (inactive) interface="org.freedesktop.DBus" member="Hello" error name="(unset)" requested_reply="0" destination="org.freedesktop.DBus" (bus) at methodReturnHandlers.(anonymous function) (/plejd/node_modules/dbus-next/lib/bus.js:339:27) at handleMessage (/plejd/node_modules/dbus-next/lib/bus.js:98:11) at EventEmitter.MessageBus.conn.on (/plejd/node_modules/dbus-next/lib/bus.js:147:9) at EventEmitter.emit (events.js:198:13) at /plejd/node_modules/dbus-next/lib/connection.js:112:14 at Socket.<anonymous> (/plejd/node_modules/dbus-next/lib/message.js:63:9) at Socket.emit (events.js:198:13) at emitReadable (_stream_readable.js:555:12) at process._tickCallback (internal/process/next_tick.js:63:19) (node:290) UnhandledPromiseRejectionWarning: Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). (rejection id: 1) (node:290) [DEP0018] DeprecationWarning: Unhandled promise rejections are deprecated. In the future, promise rejections that are not handled will terminate the Node.js process with a non-zero exit code.

sly kindle
#

@leaden crystal that's a wall of garbage here in discord, even on desktop client. Use formatting or share a link to a paste site.

dense spadeBOT
leaden crystal
#

Well thanks thus looks much nicer, good thing we have ppl here who know the right tools

royal rock
#

Not sure if this is the right channel for this.....trying to set up a discord bot to receive HA notifications. Bot is created, got the token in my configuration.yaml as per below

notify:
  - platform: discord
    token: my token here
    name : "discordbot"

i was expecting the bot to come online when i restarted the server but its not. It is in my channel but offline. Not sure if im missing something. I've seen old threads around versions of the discord bot but not sure if they are still relevant

logs only have this

2020-02-19T15:07:23.758559022Z 2020-02-19 15:07:23 INFO (SyncWorker_2) [homeassistant.loader] Loaded discord from homeassistant.components.discord


2020-02-19T15:07:24.717097948Z 2020-02-19 15:07:24 INFO (MainThread) [homeassistant.components.notify] Setting up notify.discord
full gate
#

I can help you up there, I’m using that notify platform

sonic mirage
#

Has anyone got a snapcast add-on for Hassio? There seems to be a modipy + snapcast addon in the edge repo, is that the only one? Has anyone used it?

leaden crystal
#

Anyone with ideas how I could fix my issue with the Plejd addon?

weary stratus
#

hello everyone. second day of trying to understand 502: bad gateway error when launching ESPHome addon. Anyone can spare some time/effort to help please? Have tried almost anything and have a lot of info to help debug. Google shows some other poor souls around the globe with the same problem and none seem to have solved. thanks

raven tinsel
#

I think you should raise that error message @ the add-on github repository as an issue @leaden crystal

#

@weary stratus That usually means the add-on didn't start, make sure it is started, check the add-on logs and if those are empty, check the Supervisor logs (Supervisor -> system tab -> logs) for hints

jaunty jasper
#

what are you guys using node-red for? I thought it would be useful, but I haven;t yet found something I want to do which HA itself doesn't support.

weary stratus
#

@raven tinsel hello. The addon log seems ok with the last Starting NGINX ... The supervisor -> system log shows an error each time: 20-02-19 19:29:20 ERROR (MainThread) [hassio.api.ingress] Ingress error: Cannot connect to host 172.30.32.1:62939 ssl:None [Operation timed out]

leaden crystal
#

@Frenck actually they write about a similar issue but I can't list out the fix. They write this:
Open the config.json file and locate host_dbus, after that line, insert: "apparmor": "no", and then restart the add-on.

raven tinsel
#

@jaunty jasper It is another method of doing automations, its a personal preference. Some prefer the more visual approach, others the Home Assistant approach

weary stratus
#

the host system shows the ESPhome container up and running and within it the nginx.log shows no errors

raven tinsel
#

@leaden crystal Sorry m8, that add-on isn't created by me or Home Assistant, you really need to get in touch with the add-on creator

jaunty jasper
#

@raven tinsel ok thanks. Think I'll just uninstall it for now

weary stratus
#

the only other addon (File editor) works well. This is a new HA installation with all updated sw levels

raven tinsel
#

Sounds weird, but have you tried uninstalling / re-installing the add-on @weary stratus ?

#

(don't worry about data loss, ESPHome stores its data outside of the add-on)

weary stratus
#

Yes @raven tinsel I did and I also tried to install the Dev version but the behaviour is the same. Same outcome. Same outcome if I start it from either the left bar or the addon install page

raven tinsel
#

🤷‍♂️ Seems weird. You can't have 2 versions of ESPHome installed at the same time, that will cause issues

#

Other than that, I'm afraid I have to redirect you to the ESPHome project, since they provide the add-on.

weary stratus
#

the ESPhome repo shows 3 addons, "normal", "beta" and "dev" I tried the first and last to see if it made a difference but it's the same. Opened an issue on ESPHome git but they say it's an HA integration issue 😦

raven tinsel
#

well Ingress simply responds with: ESPHome is not responding (cannot connect)

#

so not sure what we could do about it

weary stratus
#

I think there's an integration problem since I am in the ESPHome docker image and monitor NGINX and nothing reaches it

raven tinsel
#

if the thing doesn't respond, there is not like we can make it magically respond

weary stratus
#

of course I do untderstand 🙂 not asking for unreasonable miracles 🙂

#

have you got an idea of what SHOULD happen when I click on the Launch WebUI button?

raven tinsel
#

show esphome 🙂

weary stratus
#

(who "talks" to whom)

raven tinsel
#

Example

#

@weary stratus Home Assistant Core asks the supervisor, the supervisor asks the add-on

weary stratus
#

yep I've seen that on tutorials ... never reached a populated page, only an unformatted 520: bad gateway error ona greay background

#

@rjalex does it respond when you open a port and approach it directly?

#

Hi @weary stratus thanks for helping. Can you please explain better for me to understand? Should the ESPHome container expose NGINX on some port?

#

You can specify a port in the network section on the addon page. That part should say 'disabled' now

#

Just put in 6052 there an restart the addon

#

You should then be able to call up esphome via http://ip:port

#

wow thanks will try

#

Probably won't work, but rules out an ingress problem

#

WOW WOW @weary stratus you ROCK 🙂 yes I see an Enter credentials from ESPHome

#

it DOES work

#

❤️ 🙂

#

does this mean I can now try again to launch via the HA itnerface?

#

or should I enter credentials and see if all works first?

sly kindle
#

I'm thinking your nginx is wack or otherwise messing with the expected behavior

weary stratus
#

Hi @sly kindle ... you mean ESPHome's container nginx right?

#

@weary stratus nope that still won't work, it's just a workaround

sly kindle
#

well no, you keep mentioning nginx so I assume some configuration you have

#

before ingress, all the addons behaved this way. They ran on their own port.

weary stratus
#

@sly kindle I might be totally wrong but I understand each addon has its container with it's own web server ... so it seems exploring the docker containers

#

but I do not have "my own" nginx on the host OS if that's what you mean

sly kindle
#

ok

#

yes that's what I meant

weary stratus
#

but guys thank you so much at least you helped me to move one step forward 🙂

#

and now since its my first around a potentially idiotic question 🙂 the board I want to flash has to reside on the Mac I'm using as the browser/client or on a USB board of the RPi running HA? 🙂

#

ok I understand the question was too stupid and you all went to get drunk 🙂 🙂

#

Rpi🤣

#

seems I'm almost there but not quite ....

#

NodeMCU ESP32S board on USB port of RPi4, Upload and get the following error

#

Compiling /data/bagno/.pioenvs/bagno/src/main.cpp.o
Linking /data/bagno/.pioenvs/bagno/firmware.elf
Retrieving maximum program size /data/bagno/.pioenvs/bagno/firmware.elf
Checking size /data/bagno/.pioenvs/bagno/firmware.elf
Building /data/bagno/.pioenvs/bagno/firmware.bin
DATA: [= ] 12.9% (used 42320 bytes from 327680 bytes)
PROGRAM: [===== ] 53.1% (used 870230 bytes from 1638400 bytes)
========================= [SUCCESS] Took 19.44 seconds =========================
INFO Successfully compiled program.
INFO Resolving IP address of bagno.local
ERROR Error resolving IP address of bagno.local. Is it connected to WiFi?
ERROR (If this error persists, please set a static IP address: https://esphome.io/components/wifi.html#manual-ips)
ERROR Error resolving IP address: Error resolving address with mDNS: Did not respond. Maybe the device is offline., [Errno -5] No address associated with hostname

#

You need to pick the right interface in the top right corner

#

it only shows OTA

#

do I have to install device drivers like I did for the Mac?

#

also on the RPi4?

#

Sorry don't know that procedure by hearth

#

ok nevermind I'll find that info googling

#

But you have to connect the board to the pi through the USB interface and that USB interface should show up in the dropdown

#

thank you VERY MUCH if you ever come to Rome Italy you have a beer (or cappuccino) waiting for you 🙂

#

If you plugged it in after startup a simple reboot could fix that

#

I'll keep it in mind

sly kindle
#

@grim viper you might restart the addon. It can take a minute

#

that's what I see in the logs

leaden crystal
#

@raven tinsel I solved that addon issue. For future reference I just had to install bluez on the host OS (Ubuntu in my case). It was a dumb issue I recon.

normal kestrel
#

hi, I have home assistant running inside docker on raspbian. installed by running bash script. I cannot find how is it persisting the configuration, and how to install HACS. maybe someone could point me in the right direction? 🙂

leaden crystal
#

@normal kestrel check /usr/share/hassio

normal kestrel
#

cool, thanks. just a quick q, since i understood that i have hassio, not the home assistant and i just barely started using it, so no biggie to get rid of everything- should i reinstall everything to homeassistant or it's gonna be the same?

leaden crystal
#

So there is a confusion on versions

#

If you already run stuff in docker I see no reason to change that

full gate
#

Hassio is now called home assistant. So if you have hassio you do have home assistant

#

What was formerly home assistant is now home assistant core

leaden crystal
#

@normal kestrel could you just do a docker ps and tell us which home assistant containers you have?

normal kestrel
#

homeassistant/raspberrypi3-homeassistant:0.104.3

leaden crystal
#

Only that?

normal kestrel
#

e7ac183b5b10 homeassistant/armv7-hassio-dns:1 "coredns -conf /conf…" 16 minutes ago Up 16 minutes hassio_dns
9b3d49c662dd homeassistant/armv7-hassio-supervisor "/bin/entry.sh pytho…" 26 hours ago Up 16 minutes hassio_supervisor
de2436db9707 homeassistant/raspberrypi3-homeassistant:0.104.3 "/bin/entry.sh pytho…" 2 weeks ago Up 16 minutes homeassistant

#

full output

leaden crystal
#

Ah there you have it

weary stratus
#

that's a light installation

normal kestrel
leaden crystal
#

And what is it that you want to install instead?

normal kestrel
#

i dont, im just asking if this the thing that i want to have 😄

leaden crystal
#

Yeah that's bare bones :) I have 9 HA dockers and maybe 10 others

#

Yes this is it

#

This way you can install addons that will autoconfigure mostly

#

Also updating stuff is much easier with the supervisor

normal kestrel
#

cool then 🙂 thanks

#

so i should just copy HACS to /usr/share/hassio/<somewhere_there> right?

leaden crystal
#

BTW 105.5 is out

#

I would probably not copy right away

#

What is HACS btw?

normal kestrel
dense spadeBOT
#

Home Assistant Community Store is the successor to the old Custom Updater, and can do so much more - you should check it out.

full gate
#

@normal kestrel look around and find what directory your configuration.yaml file is in. It’s probably /usr/share/hassio/config

normal kestrel
#

/usr/share/hassio/homeassistant

full gate
#

Inside that directory you see configuration.yaml?

normal kestrel
#

yeah

full gate
#

Create a new directory there called custom_components

#

Then follow the remaining HACS instructions ie. copy the hacs folder there and restart

normal kestrel
#

alright, did that, let's see if it worked 🙂

leaden crystal
#

You should put that stuff under /usr/share/hassio/homeassistant/custom_components

normal kestrel
#

hm

#

when trying to add it via integrations, nothing happens. dev console shows httpstatus 500

#

{error: "Response error: 500", status_code: 500, body: "500 Internal Server Error↵↵Server got itself in trouble"}

dense spadeBOT
naive ravine
#

Hope this is the right place for issues with LetsEncrypt on Core

#

I'm getting this problem when trying to renew certs

#

Nothing has changed as far as I know between now and last time I renewed

#

my config is

email: <EMAIL>
domains:
  - <DOMAINNAME>
certfile: fullchain.pem
keyfile: privkey.pem
challenge: http
dns: {}
weary stratus
#

hello everyone trying to read a 3-pin-with-4.7k-pullup DHT11 on an ESP32S NodeMCU under ESPHome. Sensor on pin marked P4, yaml with GPIO4, no values read. any suggestions please?

#

ooops sorry maybe should gave posted on devices?

hybrid sparrow
#

Hello, I’ve integrated with a web hook and ifttt the amazon shopping list to shopping list of home assistant. But when I try to add something with Alexa I don’t see the new element on shopping list. I need to refresh the dashboard. Why?

dusk vigil
#

Anyone using P2000 component??

wise prism
#

i'm having a lot of trouble with the letsencrypt add-on recently

#

trying to get it working with either http or dns verifications

#

nothing has changed in my setup but it's now not working

#
domains:
  - home.cousins.ai
certfile: fullchain.pem
keyfile: privkey.pem
challenge: dns
dns:
  provider: dns-cloudflare
  dns_cloudflare_api_token: xxxxxxxxxxxxxxxx```
#
[11:03:58] INFO: Use propagation seconds: 60
[11:04:02] WARNING: Use CloudFlare global key (not recommended!)
Saving debug log to /var/log/letsencrypt/letsencrypt.log
Plugins selected: Authenticator dns-cloudflare, Installer None
Obtaining a new certificate
Performing the following challenges:
dns-01 challenge for home.cousins.ai
Cleaning up challenges
Error determining zone_id: 6003 Invalid request headers. Please confirm that you have supplied valid Cloudflare API credentials. (Did you copy your entire API token/key? To use Cloudflare tokens, you'll need the python package cloudflare>=2.3.1. This certbot is running cloudflare 2.6.3)```
#

and it fails with http as well

dense spadeBOT
wise prism
#

questions: 1. why does it say i'm using the cloudflare global key when i'm not? i'm specifying an api token

#
  1. wtf
#

i'm on hassos 3.11, supervisor 201, home assistant 105.5

#

letsencrypt 4.7

#

latest everything

#

if i curl cloudflare with my token it works fine

#
{"result":{"id":"272ea53b17cc872e1d908252a2e86b3f","name":"cousins.ai","status":"active",.....}```
wise prism
#

read the code and it was just a bad field name in the readme

#

made a pull request

hybrid sparrow
#

Hello, I’ve integrated with a web hook and ifttt the amazon shopping list to shopping list of home assistant. But when I try to add something with Alexa I don’t see the new element on shopping list. I need to refresh the dashboard. Why?

raven tinsel
fleet sleet
#

I'm trying to get a local add-on working and believe I have created the structure properly (using Dockerfile, config.json, etc), but the container does not stay running... I believe it starts, but does not continue running as a service (which is what I am expecting it to do)

weary stratus
#

Hi #add-ons-archived, I'm trying to get my node-red addon running through Ingress, but not having much succes. I've narrowed it down to my UFW on ubuntu causing the problem. (if I disable it everything works as expected). But I can't find specific instructions as to configuring UFW to not block Node-Red. Has anybody run across the same problem and managed to fix it/get it going?

ancient warren
#

In influxdb, is it possible to get hourly avg values over let's say 7 days. The values of 00-01 of 7 days should get averaged. So, data would look something like this:
Hour Value
00-01 3
01-02 4
02-03 2
.
.
23-24 4

So, I can get the avg values in the day and night

dusk vigil
ancient warren
#

Yes I read the docs and other forums to some extent, couldn't find the solution, I'll read more abt templates

dry pawn
#

Installed HA for the first time yesterday on a Raspberry Pi 4B. Trying to enable SSH using the Terminal & SSH add-on, but can't get it to work.

I don't understand how the network setup is supposed to work: https://github.com/home-assistant/hassio-addons/tree/master/ssh

Putting my public key in the Config section of the add-on setup is straightforward, but I can't figure out what to do with the Network part. Nothing I put in the Host field seems to work.

ssh: connect to host homeassistant.local port 22: Connection refused```
naive ravine
manic fox
#

@ehn doesn't direct ip work?

dry pawn
#

@dry pawn doesn't direct ip work?
@manic fox No, the solution was to put "22" in the Host field as well in the Network config pane. Works now.

sly kindle
#

@dry pawn host field?

manic fox
#

strange that direct ip does not work!

raven tinsel
#

@sly kindle Assign a port, the official SSH add-on doesn't have a open port by default anymore.

#

It is now able to start out of the box because of that (as the web terminal)

weary stratus
#

Hi @raven tinsel, I hoped you maybe had an answer to this?😅

#

Hi #add-ons-archived, I'm trying to get my node-red addon running through Ingress, but not having much succes. I've narrowed it down to my UFW on ubuntu causing the problem. (if I disable it everything works as expected). But I can't find specific instructions as to configuring UFW to not block Node-Red. Has anybody run across the same problem and managed to fix it/get it going?

raven tinsel
#

Home Assistant uses an internal network on the Docker interfaces called hassio

#

You need to make sure the host system & the hassio network are able to communicate freely

#

If the communication is blocked, it is not just Ingress that will break 😉

hidden orchid
#

Afternoon. I'm confused why Nginx Proxy Manager needs to bind to port 443 (resulting in "Bind for 0.0.0.0:443 failed: port is already allocated")?

sly kindle
#

you're using 443 somewhere else?

hidden orchid
#

I suppose so hence the error, actually I thought nginx would listen on 443

#

so I'm confused why Nginx Proxy Manager would be set to also listen on 443

sly kindle
#

are you talking about two add-ons?

hidden orchid
#

Yep. NGINX and Nginx Proxy Manager

sly kindle
#

you only need one or the other they both do the same thing one does it with a pretty UI

hidden orchid
#

aaah.

sly kindle
#

they can't both have port 443

hidden orchid
#

How confusing.

#

yeah, I get that

#

but one is called Manager

sly kindle
#

so make a choice and stop one of them

hidden orchid
#

yep yep

sly kindle
#

yeah because it's a manager with a UI and it is a nice looking and gets a cert for you and makes proxies all with a front end

hidden orchid
#

well yeah, but its also nginx plus a manager 🙂

#

like, if I installed portainer, I wouldn't expect it to also suddenly include the docker runtime

#

and like the zigbee2mqtt-assistant addon...doesn't include zigbee2mqtt

#

will try the manager though, the UI looks sweet! Cheers

weary stratus
#

@raven tinsel Figured it out! I did this: ufw allow in on hassio from any to any\

#

and ufw allow out on hassio from any to any

#

And now it works as expected. Tnx!

#

Is this something everyone needs to do who is running on a NUC, or did I do something wrong/forget something while setting everything up?

lofty junco
#

@raven tinsel QQ - Do you have an idea about what else would prevent Wireguard from forwarding IPv4 packets? I'm using your addon (which saved a bunch of time, thank you), and updated Ubuntu's sysctrl to enable IPv4 and IPv6 forwarding. It looks like I'm getting a good tunnel connection, but no internet (or 192.168.1.x pings)

#

^ Forgot to add - HA is running on latest Ubuntu in a VirtualBox VM. HA has full access to 192.168.1.x range (because the VM is at 192.168.1.115) and internet.

raven tinsel
#

most of the time it is either incorrect usage of client IP's or dns settings

mental helm
#

anyone know when ledfx is set to be released? I need that awesomeness in my life

round pollen
#

Hey folks, I'm running latest HA Core and almost 2 weeks ago my iOS app started to error. It's saying the cert is invalid. I'm using DuckDNS add-on with the automatic letsencrypt cert management. Logs from it say the certs are valid but the certs in /ssl are still the same old ones and that's where I'm pointing everything to. Is there a location other than /ssl where I should be copying the new ones from?

#

I tried renaming the old ones and restarting the DuckDNS add-on but it said the same thing about cert valid until April ##, 2020 and no new certs appeared in the /ssl folder. So renamed them back. Opening them in windows showed they expired on the 11th

surreal crest
#

Can anyone help me out? I'm trying to get the NGINX addon working but I always get this error: nginx: [emerg] could not build server_names_hash, you should increase server_names_hash_bucket_size: 64

#

so how do i increase the bucket size?

smoky mango
#

someone had experience with wireguard? I can't understand how use with duckdns

#

let me explain better: I have my homexx.duckdns.org expose on internet with port 51820 opened

#

from my smartphone I can connect and if I use ipadress I can open HA

#

but how I can use my FQDN? I shoud use https

#

many thanks

lofty junco
#

@raven tinsel You were right, I reset the Server and Peer Addresses to a well known 10.10.10.x address range and the connected clients get an ERR_NAME_NOTRESOLVED when trying to reach any website. If I run nslookup google.com at command line returns 1.1.1.1 for any website

manic fox
#

@smoky mango so you are able to connect to you wireguard instance from smartphone? If yes, you are then on the local network. Didn't understand about issues with FQDN.

tacit wraith
#

Hi, trying to get Configurator (File Editor) add-on to work but it loads excessively slowly (10min to load the page). Any clues?

weary stratus
#

Hi, I'd like to setup device tracking using areas, so If a person enters the Kitchen for example, it will track their presence using motion sensor (i.e Philips Hue) or other bluetooth devices using their mobile device, and without any extra hardware.

I've setup 'room-assistant', but not sure what to do next. I'm total noob at this, so it any help would be appreciated, thanks

weary stratus
#

I forgot to mention, this is for home assistant

smoky mango
#

@manic fox in my local area I can't use FQDN. my lan is 192.168.1.0/24 and I can see all device from my smartphone. but If I try to resolve homexx.duckdns.org it return my public addreess and I can't see any

manic fox
#

Yeah that part i do not knwo. Once you are inside your own vpn. Difficult to get access again from outside. But what does hinder you. You have access to your entire local Lan

sly kindle
#

@weary stratus you might check the docs for room assistant again.

storm garnet
#

Hello, trying to get the official mosquito broker set up, I have it installed,
and have created an mqtt user. My question in the integrations menu, I have been told to do the manual integration, I assume the IP address is the IP address of the laptop my hass.io and MQTT addon are running on, and the username/password is the username and password I defined for my mqtt user. is this correct?

weary stratus
#

Oh yes,you're right, I missed the 'Integration' tab, thanks!

versed notch
#

I have a bit of a question regarding let's encrypt

#

I'm trying to get a new https cert for my system, but the settings that worked before the update (4.3) don't work anymore (at 4.7). I feel quite silly rn

#

This is what I have in the config:

#
email: [email]@gmail.com
domains:
  - '[name].duckdns.org:[port]'
certfile: fullchain.pem
keyfile: privkey.pem
challenge: http
dns: {}
#

That's the settings I got right now, connecting works. However, when Letsencrypt is trying to establish a connection it times out.

#

I've tried swapping the port to 443, but that doesn't help, I'll try 80 now. Does anyone experience this issue as well?

#

Or am I just doing something wrong

#

If anyone knows the answer, feel free to dm me :)

lofty junco
#

Is port 80 being blocked by your ISP? (totally common, they dont want running servers, boo). YOu can check here https://canyouseeme.org/

versed notch
#

Success: I can see your service on [###] on port (80)
Your ISP is not blocking port 80

#

Pretty sure my ISP doesn't block certain ports

#

Let me run the thing again to see if I can post the error

#

It said something about the firewall

#
[19:51:52] INFO: Selected http verification
Saving debug log to /var/log/letsencrypt/letsencrypt.log
Plugins selected: Authenticator standalone, Installer None
Obtaining a new certificate
Performing the following challenges:
http-01 challenge for [url].duckdns.org
Waiting for verification...
#
IMPORTANT NOTES:
 - The following errors were reported by the server:
   Domain: [url].duckdns.org
   Type:   connection
   Detail: Fetching
   http://[url].duckdns.org/.well-known/acme-challenge/[challenge]:
   Error getting validation data
   To fix these errors, please make sure that your domain name was
   entered correctly and the DNS A/AAAA record(s) for that domain
   contain(s) the right IP address. Additionally, please check that
   your computer has a publicly routable IP address and that no
   firewalls are preventing the server from communicating with the
   client. If you're using the webroot plugin, you should also verify
   that you are serving files from the webroot path you provided.
sly kindle
#

@versed notch are you using a duckdns address?

versed notch
#

Yes I am

sly kindle
#

why not just use the duckdns addon then?

versed notch
#

This has worked in the past :/

#

Hold up

sly kindle
#

you don't also need the LE addon

#

the duckdns addon gets LE certs

lofty junco
sly kindle
#

you have 443 to 8123 forwarded?

#

or 8123 to 8123?

lofty junco
#

yep, I'm using Nabucasa without a problem.

#

and I can access with IP address directly

sly kindle
#

you don't need duckdns at all with nabucasa

#

not clear on what you are doing

lofty junco
#

Understood, I just reenabled it to try and help Je verify if this was a n isolated issue

sly kindle
#

oh sorry...wasn't paying attention to who I was reading

#

@lofty junco if you haven't been using duckdns in a while then it may be that the cert needs updating

versed notch
#

Wait, so did you mean the normal Duckdmns addon, or is there another one?

sly kindle
#

the duckdns addon

sly kindle
versed notch
#

Ohh I see, I had it running, so I was like, I should probably not touch that for now

#

But reading the log I'm guessing that by restarting the service I check the cert?

sly kindle
#

you don't need any other addon for the certs. You just set duckdns config accept_terms: true and it gets the certs for you

#

if you restart the addon it will check them, yes

versed notch
#

Today on I'm an idiot on 2 levels, I just checked the cert again..

#

It says april, not feb lmao

sly kindle
#

it also doesn't need ports forwarded for the certs, because it uses dns challenge.

versed notch
#

My blind as didn't read it proberly

sly kindle
#

but you do want to forward 443 to 8123 OR 8123 to 8123 to access afterward

versed notch
#

I got this atm:

lets_encrypt:
  accept_terms: true
  certfile: fullchain.pem
  keyfile: privkey.pem
token: [token]
domains:
  - [url].duckdns.org
seconds: 300
#

But I got a random port number for Home assistant atm

sly kindle
#

and you no longer have the separate LE addon installed

#

random port is fine. just forward that to 8123

#

and include it at the end of your url

versed notch
#

Yeah, got it locally running on 8123, router puts it to a port above 40k

sly kindle
#

but you also need to set up the http: config for this to work

lofty junco
sly kindle
#

you would use the port you chose

#

for local access you would use https://local_ip:8123

versed notch
#

Thank you so much for your help guys

sly kindle
#

@lofty junco with duckdns enabled and the http: config set, you can't use http://

#

only https://

#

When you use nabucasa and no duckdns this isn't an issue

#

you can use http: for local

lofty junco
#

Thats probaly the issue, I disable it again

sly kindle
#

and https: for nabucasa address

lofty junco
#

Indeed, even https:// localIP:8123 wasnt working

#

okay, enough messign things before I break it again. Will just stick with nabucasa until there's a reason to stop (or when LetsEncrypt extension supports GoDaddy DNS)

charred tiger
#

I am having serious problems with my homematic hassio addon. After a restart of hass my homematic addon refuses to work again. I uninstalled the addon and reinstalled it, but I don't get it up and running again.

#

I've had several reports, but now the most persistant one is :

#
WARNING: Thread Thread[vert.x-eventloop-thread-5,5,main] has been blocked for 7269 ms, time limit is 2000
io.vertx.core.VertxException: Thread blocked
    at java.base@11.0.6/jdk.internal.misc.Unsafe.park(Native Method)
    at java.base@11.0.6/java.util.concurrent.locks.LockSupport.parkNanos(LockSupport.java:234)
   
    at app//io.netty.util.concurrent.SingleThreadEventExecutor$5.run(SingleThreadEventExecutor.java:858)
    at java.base@11.0.6/java.lang.Thread.run(Thread.java:834)```
#

Anyone a clue ?

glacial dew
#

Need some help with SSH

#

I have followed the setup and gotten my private key. But now I cant get further:
"Save The Public Key On The Server
Now, you need to paste the copied public key in the file ~/.ssh/authorized_keys on your server."

#

How am I suppose to do this when SSH is not working?

glacial dew
#

What is this window for?
"Network
Container Host Description
22/tcp
disabled
"

sly kindle
#

for setting the port you'd use to connect with a client like putty, etc

#

the public key gets copied and pasted into the config, btw

glacial dew
#

how do i unzip an zip file on the hassio?

sly kindle
#

@glacial dew there should be no need. what are you trying to do?

glacial dew
#

I have an addon that asks for this: "MQTT_HOST" Does anyone know what it is for?
Is that my Home Assistant server adress?

#

@glacial dew there should be no need. what are you trying to do?
@sly kindle Got it working with unzip command

sly kindle
#

yes

glacial dew
#

I am installing an local addon, it asks me to do :" sudo ./get_devices"

#

bash: sudo: command not found

#

how do i do it then?

#

Any idees on how to run it?

sly kindle
#

all your questions have to do with running a traditional pc

remote oriole
#

he said local addon, he might be talking about the docker setup

#

not sure

#

nope you were right cogneato lol

glacial dew
#

not sure what dokker is but there is something called "Dockerfile" inside the folder

sly kindle
#

can you just share what it is

glacial dew
#

that is the install, its for an addon for skydance (some aliexpress lights that goes over some wifi relay)

#

I am stuck at 6.

#

u want the addon file aswell?

remote oriole
#

that dosen't appear to be a vvalid addon from what i been able to search

#

plus I thought you were runnign core? which means you don't have addons

glacial dew
#

i have installed alrdy on the hassio

#

dont know what that means "runnign core?"

#

I am all new to this Home assistant

#

Just followed the steps in "Getting started" to get it up and running on the home assistant web page so no idee if its core or what ever

remote oriole
#

whats the link to the addon page you linked the picture from?

glacial dew
#

I got it from a guy on the forum who sent my it on email

remote oriole
#

yea i saw that post

#

and at the bottom he says he's stuck on trying to import someone else's work over to a working addon

#

which means what your working on is sketchy. you'll havve to ask him how to do it

glacial dew
#

Yeah but that is 1 year old post, seems like he had gotten past it since he sent an update to me on email i just sent u?
So its not possible to manually install stuff on hassio?

#

I have manged to install the local addon alrdy just stuck on that 6. part

remote oriole
#

someone creating a local addon that they may or may not have managed to get working on their machine by no means means it will work for literally anyone else. They are the only one's who could answer any question you have because more refined correctly created addons don't require the user to do anything but add the repo and click install

#

I'vve made a few local addons for myself I wouldn't ever share with anyone for this very reason. others would run into the same issue you are right now with mine

glacial dew
#

Yeah okay, thank you. Have sent him message 🙂

remote oriole
#

I hope he can help you out. gl

buoyant osprey
#

Pretty sure this is the right channel. Has anyone installed VSCode in a docker and got it working with a HA docker install?

sly kindle
#

@buoyant osprey it's an add-on available in the add-on store and Add-ons are docker containers. So yes someone has. 😛

buoyant osprey
#

Im not using HASS, im using HA Core

sly kindle
buoyant osprey
#

Haha alright. Thanks!

weary stratus
#

anyone has a clue how to run the home assistant appdaemon addon in privileged mode?

forest plinth
#

I can not get letsencrypt addon to work. Do i have to specify http: port to 80 or can it be default port? I proxy 80 to 8123.

#

I get 404 in the proxy logs on the .well-known lookup

#

Do I have to change the network port in the addons?

glacial dew
#

I have installed samba on my raspbian with docker container running HA. When i connect with it through samba i can see the addons folder in the HASS.IO root folder from my windows.
How can i access this folder from inside the rasbian?
Tried using this command "docker exec -it $(docker ps -f name=homeassistant -q) bash" if i do "ls" here i cannot see the addons folder

#

Is "Portainer" something that can help me out here?

spare wedge
#

Hi all. I'm running Hassio with the Samba and DeCONZ addon. I want to reach the DeCONZ config folder from my Windows PC. When I browse to the addons share it's empty. When viewing /usr/share/hassio/addons on my linux machine with hassio installed it does contain the data I want to reach. Isn't the Samba share supposed to display the content of this folder?

sly kindle
#

@spare wedge the add-ons directory is for manually downloaded or developed add-ons.

spare wedge
#

@sly kindle Ah that makes sense. I did what I had to do through WinSCP. Thanks.

forest plinth
#

Can anyone confirm that you can't run letsencryp addons if HA runs on port 80

lofty junco
#

@forest plinth im getting certificate renewals over 80 just fine, but I am using duckdns add on instead.

#

Is there a Tesla addon/integration that will let me see the energy gateway (solar and powerwall)? I only see vehicle support

uneven horizon
#

HELP! 1-Using HA 1+years. 2-SD Card failed on Pi 3B+..3-Loaded Hassio 3.11, new card, 4-Loaded Samba Share 9.0 5-Nothing I do can get it to work! Ver-8 and below worked GREAT! What changed? Any help would be appreciated.

compact crane
#

I have home assistant supervisor + core running on rasbpi4. If i want to use tellstick switches or densors, do i need additional hardware, or is it enough to install tje tellstick addon? (does it use wifi or bluetooth radio from the raspbi?

uneven horizon
#

Anyone able to use ‘Open SSH’ to transfer/copy files between Windows machine and Rasp Pi running ‘Homeassistant’ (hassio 3.11)? Using ‘Open SSH’ I can create directory’s, erase files, etc but am unable to transfer/copy files between machines. Trying to find an alternative to Non-Working Samba Share. Any suggestions? Thanks

twilit heron
#

Hi,

#

having issues reinstalling SAMBA, it will not start and log shows 20-02-23 19:11:12 ERROR (SyncWorker_14) [hassio.docker] Can't start addon_core_samba: 403 Client Error: Forbidden ("endpoint with name addon_core_samba already exists in network host")
20-02-23 19:11:27 INFO (SyncWorker_0) [hassio.docker.interface] Clean addon_core_samba application

sly kindle
#

@uneven horizon what isn't working?

#

@twilit heron you have to make sure the old one is removed first. You should try rebooting the host, and possibly running ha su repair

uneven horizon
#

@sly kindle Samba Share Logs show 'Connection Denied from...' when on Win 7 PC trying to map '\homeassistant\config'

sly kindle
#

@uneven horizon try entering \\ip_address in the file explorer address bar

#

and is the add-on started?

forest plinth
#

@lofty junco I use http mode and my registrar have not yet been implemented for DNS mode.

sly kindle
#

You have to disable anything using 80 so that LE can have it for auth. After that you can reenable. But HA uses 8123

#

What do you have that is using 80?

uneven horizon
#

@sly kindle Yes, Stopped then 'Re-Started' Samba Share, checked the logs to make sure it was up. "Samba name server HOMEASSISTANT is now a local master browser for workgroup HOMEGROUP on subnet 192.168.1.74" Correct IP for Rasp Pi3B+ V8 and below WORKED GREAT.

sly kindle
#

your pc is also using HOMEGROUP?

#

workgroup should be the default

uneven horizon
#

Yes, Win PC using Homegroup.

forest plinth
#

@sly kindle ok but then I have to do that every 90 days. Would have been nice if HA redirected all .well-known requests to LE add on. I have one Reverse tunnel to my proxy. And both 443 and 80 is proxyed to HA port.

#

I could have the nginx add on and add another proxy in guess :D

sly kindle
#

@uneven horizon all that changed from 8.3 to 9 was the addition of the veto_files

#

you might check your credential manager or maybe you changed allow_hosts ?

uneven horizon
#

I'll check......Didn't change allow_hosts. Changed: username: homeassistant, password: home, interface: eth0, that is all.

sly kindle
#

@uneven horizon usually the default interface works fine.

uneven horizon
#

@sly kindle In one final act of desperation, I dug out of my closet, an OLD Win XP with a 40 Gb hard drive, blew off the dust, fired it up, connected to the network (does not have WiFi), Mapped my Rasp Pi as a drive, CAME UP IMMEDIATELY!!!

#

@sly kindle I'll just have to use the old clunker XP, operate it remotely through my Win 7 PC to add, modify, copy info on the Rasp Pi. Thanks for trying to help, much appreciated.

full moat
#

In the core-check-config addon, is there a way to see the full log message? If my config isn't valid for the new version being tested, the log buffer overflows and I can only see the last 100 or so lines of the error.

#

This happens in both the web interface for the addon as well as using the hassio command on command line.

muted fjord
#

If I have the DuckDNS and Let’s Encrypt add-on up and running, and I access my HA server from outside my home network via my external IP address + port (like https://XXX.XX.XX.XXX:8123) will it still be encrypted?

full moat
#

If it says https and not http, then encrypted.

obtuse ginkgo
#

If you specify an IP the browser will probably complain, but it will be encrypted.

muted fjord
#

alright, thanks guys

eternal steeple
balmy pelican
#

The installation of Node-Red via HACS doesn't seem to work for me, I get an error to check the logs.
Logs don't give anything besides this:
20-02-21 15:48:10 ERROR (SyncWorker_8) [hassio.docker.interface] Can't install hassioaddons/node-red-armv7:6.1.0 -> 500 Server Error: Internal Server Error ("Get https://registry-1.docker.io/v2/: dial tcp: lookup registry-1.docker.io on [::1]:53: read udp [::1]:44552->[::1]:53: read: connection refused").

#

Is this an error on my end, due to my firewall or something?
Other add-ons seems to work normally

raven tinsel
#

@balmy pelican HACS doesn't do add-ons, so make sure you don't mix up those terms

#

Considering your error, it seems like you are having DNS issues

#

Are you using AdGuard or Pi-hole? What type of setup do you have? Running on Ubuntu? Or the Home Assistant OS?

balmy pelican
#

Sorry about the terminology mix-up, no AdGuard or Pi-hole here.
Running on a RPi HassOS.
I found out that i'm not the only one, more users are having issues after trying to reinstall or installing it, as seen on the issues tab of it's github page.

#

No alternate DNS settings or anything.

raven tinsel
#

dial tcp: lookup registry-1.docker.io on -> indicates your device is having issues with DNS

#

Which is from the host level, so not sure what to say about it else

balmy pelican
#

Alright, I'll try to look into it on my side.
Thanks for looking at it.

full moat
#

@balmy pelican "::1" looks to be like the addon is trying to use an IPv6 address for DNS server which isn't responding.

lofty junco
#

How can I leave a rating for an addon? I need to help bump up the rating of something that works amazing for me

#

Oh never mind, that rating is only for security, lol. Yep, totally deserves a 1

sly kindle
#

@lofty junco ha. which addon are you referring to?

lofty junco
#

Glances. I was like 'WTF a 1! There's no way I'm going to let this stand..where is that upvote button"😂

weary stratus
#

Hi all, I'm in trouble with one aqara sensor with zigbee2mqtt. The value is never updated and quality link is 0. Not so fare there is another one which is working like a charm. Thanks.

languid stirrup
#

Thank you for the wonderful hass.io node red addon. How can I enable the GIT project function? I can't find settings.js

sly pagoda
#

hey
I cant find my fullkeychain.pem and privkey.pem files under ssl folder

#

How can I fix it ?

sly kindle
#

@sly pagoda what addon are you using to create them?

sly pagoda
#

duckdns

sly kindle
#

do the duckdns logs show success getting certs?

#

@sly pagoda you can restart the addon and watch the logs

sly pagoda
#

yea it creat the files after the 12th uninstall reinstall of the duc dns add on

#

but now everything seems ok in logs

#

but I cant access hassio with duckdns

sly kindle
#

did you add the http: config?

sly pagoda
#

yes

#

http: base_url: https://your_domain.duckdns.org:8123 ssl_certificate: /ssl/fullchain.pem ssl_key: /ssl/privkey.pem

sly kindle
#

can you reach http://local_ip:8123 ?

#

You should not be able to.

sly pagoda
#

yea I can't connect by ip

sly kindle
#

are you using https:// and what port did you forward?

sly pagoda
#

yes

#

and

#

443 to 8123

sly kindle
#

then you don't include :8123 at the end

#

drop that and try your duckdns again

sly pagoda
#

that doesn't work either

#

should I remove :8123 from my base url as well ?

sly kindle
#

base_url wouldn't have an effect on this, but yes

sly pagoda
#

It says closed

sly kindle
#

then you might check your port forwarding again

#

or your ISP doesn't allow it possibly

sly pagoda
#

ok that what else can I do

#

than*

sly kindle
#

I would first confirm whether your provider allows it. If they do, then something else is wrong

#

or you could try forwarding 8123 to 8123 and try again with :8123 at the end

#

(and also check that with the port checking tool)

sly pagoda
#

okay let me try thanks

sly pagoda
#

I'cant open any port

#

I tried 8123/9000/1987/8888/8080

#

but none of them worked

obtuse ginkgo
#

I added esphome, set up a nodemcu, got it configured, it shows my sensors, but I don't see them in home assistant, am I missing something?

remote oriole
#

everything

obtuse ginkgo
#

Hahahahahaha

#

I got it

weak sorrel
#

Is it possible to use the RPC Shutdown addon to shut down the pc in the wake on lan component?

obtuse ginkgo
#

wake on lan just sends a packet with a special mac address.

#

it's got nothing to do with RPC or being able to shut the computer down.

weak sorrel
#

but the home assistant wol component allows you to run a script to shut the pc down, but no example for windows is available,just for linux. Therefore i thought it might be possible to use that script section to toggle the RPC shutdown addon

obtuse ginkgo
#

I mean, there's different ways to shut down a winders box remotely yeah

weak sorrel
#

ok ill do some more research then

obtuse ginkgo
#

something like that

#

simple, uses built in stuff

weak sorrel
#

Thx

fast summit
#

EventGhost is very useful too when automating Windows stuff

olive sparrow
#

You can use the shell_command service and a little pywinrm script to shutdown remote Windows boxes

#

I'm working on extending my ha_pywinrm integration to include services, just not there yet.

drifting void
#

hi everybody,

#

anbody else haveing trouble with node red in these days?

#

since yesterday evening i am getting these message in the add on log "[server:Home Assistant] Error: Invalid access token or password for websocket". restarted both the Add ON and home assistant didn't help. Even uninstalling Node Red rebooting HA and than fresh installing is not fixing it. Anybody an Idea??? THX

gusty night
#

need some help trying to config a pi-hole integration with homeassistant
using the pi-hole addon, pi-hole is confirmed working, i added this into my config.yaml

pi-hole

pi_hole:

  • host: localhost:4865
    name: 'Pi-hole'
    location: 'Home'
    Tue Feb 25 2020 13:13:27 GMT-0500 (Eastern Standard Time)
    Can not load data from *hole: localhost:4865
    Unable to fetch data from Pi-hole
    does it need the api key?
    also how come the integration page on the website doesnt mention anything about the sensors, but they are mentioned on the add-ons github page
teal iris
#

Use the UI to add pi_hole

gusty night
#

@teal iris ?

#

the pi_hole addon is already installed

#

its working

teal iris
#

configuration > Integrations

gusty night
#

@teal iris its not an option in there

gusty night
#

anyone have any insight?

teal iris
#

did you try using the IP address?

#

instead of localhost

obtuse ginkgo
#

whats a good addon to auto snapshot your HA and store it on an external machine over ssh? and cal you manually kick it off when you want.

woven tiger
gusty night
#

@teal iris I did, yes

#

disable ssl and verify_ssl as well

obtuse ginkgo
#

what was the addon that saves snapshots and stores them on another machine via SSH?

muted fjord
#

I set up the Alexa add on - and basically all I use it for is announcements for a doorbell. Is there anyway to get rid of the dozens of "switches" it created? There are 3 switches created for each Alexa device and installed app, so 4 dots,, 4 phones w/ app x 24 switches. They don't hurt anything, but are kind of annoying when using things like auto-entities card, etc.

mint sierra
#

Hi

#

I'm trying to setup my Hassio as the main DHCP server in my house but I seem to be unable to get traffic outside of my LAN.

sly kindle
#

@torn juniper there's an rpc shutdown add-on in the store

torn juniper
#

@torn juniper there's an rpc shutdown add-on in the store
@sly kindle Thanks, didn't know about that, but my machine is a Linux one. From the description it seems to me that it won't fit in my case, as its designed for Windows

obtuse ginkgo
#

is anyone using the unifi addon? Does it work well?

#

if I am controlling an AP with the android app I will have to reset it correct?

torn juniper
#

@obtuse ginkgo Yes, you have to reset it to use the Controller installed on Hass

#

Works great with device discovery

obtuse ginkgo
#

awesome

#

guess I'll hook that up, the android app is very limited lol

dry tiger
#

hi everyone, i'a a newbie, there is a guide to config HASS Configurator git pull?

lilac thistle
#

Having an issue with my node-red addon after updating the addon. Can ask my question here?

sly kindle
#

@lilac thistle this is the right place

obtuse ginkgo
#

does anyone know how to add the unifi addon to the sidebar? it doesn't seem to use ingress, as I can't open it from the frontend at work.

raven tinsel
#

@lilac thistle It is not, I've told you in the Community Server already you should seek help with the authors of the Home Assistant Node-RED node.

#

@obtuse ginkgo You can only add it to the sidebar using an iframe, as describe in the UniFi Controller add-on documentation.

gusty night
#

anyone around to help me with the pi-hole addon issue?

#

@raven tinsel perhaps you can help?

obtuse ginkgo
#

I missed that

#

I ran the inform command from the AP and I don't see it in the devices section of the controller to adopt

raven tinsel
#

@gusty night Just ask your question, please don't tag random people.

obtuse ginkgo
#

is that because I am running the ap in standalone?

raven tinsel
#

@obtuse ginkgo I don't know how you run your AP's, so kinda hard to answer that question.

gusty night
#

question is above but ill repaste

#

need some help trying to config a pi-hole integration with homeassistant
using the pi-hole addon, pi-hole is confirmed working, i added this into my config.yaml

pi-hole

pi_hole:

  • host: localhost:4865
    name: 'Pi-hole'
    location: 'Home'
    Tue Feb 25 2020 13:13:27 GMT-0500 (Eastern Standard Time)
    Can not load data from *hole: localhost:4865
    Unable to fetch data from Pi-hole
    does it need the api key?
    also how come the integration page on the website doesnt mention anything about the sensors, but they are mentioned on the add-ons github page
gusty night
#

@raven tinsel yup, followed that to a tee. not working for some reason

raven tinsel
#

sorry m8

#

I don't have an answer for you in that case

gusty night
#

pi-hole itself is working, but when i try and add it to my configuration.yaml its giving me that error

#

i disabled ssl and verify-ssl

#

still no dice

raven tinsel
#

I should really deprecate that add-on

#

It is nothing but pain

#

AdGuard is doing a way better job on all levels

gusty night
#

lol. gotcha. well to your credit, the add-on itself works well

#

its just trying to get the integration and sensors into HA thats an issue

raven tinsel
#

I wish it was the only pain that Pi-hole brings right now

gusty night
#

so you recommend adguard instead?

obtuse ginkgo
#

pihole runs great on another machine, its kinda dumb to run it on the HA machine if you use it for your networks dns and dhcp.

gusty night
#

i dont use it for dhcp

obtuse ginkgo
#

@raven tinsel I have the AP just set up stand alone in the android app

gusty night
#

only the dns/ad-blocking stuff

obtuse ginkgo
#

I just want to take it over with the controller

gusty night
#

@obtuse ginkgo whats your unifi questions, im pretty handy with them

raven tinsel
#

@obtuse ginkgo That statement about Pi-hole you just made "dumb" is a bit condescending and really not needed.

#

@gusty night Yes, I recommend AdGuard over Pi-hole any day

gusty night
#

thanks, im gonna try that out now

obtuse ginkgo
#

okay, it's bad network design, how about that?

gusty night
#

and @raven tinsel thanks for all your hard work on everything m8

raven tinsel
#

@obtuse ginkgo Depends on your use case, I run my DNS in HA, because it is convenient to have stuff centralized. For my home network that is perfectly acceptable solution for me personally.

fast summit
#

out of curiosity what does adguard do better than pihole?

raven tinsel
#

@fast summit More blocking rules and options, more methods, better integration with HA, less "hacky" in the base.

fast summit
#

okay

obtuse ginkgo
#

do I need to reset the AP from the commandline? you'd think you could just take it over.

#
[10:50:30] INFO: Starting the UniFi Controller...
[services.d] done.
:0 TCP candidates not supported yet
:0 TCP candidates not supported yet
:0 TCP candidates not supported yet
:0 TURN channel binding 0x4000 failed
:0 webRtcId 1 connected in 0.712 seconds! This is STUN from 172.30.33.3:34577 -> 10.8.0.2:46353
:0 SSL_read permanently failed: (6) 
:0 Unable to do SSL I/O
:0 webRtcId 1 terminated with code: (-2147090409) WebRTC connection interrupted from far side
:0 TCP candidates not supported yet
:0 TCP candidates not supported yet
:0 TCP candidates not supported yet
:0 TURN channel binding 0x4000 failed
:0 webRtcId 2 connected in 0.808 seconds! This is STUN from 172.30.33.3:59354 -> 10.8.0.2:40163
#

maybe it doesn't like me trying to do it from my phone over VPN

gusty night
#

@obtuse ginkgo so technically yes, it should, but you should reset just to have it start from scratch, sometimes if you have it already setup standalone the adoption will get messed up

raven tinsel
#

@obtuse ginkgo Ok, so make sure the "previous" controller or application doesn't take over/adopt the AP's again. So remove the from the previous setup. Next, when installating the add-on, make sure you followed all the installation steps, as there are additional steps to take in the controller. Next, it might be needed to do a full reset or manually adopt the AP, for which multiple options are described in the add-on documentation.

obtuse ginkgo
#

yeah I did the:

Change the Controller Hostname/IP to match the IP or hostname of the device running Home Assistant.
Check the box Override inform host with controller hostname/IP.
#

yeah I may have to wait til I get home, even though this AP gets a dhcp reserved address

#

it says "The broadcast feature of the EDU type APs are currently not working with this add-on", I have a UAP-AC-Pro-Gen2, if that matters.

raven tinsel
#

since there is no EDU in there, it doesn't matter

obtuse ginkgo
#

under networks in the controller I turned off DHCP that shouldn't matter should it

#

it had some weird network

mint sierra
#

Hi All, I'm trying to setup Hassio as my DHCP using the DHCP server addon. I can set my router as Relay Agent and I need to assing an IP address so I figure I will need to setup Hassio with the same fixed IP. So now, my router will be on x.x.100.1 and Hassio will be on x.x.100.2. The goal is to use x.x.1.x for all clients and x.x.100.x for anything IoT related.

How do I setup the DHCP server addon to get this working?

light brook
#

Hello. Does anyone can help me with UNIFI CONTROLLER ADDON? I can't migrate from pc unified controller to add-on. Always have disconnected in device list.

#

I use add-on on my HASSio in ubuntu server docker. in Controller Hostname/IP I use my native ip ubuntu server.

#

Maybe I have something wrong connected. Internet Provider LAN to WAN in USG, USG lan1 to Lan1 in unifi switch, Ubuntu/HA server to LAN1 in Unifi switch

obtuse ginkgo
#

I wish, I can't get it to simply take control of an access point lol.

#

or even see it.

#

on the same damn subnet.

torn juniper
#

@light brook You got to reset it by holding the reset button on the AP itself, then add it from the UniFi Controller later

light brook
#

@torn juniper ok. i will try

torn juniper
#

Then it should pop up in the Controller as a new device. If you have the old Controller configuration then you can restore it, but you have to set the IP to the one of your Hass host 🙂

#

I've done that recently. If you got more questions, just mention me, and I'll be able to help you today or if not then tomorrow

obtuse ginkgo
#

Let me know if that works for you because if I reset my AP and it doesn't work it's going to suck unless I can do some Bluetooth stuff to my laptop to get my phone on the lan.

weary stratus
#

I am starting to play with HA and have reinstalled it 4 times now, getting good at it 🙂 🙂 Still at the 4th install the ESPHome addon is not able to open its web interface within HA. I have portainer to debug and would love to have a little help to understand what is the problem. Any help please?

rotund patrol
real plume
#

Hey all, I have a question about the Check Home Assistant configuration add-on - I always run it before updates, but I have to run it like 5 times before seeing the result. The thing is that it usually takes like 40 minutes, on a raspberry pi 3, which I wonder if that's another problem since the log message says it will be just a few minutes. Anyway, that's not my actual problem. What happens is, that since it a takes a while, I try to check it every 10 minutes or so, but often, it finishes and the add-on stops automatically, so the log is cleared and I can;t see the results. It feels like the result is only there for a few minutes before it clear the logs, so I end up running it a bunch of ti,mes over several hours until I can catch the result in what seems like a short window. Does the result get saved somewhere? I have searched through HA logs but can't find it. If there's no way, I am going to open a github issue to ask for the result to be saved in a file somewhere.

#

PS.: I am running hassio

#

PSS.: another thing, is this message something I should ignore, or do I need to do something about it:
WARNING: You are using pip version 19.2.2, however version 20.0.2 is available.
You should consider upgrading via the 'pip install --upgrade pip' command.

#

it's kind of maddening

rare marsh
#

is this where i would ask MQTT questions?

sly kindle
#

@real plume you can ignore that

#

@rare marsh what's the question?

rare marsh
sly kindle
#

I see it

#

you already have the broker running as an addon, the next step would be to connect HA and the broker which you would do by going to the configuration > integrations page

#

So you would not need to add that mqtt:

rare marsh
#

ok, but how do I initiate a connection to the energy bridge?

real plume
#

@sly kindle , thanks, good to know. Any ideas about the whole log situation?

sly kindle
#

@rare marsh reading through it...

#

@real plume I don't use that very often, lol. I figure "eh I've got snapshots" and always just go for it MildPanic

#

It used to be that you would then run a check config yourself. It seems to do that itself now

#
[14:12:13] INFO: Don't worry, this temporary installation is not overwriting your current one.
[14:12:13] INFO: Installing Home Assistant: 0.106.0b5...
[14:12:13] INFO: Please be patient, this might take a few minutes...
WARNING: You are using pip version 19.2.2, however version 20.0.2 is available.
You should consider upgrading via the 'pip install --upgrade pip' command.
[14:13:13] INFO: Installed Home Assistant 0.106.0b5
[14:13:13] INFO: Making a copy of your configuration for checking...
[14:13:25] INFO: Checking your configuration against this version...```
real plume
#

@sly kindle haha yea I often end up doing that too. I have been running the check config add-on since 0.96 or so and only once did it find something, and not something that would have probably truly broken anything, just a switch with some config error, porbably would have just resulted in a "entity not found" on lovelace or something

#

meh, between having snapshots and this new safe mode, screw it. Update here I come

#

thanks @sly kindle

sly kindle
real plume
#

what's the worse that could happen? robot vacuum starts chasing my infant boy around the house

#

actually, he does that himself anyway, and owns that robot haha

rare marsh
#

MQTT: Mosquitto Broker is in my integrations. When i click on it the screen just says "This integration has no devices" and there is not a way to add any

steady bobcat
#

That's a really fun game, actually. Chasing the kids with the remote in the vacuum app.

sly kindle
#

@rare marsh you would see mqtt clients which use discovery there

#

you want to add sensor: # Main meter electrical flow courtesy DTE monopoly - platform: mqtt name: "DTE Energy Bridge" state_topic: "event/metering/instantaneous_demand" unit_of_measurement: 'W' value_template: "{{ value_json.demand }}"

#

to your configuration.yaml

sinful holly
#

evenin ppl&droids, trying to install the duckdns add-on, according to the docs it is supposed to generate pem files in the /ssl directory, it doesn't ?

rare marsh
#

@sly kindle don't I need to input the IP of the bridge somewhere?

sly kindle
#

@sinful holly did you refresh the addon logs?

#

and is accept_terms: true ?

sinful holly
#

thats efter restarting ha

#

it adds another empty warning row to the log each five minutes

real plume
#

@steady bobcat I consider the robot a second baby sitter - keeps him calm and entertained if he's fussy while I am trying to make his food or something. I will prbably eventually make a fun arduino robot with lights and buttons

sinful holly
#

it does create cert and privkey files inside the container, but their names does not match the config, and that's not how the doc say it should work

weary stratus
#

Hi, i have hass.io and influxdb and grafana. Where that all data has saved ?

#

i assume that i can see that history data so long as i have capasity to keep those database files ? but where i can find those files and see how large they are ? i thing that those files aren't very large cos that data is only some text file ? or what ?

calm flint
#

anyone around to help with the Let's Encrypt addon?

mint sierra
#

Hi, i have hass.io and influxdb and grafana. Where that all data has saved ?
@weary stratus I found this: Open the InfluxDB Web UI > Dashboards (Left) > Create > Select _internal.monitor (bottom left) > select tsm1_filestore (middle) > Select diskBytes (right). You should now see a graph and the query it created. You can modify the query with a few /1024 (like: SELECT mean("diskBytes") /1024/1024) to get something readable.

#

Hi All, I'm trying to setup Hassio as my DHCP using the DHCP server addon. I can set my router as Relay Agent and I need to assing an IP address so I figure I will need to setup Hassio with the same fixed IP. So now, my router will be on x.x.100.1 and Hassio will be on x.x.100.2. The goal is to use x.x.1.x for all clients and x.x.100.x for anything IoT related.

How do I setup the DHCP server addon to get this working?
@mint sierra

calm flint
#

How can I make an addon show on the side panel if it doesn't have that setting in its config

obtuse ginkgo
#

Does anyone remember that add-on that automatically takes snapshots and copies them to another machine via SSH?

dawn moss
calm flint
#

is the lets encrypt addon supposed to stay running or just run and exit? it ran, got my certs, but always exits

calm flint
#

when setting an addon's configuration options, can you use !secret ?

worldly fulcrum
#

hey, I had https set up fine with the duckdns addon but after a few months I'm getting an expired date on the cert. The logs show that the renewal fails at challenge validation:

OKOK + Challenge validation has failed :(
ERROR: Challenge is invalid! (returned: invalid) (result: {
  "type": "dns-01",
  "status": "invalid",
  "error": {
    "type": "urn:ietf:params:acme:error:unauthorized",
    "detail": "Incorrect TXT record \"txtrecord\" found at _acme-challenge.domain.duckdns.org",
    "status": 403
  },

any idea how to fix?

worldly fulcrum
#

ah the issue in my case was I had a wildcard subdomain. I took that out, restarted the plugin, and the cert regeneration succeeded. I added the wildcard domain back in and restarted and it regened agian successfully.

obtuse ginkgo
#

for anyone else that runs into it, you MUST reset a unifi AP, and probably anything else, before you run the inform command or the controller will NEVER see it.

#

which I think is crappy, but whatever, its working now

celest belfry
#

Getting a Let's Encrypt service start failure (button goes red), not using a wildcard domain. https://i.imgur.com/hM8z2Jl.png
Tried several different ways of specifying the domain (hass01.xyz.domain.com , xyz.domain.com, domain.com, *.domain.com, probably a few others ).
Checking Chrome's developer tools, the request results in HTTP 400 "Bad Request" with response {result: "error", message: "Unknown Error, see logs"}
I've checked both the logs in Developer Tools as well as /config/home-assistant.log and there's no mention of Let's Encrypt or certificates or anything at all actually.
Tried re-installing the addon and setting it up from scratch, same issue. I've got a valid API key for sure, I'm using it on Apache and pfSense without issue.

#

Oddly enough I had this working a few months ago before an SD card died, and I still have the settings I used from the SD card (was able to recover them), and they're identical.

#

Packet capture on the network doesn't show any traffic to ACME so I'm thinking it's something internally broken

EDIT: Found the issue. Address in use. Posting troubleshooting steps for future reference. ❤️

# ( echo 'CONTAINER ID|IMAGE|STATUS|NAMES'; docker container ls --all --format '{{.ID}}|{{.Image}}|{{.Status}}|{{.Names}}' ) | column -ts'|' | grep -E 'NAMES|encr'
CONTAINER ID  IMAGE                                             STATUS         NAMES
1cc75d36e58a  homeassistant/armv7-addon-letsencrypt:4.7         Created        addon_core_letsencrypt
# docker start addon_core_letsencrypt
Error response from daemon: driver failed programming external connectivity on endpoint addon_core_letsencrypt (3db7648f53b3698901289143ef81ae1caee7260d48fb1d60755eb3c2800cc039): Error starting userland proxy: listen tcp 0.0.0.0:80: bind: address already in use
Error: failed to start containers: addon_core_letsencrypt

It was that point that I realized Emulated Hue was bound to the port Let's Encrypt was trying to use.

celest belfry
#

@calm flint - panel_iframe

panel_iframe:
  tasmoadmin:
    title: "Tasmo Admin"
    icon: mdi:robot
    url: http://192.168.14.11:9541/
#

Whatever URL you put there, it'll open in the main area next to your sidebar.

calm flint
#

@celest belfry where do I put that?

vagrant storm
#

in your configuration.yaml file.

celest belfry
calm flint
#

@celest belfry thx!

gusty night
#

hi all, anyone seeing any issues with the let's encrypt add on?

#

its not starting automatically on reboot/restart

#

isnt it supposed to always be up in order to run certbot?

sly kindle
#

@gusty night you can make an automation to start the addon at intervals

karmic acorn
#

Hi all, This morning I installed Home Assistant 0.106.0 and updated the Node-RED Add-On to 6.1.1. Since then I'm getting Login attempt or request with invalid authentication from 172.30.32.2 errors and Node-RED is unable to connect to Home Assistant. Is this a known issue?

#

I'm seeing these kind of errors in my Supervisor log:
20-02-27 19:16:51 INFO (MainThread) [hassio.homeassistant] Updated Home Assistant API token
20-02-27 19:16:51 ERROR (MainThread) [hassio.homeassistant] Can't update Home Assistant access token!
20-02-27 19:16:51 ERROR (MainThread) [hassio.auth] Can't request auth on Home Assistant!

sinful holly
#

hey, still no luck on getting duckdns addon working, and checking videos on the tube makes me wonder if something is broken, my log does not look like in this video for example : https://youtu.be/VUTPAoB27iQ?t=186

orchid obsidian
#

Hello I'm triaing to config samba on samba share and doesn't work I don't know what is the problem?
Thnaks

sinful holly
#

is anything working? any logs or error mesasges?

cosmic sky
#

I've just transferred from HassOS to Ubuntu on a NUC and wonder if it is possible to ssh into the "SSH & Web Terminal" add-on from the outside?

sinful holly
#

everything is possible, but what is it you are trying to do?

cosmic sky
#

I would like to get into the Web Terminal

#

I can ssh into my nuc and then make changes in the host OS'es file system

#

but I prefer to leave that alone.

sinful holly
#

well, the ssh AND web terminal is a ssh server, you should be able to connect using any ssh client of choice

gusty night
#

@sly kindle thanks@

#

!

cosmic sky
#

@sinful holly, but how do I figure out it's IP?

#

I can ProxyJump through the NUC's OS I think, but then I need to get into the container.

sinful holly
#

it is the same ip as HA

#

so whatever you use in your browser to HA, ssh should use the same

celest belfry
#

If you're trying to open a bash inside a container, do this from your host OS: docker exec -it <imagename> /bin/bash

#

where <imagename> (without carets) is the name of the Docker image, e.g. homeassistant
If you need to see what the image name is, do either docker ps (unformatted, sometimes too wide)
or you can use (it's a lot to type, but just copy and paste it) ( echo 'CONTAINER ID|IMAGE|STATUS|NAMES'; docker ps --format '{{.ID}}|{{.Image}}|{{.Status}}|{{.Names}}' ) | column -ts'|'\n

night rampart
#

I keep getting this in my supervisor logs
WARNING (MainThread) [hassio.store.data] Can't read /data/addons/git/64f57845/magic_mirror/config.json: required key not provided @ data['arch']. Got None

I don't have magic mirror and I only have three repositories:
https://home-assistant.io/addons
https://github.com/esphome/hassio
https://addons.community/

I did see a bug report that this was caused by a third party repository but as far as I can tell all mine are pukka.

sinful holly
#

which add-ons do you have installed?

cosmic sky
#

@sinful holly, I have an ssh server on my NUC's host OS too

celest belfry
#

@cosmic sky ip a to see your ip addresses. look for the one that has inet in the line.

night rampart
#

@sinful holly AppDaemon3, Check Home Assistant Configuration, ESPHome, File Editor, Let's Encrypt, Node-Red, Terminal & SSH

sinful holly
#

@cosmic sky it shoulndt be complicated, what ever adress you are usign in your browser is the same you should use in your ssh client, and the port to use is in the addon config

#

@night rampart I'd suggest look through the addon configs one after another to see if everything looks ok. compare with the current documentation (I just noticed a few of my add-ons have updated the docs and my old configs was causing error in the syslog).

#

I didnt have any weird ones like yours though 🙂

cosmic sky
#

Thanks! I get it now, I just need to make sure I assign a different port in my add-on.

sinful holly
#

yea

#

i think 22 is the default

night rampart
#

@sinful holly but it's saying there is an issue with magic_mirror, I don't have that, don't know what it is and all my add-ins are running fine.

sinful holly
#

what do you have on the rows before that error in the log?

#

that might be an indicator?

night rampart
#

@valid root
20-02-27 19:46:57 INFO (MainThread) [hassio.homeassistant] Updated Home Assistant API token
20-02-27 20:05:47 INFO (MainThread) [hassio.updater] Fetch update data from https://version.home-assistant.io/stable.json
20-02-27 20:05:47 INFO (MainThread) [hassio.store.git] Update add-on https://github.com/sytone/hassio-addons repository
20-02-27 20:05:47 INFO (MainThread) [hassio.store.git] Update add-on https://github.com/home-assistant/hassio-addons repository
20-02-27 20:05:47 INFO (MainThread) [hassio.store.git] Update add-on https://github.com/hassio-addons/repository repository
20-02-27 20:05:47 INFO (MainThread) [hassio.store.git] Update add-on https://github.com/esphome/hassio repository
20-02-27 20:05:49 WARNING (MainThread) [hassio.store.data] Can't read /data/addons/git/64f57845/magic_mirror/config.json: required key not provided @ data['arch']. Got None
20-02-27 20:05:49 INFO (MainThread) [hassio.store] Load add-ons from store: 66 all - 0 new - 0 remove
20-02-27 20:17:00 INFO (MainThread) [hassio.homeassistant] Updated Home Assistant API token

#

Last one is ESPHome, is that broken?

sinful holly
#

well, then everyone should get that error? or?

#

my HA only lists 64 addons, not 66

#

I think this is over my head 🙂

night rampart
#

I wonder if there is a way of refreshing the repository list/database/whatever-it-is-that-holds-this-stuff

sinful holly
#

that is what it is doing there in that part of the log

gaunt flower
night rampart
#

But if I look at the config.json in the git repository it has the missing data so it suggests to me that my local copy is corrupted. Can I remove the repository without losing my add-ins and all my data?

sinful holly
#

the sytone one seems to be only for magic mirror? do you use it for anyting else?

#

if not try removing that one

night rampart
#

I don't use magic mirror but it seems to be part of the addons.community which I do use as it has Node-Red and I don't want to lose my automations.

sinful holly
#

browsing the sytone git I can only see magic mirror there

night rampart
#

What's sytone?

gleaming steppe
#

The "Terminal & SSH" (core) and "SSH & Web Terminal" (frenck) are both coming up with just a black screen. No prompt. Any ideas?

sinful holly
#

@gleaming steppe, the add-on log should tell you what is wrong

night rampart
#

WTF? That doesn't even show up in the GUI as an installed repository!

gleaming steppe
#

Nothing, it's coming up just fine. Just nothing showing up when I try to open the WebUI. Almost looks like the CSS is jacked up because inspecting the element shows that it's presenting the HTML for an xterm terminal.

night rampart
gleaming steppe
#

Oh shit. My adblocker was blocking something.

#

Well that's interesting.

#

ಠ_ಠ

sinful holly
#

this old dude needs to go pee, you younglings will have to make do without

gleaming steppe
#

Thanks for the update, lol

strong dagger
#

guys, I updated to 106.0 and the SSh addon doesn't work anymore from putty
from within the HA panel works fine
any idea why?
Network error: Network is unreachable

night rampart
#

@strong dagger Enter a port in in the network config section of the addin

dense spadeBOT
#

@night rampart Your message has been deleted as it contains a link or a domain name 'pasteboard_dot_co' that is on the blocked list because of: 'Virus detected!'.
Please re-post by removing/changing the domain name/link. Your original message has been DM'ed to you.

strong dagger
#

@night rampart I do have port 22 setup as before

sly kindle
#

@strong dagger in the add-on network config

urban urchin
#

been trying to configure a hadashboard with appdaemon but im stuck. Im trying to change the skin and that's all good. But i cannot get the background image to show.

#

I've got this atm:
background-image: url(/custom_css/img/tablet_background2.jpg);
and that does not work

verified by trying this url: http://192...***:5050/custom_css/img/tablet_background2.jpg

#

haha fail

#

found the issue

#

had forgotten a folder in the stucture 😛

obtuse ginkgo
#

Is anyone using the UniFi Gateway addon in through HACS? Is it useful at all if you just have wireless APs and the controller addon?

weary stratus
#

Hello, I do not know myself well but I wanted to be able to download a letsencrypt certificate with dns control but in the configuration in hassio letsecrypt my dns distributor is not in the list of supported
this is joker.com
I found instructions on their site but I don't know how to add it to hassio

https://joker.com/faq/content/6/496/en/let_s-encrypt-support.html

please can anyone help me

teal lotus
#

you don't need to use the DNS challenge, you can use the HTTP challenge

#

the DNS challenge is just nice because you don't have to open port 80 on your router

#

or sign up for a free account at one of the supported DNS providers and use that for your website's DNS

weary stratus
#

and do you have to change something in dns with every renewal of the certificate?

teal lotus
#

no

#

you just give the addon some credentials from the DNS provider (api key and/or account name usually)

weary stratus
#

joker.com no have a api
they write to change the dns setting you need

#

and I don't know how to configure it in the lets'encrypt in hassio

teal lotus
#

sign up for a free account at cloudflare or one of the other supported DNS providers, then point your joker.com domain's nameservers to the DNS provider

#

then use the api key from the DNS provider with the let's encrypt addon

weary stratus
#

ok I thought without intermediaries I can do it directly with the joker, com because I will change everything there manually

#

it's a shame I thought someone could add this rule to add letsecrypt in hassio

teal lotus
#

open a feature request

#

right now your choices are use the HTTP challenge and open port 80 on your router, or sign up for a free account at one of the supported DNS providers and point your domain's nameservers to that

weary stratus
#

ok how do I open a function request where to report it

weary stratus
#

ok thanks

trail gazelle
#

Hi there ! I have some problems since last DeconZ update. Most of my Zigbee device state are "unavailable" but still reports correct values (Motion detected, door openned,...)

raven tinsel
#

@trail gazelle Have you upgraded the Home Assistant Core to 0.106.1 already?

obtuse ginkgo
#

is that the fix to the broken 106 update? lol.

trail gazelle
#

@raven tinsel nope

#

I was think it may be better to solve this before adding other factors to the problem.

raven tinsel
#

there is a fix in 0.106.1 regarding sensors in deconz

trail gazelle
#

Nice, will try. Thank you.

obtuse ginkgo
#

nice

reef hearth
#

not sure if this is the correct place to post this, but since it is related to the zwave2mqtt addon, posting this here:

#

after updating to the latest version of zwave2mqtt, my Zwave.me UZB1 stick is no longer recognized by its name. Instead, I see "Unknown: type=0400, id=0001 (Unknown: id=0115)". Anybody else facing similar issues?

trail gazelle
#

It is the same after the update and a reboot :/

mighty grail
#

Hello! Could someone please help me with some proxy/networking problems? I don’t know if it’s ok to post here but i can’t seem to find a solution and i thought u guys might help me. Some time ago i watched a Dr. Zzz’s video where i learnt how to install caddy to use https certificates with my domain. I just followed his tutorial and everything works fine except when i restart Home Assistant server i can’t acces the dashboard anymore. The only message i get is 502 Bad gateway, the cause could be the Caddy add-on but i don’t know how to check. I always fix this by unplugging the pi and plugging it back in but maybe you guys know another solution so i don’t brick my device. I will also attach a photo of the console of the pi, maybe you guys understand if the writings are related to my problem. Thank you all for reading my message hope someone can help me

mighty grail
#

UPDATE: funny thing, i just updated Hassio and now i can’t acces it even by rebooting 😂 haha guess i’m stuck

sinful holly
#

can you access it usign your local ip adress?

mighty grail
#

last time i tried it it didnt work

#

i’m not at home now but i’ll ask someone to check

#

you mean hassio.local:8123 @sinful holly right?

sinful holly
#

no i mean the ip address, like 192.168.1.36

#

but you can try hassio.local first if that has worked before

mighty grail
#

it doesn’t work 😦 @sinful holly

sinful holly
#

any error messages?

mighty grail
#

it just can’t connect to the server

#

no post

#

guess the only thing i have now is the video output

sinful holly
#

do you have ssh ?

mighty grail
#

i can’t even remember if i have an ssh server

#

oh God i did it again

#

😂

sinful holly
#

ok, lets try the basics first, is it possible to ping HA from another pc on the local network?

#

just to make sure it is actually there

mighty grail
#

i see it on my router so it must be 8 hassio XX:XX:XX:XX:XX:XX 192.168.X.XX Permanent

#

oh man i always get locked out of my things

#

502 Bad Gateway @sinful holly

sinful holly
#

so, is it possible to ping HA from another pc on the local network?

mighty grail
#

i’ll try mirroring my home pc and try from there

#

Damn life without HA is hard, forgot i can’t turn on my home pc because i used to do it trough HA

sinful holly
#

i think you are in trouble 😉

mighty grail
#

@sinful holly i discovered that i have the TasmoAdmin port open and decided to try it.. i can connect to it

#

so the machine works

sinful holly
#

cool 🙂

#

so not completely broken at least 😄

mighty grail
#

😢 why do i never save snapshots? whyyy

sinful holly
#

not sure, it is very very easy

#

and with the google drive addon you always have a secure copy

#

so you really should

#

but question is what did you do to break access to the frontend?

mighty grail
#

i needed to have a secure https certificate to connect Google home to my hassio and the only way i managed to add https was trough the Caddy add-on

#

and i noticed that since i installed that add-on it started throwing me that 502 error

sinful holly
#

the cloud is way easier though

#

but what is the caddy addon? I dont see it in the addon store?

mighty grail
sinful holly
#

a, its a proxy

#

it is quite difficult to figure out what went wrong without access to logs though 😦

trail gazelle
#

Ok, some update on the deconz problem I have. Every zigbee devices are working fine now. But only for zigbee devices the history state is "unavailable".

sinful holly
#

only zigbee or are other things also have no history?

#

that was some seriously broken grammar just there

#

sorry bout that 🙂

trail gazelle
#

Only zigbee devices.

#

The other stuff are working normaly (state, history,..).

sinful holly
#

ok, i installed 106.1 about an hour ago and i have history both before and after

trail gazelle
#

can it be a corrupted db ?

sinful holly
#

do you get history if you toggle stuff now?

trail gazelle
#

no

#

not for zigbee devices, for the others yes.

sinful holly
#

it is always possible, but i would assume it would affect other things

trail gazelle
#

It logicaly should.

sinful holly
#

agreed

#

it easy to test though if you dont have any history you want to keep

trail gazelle
#

I don't use history in my automations for now.

sinful holly
#

you can enable debug logs for deconz to see what it does if you havent already

trail gazelle
#

I just need to rename the db to .old or something like this and reboot right?

#

I will test the debug log first

sinful holly
#

soemthing like this is what I have :

added to debug logg deconz

logger:
default: info
logs:
pydeconz: debug
homeassistant.components.deconz: debug

#

In configuration.yaml

mighty grail
#

i miss editing configuration.yaml

#

r.i.p. my hassio install

trail gazelle
#

ooow sorry 😦 it looks like the other component history is also deficient but not in the same way...

#

all the non Zigbee device has history "inactive" and it does not record new states.

#

how can I rebuild a new db ?

sinful holly
#

ha does that by itself

trail gazelle
#

how ?

sinful holly
#

if there isnt one it creates one

trail gazelle
#

I can't see any db file. Is it somewhere else ?

sinful holly
#

you have it filter on yaml files only would be my guess, because you do not see the log either

trail gazelle
#

I see .log

sinful holly
#

ah right, my bad

trail gazelle
#

and .conf

sinful holly
#

try the refresh icon you see if you place the mouse pointer over the "CONFIG" row

trail gazelle
#

no changes

sinful holly
#

odd

trail gazelle
#

yes

sinful holly
#

have you setup recorder?

#

or disabled it

trail gazelle
#

No sure to see what you are talking about.

sinful holly
#

the recorder integration makes it possible to control what goes into the db, and how long it stays there

#

but I don't think we are on topic for this channel any more

trail gazelle
#

yes right

#

installation channel ? or other ?

sinful holly
trail gazelle
#

I am running it on a intel nuc via docker

sinful holly
#

but as long as none kicks us out ...

trail gazelle
#

well in my config I have nothing related to recorder

sinful holly
#

then it should record most things and keep it what ever is default

#

so you should have a db

trail gazelle
#

mmm interesting... I tried drag and drop the old db form a previous backup and VScode told me there is already a file with this name.

#

But I cannot see it !

sinful holly
#

sounds like its time to reboot

trail gazelle
#

it is rebooting.

sinful holly
trail gazelle
#

it has rebooted and it still not working. Should I move to #672217570283094017 or can we continue here ?

sinful holly
#

well, I am all out of ideas atm

#

nothing useful in the logs at all?

trail gazelle
#

database disk image is malformed

#

Sounds like the db is defective. But how can I delete it if I cannot see it ?

sinful holly
#

i use samba 🙂 but terminal or ssh will do just fine

trail gazelle
#

I have shh opened but I am not very skilled with commands

sinful holly
#

btw, in the vscode editor you have a terminal at the bottom, what happens if you do ls -ls there?

trail gazelle
#

cannot type anything in it...

sinful holly
#

click on the word terminal and it should switch to that tab, then it should work to type

trail gazelle
#

command not found

sinful holly
#

for ls

trail gazelle
sinful holly
#

so you have a db file

trail gazelle
#

yes it look like.

#

can I delete it form this terminal ?

sinful holly
#

i think so , rm home-assistant_v2.db

trail gazelle
#

(or at least rename it to .oldcrap...)

sinful holly
#

rm for remove

#

or mv for move (wich is linuxie for rename)

trail gazelle
#

I should make me a cheat sheet with all this commands...

#

I deleted it. and the system is rebooting right now.

sinful holly
#

yes, you really should start writing notes 🙂

#

.. I keep saying to myself 😄

trail gazelle
#

well it has rebooted and every device "has no history"

sinful holly
#

that was expected

#

question is, will it now generate some

trail gazelle
#

yes it does ! woohoo !

sinful holly
#

😄

#

it took a while, but we got there in the end

trail gazelle
sinful holly
#

now, you really need to pay attention to those logs, if it starts to complain again it means you might have issues with the filesystem, or the hardware

#

so backup while you can, and keep backing up 😉

trail gazelle
sinful holly
#

me2

trail gazelle
#

damn ! not so secret 😉 Thank you very much for your time and help. Sorry that I don't have skills to help you with duckdns.

#

Have a nice movie, I am going too, Altered Carbon season 2 is waiting me 😋

sinful holly
#

ant watch that yet, I have to wait for my gf to get back home,

trail gazelle
#

Nice your girlfriend want to watch it, I should wait that mine goes out to watch it.

sinful holly
#

lol

trail gazelle
#

Have a nice evening (depending on your current location) bye !

sinful holly
#

cya

young herald
#

Hi. I have a question to the Samba Add-on. How to make the shares writeable? Thanks.

raven tinsel
#

All files are writable

#

there is no option to toggle tgat

sinful holly
#

any ideas as to why I can't get duckdns addon working? or how to go about figuring it out?

sly kindle
#

@sinful holly You fill out the config. You start the addon. You watch the addons logs. If everything is OK there, you add the http: configuration and restart.

sinful holly
sly kindle
#

I would uninstall it and re-install

sinful holly
#

i did that too

#

same result

sly kindle
#

or are you refreshing the logs...does it ever stop showing "WARNING:"

sinful holly
#

no, it never stop that, it adds a new one every 300 sec

#

and it never generates the keys

sly kindle
#

might start over with a new domain and token

#

@sinful holly you don't have both the duckdns addon AND the letsencrypt addon do you?

sinful holly
#

nope, only the duckdns

sly kindle
#

ok just checking

sinful holly
#

it dosen't state in the docs, but I assumed i was only supposed to use one of them

sly kindle
#

just the one, yes

sinful holly
#

I have looked around inside the container but I can't see any logs there either

#

and WARNING: isnt really helpful 🙂

sly kindle
sinful holly
#

well, at least we know it still works 🙂

#

mine does not though, tried a new account and new domain/token but no change

#

I am looking in the router firewall logs but I have nothing blocked from or to my HA ip so it is not that

#

but I see in your log as line three you have [13:30:47] INFO: OK while I have [21:31:42] WARNING:

#

hmm, maybe an ide, dunno if I am breaking it or not, bbl

sly kindle
#

@sinful holly maybe you need to add ipv4 or ipv6?

sinful holly
#

somewhere something is blocking

celest belfry
#

Posting this here for posterity, in case anyone experiences this going forward.

If you want to force the Let's Encrypt addon to generate brand new certificates (or to simply add another subjectAlternateName to your certificate), it's a bit of a pain as the Home Assistant implementation of Certbot (or whatever it's using) either doesn't extend a previously requested certificate, or doesn't pay attention to the fact that you've changed the addon's settings. I'm looking more into it.

Long story short I had to: (if anyone has this issue going forward perhaps it might be of help)

  • Log into my Ras Pi (no issue, I've got 22222 enabled with a pubkey and such)
  • Delete everything inside the addon's directory - rm /mnt/data/supervisor/addons/data/core_letsencrypt/*
  • Restart the addon to get a new certificate - docker start addon_core_letsencrypt
  • Restart HASS to use the new certificate - docker restart homeassistant

More info: https://discordapp.com/channels/330944238910963714/330944238910963714/683058583692509184

sinful holly
#

ok, figured it out.

#

fk

#

firewall IS blocking, just that some of the rules doesn have logging enabled 😛

#

port 53 needs to be open

#

from the inside

sinful holly
#

tiny pr sent

autumn flume
#

anyone know if dnscrypt is available on hassio

obtuse ginkgo
#

well you have to point your dns server at a dnscrypt dns server so I don't get the question

#

if you install the pihole addin you could point it at dnscrypt servers

surreal crest
#

i have HA running on my NUC and recently installed the Visual Studio Code addon. It works brilliantly but always gives me this error code-server is being accessed over an insecure domain. Some functionality may not work as expected. how can i fix this?

raven tinsel
#

@surreal crest By using HTTPS

olive notch
#

Hey, I am having troubles getting into home assistant via ssh. I set up a DuckDNS custom Domain (https://myname.duckdns.org:8123 shows my Home Assistant in the Browser)

If I try to SSH into it I get the following:

ssh: connect to host myname.duckdns.org port 22: No route to host
[pascal@Pascals-Air ~] ssh root@myname.duckdns.org -p 8123
ssh_exchange_identification: Connection closed by remote host

I have the "Terminal & SSH" addon installed, configured (added my key) and running - I was able to ssh root@hassio.local before I added the DuckDNS

raven tinsel
#

@olive notch Make sure you have a port assigned to the SSH add-on. Go to the add-on settings page in the supervisor and check that port 22 is assigned in the Network section.

autumn flume
#

@raven tinsel Is there a dnscrypt or unbound addon for hassio? If not is there a way to convert a docker image to a hassio addon?

dense spadeBOT
thorn fractal
#

When "home panel" loads for me, I get the following error: [11:13:42] ERROR: Got unexpected response from the API: Can't use discovery!
How do I get a bit more information about the unexpected response??

thorn fractal
#

I have the "Mosquitto Broker" addon installed. Under "configuration" and "Integrations" I see two MQTT "brokers" (I presume) - one that says MQTT: Mosquitto Broker and one that says MQTT: <hostname> - Both show no "devices". Which one is in use?

raven tinsel
#

@thorn fractal that unexpected response is expected. It is a preparation for an integration in HA, which isn't released yet.

thorn fractal
#

@raven tinsel Ahhhh - that explains it. I've been looking for the configuration that sets the home assistant "url" so it will automatically make the connection. Couldn't find it :D

thin canyon
#

Hello, I am using HA & Deconz plugin with my raspbee on a tinker board and Deconz's gateway page failed to load. There is a couple of 404 errors safari console such as https://<hassioip>/api/hassio_ingress/FirvRmOXSRcNcyZlHxr0BUmmgkOxjZZgn2Hs5M61SGA/pwa/developer.js

weary stratus
#

Does hassio now come with mqtt broker included? I remember we had to get the mqtt add-on but that is not needed anymore, right?

autumn flume
#

anyone having issues with smb?

#

Cant get it to start

olive notch
#

@olive notch Make sure you have a port assigned to the SSH add-on. Go to the add-on settings page in the supervisor and check that port 22 is assigned in the Network section.
@raven tinsel thanks for your answer 🙂 here's what the settings look like: https://i.postimg.cc/kGqgkL1m/Screenshot-2020-02-29-at-22-03-43.png - I tried to add my dyndsn URL as the "Host" but its not saving (as it is disabled)

raven tinsel
#

@olive notch

olive notch
#

@raven tinsel thank you so much!! That was it!

weary stratus
#

Hi
How to manage cozytouch on Lovelace ?
Thanks

bright sleet
#

Can Someone tell me the directory for the config files from plugins like deconz (want to edit it via Editor, not plugin page)

exotic rampart
#

someone here also facing issues with latest mqtt addon: Connect failed: AMQJS0007E Socket error:undefined.

#

hi @weary stratus .. what u mean using in lovelace?

#

it's a climate component

#

@bright sleet normally in data folder

sly pagoda
#

how can I find the addon name for using hassio.addon_restart ?

celest belfry
#

Check the notes at the bottom.

Restart a Hass.io docker add-on.
Parameter    Description           Example
addon        The add-on slug.      core_ssh

If you look at your addons (in Supervisor), click on the one you want the slug for and it'll be the last part of the URL. Examples:

Slug                Addon
-----------------------------------------
core_configurator   File editor
core_mosquitto      Mosquitto Broker
a0d7b954_nodered    Node-RED
core_samba          Samba share
a0d7b954_sonweb     TasmoAdmin
narrow hull
#

Hi everyone! Is there any way to open "Home Panel" addon in a separate tab? Not inside HA interface?

celest belfry
#

Looks like you can specify a port it should be running on, have you tried that?

#

From there, http://<your_hass_hostname_or_ipaddress>:<port>/ or if you use SSL, change http to https

narrow hull
#

From there, http://<your_hass_hostname_or_ipaddress>:<port>/
@celest belfry as i know, home panel accessible on 8234 port by default. But It doesn't work in my case... But work fine when i press "open web UI" button, but inside HA interface

celest belfry
#

Hass is 8123. Home Panel is 80 by default. You need to choose a different port for Home Panel. If you have Emulated Hue running, it's probably running on port 80. Need to choose one that's not in use.

#

I just tried 8888 for example and it worked here. Just pick a random one 🙂

narrow hull
#

80 doesn't work too. Let's try change port...

#

No luck...

celest belfry
#

What's the error? (Check in Developer Tools -> Logs and Supervisor -> System)

narrow hull
#

No errors

celest belfry
#

are you using certificates? by default it has ssl: true on the addon config. If not, try making that ssl: false and see what happens?

narrow hull
#

Home Panel work fine, but only inside Home Assistant UI.

celest belfry
#

hmm.

narrow hull
#

Bingo! I hardcoded port number in a Network settings of the addon. And now it works

#

Thank you @celest belfry for ideas!

celest belfry
#

🙂 That's what I was meaning for you to try

narrow hull
#

🙂 That's what I was meaning for you to try
@celest belfry Yeah, I tried to list port in "Config" before... it was my fail)))

obtuse ginkgo
#

what's the lowest memory_max: 512 people have gotten away with on the unifi controller add-in?

#

mine was 2 gig by default, I'm at 512 now and it seems to run fine

bright sleet
#

@bright sleet normally in data folder
@exotic rampart couldnt find it

#

If I save my config in deconz plugin like this:

#
vnc_password: ''``` and save it it makes this out of it ```device: >-
  /dev/serial/by-id/usb-dresden_elektronik_ingenieurtechnik_GmbH_ConBee_II_DE1963250-if00
vnc_password: ''```
#

If I try to start the plugin nothing happens, everything worked fine until I updated HA yesterday. any ideas?

#

also i get home assistant error log
Error connecting to deCONZ gateway at 172.30.33.1 and after that Config entry for deconz not ready yet. Retrying in 80 seconds.

#

uninstalling and installing the addon again (also restart of HA) didnt help

bright sleet
#

too early in the morning for that? 😉

faint tulip
#

Those of you using the VSCode addon : have you noticed the spamstorm that goes on in your host's syslog when HA restarts ?
In the 25 seconds that my HA takes to restart, syslog has to swallow 10705 lines of INFO loglevel regarding the vscode container.

bright sleet
#

no ideas whay home assistant is changing my config and why i cant start the addon?

azure bronze
#

guys

#

since the latest updates I'm not able to login to SSH with an external ssh client anymore

#

nothing changed in my config

#

what can it be?

#

this is the log

#

I see no errors

night rampart
#

So I was having trouble with an error in the supervisor logs saying that magic_mirror was broken. I don't have magic_mirror, never have. It had a repository number of 64f57845

I managed to log into the backend via 22222 and deleted the directory /mnt/data/supervisor/addons/git/64f57845

Looking at the GUI a repository then appeared that wasn't there before. I deleted it and now the error has gone. It seems to have fixed another issue that was preventing HA from starting the GUI after a restart, I'd nearly always have to do a hardware restart to get this back.

faint tulip
#

@azure bronze yea, what he said... but beware that with using port 22, you will most likely lose SSH to the host.

#

i've set it to 8222. That way I can reach the host on 22, and SSH into HA on port 8222.

azure bronze
#

@faint tulip ok thanks