home assistant
Discussion
RizzoTheRat said:
That's more or less what I used to do, but the problem of just using the relative humidity percentage is on a really humid day the background humidity level in the house can be higher than the threshold I've set the fans to turn off at (I live by the coast).
My current setup turns the fans on when the bathroom is 4g/m3 higher than the stairs, and off again when it drops below 2. This seems to work a lot better apart from the slight inaccuracy between the two sensors which means I have to set the trigger a bit higher than I would otherwise.
My initial thought is just do an offset to calibrate one sensor to the other every so often, but I could potentially do it automatically at a time when I'm confident the bathroom should be about the same humidity as the rest of the house.
That blueprint works fine - it uses a derivative (change in humidity) My current setup turns the fans on when the bathroom is 4g/m3 higher than the stairs, and off again when it drops below 2. This seems to work a lot better apart from the slight inaccuracy between the two sensors which means I have to set the trigger a bit higher than I would otherwise.
My initial thought is just do an offset to calibrate one sensor to the other every so often, but I could potentially do it automatically at a time when I'm confident the bathroom should be about the same humidity as the rest of the house.
We are 300 yds from the sea
RizzoTheRat said:
That's more or less what I used to do, but the problem of just using the relative humidity percentage is on a really humid day the background humidity level in the house can be higher than the threshold I've set the fans to turn off at (I live by the coast).
My current setup turns the fans on when the bathroom is 4g/m3 higher than the stairs, and off again when it drops below 2. This seems to work a lot better apart from the slight inaccuracy between the two sensors which means I have to set the trigger a bit higher than I would otherwise.
My initial thought is just do an offset to calibrate one sensor to the other every so often, but I could potentially do it automatically at a time when I'm confident the bathroom should be about the same humidity as the rest of the house.
Why not just calibrate the device? If it's the ZigBee ones it has an option for it and I'd guess they all doMy current setup turns the fans on when the bathroom is 4g/m3 higher than the stairs, and off again when it drops below 2. This seems to work a lot better apart from the slight inaccuracy between the two sensors which means I have to set the trigger a bit higher than I would otherwise.
My initial thought is just do an offset to calibrate one sensor to the other every so often, but I could potentially do it automatically at a time when I'm confident the bathroom should be about the same humidity as the rest of the house.
Trustmeimadoctor said:
RizzoTheRat said:
That's more or less what I used to do, but the problem of just using the relative humidity percentage is on a really humid day the background humidity level in the house can be higher than the threshold I've set the fans to turn off at (I live by the coast).
My current setup turns the fans on when the bathroom is 4g/m3 higher than the stairs, and off again when it drops below 2. This seems to work a lot better apart from the slight inaccuracy between the two sensors which means I have to set the trigger a bit higher than I would otherwise.
My initial thought is just do an offset to calibrate one sensor to the other every so often, but I could potentially do it automatically at a time when I'm confident the bathroom should be about the same humidity as the rest of the house.
Why not just calibrate the device? If it's the ZigBee ones it has an option for it and I'd guess they all doMy current setup turns the fans on when the bathroom is 4g/m3 higher than the stairs, and off again when it drops below 2. This seems to work a lot better apart from the slight inaccuracy between the two sensors which means I have to set the trigger a bit higher than I would otherwise.
My initial thought is just do an offset to calibrate one sensor to the other every so often, but I could potentially do it automatically at a time when I'm confident the bathroom should be about the same humidity as the rest of the house.
Trustmeimadoctor said:
Why not just calibrate the device? If it's the ZigBee ones it has an option for it and I'd guess they all do
That's effectively what I'm trying to do, but hadn't realised there was a built in way to do it. I'm using Sonoff SNZB-02's with Z2M, and looking at the compatibility table it does have a "humidity_calibration" value, but how do I use it?https://www.zigbee2mqtt.io/devices/SNZB-02.html
dmsims said:
That blueprint works fine - it uses a derivative (change in humidity)
I failed to spot is the was the derivative, as it mentioned percentage. My old method was to trigger by relative humidity difference, which means setting the upper and lower thresholds, if that's tracking the rate of change of relative humidity it makes more sense.I'm trying a slightly different approach, my fans are for the whole house (mechanical extraction ventilation) I trigger them on humidity in the bathroom, temperature or humidity in the laundry room, and if the kitchen extractor hood is open or closed, so using the temperature/humidity difference between two locations works well so long as the sensors are reasonably consistant.
RizzoTheRat said:
Trustmeimadoctor said:
Why not just calibrate the device? If it's the ZigBee ones it has an option for it and I'd guess they all do
That's effectively what I'm trying to do, but hadn't realised there was a built in way to do it. I'm using Sonoff SNZB-02's with Z2M, and looking at the compatibility table it does have a "humidity_calibration" value, but how do I use it?https://www.zigbee2mqtt.io/devices/SNZB-02.html
FFS, that's a bit simpler than I expected, I'll give it a go tonight, thanks
Can you set it to a variable/helper? I'm wondering about setting it up to automatically set itself to match one of the other sensors at 5am or so when I can pretty sure the humidity will have evened out.
Can you set it to a variable/helper? I'm wondering about setting it up to automatically set itself to match one of the other sensors at 5am or so when I can pretty sure the humidity will have evened out.
Edited by RizzoTheRat on Thursday 31st October 11:29
RizzoTheRat said:
FFS, that's a bit simpler than I expected, I'll give it a go tonight, thanks
Can you set it to a variable/helper? I'm wondering about setting it up to automatically set itself to match one of the other sensors at 5am or so when I can pretty sure the humidity will have evened out.
Just check the history when you get up in the morning, see what the difference was at 5am. No need to over complicate it.Can you set it to a variable/helper? I'm wondering about setting it up to automatically set itself to match one of the other sensors at 5am or so when I can pretty sure the humidity will have evened out.
Edited by RizzoTheRat on Thursday 31st October 11:29
RizzoTheRat said:
FFS, that's a bit simpler than I expected, I'll give it a go tonight, thanks
Can you set it to a variable/helper? I'm wondering about setting it up to automatically set itself to match one of the other sensors at 5am or so when I can pretty sure the humidity will have evened out.
Yeah you were going a bit ott Can you set it to a variable/helper? I'm wondering about setting it up to automatically set itself to match one of the other sensors at 5am or so when I can pretty sure the humidity will have evened out.
Edited by RizzoTheRat on Thursday 31st October 11:29
New to HA, takes a little while to get to grips with it doesn't it...
Is anyone familiar with installing Python packages? I've got the HA terminal available and have been able to install most things via apk, inlcuding pip I think. But I cannot for the life of me get dateutil.parser working. Terminal says:
Yet when loading my script it says this requirement isn't met.. I only know enough Python to be dangerous, as may be apparent..
Is anyone familiar with installing Python packages? I've got the HA terminal available and have been able to install most things via apk, inlcuding pip I think. But I cannot for the life of me get dateutil.parser working. Terminal says:
~ pip3 install python-dateutil
Looking in indexes: https://pypi.org/simple, https://wheels.home-assistant.io/musllinux-index/
Requirement already satisfied: python-dateutil in /usr/lib/python3.12/site-packages (2.9.0)
Requirement already satisfied: six>=1.5 in /usr/lib/python3.12/site-packages (from python-dateutil) (1.16.0)
Yet when loading my script it says this requirement isn't met.. I only know enough Python to be dangerous, as may be apparent..
Comacchio said:
I tried to set up the Waste Collection Schedule from HACS with my local council but cant seem to get that working at all.
I got this working last night, are you still struggling? I was a little gutted to see this already existed as I built a screen scraping python script to do it Jambo85 said:
New to HA, takes a little while to get to grips with it doesn't it...
Is anyone familiar with installing Python packages? I've got the HA terminal available and have been able to install most things via apk, inlcuding pip I think. But I cannot for the life of me get dateutil.parser working. Terminal says:
Yet when loading my script it says this requirement isn't met.. I only know enough Python to be dangerous, as may be apparent..
Are you using HAOS standalone on a Raspberry PI? In that environment, you might need to use docker to get yourself a shell in the container that is running HA before installing anything. Certainly with SSH access, if you just install a package in the container that the terminal initially lands you in, HA itself can't see it.Is anyone familiar with installing Python packages? I've got the HA terminal available and have been able to install most things via apk, inlcuding pip I think. But I cannot for the life of me get dateutil.parser working. Terminal says:
~ pip3 install python-dateutil
Looking in indexes: https://pypi.org/simple, https://wheels.home-assistant.io/musllinux-index/
Requirement already satisfied: python-dateutil in /usr/lib/python3.12/site-packages (2.9.0)
Requirement already satisfied: six>=1.5 in /usr/lib/python3.12/site-packages (from python-dateutil) (1.16.0)
Yet when loading my script it says this requirement isn't met.. I only know enough Python to be dangerous, as may be apparent..
Comacchio said:
I tried to set up the Waste Collection Schedule from HACS with my local council but cant seem to get that working at all.
I got this working last night, are you still struggling? I was a little gutted to see this already existed as I built a screen scraping python script to do it Only recently got into Home Assistant and have now hardwired in a tablet to the mains for a hallway dashboard. Mrs and everyone that comes round comments on how cool it is.
So i've decided to get a 2nd one for upstairs haha! Currently using a Lenovo M10 tablet. Great little things and only £99 as 45% off - https://amzn.to/3UWwiyq
I then hardwire them to the mains use use this Sonoff relay to control power and charging of the tablet (Turn off at 80%m turn on at 20%) - https://amzn.to/3UZd8Yp
Definitely looking forward to going deeper down the rabbit hole with this HA stuff!
So i've decided to get a 2nd one for upstairs haha! Currently using a Lenovo M10 tablet. Great little things and only £99 as 45% off - https://amzn.to/3UWwiyq
I then hardwire them to the mains use use this Sonoff relay to control power and charging of the tablet (Turn off at 80%m turn on at 20%) - https://amzn.to/3UZd8Yp
Definitely looking forward to going deeper down the rabbit hole with this HA stuff!
I tried to change my Zigbee channel the other night (default when I set up was 11), however when I change it, Z2M refuses to load because the configuration isn't the same as the backup.
Where is the backup file stored? I have a code editor in HA but it's not showing any kind of backup file under Z2M.
Also I've seen a few posts saying channel 26 can be a problem and lots of people use 25, anyone know any reason not to use 26?
Where is the backup file stored? I have a code editor in HA but it's not showing any kind of backup file under Z2M.
Also I've seen a few posts saying channel 26 can be a problem and lots of people use 25, anyone know any reason not to use 26?
RizzoTheRat said:
I tried to change my Zigbee channel the other night (default when I set up was 11), however when I change it, Z2M refuses to load because the configuration isn't the same as the backup.
Where is the backup file stored? I have a code editor in HA but it's not showing any kind of backup file under Z2M.
Also I've seen a few posts saying channel 26 can be a problem and lots of people use 25, anyone know any reason not to use 26?
Have you seen this about channels?Where is the backup file stored? I have a code editor in HA but it's not showing any kind of backup file under Z2M.
Also I've seen a few posts saying channel 26 can be a problem and lots of people use 25, anyone know any reason not to use 26?
https://www.metageek.com/training/resources/zigbee...
RizzoTheRat said:
I tried to change my Zigbee channel the other night (default when I set up was 11), however when I change it, Z2M refuses to load because the configuration isn't the same as the backup.
Where is the backup file stored? I have a code editor in HA but it's not showing any kind of backup file under Z2M.
Also I've seen a few posts saying channel 26 can be a problem and lots of people use 25, anyone know any reason not to use 26?
Is the backup in /config/zigbee2mqtt ?Where is the backup file stored? I have a code editor in HA but it's not showing any kind of backup file under Z2M.
Also I've seen a few posts saying channel 26 can be a problem and lots of people use 25, anyone know any reason not to use 26?
I've certainly seen similar ones, that's why I want to move up to 25 or 26. That article says some devices don't support 26 but no idea how old it is, most (maybe all) of my devices are Zigbee 3.0 so no idea if that's still a problem.
Annoyingly my mesh wifi (Deco) doesn't let me specify the channel so I can't keep them away from the Zigbee channel
Would my code editor only be showing me the main files and not the backups? What's the best way to access the files otherwise? I'm running HA in a VM on a Synology NAS if that makes any difference
Annoyingly my mesh wifi (Deco) doesn't let me specify the channel so I can't keep them away from the Zigbee channel
Would my code editor only be showing me the main files and not the backups? What's the best way to access the files otherwise? I'm running HA in a VM on a Synology NAS if that makes any difference
Gassing Station | Computers, Gadgets & Stuff | Top of Page | What's New | My Stuff