I'll try to look at this post more often now .
Désolé pour ma "non réponse" je ne recois aucune notif du forum depuis quelques temps....

S'il faut faire des tests ou aider j'essaierai de passer plus régulièrement
Moderator: leecollings
Hi tixi7! Sorry for the very late reply. It was a stupid mistake with the wifi net that I was using.tixi7 wrote: ↑Saturday 13 October 2018 16:21 Can you provide more details:
- the plugin: plug or bulb?
- the version of the plugin, since the post I patch the bulb plugin to avoid a similar behavior
- some logs information
- device informations,
Can you try with the latest stable version of domoticz? I observe that some beta version causes problems: a bug report for domoticz is on my todo list.
jslegers, for sure the plugin is not define for it and i don't know if the library can get it or not. Can you send me the result of the script get_dps.py.
Code: Select all
pi@domoticz:~/domoticz/plugins/Domoticz-Tuya-SmartPlug-Plugin $ ./get_dps.py 192.168.1.126 00621010cc50e3c3d408
A problem occur please retry...
I've read all this thread. It mention something related to the firmware version. In my case both MCU & Wifi firmware are always the same, as follows:tixi7 wrote: ↑Sunday 30 December 2018 19:52 Thanks, but it is not a bug.
Unfortunately this is mandatory to not disconnect the connection between the device and the plugin to avoid unexpected behavior for some tuya devices.
You can have a look at this thread: https://github.com/codetheweb/tuyapi/issues/84
Moreover, have in mind that only one connection is possible. That's why it is not possible to have the tuya app running and the domoticz plugin. And the same for Alexa. A way to handle it is to use Alexa with domoticz.
I've compared the code for the Tuya-SmartBulb plugin.py and the SmartPlug. It looks to me the Bulb one is not updated. I wonder if when the persistent socket issue was discovered, the SmartBulb code was also updated?jordipalet wrote: ↑Sunday 30 December 2018 20:33I've read all this thread. It mention something related to the firmware version. In my case both MCU & Wifi firmware are always the same, as follows:tixi7 wrote: ↑Sunday 30 December 2018 19:52 Thanks, but it is not a bug.
Unfortunately this is mandatory to not disconnect the connection between the device and the plugin to avoid unexpected behavior for some tuya devices.
You can have a look at this thread: https://github.com/codetheweb/tuyapi/issues/84
Moreover, have in mind that only one connection is possible. That's why it is not possible to have the tuya app running and the domoticz plugin. And the same for Alexa. A way to handle it is to use Alexa with domoticz.
- Smart Plug: 1.0.0 - it works both with Alexa and Domoticz, no issues after several hours testing
- Switch module: 1.0.3 - same as above, no issues at all
- Dimmer module: 1.0.0 - it work fine with Alexa or Domoticz, but not with both.
So I really wonder if the persistent socket is needed, if both the smart plug and the switch module are working fine.
I have followed the steps but the app gives an network error when trying to refresh the devices.tixi7 wrote: ↑Thursday 20 December 2018 21:05 Can you try to extract the devID with this method:
https://github.com/codetheweb/tuyapi/bl ... s/SETUP.md
To be sure you have the correct information.
Users browsing this forum: No registered users and 1 guest