Search found 40 matches

by Loky31
Thursday 25 January 2024 9:40
Forum: Python
Topic: Python Plugin : Broadlink
Replies: 536
Views: 92208

Re: Python Plugin : Broadlink

Hi, I'm tryng to move from the old version of the plugin to this one but I'm struggling as the setup.py does not work ... I have the follwoing error : File "setup.py", line 230 print("\r>> Bytes downloaded -->" + state + str(leng) + state, end='', flush=True) ^ SyntaxError: invalid syntax I don't ...
by Loky31
Monday 05 June 2023 23:06
Forum: Bugs and Problems
Topic: 15326 - [WebServer] Depricated RType
Replies: 185
Views: 62272

Re: 15326 - [WebServer] Depricated RType

Revert to a version still compatible and will stop update afterthat as I have too many things relying on those calls, and more important some that I'm not able to update myself...

Bye bye domoticz upgrade then ;)
by Loky31
Monday 05 June 2023 11:46
Forum: Bugs and Problems
Topic: 15326 - [WebServer] Depricated RType
Replies: 185
Views: 62272

Re: 15326 - [WebServer] Depricated RType

Maybe a crazy idea there, but would it be somehow possible to capture and "translate" those former API calls to the new format ?
A kind of proxy somehow :)
by Loky31
Monday 05 June 2023 10:12
Forum: Bugs and Problems
Topic: 15326 - [WebServer] Depricated RType
Replies: 185
Views: 62272

Re: 15326 - [WebServer] Depricated RType

No mistake, matter of cleaning up old inconsistencies. Should be easy to fix. Maybe ask the either the author to fix it for you or do it yourself. Look for the API calls that do not start with `type=command`. Example `type=devices` should become `type=command&param=getdevices` Ok thanks for the ...
by Loky31
Monday 05 June 2023 1:17
Forum: Bugs and Problems
Topic: 15326 - [WebServer] Depricated RType
Replies: 185
Views: 62272

Re: 15326 - [WebServer] Depricated RType

Hi, Just faced the same issue... I'm using Monitor (https://github.com/vil1driver/monitor) as custom page , and was working fine until this damned beta update... Why are they breaking this API ? Is that a mistake or will it be it at final ? My problem is on Devices and Scenes... if there is an easy ...
by Loky31
Wednesday 30 October 2019 19:24
Forum: Bash / PowerShell / Batch etc.
Topic: Fire TV Status
Replies: 3
Views: 4043

Re: Fire TV Status

OMFG I din't saw your answer!!!!

Thank you so much! it just works like charm!!!
I was trying to use an addon since quite some time with no success ( :https://github.com/happyleavesaoc/python-firetv), you really got me where I needed :)
by Loky31
Sunday 22 September 2019 10:35
Forum: Bash / PowerShell / Batch etc.
Topic: Fire TV Status
Replies: 3
Views: 4043

Re: Fire TV Status

Hello, Nice script to reflect firetv statuts 😉 Looking at thé script i guess it Is not intended to Control firetv, By any chance would you be able to show à command line that can Control thé firetv ? What I'm Looking for Is à Way to wake it up and at least make a pause/play command on it. It would be ...
by Loky31
Tuesday 03 September 2019 12:10
Forum: Python
Topic: [REQUEST] Plugin for Tuya
Replies: 373
Views: 103466

Re: [REQUEST] Plugin for Tuya

I finally handled the switch to work :)

But still the pluggin does not handle well status (the domoticz switch is stuck on OFF state)...

Anyway, it works with a dummy that activate the switch created by the pluggin. Fair enough to be functionnal :)
by Loky31
Saturday 31 August 2019 12:24
Forum: Python
Topic: [REQUEST] Plugin for Tuya
Replies: 373
Views: 103466

Re: [REQUEST] Plugin for Tuya

Hello, Thanks for the help! So here is the situation : I have modified the __init__.py in the pytuya directory to change 3.1 to 3.3 in the " class XenonDevice(object): " which results in "self.version = 3.3". The get_dps.py was still crashing as follow: Traceback (most recent call last): File "./get ...
by Loky31
Friday 30 August 2019 10:46
Forum: Python
Topic: [REQUEST] Plugin for Tuya
Replies: 373
Views: 103466

Re: [REQUEST] Plugin for Tuya

I've tried to update the index.js with 3.3 instead of 3.1 but din't change anything...

I still have an OSError when launching the get_dps.py

