Closed heidricha closed 1 year ago
If they are all going offline at the same time, I would suspect your router or HA device. Or possibly something like using the microwave oven.
Im getting it to. The devices works fine in "smart life"
Other things to check:
Did someone open the mobile app at the time they went offline? Does selecting polling in the config resolve the issue? Does downgrading tuya-local to 2022.4.3 resolve the issue?
No mobile app activity I will try polling, thanks for the advice! I just noticed the issue with the latest version of tuya-local, may have existed before, but I didn't notice
Only Gosund2 devices goes offline all the time. Sorry for writing "all".
just tried to set polling, but got a message, "Unable to connect to your device with those details. It could be an intermittent issue, or they may be incorrect."
This is how my smart plugs' status looks after updating to 2023.2.4. The first and second ones are Gosund ep2, and the last one is the Neo Smart Plug. The status of the devices keeps changing to "Unavailable" (every minute in Gosund). In the end, I downgraded to 2023.2.3, and the status is now stable (shown at the end of the chart on the right).
Every minute is a clear sign that the updatedps command is probably causing this. Since they are the smartplugv1 type, this can be easily differentiated from the smartplugv2 plugs, many of which seem to need the updatedps command.
not every minute here... sorry for the language settings, I hope the images make it clear
Downgraded one version (to 2023.2.3), and the issue has completely gone. Also a final clarification: the issue affects ALL my devices, the Blitzworlfs, and the Gosunds too. All of them are smartplugv1 type
(Off: Tuya SHP-6 can be added with this version too, just needs a fixed protocol version.)
The 2023.2.4 change has been undone for smartplugv1 config. I have smartplugv2 plugs which do not require the change in 2023.2.4, but also do not seem to be affected by the change, so hopefully it is only the v1 plugs that are affected.
The problem
all connected devices get inaccessible during the day, even if they are in the very same room with the wifi router. never get a warning from the cloud.
Expected behavior Inaccessible status should be shown in logs only if some device is really inaccessible for a time
Additional context I have got 2 Blitzwolf devices connected to directly the tuya cloud, without the BW branded interface, and two Gosund2 devices. All devices are smart sockets with measurement.
Please check if there are messages from Tuya Local in the Home Assistant log (Settings / System / Logs), and include those too.
If applicable, add screenshots to help explain your problem.