Done.
Time for a compliment: your support and (very fast) response is highly appreciated!
Moderator: leecollings
Done.
Do my best, Tuya is not the greatest in supporting hardware. But these devices can work under the plug-in. You can put the json there in the forum.manjh wrote: Thursday 18 March 2021 22:29 Done.
Time for a compliment: your support and (very fast) response is highly appreciated!
Found it
After the communication in the PM. What kind of issue you have, same as manjh?
Nope, the last one is that you going to try my modified plug-in.Vomera wrote: Friday 19 March 2021 10:35 Didnt you get my last pm's ?
I send you a bunch of loggings and screenhots![]()
OK, good. Let me know if there is anything I can do, for instance test a modified plugin.
Hi simon_rb,simon_rb wrote: Sunday 07 March 2021 22:00 It takes about 5 mins for changes to reflect in Domoticz if a switch is physically switched or switched using the Smart Life app. Not really an issues if thats the usual delay. Just checking my setup is correct.
The payload is exactly the same, I could do if the light is on white mode the only brightness and temperature and if it is colour then colour, brightness and temperature. Then with a instruction in the readme for RGBWW light before detection set the light on a colour.
Hey there Xenomes,Xenomes wrote: Sunday 21 March 2021 21:22 Hi simon_rb,
I updated the script, it updates every minute now.
Tried to flash the unit with tasmota, but its says i have the newest firmware on it, and cant flash it.Vomera wrote: Friday 19 March 2021 19:21ow hahanope, i can only trial and error, but i cant write the language haha

Which tool did you use to try flashing it with Tasmota?Vomera wrote: Monday 22 March 2021 19:28 Tried to flash the unit with tasmota, but its says i have the newest firmware on it, and cant flash it.
But on the NAS, the links are2021-03-26 16:34:46.818 Error: (tuya) failed to load 'plugin.py', Python Path used was '/usr/local/domoticz/var/plugins/Domoticz-TUYA-Plugin-master/:
/var/packages/py3k/target/usr/local/lib/python38.zip:
/var/packages/py3k/target/usr/local/lib/python3.8:
/var/packages/py3k/target/usr/local/lib/python3.8/lib-dynload:
/var/packages/py3k/target/usr/local/lib/python3.8/site-packages'.
//volume1/@appstore/domoticz/var/plugins/Domoticz-TUYA-Plugin-master
/volume1/@appstore/py3k/usr/local/lib/python3.8
/volume1/@appstore/py3k/usr/local/lib/python3.8/lib-dynload
How to restore the right paths ?/volume1/@appstore/py3k/usr/local/lib/python3.8/site-packages
Code: Select all
Getting credentials
Traceback (most recent call last):
File "/usr/lib/python3/dist-packages/requests/models.py", line 382, in prepare_url
scheme, auth, host, port, path, query, fragment = parse_url(url)
File "/usr/lib/python3/dist-packages/urllib3/util/url.py", line 392, in parse_url
return six.raise_from(LocationParseError(source_url), None)
File "<string>", line 3, in raise_from
urllib3.exceptions.LocationParseError: Failed to parse: https://px1.tuyaeu.com/homeassistant/auth.do
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/home/tontze/domoticz/plugins/Domoticz-TUYA-Plugin/tools/./debug_discovery.py", line 20, in <module>
auth_response = requests.post(
File "/usr/lib/python3/dist-packages/requests/api.py", line 119, in post
return request('post', url, data=data, json=json, **kwargs)
File "/usr/lib/python3/dist-packages/requests/api.py", line 61, in request
return session.request(method=method, url=url, **kwargs)
File "/usr/lib/python3/dist-packages/requests/sessions.py", line 528, in request
prep = self.prepare_request(req)
File "/usr/lib/python3/dist-packages/requests/sessions.py", line 456, in prepare_request
p.prepare(
File "/usr/lib/python3/dist-packages/requests/models.py", line 316, in prepare
self.prepare_url(url, params)
File "/usr/lib/python3/dist-packages/requests/models.py", line 384, in prepare_url
raise InvalidURL(*e.args)
requests.exceptions.InvalidURL: Failed to parse: https://px1.tuyaeu.com/homeassistant/auth.do
Code: Select all
2021-03-27 11:44:41.191 Status: Python Plugin System: (Tuya) Started.
2021-03-27 11:44:41.191 Status: Python Plugin System: (Tuya) Entering work loop.
2021-03-27 11:44:41.778 Status: Python Plugin System: (Tuya) Initialized version 1.0.5, author 'Wagner Oliveira'
2021-03-27 11:44:41.789 Error: Python Plugin System: (Tuya) handleThread: Failed to parse: https://px1.tuyaeu.com/homeassistant/auth.do line 196
2021-03-27 11:44:51.093 Python Plugin System: (Tuya) onHeartbeat called time=1616838291.092976
2021-03-27 11:44:51.094 Python Plugin System: (Tuya) in handlethread
2021-03-27 11:44:51.096 Error: Python Plugin System: (Tuya) handleThread: Failed to parse: https://px1.tuyaeu.com/homeassistant/access.do?grant_type=refresh_token&refresh_token= line 199 It is missing the requests.tontze wrote: Saturday 27 March 2021 10:39 Hm, im trying to use your plugin, but cant seem to get it working .. Here is output.
Users browsing this forum: No registered users and 1 guest