I don't know where I'm wrong then....
by Loky31
Thursday 29 August 2019 12:14
Forum: Python
Topic: [REQUEST] Plugin for Tuya
Replies: 373
Views: 103466

Re: [REQUEST] Plugin for Tuya

Many thanks for the reply!!

Just a detail, to activate protocol V3.3 do I only need to edit the tuyapi/index.js file (by replacing 3.1 by 3.3) ?

is that enough?
by Loky31
Thursday 29 August 2019 10:42
Forum: Python
Topic: [REQUEST] Plugin for Tuya
Replies: 373
Views: 103466

Re: [REQUEST] Plugin for Tuya

Hello all, I'm coming back on this topic as I'm still truggling with my two tuya plugs and my switch. For tuya plugs I reached a weird state... Domoticz seems to connect and is sending regularly some 86 bytes. In the logs something looks weird to me : "Protocol for Tuya not specified. 'None' assumed ...
by Loky31
Sunday 25 August 2019 10:52
Forum: Python
Topic: [REQUEST] Plugin for Tuya
Replies: 373
Views: 103466

Re: [REQUEST] Plugin for Tuya

Hi,

Is Someone able to provide logs from a working one ?
Just to have an idea of what to expect.
by Loky31
Saturday 24 August 2019 15:23
Forum: Python
Topic: [REQUEST] Plugin for Tuya
Replies: 373
Views: 103466

Re: [REQUEST] Plugin for Tuya

Have you tried the get_dps and turnON, turnOFF scripts? Enviado desde mi Redmi Note 4 mediante Tapatalk I tried that but didn't worked, smart life app turned off and domoticz hw desactivated to avoid double connection. It's weird... I tried to use the app with domoticz hw turned on and thé plug ...
by Loky31
Friday 23 August 2019 17:39
Forum: Python
Topic: [REQUEST] Plugin for Tuya
Replies: 373
Views: 103466

Re: [REQUEST] Plugin for Tuya

Hello AllesVanZelf , I have reached the same point as you are... No obvious problem, but nothing happen! On my side I did retrieve the key and devId with packet capture and I assume they are the good one but without any real way to confirm that. I didn't found a level of debug that confirms that it ...
by Loky31
Wednesday 21 August 2019 17:42
Forum: Python
Topic: [REQUEST] Plugin for Tuya
Replies: 373
Views: 103466

Re: [REQUEST] Plugin for Tuya

I think that in the pytuya readme you can see some options. I'have used PacketCapture app in my android device, capturing packets from SmartLife app and searching in the packets for the keys or DPS. Enviado desde mi Redmi Note 4 mediante Tapatalk By any chance, can you give more detail on how you ...
by Loky31
Sunday 11 August 2019 13:57
Forum: Python
Topic: [REQUEST] Plugin for Tuya
Replies: 373
Views: 103466

Re: [REQUEST] Plugin for Tuya

Many Thanks for the answer.

Is an évolution to support this kind of switch to be supported ?
Someone would kindly do that please ?

Many Thanks
by Loky31
Friday 09 August 2019 22:23
Forum: Python
Topic: [REQUEST] Plugin for Tuya
Replies: 373
Views: 103466

Re: [REQUEST] Plugin for Tuya

Hello all,

Many Thanks for the work performed.

By any chance, will i be able to command, with the plugin, the following switch :
https://m.ru.aliexpress.com/item/32963064005.html

Thanks in avance for the answer 😁
by Loky31
Thursday 20 June 2019 18:01
Forum: Python
Topic: Python Plugin : Broadlink RM2 V4
Replies: 651
Views: 127845

Re: Python Plugin : Broadlink RM2 V4

Tried to install the Broadlink RM2 V4 plugin on my Raspberry Pi: copied the files "plugin_send.py" , "plugin_http.sh", "plugin_http.py" and "plugin.py" to /home/pi/domoticz/plugins/BroadlinkRM2/ Then installed the required modules: sudo apt install python-pip sudo pip3 install pyaes sudo pip3 ...
by Loky31
Saturday 15 June 2019 16:32
Forum: Python
Topic: Python Plugin : Broadlink RM2 V4
Replies: 651
Views: 127845

Re: Python Plugin : Broadlink RM2 V4

Hello again all, So I gave a try with the e-control app, adding some RF commands for a switch and then share through the app, copy paste the JSON files into the domoticz RM2 pluggin directory and finally get the same error : 2019-06-15 16:31:45.140 Error: (RM salon) 'onCommand' failed ...