tixi / Domoticz-Tuya-SmartPlug-Plugin

Domoticz Python Plugin for Tuya Smart Plug
MIT License
23 stars 24 forks source link

Domoticz crashes or hangs with plugin #16

Open rolandbreedveld opened 4 years ago

rolandbreedveld commented 4 years ago

Hi I'm want to use this plugin with the LSC/Tuya bulbs. the get_dsp.py and on/off scripts are working fine, after changing the version from 3.1 to 3.3 the plugin is not working, after creating the first bulb, domoticz crashes:

Error: (tixi_tuya_smartplug_plugin) failed to load 'plugin.py', Python Path used was ':/usr/lib/python3.4/:/usr/lib/python3.4/plat-arm-linux-gnueabihf:/usr/lib/python3.4/lib-dynload:/usr/local/lib/python3.4/dist-packages:/usr/lib/python3/dist-packages:/usr/lib/python3.4/dist-packages:/usr/lib/dist-python'. 2020-02-04 13:59:10.320 Error: (LedLamp01) Module Import failed, exception: 'ImportError' 2020-02-04 13:59:10.320 Error: (LedLamp01) Module Import failed: ' Name: plugin' 2020-02-04 13:59:10.320 Error: (LedLamp01) Error Line details not available.

after restaring domoticz, you see in the log: Status: (LedLamp01) Started.

but after a short time domoticz hangs and is not reacting on anything have to remove the plugin to get it working again. using Domoticz 4.11652

rolandbreedveld commented 4 years ago

same issue with tixi/Domoticz-Tuya-SmartBulb-Plugin

macbenoit commented 4 years ago

Hey No solution here ?

rolandbreedveld commented 4 years ago

I flashed them all to Sonoff/Tasmota, and use the MQTT autodiscovery plugin together with mosquito. works much better, and much safer, while these original devices communicates via chinese sites

macbenoit commented 4 years ago

Yes I’ll do it ! I spent too much time on this