Search found 4 matches
- Thursday 28 February 2019 12:02
- Forum: Python
- Topic: [REQUEST] Plugin for Tuya
- Replies: 373
- Views: 101256
Re: [REQUEST] Plugin for Tuya
Reading and debugging this code gave me also some (a little) python skills confidence - I have 12+ years of commercial background in PHP but started learning Python recently ;) Funny thing is that I bought this plug yesterday and then started googling to find a way to setup it in Domoticz. I wasn't ...
- Thursday 28 February 2019 11:13
- Forum: Python
- Topic: [REQUEST] Plugin for Tuya
- Replies: 373
- Views: 101256
Re: [REQUEST] Plugin for Tuya
Hi guys, I found solution to my problem: Plug State Information: {'devId': '46268374840d8e953b36', 'dps': {'1': True, '23': 30147, '18': 175, '25': 1205, '9': 0, '22': 623, '19': 260, '24': 17293, '20': 2334, '21': 1}} Plug DPS List: 1 Then I had to adjust values in constructor: self.__ampere = 18 ...
- Wednesday 27 February 2019 22:23
- Forum: Python
- Topic: [REQUEST] Plugin for Tuya
- Replies: 373
- Views: 101256
Re: [REQUEST] Plugin for Tuya
The output of get_dps.py:
Code: Select all
Plug State Information:
{'dps': {'23': 30147, '25': 1205, '21': 1, '1': True, '22': 623, '19': 891, '18': 432, '20': 2346, '24': 17293, '9': 0}, 'devId': '46268374840d8e953b36'}
Plug DPS List:
1
- Wednesday 27 February 2019 22:03
- Forum: Python
- Topic: [REQUEST] Plugin for Tuya
- Replies: 373
- Views: 101256
Re: [REQUEST] Plugin for Tuya
Hi guys, I've installed your plugin sincze and I'm getting error: 2019-02-27 21:56:05.243 Status: (SmartPlug) Initialized version 1.0.0, author 'tixi_sincze' 2019-02-27 21:56:05.453 Error: (SmartPlug) 'onMessage' failed 'KeyError'. 2019-02-27 21:56:05.453 Error: (SmartPlug) ----> Line 530 in /home ...