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

Our area has been without fibre since sunday evening.

Except for the normal issues I have now managed to make sure all my devices are running on local control.
None of my devices are flashed with tasmota and is running stock firmware.

All tuya devices using localtuya, sonoff devices using SonoffLAN and Zigbee devices using ZHA.
I even picked up that one of my zigbee devices was still running on my old eachen bridge which was never switched off.

Only issue I have been having is that 2 wifi devices (Sonoff POWR3 and a Sonoff USB Micro) remains unavailable in homeassistant after loadshedding until I reload the SonoffLAN integration.
 
Recently put in a solar system and want to be able to control the geyser from home assistant and measure its power usage.
Right now solar system can power the geyser, want to shift its timing to mid day.

What device do you recommend that I use?
 
Recently put in a solar system and want to be able to control the geyser from home assistant and measure its power usage.
Right now solar system can power the geyser, want to shift its timing to mid day.

What device do you recommend that I use?
CBI switches probably your best bet, you can use tuya local in HA to switch on/off and measure power.
or

I've got the DB board one and I'm happy with it :)
1680087443509.png
 
CBI switches probably your best bet, you can use tuya local in HA to switch on/off and measure power.
or

I've got the DB board one and I'm happy with it :)
View attachment 1500179
I have both the Smart Isolator and the Smart Controller flashed with LibreTuya-ESPHome, if anyone is interested. I ended up not using them for my geyser controller, because the GPIOs are not isolated.
 
Had an odd thing happen earlier today - installed the MQTT update and it broke things, SA wasn't working anymore but the Paradox MQTT was working. Resorted to uninstalling the update and everything is working again

Same here, SA stopped working after the update, rolled back and is working again

Mine did to, but I just had to restarted the add-on. Solar Assistant data started arriving again. Didn't need to roll back.

This morning saw, HA seemed to have old data - showing no PV (no data for 14 hours) - that was my clue something was wrong. On the solar assistant side - everything working. My Pi connected via WiFi.

Then during the troubleshooting of MQTT (reboot, restart broker, including Solar Assistant PI) - in which HA saw no data , checked the IP of my SA. It was .83 ... which was odd since according to my IP file, I had given it .8 - I give everything critical static IPs. Logged into Ubiquiti to see what was going on.

