This is the first plugin I'm trying to use.
Pip installation went fine, only one question here how can I update pip?
Or is it now updated?
You are using pip version 7.1.2, however version 20.2.2 is available.
You should consider upgrading via the 'pip install --upgrade pip' command.
root@xxxxxx:~# ^C
root@xxxxxx:~# pip install --upgrade pip
DEPRECATION: Python 2.7 reached the end of its life on January 1st, 2020. Please upgrade your Python as Python 2.7 is no longer maintained. pip 21.0 will drop support for Python 2.7 in January 2021. More details about Python 2 support in pip can be found at
https://pip.pypa.io/en/latest/developme ... -2-support
Requirement already up-to-date: pip in /usr/lib/python2.7/site-packages (20.2.2)
root@xxxxxx:~#
For PY 3.5 I used the following commands to install:
python3.5 -m ensurepip
python3.5 -m pip install flask
After stopping and starting the domoticz package in Synology, and re-adding the TUYA hardware I get the follwoing error:
2020-09-04 07:31:36.985 Error: (tuya) failed to load 'plugin.py', Python Path used was '/usr/local/domoticz/var/plugins/tuyaha-master/:/volume1/@appstore/py3k/usr/local/lib/python35.zip:/volume1/@appstore/py3k/usr/local/lib/python3.5/:/volume1/@appstore/py3k/usr/local/lib/python3.5/plat-linux:/volume1/@appstore/py3k/usr/local/lib/python3.5/lib-dynload:/volume1/@appstore/py3k/usr/local/lib/python3.5/site-packages'.
2020-09-04 07:31:36.985 Error: (SmartPlug-1) Module Import failed, exception: 'ImportError'
2020-09-04 07:31:36.985 Error: (SmartPlug-1) Module Import failed: ' Name: requests'
2020-09-04 07:31:36.985 Error: (SmartPlug-1) Error Line details not available.
Maybe it is wiser for me just to try and flash the TUYA smartplug with Tasmota, that seems to be more regular.
Domoticz beta | Dashticz beta | Synology DS415+ | Wall tablet Teclast 11.6inch (Android) | TADO v3 controlled heating