rospogrigio / localtuya

local handling for Tuya devices
GNU General Public License v3.0
2.72k stars 532 forks source link

Weather station unavailable #1220

Open Maetzi87 opened 1 year ago

Maetzi87 commented 1 year ago

I use a weather station with local tuya cause it's sensors do not show values over normal tuya integration. With local tuya everything worked fine until a few days ago. Now all sensors are "unavailable", though the debug-log shows all the values correctly. Why is it not working anymore? Restarting, going back to old backup, reloading integration and reinstalling integration didnt help. After reintegrating localtuya, i cannot even reconnect my device. Please advice!

Maetzi87 commented 1 year ago

Fixed it myself:

I use a guest-network for my smart devices since they all need 2,4 GHz. I restarted the guest-network and forgot to allow local access. With local access on again, sensors work fine. Maybe this helps anyone else.

Maetzi87 commented 1 year ago

Ok, its still loosing the connection every few minutes. I set up a automation that reloads the integration if connection is lost for more than a minute and also restarts home assistant, if reloading didnt help. But this is very annoying and I still dont know, why its loosing connection. And I'm not sure, if reloading/restarting will always help, dont want to get a restart-loop... Any idea what to do?

Maetzi87 commented 1 year ago

It's a "Bresser" weatherstation, on my mobile phone I use it with smart life app, but the normal smartlife integration in homeassistant doesn't show any entities. Thats why I used localtuya to get the values in homeassistant (e.g. I use the light-intensity to trigger my switchbot-curtains).But as I said before, it keeps loosing connection. Maybe because the device updates not that often and home assistant gets panic when it gets no news? 😆Thanks for looking at it. :-)Am 22.02.23, 23:08 schrieb starmagoo @.***>:

I use a weather station with local tuya cause it's sensors do not show values over normal tuya integration. With local tuya everything worked fine until a few days ago. Now all sensors are "unavailable", though the debug-log shows all the values correctly. Why is it not working anymore? Restarting, going back to old backup, reloading integration and reinstalling integration didnt help. After reintegrating localtuya, i cannot even reconnect my device. Please advice!

Short question, which platform do you choose for the weather station? thx —Reply to this email directly, view it on GitHub, or unsubscribe.You are receiving this because you modified the open/close state.Message ID: @.***>