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

I find Node Red to be much easier to use to setup automations than HA's yaml. Maybe the latest version of HA, which uses natural language to create automations, will make the process easier.
 
So, suggestions to running Home Assistant from an old laptop?

I currently have Hassio on a Raspberry Pi 3+, but had my third corrupt SD card today (luckily I made a backup when load shedding started again).

I have an oldish i3 Packard Bell that I can repurpose - what's the best way to run it? So far I'm leaning towards Ubuntu + Docker + Portainer and running Hassio with the supervisor (so that I hopefully get all the nice Hassio add-in management).

Was looking at a NUC but I'd rather try the notebook first before spending more money.

Thoughts?
 
So, suggestions to running Home Assistant from an old laptop?

I currently have Hassio on a Raspberry Pi 3+, but had my third corrupt SD card today (luckily I made a backup when load shedding started again).

I have an oldish i3 Packard Bell that I can repurpose - what's the best way to run it? So far I'm leaning towards Ubuntu + Docker + Portainer and running Hassio with the supervisor (so that I hopefully get all the nice Hassio add-in management).

Was looking at a NUC but I'd rather try the notebook first before spending more money.

Thoughts?

I was in the exact same boat. I went with Proxmox for my virtual environment. All i did was dump some extra DDR3 memory into the laptop to bring it up to 8Gb. Currently running Home Assistant and a minecraft server on the laptop.
 
I was in the exact same boat. I went with Proxmox for my virtual environment. All i did was dump some extra DDR3 memory into the laptop to bring it up to 8Gb. Currently running Home Assistant and a minecraft server on the laptop.

Thanks, haven't considered Proxmox yet, so will be something I will definitely investigate.
 
Can you link sonoff Devices that are still running stock firmware (ewelink) to Hass.io

Can't figure if this is possible.
 
Would highly recommend tasmota though.
More capabilities, not pinging home.....
I am running tasmota on all my sonoff basics and pows but this L1 lightstrip looks complicated to flash (can't even find the instructions). If I could I would. As I may also be buying a few more strips , if I could flash to tasmota I would be very happy.
 
I have 2 slamphers and the original, I think B1 Led globes that cannot be flashed over the Air, I have not got the Serial flashing unit, thus why they are still original Sonoff.
 
So what if big brother chang knows when my lights are on. What am I missing?

They can turn on your lights, see what you are doing, etc. just like our Yankee cousins. Local control is what I prefer too
 
Question. Has anyone built an automation that uses solar noon as a trigger to start/stop devices.

My pool pump is now connected to a SONOFF POW R2 (Tasmota) ... and I want it to run as as follows:-

If the solar noon at my place today is at 12:20, then I want the pool pump to start running 2 hours before that and to stop 2 hours after that. This way, I am hoping, I am maximising the amount of sun hitting my pool solar panels to warm the pool.

While hass.io has the Sun module which works out solar noon using "next_noon" .. how does one it in an automation?

Right now it's on a dumb timer - start at 10 and finish a 2pm ... :)

Thanks :D

Edit : Sun Module in Hass.io does have solar noon component - so updated post...
 
Last edited:
Question. Has anyone built an automation that uses solar noon as a trigger to start/stop devices.

My pool pump is now connected to a SONOFF POW R2 (Tasmota) ... and I want it to run as as follows:-

If the solar noon at my place today is at 12:20, then I want the pool pump to start running 2 hours before that and to stop 2 hours after that. This way, I am hoping, I am maximising the amount of sun hitting my pool solar panels to warm the pool.

While hass.io has the Sun module which works out solar noon using "next_noon" .. how does one it in an automation?

Right now it's on a dumb timer - start at 10 and finish a 2pm ... :)

Thanks :D

Edit : Sun Module in Hass.io does have solar noon component - so updated post...

My guess is you should be able to read the attributes (next_noon) using a template trigger in an automation. You will have to take into account that the next_noon attribute shows it's time in UTC format, so you will have to adjust for our timezone. Furthermore my guess is that once you've hit today's noon, next_noon will start showing tomorrow's, so you might need to take that into account too.

It's definitely not going to be as simple as using the sun trigger though.
 
Question. Has anyone built an automation that uses solar noon as a trigger to start/stop devices.

My pool pump is now connected to a SONOFF POW R2 (Tasmota) ... and I want it to run as as follows:-

If the solar noon at my place today is at 12:20, then I want the pool pump to start running 2 hours before that and to stop 2 hours after that. This way, I am hoping, I am maximising the amount of sun hitting my pool solar panels to warm the pool.

While hass.io has the Sun module which works out solar noon using "next_noon" .. how does one it in an automation?

Right now it's on a dumb timer - start at 10 and finish a 2pm ... :)

Thanks :D

Edit : Sun Module in Hass.io does have solar noon component - so updated post...

Are you using Node Red by any chance?
There is a sun position timer that you can set an offset to.

 
Top
Sign up to the MyBroadband newsletter