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

Ooh I need to do this. What fan did you use?

Here are the details :

140mm Fan Riser printed in PETG

Smart Plug from SmartPad. I went with the Tuya option even though it's controlled locally by Home Assistant

ID-Cooling AS-140-W 140mm Case Fan

12v Power Supply

*Very important. The 12v Power Supply is not stablized. If less current is drawn, there is a rise in voltage. Given the fan uses so little, that rise is substantial.* In short, set the power supply to 6V. It actually pulls and then sends around 10V to the fan. So the fan spins a bit slower than it could. But it's also more quiet.
 
Here are the details :

140mm Fan Riser printed in PETG

Smart Plug from SmartPad. I went with the Tuya option even though it's controlled locally by Home Assistant

ID-Cooling AS-140-W 140mm Case Fan

12v Power Supply

*Very important. The 12v Power Supply is not stablized. If less current is drawn, there is a rise in voltage. Given the fan uses so little, that rise is substantial.* In short, set the power supply to 6V. It actually pulls and then sends around 10V to the fan. So the fan spins a bit slower than it could. But it's also more quiet.
Or just use a 12v power supply from an old external disk?
 
Implemented some Blueprints that Gemini helped me create.
Required some trial & error to get them working the way I wanted, but Gemini is pretty helpful.
 
Implemented some Blueprints that Gemini helped me create.
Required some trial & error to get them working the way I wanted, but Gemini is pretty helpful.
Blueprints covering what?

I've found LLMs to be quite good at these things
 
any way to bring my electric fence into HA? I would like to see that the Joules are where it needs to be. Also power it on and off remotely. My understanding is that a smart plug won't work as you need the battery inside the energiser otherwise it won't work.
A bit of a late reply.

I used a Sonoff SV in isolated mode (the same way that it is used for garage door motors and electric gates). Energisers have dry contacts inside so you can hook up a few different things to them. I also flashed the SV with ESPHome so it intergrates without problem into HA.

1. The on/off dry contact is hooked up to the SV's relay which toggles on/off for a second or so to simulate the magnetic fob.
2. I hooked up the 12V siren dry contact to a 12V relay that I monitor on one of the three exposed GPIO pins for an alarm.
3. I soldered two leads to the status LED of the energiser and hooked them up via an optocoupler to one of the other GPIO pins.

The code and set-up are both very experimental and I struggled a lot with debouncing the status signal and getting the right toggle interval for the on/off switch, but the set-up has been working and stable for a year now. I want to fix it up properly in the next few months so it looks neater though.

If you want, I can do a proper write-up for you of what sins I committed.
 
Got to have serious patience to get Home Assistant working.
And then to make it even more frustrating AI's instructions do not match the interface.
Fook that **** to switch on a lamp :laugh:
 
Got to have serious patience to get Home Assistant working.
And then to make it even more frustrating AI's instructions do not match the interface.
Fook that **** to switch on a lamp :laugh:
I did a fresh setup of HA after I received my Shelly Presence Gen4.
Gemini helped me do the automations and it was pretty simple.
 
A bit of a late reply.

I used a Sonoff SV in isolated mode (the same way that it is used for garage door motors and electric gates). Energisers have dry contacts inside so you can hook up a few different things to them. I also flashed the SV with ESPHome so it intergrates without problem into HA.

1. The on/off dry contact is hooked up to the SV's relay which toggles on/off for a second or so to simulate the magnetic fob.
2. I hooked up the 12V siren dry contact to a 12V relay that I monitor on one of the three exposed GPIO pins for an alarm.
3. I soldered two leads to the status LED of the energiser and hooked them up via an optocoupler to one of the other GPIO pins.

The code and set-up are both very experimental and I struggled a lot with debouncing the status signal and getting the right toggle interval for the on/off switch, but the set-up has been working and stable for a year now. I want to fix it up properly in the next few months so it looks neater though.

If you want, I can do a proper write-up for you of what sins I committed.
Assuming this is a Nemtek unit... please do the write up 🥸
 
Raspberry Pi running SolarAssistant packed up overnight :-| now i need to get a replacement

