this post was submitted on 21 Aug 2023
3 points (100.0% liked)

Aotearoa / New Zealand

39 readers
1 users here now

Kia ora and welcome to !newzealand, a place to share and discuss anything about Aotearoa in general

Rules:

FAQ ~ NZ Community List ~ Join Matrix chatroom

 

Banner image by Bernard Spragg

Got an idea for next month's banner?

founded 1 year ago
MODERATORS
 

Welcome to today’s daily kōrero!

Anyone can make the thread, first in first served. If you are here on a day and there’s no daily thread, feel free to create it!

Anyway, it’s just a chance to talk about your day, what you have planned, what you have done, etc.

So, how’s it going?

you are viewing a single comment's thread
view the rest of the comments
[–] sylverstream@lemmy.nz 2 points 1 year ago (1 children)

What device have you installed it on? I've got it on a Raspberry Pi4; I had to reboot it before it showed up. It should show up automatically in Home Assistant, otherwise something is not right.

[–] Dave@lemmy.nz 1 points 1 year ago (2 children)

I'm also using a Raspberry Pi 4. I've rebooted and still nothing. I'm running the linuxserver.io docker container, if that helps.

[–] sylverstream@lemmy.nz 2 points 1 year ago (1 children)

I'm running the official HA docker image, perhaps that could be the difference? https://www.home-assistant.io/installation/raspberrypi#docker-compose

On the host, if you run lsusb it will display all connected devices. I'm pretty sure it should show up as "Silicon Labs CP210x UART Bridge" Perhaps also try a different USB port, and don't forget to use the extension cable.

Finally, it could be that the device is bricked, I've seen a couple of mentions of that on the internet. Seeedstudio is a respectable shop so should resolve that.

[–] Dave@lemmy.nz 2 points 1 year ago

Cheers, looks like it's showing up fine with that command so must be an issue with the privileges or image. I'm currently rebuilding using the official docker image/docker compose.

[–] sylverstream@lemmy.nz 2 points 1 year ago* (last edited 1 year ago) (1 children)

I just checked the docker-compose from linuxserver and they don't have "privileged: true" which could be the issue.

While linuxserver is awesome, I use it for all other stuff, I'd recommend to go for the HA official docker compose.

[–] Dave@lemmy.nz 1 points 1 year ago* (last edited 1 year ago) (1 children)

Thanks! Updating to the official HA image and docker-compose seems to have worked (like you mentioned, it was probably the "priviledged: true" missing that was causing the issue.

I've just worked out how to add the sensor, and it seems to be working! Although the button is not working very well. I popped the cover off and it seems the button is not attached properly to the circuit board, I managed to use a screwdriver to get it into pairing mode but I'm gonna try to get a replacement one.

[–] sylverstream@lemmy.nz 2 points 1 year ago (1 children)

Awesome, glad that it's working. Please add mains powered devices to increase range and stability. I've got these smart switches which are awesome.

https://a.aliexpress.com/_mMg26em

Good luck

[–] Dave@lemmy.nz 1 points 1 year ago (1 children)

Bought one of those as well! You previously mentioned them so I got one.

With the humidity sensor, it reports the last update was almost an hour ago. Does that mean it's no longer connected? I can't seem to see any indicator in HA as to whether something is currently connected or not.

[–] sylverstream@lemmy.nz 2 points 1 year ago (1 children)

In HA if you go to the device, there's an option Zigbee info which shows latest seen.

If humidity doesn't change it won't update it, to save battery, at least that's how I understand it.

At the start I've struggled a lot with devices that became unresponsive. Adding a bunch of mains powered devices solved that.

[–] Dave@lemmy.nz 1 points 1 year ago (1 children)

Thanks, I'll keep an eye on it. It's literally sitting right next to the Skyconnect dongle so shouldn't be a range problem. I'm pretty sure the temperature would have changed so I'll try re-pairing and see if that helps.

If it goes out of range then back in, does it automatically reconnect? And do you know if the button on the humidity sensor does anything other than holding it in for 5 seconds puts it in pairing mode? Wondering if you press it briefly does it turn it off or reset the connection or anything.

[–] sylverstream@lemmy.nz 2 points 1 year ago (1 children)

So... Zigbee should be self correcting / fixing. But I've had sensors become unresponsive and had to re Add them to ZHA. Don't have to delete them first.

The button wakes up the sensor if pressed briefly, something you should do when you click reconfigure. I've never had luck with reconfigure though.

[–] Dave@lemmy.nz 2 points 1 year ago (1 children)

Thanks, that's helpful! I've readded and it seems to be working now. Humidity went from 48% at 20C to 65% at 20C in an hour or two, presumably from cooking dinner.

[–] sylverstream@lemmy.nz 2 points 1 year ago (1 children)

Great that it's working! Enjoy :) And yes it's interesting to see the charts.

[–] Dave@lemmy.nz 2 points 1 year ago (1 children)
[–] sylverstream@lemmy.nz 2 points 1 year ago

Glad to help! Any questions, just ask :)