Couldn't see the IP in the device list. Couldn't find solar assistant device also - not even offline ... thought it was due to me changing the AP as detailed in the Ubiquti thread to a PRO. Then checked to see my if Sunksynk dongle (.7) was online (i don't use it) and I couldn't ping it either.

Did arp -a from the PC running HA to the .83 IP and got a MAC address which didn't match the MAC in my IP sheet. How the fsck was Solar assistant PI connected to the Internet and doing it's thing?

Was about to give up to check tonight when I got home, but rebooted the Solar Assistant Pi again ... on reboot, it got it's .8 address and HA saw all the data again (MQTT discovery was originally on .8) ...

Still trying to figure out what is going on. Ubiqitui also doing something strange. Won't show my SunSynk Dongle in the list of devices. Sure that when I disconnect it tonight and reconnect it - it will just work again


-------------

HOW DO YOU DOWNGRADE SA?
 
SA can communicate to the HA pi via MQTT. So you need to have MQTT setup on the HA Pi and listen out for the SA topics
Miraculously I got this done.

I thought the stats would be real time?

I can get evrthing else to 'refresh' in seconds but "energy in and energy out" seem to take ages to update?

Anyway to fix this?

Hope it's not part of others current issues...

e9d01d63465f01fa8c0e0a3cc7397d91.jpg
c6e2433d2baaa44e4bb856dce3742d54.jpg
 
This morning saw, HA seemed to have old data - showing no PV (no data for 14 hours) - that was my clue something was wrong. On the solar assistant side - everything working. My Pi connected via WiFi.

Then during the troubleshooting of MQTT (reboot, restart broker, including Solar Assistant PI) - in which HA saw no data , checked the IP of my SA. It was .83 ... which was odd since according to my IP file, I had given it .8 - I give everything critical static IPs. Logged into Ubiquiti to see what was going on.

Couldn't see the IP in the device list. Couldn't find solar assistant device also - not even offline ... thought it was due to me changing the AP as detailed in the Ubiquti thread to a PRO. Then checked to see my if Sunksynk dongle (.7) was online (i don't use it) and I couldn't ping it either.

Did arp -a from the PC running HA to the .83 IP and got a MAC address which didn't match the MAC in my IP sheet. How the fsck was Solar assistant PI connected to the Internet and doing it's thing?

Was about to give up to check tonight when I got home, but rebooted the Solar Assistant Pi again ... on reboot, it got it's .8 address and HA saw all the data again (MQTT discovery was originally on .8) ...

Still trying to figure out what is going on. Ubiqitui also doing something strange. Won't show my SunSynk Dongle in the list of devices. Sure that when I disconnect it tonight and reconnect it - it will just work again


-------------

HOW DO YOU DOWNGRADE SA?
I honestly don't know if/how you would downgrade SA, have never needed and I don't see the functions in the UI. It's a good question though, what do you do if an upgrade breaks things
 
Miraculously I got this done.

I thought the stats would be real time?

I can get evrthing else to 'refresh' in seconds but "energy in and energy out" seem to take ages to update?

Anyway to fix this?

Hope it's not part of others current issues...

e9d01d63465f01fa8c0e0a3cc7397d91.jpg
c6e2433d2baaa44e4bb856dce3742d54.jpg
I think Grid energy in is cumulative fir the day, check something more responsive like sensor.load_power. Turn on a high draw device and see if it responds withing 1-2s
 
And this morning again, no SA data in HA.

IP of SA has remained the same as it always was.

Think it's time stop updating just for the sake of it. (I updated SA bcos the ESP data it was now starting to show).

Edit : I see the MQTT broker in HA updated recently in the last few days (it was on auto update - crap). I thought I made it manual after the issues with a previous update and PAI. Restarting the broker (in add ons section) , and the data flowed in.
 
And this morning again, no SA data in HA.

IP of SA has remained the same as it always was.

Think it's time stop updating just for the sake of it. (I updated SA bcos the ESP data it was now starting to show).

Edit : I see the MQTT broker in HA updated recently in the last few days (it was on auto update - crap). I thought I made it manual after the issues with a previous update and PAI. Restarting the broker (in add ons section) , and the data flowed in.
And that is why I don't run mqtt inside HA addons. Mine is standalone, it does auto update, but its a different mqtt server than the one in HA. Rarely if ever have issues. MQTT to me is super important, almost more important than HA, so I need it stable.
 
And that is why I don't run mqtt inside HA addons. Mine is standalone, it does auto update, but its a different mqtt server than the one in HA. Rarely if ever have issues. MQTT to me is super important, almost more important than HA, so I need it stable.
My only MQTT use case is for HA so im comfortable to leave it in HA - but its one fo those add-ons that shouldnt be touched if working :p
 
And that is why I don't run mqtt inside HA addons. Mine is standalone, it does auto update, but its a different mqtt server than the one in HA. Rarely if ever have issues. MQTT to me is super important, almost more important than HA, so I need it stable.

Have run it as an add-on for probably 2+ years and never had any issues with it.

And everything that supports MQTT is using it.
 
I bought the CBI Astute Smart Isolator Switch, and wanted to find out can add it to my Smart Life App and use Tuya Local on home assistant or do I need to setup it up with the CBI App which looks like a rebrand smart life app.
You can add it to SmartLife/Tuya and bring it into Home Assistant.
 
Is there something that needs to be done to "add" new sensors in MQTT? I have my inverter sensors coming in from Solar Assistant, but have added a second battery and don't seem to have those sensors brought in (that I can see).
Battery state of charge is showing the total/average and State of charge is showing battery 1's info.
 
Is there something that needs to be done to "add" new sensors in MQTT? I have my inverter sensors coming in from Solar Assistant, but have added a second battery and don't seem to have those sensors brought in (that I can see).
Battery state of charge is showing the total/average and State of charge is showing battery 1's info.
If you have the second battery connected up to SA it should auto populate those values
 
If you have the second battery connected up to SA it should auto populate those values
Strange - I can see both batteries in Solar Assistant and their respective cycles, voltages etc (via RS232 cable connected to the new Master battery) but nothing new in Home Assistant.
 
Is there something that needs to be done to "add" new sensors in MQTT? I have my inverter sensors coming in from Solar Assistant, but have added a second battery and don't seem to have those sensors brought in (that I can see).
Battery state of charge is showing the total/average and State of charge is showing battery 1's info.
Go to an existing sensor, use the the options to visit the device it belong. Then look for disabled or hidden entities. Then enable them one by one.
 
Top
Sign up to the MyBroadband newsletter
X