Search found 8 matches

by tete
Monday 23 September 2019 15:12
Forum: Python
Topic: [REQUEST] Plugin for Tuya
Replies: 373
Views: 104165

Re: [REQUEST] Plugin for Tuya


# MIT License #
# #
# Copyright (c) 2018 tixi #



I've made these changes and now I can get the plugin working.

Plug State Information:
{'devId': '60417563840d8e68fe98', 'dps': {'22': 626, '19': 1334, '23': 34433, '9': 0, '20': 2358, '18': 634, '1': True, '24': 19774, '21': 1, '25': 1045 ...
by tete
Thursday 08 August 2019 11:40
Forum: Python
Topic: [REQUEST] Plugin for Tuya
Replies: 373
Views: 104165

Re: [REQUEST] Plugin for Tuya


Got it

https://i.imgur.com/3dpOP03.jpg

The only problem is that I get this error after switching on or off the plug. But it is turned on or off


2019-08-07 18:53:31.532 Error: (Plug Cuina) 'onCommand' failed 'ValueError':'Input strings must be a multiple of 16 in length'.
2019-08-07 18:53 ...
by tete
Monday 05 August 2019 15:27
Forum: Python
Topic: [REQUEST] Plugin for Tuya
Replies: 373
Views: 104165

Re: [REQUEST] Plugin for Tuya




Hi,
I ran this command but nothing appears, but I have installed it during the plugin installation (git clone https://github.com/clach04/python-tuya.git)

If I run the test.py file of the pytuya installation, I get this output


pi@domoticz:~/domoticz/plugins/Domoticz-Tuya-SmartPlug-Plugin ...
by tete
Monday 05 August 2019 13:15
Forum: Python
Topic: [REQUEST] Plugin for Tuya
Replies: 373
Views: 104165

Re: [REQUEST] Plugin for Tuya




Hi,
I ran this command but nothing appears, but I have installed it during the plugin installation (git clone https://github.com/clach04/python-tuya.git)

If I run the test.py file of the pytuya installation, I get this output


pi@domoticz:~/domoticz/plugins/Domoticz-Tuya-SmartPlug-Plugin ...
by tete
Monday 05 August 2019 11:51
Forum: Python
Topic: [REQUEST] Plugin for Tuya
Replies: 373
Views: 104165

Re: [REQUEST] Plugin for Tuya





Hi merlot,
I don't know what version I am using. How can I find out the version? How can I update it?


sudo pip3 show pytuya

Unfortunately, I couldnn't upgrade using the --upgrade option in pip3 and I had to copy/paste the __init from the project git site.


Hi,
I ran this command but ...
by tete
Monday 05 August 2019 9:53
Forum: Python
Topic: [REQUEST] Plugin for Tuya
Replies: 373
Views: 104165

Re: [REQUEST] Plugin for Tuya



I'm trying to configure a teckin sp22 plug but I get this message:

pi@domoticz:~/domoticz/plugins/Domoticz-Tuya-SmartPlug-Plugin $ ./get_dps.py 192.168.0.171 60417563840d8e68fe98
Unexpected status() payload=b'3.3\x00\x00\x00\x00\x00\x00\x9d\xa4\x00\x00\x00\x01N\xcc\x8f\xb0>@,B=\xbe\xe9 \xcf\xd2 ...
by tete
Wednesday 31 July 2019 16:24
Forum: Python
Topic: [REQUEST] Plugin for Tuya
Replies: 373
Views: 104165

Re: [REQUEST] Plugin for Tuya

No, these are not zigbee.
It seems as the output was different from what it expected.
by tete
Sunday 28 July 2019 19:30
Forum: Python
Topic: [REQUEST] Plugin for Tuya
Replies: 373
Views: 104165

Re: [REQUEST] Plugin for Tuya

I'm trying to configure a teckin sp22 plug but I get this message:

pi@domoticz:~/domoticz/plugins/Domoticz-Tuya-SmartPlug-Plugin $ ./get_dps.py 192.168.0.171 60417563840d8e68fe98
Unexpected status() payload=b'3.3\x00\x00\x00\x00\x00\x00\x9d\xa4\x00\x00\x00\x01N\xcc\x8f\xb0>@,B=\xbe\xe9 \xcf\xd2\x8f ...