Home Assistant : Q&A, Tips & Tricks, Your Configs

Anyone also noticing issues with Sonoff/Ewelink devices recently? Stats are delayed or just do not update at all. My automations rely on the current of my geyser smart switch to decide when to turn the geyser off but yesterday the current value never updated (stuck at 0) and caused the automation to think that the geyser did not need to heat up and turned it off. Also seeing temp sensors values appear to not be updating.

Seems the issue is on Sonoff side: https://github.com/AlexxIT/SonoffLAN/issues/1509
 
Anyone also noticing issues with Sonoff/Ewelink devices recently? Stats are delayed or just do not update at all. My automations rely on the current of my geyser smart switch to decide when to turn the geyser off but yesterday the current value never updated (stuck at 0) and caused the automation to think that the geyser did not need to heat up and turned it off. Also seeing temp sensors values appear to not be updating.

Seems the issue is on Sonoff side: https://github.com/AlexxIT/SonoffLAN/issues/1509
I have a sonoff dw2 that occasionally gets lost and displays blanks instead of valid data. I found that rebooting my router restores the display's data, mostly battery and RSSI.


geyser.png
 
So I purchased a ecowitt weather station on Amazon.com, after import duties and shipping it worked out to less than R3.5 which is very good considering it is almost R7k if you buy it locally.


Anyway, I thought I would share my dashboard, however I can't take credit for it, I copied someone else's setup from the web.

1734597406527.png
 
So I purchased a ecowitt weather station on Amazon.com, after import duties and shipping it worked out to less than R3.5 which is very good considering it is almost R7k if you buy it locally.


Anyway, I thought I would share my dashboard, however I can't take credit for it, I copied someone else's setup from the web.

View attachment 1782256
Looks pretty cool, does the weather station require batteries or can it run on solar power (diagram mentions a solar panel on top)? Is the wifi gateway installed inside (or near a power supply) and connects to the weather station over 900mhz band?
 
Looks pretty cool, does the weather station require batteries or can it run on solar power (diagram mentions a solar panel on top)? Is the wifi gateway installed inside (or near a power supply) and connects to the weather station over 900mhz band?
The station runs on Solar and uses 2 AA batteries for backup and cold start.

I have wifi gateway inside about 20m from the station and it uses 915 MHz, they claim it has a range of 60m.
 
Hey folks, what's the prefered solar predictor for most folks? preferably handling split arrays? Used to use Solcast but that is properly dead now it seems.
 
Behold ! A glorious mess of cables !!

I felt like a quick play and wanted to see if I could coble this together out of bits lying around.

In short, it's a temperature probe based PWM fan controller built on an ESP32. Use case would be something like AV kit in an enclosed cabinet / tight space. As the space gets hotter, the fan spins up. As the space gets cooler, the fan spins down, keeping the temps and noise levels in check

It's a combo of my own code and Slipx inverter fan controller code

Fan Contoller.png
 
Last edited:
Behold ! A glorious mess of cables !!

I felt like a quick play and wanted to see if I could coble this together out of bits lying around.

In short, it's a temperature probe based PWM fan controller built on an ESP32. Use case would be something like AV kit in an enclosed cabinet / tight space. As the space gets hotter, the fan spins up. As the space gets cooler, the fan spins down, keeping the temps and noise levels in check

It's a combo of my own code and Slipx inverter fan controller code

View attachment 1782313
3 comments:

Awesome stuff!
Wago connectors for the win!
Please share you code :)
 
Behold ! A glorious mess of cables !!

I felt like a quick play and wanted to see if I could coble this together out of bits lying around.

In short, it's a temperature probe based PWM fan controller built on an ESP32. Use case would be something like AV kit in an enclosed cabinet / tight space. As the space gets hotter, the fan spins up. As the space gets cooler, the fan spins down, keeping the temps and noise levels in check

It's a combo of my own code and Slipx inverter fan controller code

View attachment 1782313
Where did you get the wago connectors?
 
What is the best go to hardware for starting with Home Assistant these days? Raspberry Pi still a good option, or should I rather look at x86 options?
 
What is the best go to hardware for starting with Home Assistant these days? Raspberry Pi still a good option, or should I rather look at x86 options?
I'm running my on a Pi 4 8gig and it works perfectly.

If you are looking at using something like Frigate or AI on the same hardware you might want to go N100 or such
 
What is the best go to hardware for starting with Home Assistant these days? Raspberry Pi still a good option, or should I rather look at x86 options?

Traditionally a Pi, but I wouldn't run it with an SD card unless you just want to get an idea for HA before you really buy something else.

A Pi with an SSD is fine.
An Intel N100 or so works great.
 
Nice weekend project down below:


Busy testing it with a Neopixel ring light that I have - not ideal but it is cool

Working through my back catalogue of ESP32 projects that I absolutely have to build but have no practical use for ( a man must have a hobby ). Behold ! A working version of this Reddit post.

When this post first showed I gave it a crack. But the code supplied by the Reddit user just didn't work ( both myself and Muttley tried ). Admittedly I made use of ChatGPT to get this right as these lambda's are well beyond my coding grasp . That said it still took a while of relentless hammering as the AI just couldn't get it to do what I wanted it to ( as ESPHome goes, code that the free AI supplies is often outdated, causes issues or just doesn't work ). But my quest to avoid Christmas cheer was more powerful than simply giving up !

I too only had a NeoPixel ring on hand. I'm sure you can imagine the effect is the same as the original post if it were a straight line LED ( I'd prefer the latter as it's much more effective ).

  • The number LED's lit increases or decreases depending on the battery SOC. To further assist with that visual, the LED's change colour from red to orange to green depending on battery SOC ( one can make this a lot more granular or varied. This is still a first pass ).
  • The LED's change speed depending on the charge/discharge rate. Not too big a difference as it would be distracting, but noticeable nonetheless.
  • The LED's change direction on whether the battery is charging/discharging.
If you would like the code, hit me up.

IMG_5450.gifIMG_5451.gif
 
Top
Sign up to the MyBroadband newsletter