Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Switch status loosing sync #9

Open
shakisha opened this issue Nov 1, 2024 · 6 comments
Open

Switch status loosing sync #9

shakisha opened this issue Nov 1, 2024 · 6 comments

Comments

@shakisha
Copy link

shakisha commented Nov 1, 2024

Hello, I have got last version alpha 0.5b installed and switch status gets lost every one and then, like now, showing off when it was on and no other interpreter switch it off (Alexa, smart life, no one touched the state).

What can I do to debug and solve this issue?

@Xenomes
Copy link
Owner

Xenomes commented Nov 2, 2024

I had my device online for weeks, has the device a static ip adres?

@shakisha
Copy link
Author

shakisha commented Nov 2, 2024

@Xenomes yes, it is static ip address with a dhcp reservation

@Xenomes
Copy link
Owner

Xenomes commented Nov 2, 2024

When the device is offline, is control through the tuya app still possible?

@shakisha
Copy link
Author

shakisha commented Nov 2, 2024

@Xenomes yes, tuya and also domoticz

@Xenomes
Copy link
Owner

Xenomes commented Nov 2, 2024

Okay, thanks for that info. I will check the code that controls the offline state.

@shakisha
Copy link
Author

shakisha commented Nov 3, 2024

Device is on now, if I turn off through tuya app, in domoticz it stays on and these are the logs which are repeated every 10 seconds, no indication about the device :

2024-11-03 12:36:31.026 Tuyalocal: Pushing 'onHeartbeatCallback' on to queue
2024-11-03 12:36:31.077 Tuyalocal: Processing 'onHeartbeatCallback' message
2024-11-03 12:36:31.078 Tuyalocal: Acquiring GIL for 'onHeartbeatCallback'
2024-11-03 12:36:31.078 Tuyalocal: Calling message handler 'onHeartbeat' on 'module' type object.
2024-11-03 12:36:31.078 Tuyalocal: onHeartbeat called
2024-11-03 12:36:31.079 Tuyalocal: Update devices in Domoticz
2024-11-03 12:36:31.525 Tuyalocal: Acquiring GIL for 'onHeartbeatCallback'
2024-11-03 12:36:41.040 Tuyalocal: Pushing 'onHeartbeatCallback' on to queue
2024-11-03 12:36:41.090 Tuyalocal: Processing 'onHeartbeatCallback' message
2024-11-03 12:36:41.091 Tuyalocal: Acquiring GIL for 'onHeartbeatCallback'
2024-11-03 12:36:41.091 Tuyalocal: Calling message handler 'onHeartbeat' on 'module' type object.
2024-11-03 12:36:41.091 Tuyalocal: onHeartbeat called
2024-11-03 12:36:41.091 Tuyalocal: Update devices in Domoticz

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants