What's new
Carbonite

South Africa's Top Online Tech Classifieds!
Register a free account today to become a member! (No Under 18's)
Home of C.U.D.

Home Assistant

J37

VIP
VIP Supporter
Rating - 100%
117   0   0
Joined
Dec 16, 2012
Messages
2,596
Reaction score
1,003
Points
7,335
Location
Northriding
I thought I'd share my current Home Assistant setup/layout (image at the bottom of the post). Keen to see everyone else's dashboards/automation's etc. Mine went funky over the December holidays, so I decided to clean it up and make some changes.

Top left - Obvious what this provides, however found it a lot more aesthetically pleasing than other cards I've found online. It's been a while since I set this up... At one point, I had it pulling weather data from Accuweather via API, but it seems I removed it and am currently using HA's built-in weather sensor.

Via HACS - GitHub - pkissling/clock-weather-card: A Home Assistant Card indicating today's date/time, along with an iOS inspired weather forecast for the next days with animated icons


Middle left (Load Shedding Schedule) - I added this today; really handy and yes you are able to see up to 7 days ahead. Setting it up was straightforward, though I encountered some API issues from SePush. I had issues with HA itself and tried too many times to add my area. From what I read online I was temporarily banned. Waited 24 hours and was able to get things working again. There are a few other cards available.

Via HACS - GitHub - wernerhp/ha.integration.load_shedding: A Home Assistant integration to track your load schedding schedule.


Bottom left (Switches) - Another straightforward feature. I use smart plugs, and while everything works great it is a slight mission to get everything integrated (there might be an easier way to add these). I've integrated Tuya into HA, bridging the gap between HA and my Smart Life (iOS app). This integration allows me to control appliances' on/off status almost instantly. I've encountered no issues with this setup, except for the need to renew the (free) license with Tuya every couple of months. The process is quick, and the Smart Life app has been trouble-free.

I have a guide here which shows how I did the integration, however it's probably a little dated... good luck!


Top right (Power Status) - I've integrated my Victron inverter to HA, which is included in my Carbonite URL thread above. This allows me to monitor the battery state of charge, grid vs battery usage, load shedding status, and the number of times I've accessed the SePush API today (limited to 50 pulls per day for free users, which is more than sufficient).


Middle/bottom right - My inverter data. The graphs themselves have a huge amount of customization.

Via HACS - GitHub - kalkih/mini-graph-card: Minimalistic graph card for Home Assistant Lovelace UI


Regarding automation's, I've aimed to keep them simple. Over complicating things tends to make fixing or setting them up again a chore (if they break). My automation's are based on my grid/battery power data (from my inverter) seen in the cards above. At one point, I integrated HA with my Discord server to notify when I switched from the grid to battery power (and vice versa) - this was useful when my area was plagued with outages. I don't use this anymore though.

My inverter includes a sensor that detects whether grid power is active or not. When I'm drawing power from the grid, the sensor value displays as 1. If the grid power is lost, the value changes to 240. Based on this information, I've set up the following automation's: when the numeric state goes above or below 120. Above 120 (240) will be battery supply and below 120 (1) will be grid supply.

Automation 1: Load Shedding Start
- Turns on a red LED strip I have in the kitchen (via a smart plug). This is so I know when I can/can't run the microwave/toaster/kettle etc. etc.
- Turns off a smart plug which the washing machine and tumble dryer are connected to.
- Turns off the heater in my office.
- Turns off the floor lamp in my office (another indicator so I know if I'm being shedded or not).

Automation 2 Load Shedding End
Everything mentioned above is reverted, except for the heater, which stays off. I'll just manually turn that on again if needed.

 
A side note: I see the Load Shedding integration for HA does allow you to setup automation's when you get load shed. This could work for some of you who aren't able to pull your inverter data, or don't have an inverter. However I prefer my setup as its based off when I have actually lost power (shedding or an outage).
 
@J37 I'm jealous! Can you perhaps point me to a guide on how to even start setting up home assistant? I managed to install HA and run it on a raspberry pi3B but that is about as far as I got....I have an inverter and a mix of brands of smart switches.

I was considering using an old Celeron Intel Nuc for this too....but it seems easier on a raspberry Pi. Please share your setup?
 
@J37 I'm jealous! Can you perhaps point me to a guide on how to even start setting up home assistant? I managed to install HA and run it on a raspberry pi3B but that is about as far as I got....I have an inverter and a mix of brands of smart switches.

I was considering using an old Celeron Intel Nuc for this too....but it seems easier on a raspberry Pi. Please share your setup?
I'm not too sure about what guide to follow, as HA is very custom to your needs. Not that I created anything myself on my dashboard, it's mostly a combination of other peoples work. The home assistant website/forum (and sub-reddit) is very resourceful. What brand inverter do you have? What app on your phone do you use to control your smart plugs/switches?

HA and my DNS (pihole) is running via Hyper V on a Windows 11 machine (specs below). Both applications (HA/pihole) use very little resources, so you don't need a super computer, even mine is overkill...

i3 9100 / 16GB 2400Mhz / m.2 - 250GB

I followed the below guide to setup HA on Windows. I needed the supervisor version of Home Assistant to get everything up and running - AFAIK supervisor includes the add-ons store and the file editor.

 
Made a few changes since my original post...

MQLlH1R.png
 
Very nice dude!
Might reach out when i have some time, if you don't mind, to chat about how everything works.
Just need to sort out a new device for my HA as i want to move it off my media centre onto something smaller as i'm having issues with Virtual Box.
 
Very nice dude!
Might reach out when i have some time, if you don't mind, to chat about how everything works.
Just need to sort out a new device for my HA as i want to move it off my media centre onto something smaller as i'm having issues with Virtual Box.
Thanks! Yea sure! Don't get me wrong, I am no professional at HA. Did a bunch of Google'ing, trial and error and some luck. I used to run HA via Virtual Box, it worked until I had issues exporting the VM. Can't remember what issues I had, but decided to try Hyper v which hasn't given me any issues (even when exporting the vm).
 
Thanks! Yea sure! Don't get me wrong, I am no professional at HA. Did a bunch of Google'ing, trial and error and some luck. I used to run HA via Virtual Box, it worked until I had issues exporting the VM. Can't remember what issues I had, but decided to try Hyper v which hasn't given me any issues (even when exporting the vm).
Thanks. Yeah VB just decides when it doesn't want to work anymore and i have to restart the box.
But will see if i can get it working on HyperV, couldn't get it to load the last time for some reason so will see what happens.
 
  • Like
Reactions: J37
That looks so clean. Mine looks like trash but to be fair all my hard work went under the hood. I have a combination of self built plugins and node red running some things in my house and the only actual interactions I get from HA is when it send me a push notification informing me it is turning off my servers and other appliances to save battery power.
 
  • Like
Reactions: J37
Made a few small changes since my original post.

Only actual addition I've made was the Telegram integration, extremely easy and I don't use it for anything else. Currently it sends me a notification if I haven't had power for more than 4H20M, meaning I have an outage which is quite popular where I live. And another notification when my battery SoC drops below 50%.

vsqZbEf.png
 
@J37 what weather add-on are you using?
Actually looks pretty sweet.
Via HACS > GitHub - pkissling/clock-weather-card: A Home Assistant Card indicating today's date/time, along with an iOS inspired weather forecast for the next days with animated icons

Pulling from the weather.home (built in HA) service, and not from Accuweather API which I might've mentioned previously.

Card config below.

type: custom:clock-weather-card
entity: weather.home
date_pattern: DDDD
time_format: 24
 
Hi @J37
I've got HA installed on Virtualbox on a windows10 PC.
So far I've only managed to get a smart bulb integrated via Smartlife.... I have a few WiFi Connex switches, which work via Connex Connect app; I can't find this brand in the list of devices.... Any advice on how I get these switches connected to Home Assistant?
Thank you.
 
Hi @J37
I've got HA installed on Virtualbox on a windows10 PC.
So far I've only managed to get a smart bulb integrated via Smartlife.... I have a few WiFi Connex switches, which work via Connex Connect app; I can't find this brand in the list of devices.... Any advice on how I get these switches connected to Home Assistant?
Thank you.
Honestly not too sure, have you tried setting up the switches in Smartlife or do they have to be used on the Connex app?
 
Honestly not too sure, have you tried setting up the switches in Smartlife or do they have to be used on the Connex app?
I actually didn't think of trying that! Going to give that a try.
Thank you.
 
I actually didn't think of trying that! Going to give that a try.
Thank you.
Cool, hopefully you come right. I noticed that Smartlife can integrate with various smart devices. Little annoying how manufacturers force you to use their software, but I guess I get why they do it.
 
Hi @J37
I've got HA installed on Virtualbox on a windows10 PC.
So far I've only managed to get a smart bulb integrated via Smartlife.... I have a few WiFi Connex switches, which work via Connex Connect app; I can't find this brand in the list of devices.... Any advice on how I get these switches connected to Home Assistant?
Thank you.
Connex devices are Tuya platform / Smartlife app based so if you install the Tuya add-in / Integration it will pull any devices you have in the app into Home Assistant. The Tuya integration is cloud-dependant - if you don't want your data going to china then you can also try the LocalTuya integration
 
Connex devices are Tuya / Smartlife based so if you install the Tuya add-in / Integration it will pull any devices you have in the app into Home Assistant. The Tuya integration is cloud-dependant - if you don't want your data going to china then you can also try the LocalTuya integration
I have 2 Connex switches for now; one I added to Smartlife and one added to the Tuya app....not sure why, but the Tuya app device didn't get picked up by Home Assistant. The Smartlife devices just show up after I restart HA.
 
Connex devices are Tuya platform / Smartlife app based so if you install the Tuya add-in / Integration it will pull any devices you have in the app into Home Assistant. The Tuya integration is cloud-dependant - if you don't want your data going to china then you can also try the LocalTuya integration
Must investigate this local tuya option, thank you
 
Must investigate this local tuya option, thank you
Its worked well for those who use it but I DO know it doesn't have all the devices - so you might find that some items don't work. I just have anything Tuya-based in the Smartlife app and once it's there it loads in HomeAssistant. I haven't had issues with the cloud dependency
 
Check out the Sunsynk powerflow card, works with a lot of inverters not only Sunsynk.
I've got this power flow card setup, but I'm not getting data from Sunsynk servers....
 
I've got this power flow card setup, but I'm not getting data from Sunsynk servers....
This is just a card to display the information.

There are various options to get the data from Sunsynk. Easiest is

The solar Sunsynk integration provides the basic sensors to run the card but the card has support for more sensors than this integration provides.
 
Interesting thread.
I'd like to setup something like this on raspberry pi.

Would you be able to pm me some substance on where and how to start.
Want to link it to my Axpert/Voltronic type inverter.
 

Users who are viewing this thread

Latest posts

Back
Top Bottom