That's k@k. I hope you kept manual backups of your data.
I remind myself every two months or so to do it.... would suck to lose over 3 years of data.

I just got the official solarassitant pi about 3 years ago and haven't had issues.
I'm assuming pricing these days is crap with the stupid ram pricing on everything.
 
That's k@k. I hope you kept manual backups of your data.
I remind myself every two months or so to do it.... would suck to lose over 3 years of data.

I just got the official solarassitant pi about 3 years ago and haven't had issues.
I'm assuming pricing these days is crap with the stupid ram pricing on everything.
I try to remember to grab backups too and upload them to cloud storage, I sometimes forget for too long though.

I still really want them to just implement an automated nightly backup that could just do this automatically, either to a local smb share or a cloud service.
 
That's k@k. I hope you kept manual backups of your data.
I remind myself every two months or so to do it.... would suck to lose over 3 years of data.

I just got the official solarassitant pi about 3 years ago and haven't had issues.
I'm assuming pricing these days is crap with the stupid ram pricing on everything.
Pricing is atrocious - mine is also about 3yrs old actually. as for the manual backups *i know HA has some of the data and that backed up but the actual SA source data is not backed up outside of that
 
I still really want them to just implement an automated nightly backup that could just do this automatically, either to a local smb share or a cloud service.

Agreed on that.
I wonder if an LLM would be able to help you set up some code to do it automatically.
I used ChatGPT the other day to create an automated script in HomeAssistant that would automatically log into my printer maintenance page every week and print a color test page if the printer hasn't printed anything for over 5+ days.

Works like a charm.
You've now reminded me that I want to see if I can get it to help me create a similar for my SolarAssistant backups.
 
A bit of a late reply.

I used a Sonoff SV in isolated mode (the same way that it is used for garage door motors and electric gates). Energisers have dry contacts inside so you can hook up a few different things to them. I also flashed the SV with ESPHome so it intergrates without problem into HA.

1. The on/off dry contact is hooked up to the SV's relay which toggles on/off for a second or so to simulate the magnetic fob.
2. I hooked up the 12V siren dry contact to a 12V relay that I monitor on one of the three exposed GPIO pins for an alarm.
3. I soldered two leads to the status LED of the energiser and hooked them up via an optocoupler to one of the other GPIO pins.

The code and set-up are both very experimental and I struggled a lot with debouncing the status signal and getting the right toggle interval for the on/off switch, but the set-up has been working and stable for a year now. I want to fix it up properly in the next few months so it looks neater though.

If you want, I can do a proper write-up for you of what sins I committed.
(@Zuluzebra may also be interested.)

I made a simple PCB with 6 isolated inputs and 4 isolated outputs, all controlled by an ESP32. It's designed to "supervise" a garage door motor, or gate motor, but should be perfect for an electric fence as well, so long as you keep it some distance away from the energiser, I guess. I've definitely not tested it in this role, and would expect a fair amount of interference. That said, if the Sonoff SV survives it, mine should too, I would think!

The idea is to have 4 isolated inputs for status (an LED, gate motor gearbox pulses, obstacle detection, etc), and 4 outputs for things like FRX (inductive loop trigger), toggle trigger (stop - open - stop - close), pedestrian access, and Lock. The last 2 isolated inputs are designed to be connected directly to the motor wiring, so you can see what the gate motor is doing. These have higher value current limiting resistors, for connection to up to 24V motors. It also has a DCDC converter, allowing it to be powered from up to 24V.

Here is a rendering of the latest version's PCB. I have 3 of the first batch (slightly different layout, much smaller resistors!) left if anyone is interested. Selling assembled and preflashed with a test ESPHome-based firmware for R300. After that, you can update OTA (or using an external USB-serial adapter via the pin header under the ESP32-WROVER module).

1789986776092.png
 
Got to have serious patience to get Home Assistant working.
And then to make it even more frustrating AI's instructions do not match the interface.
Fook that **** to switch on a lamp :laugh:
Since giving Claude access to my HA, I don't do any config myself anymore. I tell Claude what I want and he does it for me.
 
Top
Sign up to the MyBroadband newsletter
X