It’s amazing to see that the Tuya integration works flawlessly in case of sockets switching on and off. I’ve got some Tuya sockets that has an OFF state after a power outage and no way to set that to “on” natively, so HA makes things a bit more interesting
Now, Tuya has amazing energy consumption meters and I’ve got those setup in HA. However, it seems that the sensors only update when I have the Tuya / Smartlife app open and particularly the “electric” page. It updates almost directly. Can I set this somewhere or am I missing something?
I’m using the Tuya integration with the Cloud api, so no local devices here.
I have the same exact problem with a Tuya Wi-Fi plug. I can control the on and off states through HA but the sensors (power, voltage and current) only update when the Tuya mobile app is open on
My cell phone…
Custom component that handles the communication locally instead of through the Tuya API. The API is just used to get the device data needed to set everything up easily, then never used again.
They have installation instructions there. It’s fully local and you can define any exposed data as sensor/switch/etc.
I’m on the same boat… I have 1 Tuya WIFI Smart Plug and 8 Tuya ZigBee Smart Plugs, and the WIFI version is setup using LocalTuya, where I can just set the scan interval to whatever I want, but the ZigBee versions cannot be added so I have to use their official integration where updates are sent sporadically which can be everything between seconds to hours…
No, I connected my Blitzwolf BW-SHP13 plugs directly to HA/Zigbee2MQTT via a Conbee II plug. However I prefer to keep the official app (so LocalTuya can work in parallel with Tuya Smart), with the current situation I had to make this sacrifice. This way the update is really quick and compared to an energy meter, the measured values are correct. Maybe one day when LocalTuya will be Zigbee capable or the official integration will be able to handle the devices locally (and not via cloud), I will move all of them back to Tuya Smart and use one of the mentioned methods parallel.
Same issue here with Aubess Smart Socket zEM. No Current, Power and voltage sensors update when Smart Life app is closed. All sensors are update after app is opend. Socket control is always working, no effect if Smart Life is open or not. @Riddle, still no feedback I assume?
@JUNA
I went on using LocalTuya which is a bit better, but I ended up using Zigbee sockets with the Sonoff USB stick in HA after all. Much quicker and pain free
Hello guys, did you find a solution?
I have 2 devices tuya wifi: a socket Aubess whith power metering, and a CT energy meter. The first one works quite well, but the CT works only with app Tuya opened… I’m getting crazy
It does not working on my setup. I have set it to 10 seconds, but power updates come with huge gaps from one wi-fi relay and a smart plug (both works with Tuya v3.4 protocol), but the same “Scan interval” option works fine for my other 2 smart plugs (with Tuya v3.3 protocol).
And when I open Tuya app - the relay data starts to update with higher frequency (~5 seconds between updates), and data stops updating when I close Tuya app.
Which protocol version do you use with bad monitoring devices? v3.3? v3.4?
Same problem. Sensors from smart plug update very quick when smartlife app is open and about 35s when is not open.
It is interesting that when the socket turns on, the current update appears after about 35s, and when it turn off, it appears after a much shorter time, about 10s
I’m interested in monitoring current or power to create automations, but it doesn’t seem possible under these conditions.