Python Plugin: Broadlink RM2
Moderator: leecollings
-
- Posts: 31
- Joined: Friday 24 February 2017 12:01
- Target OS: Windows
- Domoticz version:
- Contact:
Re: Python Plugin: Broadlink RM2
Perfect!thx!
- StanHD
- Posts: 347
- Joined: Friday 12 July 2013 16:09
- Target OS: Windows
- Domoticz version:
- Location: East Sussex, UK
- Contact:
Re: Python Plugin: Broadlink RM2
Hi @zak45
I have been using the plug-in under Windows for some time now and it works really well. So thank you very much for your work.
Even though the actions are always carried out, I get the following error messages:-
It really isn't a big problem to me but just wondered if I could fix easily?
Thanks for any help.
I have been using the plug-in under Windows for some time now and it works really well. So thank you very much for your work.
Even though the actions are always carried out, I get the following error messages:-
- Spoiler: show
It really isn't a big problem to me but just wondered if I could fix easily?
Thanks for any help.
Domoticz Main - Intel nuc, Windows, RFXTRX433E. Lan Relay Boards, Aeon Z-Stick Gen 5, Evohome HGI80, Milight WiFi, MySensors Ethernet Gateway, Harmony Hub
Python:- Broadlink RM2, Sonos
HA-Bridge - Amazon Echo / Alexa
Python:- Broadlink RM2, Sonos
HA-Bridge - Amazon Echo / Alexa
-
- Posts: 952
- Joined: Sunday 22 January 2017 11:37
- Target OS: Windows
- Domoticz version: V2024.4
- Contact:
Re: Python Plugin: Broadlink RM2
@StanHD
Hi, happy to make you happy (more or less) !!!
for the Unit unknown error:
this one occur when check device ID during Set Level command.
Do you have replaced any pre-generated device (push button) by a selector ?? this could explain that.
for the Error Connecting to Broadlink device error:
plugin try to do regular connection to the broadlink device:
every 2 minutes if you manage the temperature device otherwise every 5 minutes. check & try to see if any network failure occur at this time !!
Hi, happy to make you happy (more or less) !!!
for the Unit unknown error:
this one occur when check device ID during Set Level command.
Do you have replaced any pre-generated device (push button) by a selector ?? this could explain that.
for the Error Connecting to Broadlink device error:
plugin try to do regular connection to the broadlink device:
every 2 minutes if you manage the temperature device otherwise every 5 minutes. check & try to see if any network failure occur at this time !!
- StanHD
- Posts: 347
- Joined: Friday 12 July 2013 16:09
- Target OS: Windows
- Domoticz version:
- Location: East Sussex, UK
- Contact:
Re: RE: Re: Python Plugin: Broadlink RM2
Thanks for the fast reply. I haven't changed any of the push buttons, but I will check everything through. I have a "Sky Q" Wifi network which uses a dual band router with a mesh of 4 repeaters meshed throughout the house to move hdtv around using proprietary hardware / software. This is very reliable but maybe the errors are in some way caused by the Broadlink swapping between the connection points. (The system presents as a single ssid).zak45 wrote:@StanHD
Hi, happy to make you happy (more or less) !!!
for the Unit unknown error:
this one occur when check device ID during Set Level command.
Do you have replaced any pre-generated device (push button) by a selector ?? this could explain that.
for the Error Connecting to Broadlink device error:
plugin try to do regular connection to the broadlink device:
every 2 minutes if you manage the temperature device otherwise every 5 minutes. check & try to see if any network failure occur at this time !!
Must stress though that the plugin works really well so a few log errors aren't a problem
Domoticz Main - Intel nuc, Windows, RFXTRX433E. Lan Relay Boards, Aeon Z-Stick Gen 5, Evohome HGI80, Milight WiFi, MySensors Ethernet Gateway, Harmony Hub
Python:- Broadlink RM2, Sonos
HA-Bridge - Amazon Echo / Alexa
Python:- Broadlink RM2, Sonos
HA-Bridge - Amazon Echo / Alexa
-
- Posts: 31
- Joined: Friday 24 February 2017 12:01
- Target OS: Windows
- Domoticz version:
- Contact:
Re: Python Plugin: Broadlink RM2
Hi to all..
Windows 10 x64,Python 3.5.3 and problem with setup.exe! someone help me please!
Windows 10 x64,Python 3.5.3 and problem with setup.exe! someone help me please!
-
- Posts: 952
- Joined: Sunday 22 January 2017 11:37
- Target OS: Windows
- Domoticz version: V2024.4
- Contact:
Re: Python Plugin: Broadlink RM2
the version on pypi (0.4) is buggy , not able to be installed automatically with python v 3.x.ilpier wrote:Hi to all..
Windows 10 x64,Python 3.5.3 and problem with setup.exe!
someone help me please!
You need to take one from dropbox (0.3) and install it manually.
-
- Posts: 14
- Joined: Saturday 06 May 2017 11:41
- Target OS: NAS (Synology & others)
- Domoticz version:
- Contact:
Broadlink RM2 webimport
First of all respect for the pluganators and all the forum info. Had problems on the syn domoticz package, now on the rpi2 debian works flawless. Only troubled with the webimport function. Did the usual stuff chmod 777 and chmod +x, does anyone know how to open the webserver. The broadlink import switch was succesfully added btw.
2017-05-21 23:07:35.006 Error: (broadlink) /home/pi/domoticz/plugins/BroadlinkRM2/plugin_http.sh 0.0.0.0 9000 /home/pi/domoticz/plugins/
2017-05-21 23:07:35.006 Error: (broadlink) None
2017-05-21 23:07:35.006 Error: (broadlink) Not able to start Web server
2017-05-21 23:07:35.006 Error: (broadlink) /home/pi/domoticz/plugins/BroadlinkRM2/plugin_http.sh 0.0.0.0 9000 /home/pi/domoticz/plugins/
2017-05-21 23:07:35.006 Error: (broadlink) None
2017-05-21 23:07:35.006 Error: (broadlink) Not able to start Web server
-
- Posts: 31
- Joined: Friday 24 February 2017 12:01
- Target OS: Windows
- Domoticz version:
- Contact:
Re: Python Plugin: Broadlink RM2
Sorry Zak,which version from Dropbox?zak45 wrote:the version on pypi (0.4) is buggy , not able to be installed automatically with python v 3.x.ilpier wrote:Hi to all..
Windows 10 x64,Python 3.5.3 and problem with setup.exe!
someone help me please!
You need to take one from dropbox (0.3) and install it manually.
-
- Posts: 952
- Joined: Sunday 22 January 2017 11:37
- Target OS: Windows
- Domoticz version: V2024.4
- Contact:
Re: Python Plugin: Broadlink RM2
this one :ilpier wrote:
Sorry Zak,which version from Dropbox?
python-broadlink-master.zip; you should be able to find on the forum how to install it.
-
- Posts: 952
- Joined: Sunday 22 January 2017 11:37
- Target OS: Windows
- Domoticz version: V2024.4
- Contact:
Re: Broadlink RM2 webimport
this is related to no-windows OS;kingoifsnake74 wrote:First of all respect for the pluganators and all the forum info. Had problems on the syn domoticz package, now on the rpi2 debian works flawless. Only troubled with the webimport function. Did the usual stuff chmod 777 and chmod +x, does anyone know how to open the webserver. The broadlink import switch was succesfully added btw.
2017-05-21 23:07:35.006 Error: (broadlink) /home/pi/domoticz/plugins/BroadlinkRM2/plugin_http.sh 0.0.0.0 9000 /home/pi/domoticz/plugins/
2017-05-21 23:07:35.006 Error: (broadlink) None
2017-05-21 23:07:35.006 Error: (broadlink) Not able to start Web server
Have updated plugin_http.py on Dropbox; just download and replace the one in plugin directory.
let me know.
-
- Posts: 14
- Joined: Saturday 06 May 2017 11:41
- Target OS: NAS (Synology & others)
- Domoticz version:
- Contact:
Re: Python Plugin: Broadlink RM2
I skipped the web import and did it manually with jsonbutton jsoncode and jaonsublr. Succesfull import. Some devices from the import work but most don't. Even if i execute the code in ssh. Changed all the rights, Is the code to long? Is it double? Wrong format? Last step 2 make me happy , thanx
2017-05-22 19:36:21.817 User: Admin initiated a switch command (197/broadlink - 5-139 keukendimmer dimmen/On)
2017-05-22 19:36:21.820 (broadlink) Calling message handler 'onCommand'.
2017-05-22 19:36:21.820 (broadlink) onCommand called for Unit 139: Parameter 'On', Level: 0 , Connected : True
2017-05-22 19:36:21.820 (broadlink) Generate on Command for learned code stored on unit :139
2017-05-22 19:36:21.826 (broadlink) Code loaded : e90484030506050506050506050606090b0b050506050b0b0a06050a0b0b0a06050b05050506130405060506050505060505060c090b050606040b0b0a06050b0a0b0b05050b05050506130505050507060406060406050b0a0b060505050b0b0a06050c0a0a0b05050b06050505120605060505050704050605060a0b0b050506050a0b0b05050b0b0a0b06050a07040505130507040505060604060606040b0a0b050506050b0b0a05060b0a0b0a06050b05050604130506050506050505060506050b0b0a060406050b0a0b06050b0a0b0b06040b05060505120704060406060406050606050a0b0a060506040c0b0a05050b0a0c0a05050b06040605120605060505050605050704050b0b0a060605050b0a0b05050b0b0a0b06050a06050506120505060505060505060505050b0b0a060506050b0a0b05060a0c0a0a06060a05050506120505060604060605050506050a0b0b050507050a0b0a06050b0a0b0b05050b05050506120605050605050605050506050b0a0b060506040b0b0b05060b090b0b05050b05050605130604050606050505050605050b0b0a060506050b0a0b06050b0b0a0c04050a0605050711050506050704050506050507090b0b050704050b0b0a0507090b0b0a07040b05060406120505060506050505070505050a0b0b050506050b0b0a07040b0b0a0b05050b05050605120605050506050606040506050b0b0a060505060a0b0a06050b0b0a0b05060a06050505120605070405050605060506040d090a060506050a0b0b07040c0a0a0b06050b05050507110505060605050505060506050a0b0b050606050a0a0b0606090b0b0b05050b05060406120704050506050605050506050b0a0b060505050b0b0a06050b0c090c05040b06050604120605050606040605050605050b0b0a060506040b0b0b05060a0c090b06050a06050505130505060605040606060405060a0b0c050406050b0b0a05060a0b0b0a06050b05060504130604060506050605060505050a0c0a050506050b0b0a06050b0b0b0a05050b05070407110506050506050506050605050b0a0b060505050b0b0b05060a0a0b0c04050b05060505120605050704050605050605050b0b0b050606040a0b0b05050b0b0b0a06050c04050505130604060506050505060506050c0a0a050507040a0d0906050a0b0b0a06050b0505050711050506050605050605050606090b0b050506050b0b0a06050b0a0b0b05050b0505
2017-05-22 19:36:21.858 (broadlink) Connected to Broadlink device.
2017-05-22 19:36:21.859 (broadlink) b'\xe9\x04\x84\x03\x05\x06\x05\x05\x06\x05\x05\x06\x05\x06\x06\t\x0b\x0b\x05\x05\x06\x05\x0b\x0b\n\x06\x05\n\x0b\x0b\n\x06\x05\x0b\x05\x05\x05\x06\x13\x04\x05\x06\x05\x06\x05\x05\x05\x06\x05\x05\x06\x0c\t\x0b\x05\x06\x06\x04\x0b\x0b\n\x06\x05\x0b\n\x0b\x0b\x05\x05\x0b\x05\x05\x05\x06\x13\x05\x05\x05\x05\x07\x06\x04\x06\x06\x04\x06\x05\x0b\n\x0b\x06\x05\x05\x05\x0b\x0b\n\x06\x05\x0c\n\n\x0b\x05\x05\x0b\x06\x05\x05\x05\x12\x06\x05\x06\x05\x05\x05\x07\x04\x05\x06\x05\x06\n\x0b\x0b\x05\x05\x06\x05\n\x0b\x0b\x05\x05\x0b\x0b\n\x0b\x06\x05\n\x07\x04\x05\x05\x13\x05\x07\x04\x05\x05\x06\x06\x04\x06\x06\x06\x04\x0b\n\x0b\x05\x05\x06\x05\x0b\x0b\n\x05\x06\x0b\n\x0b\n\x06\x05\x0b\x05\x05\x06\x04\x13\x05\x06\x05\x05\x06\x05\x05\x05\x06\x05\x06\x05\x0b\x0b\n\x06\x04\x06\x05\x0b\n\x0b\x06\x05\x0b\n\x0b\x0b\x06\x04\x0b\x05\x06\x05\x05\x12\x07\x04\x06\x04\x06\x06\x04\x06\x05\x06\x06\x05\n\x0b\n\x06\x05\x06\x04\x0c\x0b\n\x05\x05\x0b\n\x0c\n\x05\x05\x0b\x06\x04\x06\x05\x12\x06\x05\x06\x05\x05\x05\x06\x05\x05\x07\x04\x05\x0b\x0b\n\x06\x06\x05\x05\x0b\n\x0b\x05\x05\x0b\x0b\n\x0b\x06\x05\n\x06\x05\x05\x06\x12\x05\x05\x06\x05\x05\x06\x05\x05\x06\x05\x05\x05\x0b\x0b\n\x06\x05\x06\x05\x0b\n\x0b\x05\x06\n\x0c\n\n\x06\x06\n\x05\x05\x05\x06\x12\x05\x05\x06\x06\x04\x06\x06\x05\x05\x05\x06\x05\n\x0b\x0b\x05\x05\x07\x05\n\x0b\n\x06\x05\x0b\n\x0b\x0b\x05\x05\x0b\x05\x05\x05\x06\x12\x06\x05\x05\x06\x05\x05\x06\x05\x05\x05\x06\x05\x0b\n\x0b\x06\x05\x06\x04\x0b\x0b\x0b\x05\x06\x0b\t\x0b\x0b\x05\x05\x0b\x05\x05\x06\x05\x13\x06\x04\x05\x06\x06\x05\x05\x05\x05\x06\x05\x05\x0b\x0b\n\x06\x05\x06\x05\x0b\n\x0b\x06\x05\x0b\x0b\n\x0c\x04\x05\n\x06\x05\x05\x07\x11\x05\x05\x06\x05\x07\x04\x05\x05\x06\x05\x05\x07\t\x0b\x0b\x05\x07\x04\x05\x0b\x0b\n\x05\x07\t\x0b\x0b\n\x07\x04\x0b\x05\x06\x04\x06\x12\x05\x05\x06\x05\x06\x05\x05\x05\x07\x05\x05\x05\n\x0b\x0b\x05\x05\x06\x05\x0b\x0b\n\x07\x04\x0b\x0b\n\x0b\x05\x05\x0b\x05\x05\x06\x05\x12\x06\x05\x05\x05\x06\x05\x06\x06\x04\x05\x06\x05\x0b\x0b\n\x06\x05\x05\x06\n\x0b\n\x06\x05\x0b\x0b\n\x0b\x05\x06\n\x06\x05\x05\x05\x12\x06\x05\x07\x04\x05\x05\x06\x05\x06\x05\x06\x04\r\t\n\x06\x05\x06\x05\n\x0b\x0b\x07\x04\x0c\n\n\x0b\x06\x05\x0b\x05\x05\x05\x07\x11\x05\x05\x06\x06\x05\x05\x05\x05\x06\x05\x06\x05\n\x0b\x0b\x05\x06\x06\x05\n\n\x0b\x06\x06\t\x0b\x0b\x0b\x05\x05\x0b\x05\x06\x04\x06\x12\x07\x04\x05\x05\x06\x05\x06\x05\x05\x05\x06\x05\x0b\n\x0b\x06\x05\x05\x05\x0b\x0b\n\x06\x05\x0b\x0c\t\x0c\x05\x04\x0b\x06\x05\x06\x04\x12\x06\x05\x05\x06\x06\x04\x06\x05\x05\x06\x05\x05\x0b\x0b\n\x06\x05\x06\x04\x0b\x0b\x0b\x05\x06\n\x0c\t\x0b\x06\x05\n\x06\x05\x05\x05\x13\x05\x05\x06\x06\x05\x04\x06\x06\x06\x04\x05\x06\n\x0b\x0c\x05\x04\x06\x05\x0b\x0b\n\x05\x06\n\x0b\x0b\n\x06\x05\x0b\x05\x06\x05\x04\x13\x06\x04\x06\x05\x06\x05\x06\x05\x06\x05\x05\x05\n\x0c\n\x05\x05\x06\x05\x0b\x0b\n\x06\x05\x0b\x0b\x0b\n\x05\x05\x0b\x05\x07\x04\x07\x11\x05\x06\x05\x05\x06\x05\x05\x06\x05\x06\x05\x05\x0b\n\x0b\x06\x05\x05\x05\x0b\x0b\x0b\x05\x06\n\n\x0b\x0c\x04\x05\x0b\x05\x06\x05\x05\x12\x06\x05\x05\x07\x04\x05\x06\x05\x05\x06\x05\x05\x0b\x0b\x0b\x05\x06\x06\x04\n\x0b\x0b\x05\x05\x0b\x0b\x0b\n\x06\x05\x0c\x04\x05\x05\x05\x13\x06\x04\x06\x05\x06\x05\x05\x05\x06\x05\x06\x05\x0c\n\n\x05\x05\x07\x04\n\r\t\x06\x05\n\x0b\x0b\n\x06\x05\x0b\x05\x05\x05\x07\x11\x05\x05\x06\x05\x06\x05\x05\x06\x05\x05\x06\x06\t\x0b\x0b\x05\x05\x06\x05\x0b\x0b\n\x06\x05\x0b\n\x0b\x0b\x05\x05\x0b\x05\x05'
2017-05-22 19:36:21.862 Error: (broadlink) Code Sent WARNING....Probably timeout
2017-05-22 19:36:21.862 (broadlink) Command line : "/home/pi/domoticz/plugins/BroadlinkRM2/plugin_send.py" /home/pi/domoticz/plugins//BroadlinkRM2-5-139.ini
2017-05-22 19:36:21.862 (broadlink - 5-139 keukendimmer dimmen) Updating device from 1:'On-78' to have values 1:'On-123'.
2017-05-22 19:36:21.868 (broadlink) Update 1:'On-123' (broadlink - 5-139 keukendimmer dimmen)
2017-05-22 19:36:21.817 User: Admin initiated a switch command (197/broadlink - 5-139 keukendimmer dimmen/On)
2017-05-22 19:36:21.820 (broadlink) Calling message handler 'onCommand'.
2017-05-22 19:36:21.820 (broadlink) onCommand called for Unit 139: Parameter 'On', Level: 0 , Connected : True
2017-05-22 19:36:21.820 (broadlink) Generate on Command for learned code stored on unit :139
2017-05-22 19:36:21.826 (broadlink) Code loaded : e90484030506050506050506050606090b0b050506050b0b0a06050a0b0b0a06050b05050506130405060506050505060505060c090b050606040b0b0a06050b0a0b0b05050b05050506130505050507060406060406050b0a0b060505050b0b0a06050c0a0a0b05050b06050505120605060505050704050605060a0b0b050506050a0b0b05050b0b0a0b06050a07040505130507040505060604060606040b0a0b050506050b0b0a05060b0a0b0a06050b05050604130506050506050505060506050b0b0a060406050b0a0b06050b0a0b0b06040b05060505120704060406060406050606050a0b0a060506040c0b0a05050b0a0c0a05050b06040605120605060505050605050704050b0b0a060605050b0a0b05050b0b0a0b06050a06050506120505060505060505060505050b0b0a060506050b0a0b05060a0c0a0a06060a05050506120505060604060605050506050a0b0b050507050a0b0a06050b0a0b0b05050b05050506120605050605050605050506050b0a0b060506040b0b0b05060b090b0b05050b05050605130604050606050505050605050b0b0a060506050b0a0b06050b0b0a0c04050a0605050711050506050704050506050507090b0b050704050b0b0a0507090b0b0a07040b05060406120505060506050505070505050a0b0b050506050b0b0a07040b0b0a0b05050b05050605120605050506050606040506050b0b0a060505060a0b0a06050b0b0a0b05060a06050505120605070405050605060506040d090a060506050a0b0b07040c0a0a0b06050b05050507110505060605050505060506050a0b0b050606050a0a0b0606090b0b0b05050b05060406120704050506050605050506050b0a0b060505050b0b0a06050b0c090c05040b06050604120605050606040605050605050b0b0a060506040b0b0b05060a0c090b06050a06050505130505060605040606060405060a0b0c050406050b0b0a05060a0b0b0a06050b05060504130604060506050605060505050a0c0a050506050b0b0a06050b0b0b0a05050b05070407110506050506050506050605050b0a0b060505050b0b0b05060a0a0b0c04050b05060505120605050704050605050605050b0b0b050606040a0b0b05050b0b0b0a06050c04050505130604060506050505060506050c0a0a050507040a0d0906050a0b0b0a06050b0505050711050506050605050605050606090b0b050506050b0b0a06050b0a0b0b05050b0505
2017-05-22 19:36:21.858 (broadlink) Connected to Broadlink device.
2017-05-22 19:36:21.859 (broadlink) b'\xe9\x04\x84\x03\x05\x06\x05\x05\x06\x05\x05\x06\x05\x06\x06\t\x0b\x0b\x05\x05\x06\x05\x0b\x0b\n\x06\x05\n\x0b\x0b\n\x06\x05\x0b\x05\x05\x05\x06\x13\x04\x05\x06\x05\x06\x05\x05\x05\x06\x05\x05\x06\x0c\t\x0b\x05\x06\x06\x04\x0b\x0b\n\x06\x05\x0b\n\x0b\x0b\x05\x05\x0b\x05\x05\x05\x06\x13\x05\x05\x05\x05\x07\x06\x04\x06\x06\x04\x06\x05\x0b\n\x0b\x06\x05\x05\x05\x0b\x0b\n\x06\x05\x0c\n\n\x0b\x05\x05\x0b\x06\x05\x05\x05\x12\x06\x05\x06\x05\x05\x05\x07\x04\x05\x06\x05\x06\n\x0b\x0b\x05\x05\x06\x05\n\x0b\x0b\x05\x05\x0b\x0b\n\x0b\x06\x05\n\x07\x04\x05\x05\x13\x05\x07\x04\x05\x05\x06\x06\x04\x06\x06\x06\x04\x0b\n\x0b\x05\x05\x06\x05\x0b\x0b\n\x05\x06\x0b\n\x0b\n\x06\x05\x0b\x05\x05\x06\x04\x13\x05\x06\x05\x05\x06\x05\x05\x05\x06\x05\x06\x05\x0b\x0b\n\x06\x04\x06\x05\x0b\n\x0b\x06\x05\x0b\n\x0b\x0b\x06\x04\x0b\x05\x06\x05\x05\x12\x07\x04\x06\x04\x06\x06\x04\x06\x05\x06\x06\x05\n\x0b\n\x06\x05\x06\x04\x0c\x0b\n\x05\x05\x0b\n\x0c\n\x05\x05\x0b\x06\x04\x06\x05\x12\x06\x05\x06\x05\x05\x05\x06\x05\x05\x07\x04\x05\x0b\x0b\n\x06\x06\x05\x05\x0b\n\x0b\x05\x05\x0b\x0b\n\x0b\x06\x05\n\x06\x05\x05\x06\x12\x05\x05\x06\x05\x05\x06\x05\x05\x06\x05\x05\x05\x0b\x0b\n\x06\x05\x06\x05\x0b\n\x0b\x05\x06\n\x0c\n\n\x06\x06\n\x05\x05\x05\x06\x12\x05\x05\x06\x06\x04\x06\x06\x05\x05\x05\x06\x05\n\x0b\x0b\x05\x05\x07\x05\n\x0b\n\x06\x05\x0b\n\x0b\x0b\x05\x05\x0b\x05\x05\x05\x06\x12\x06\x05\x05\x06\x05\x05\x06\x05\x05\x05\x06\x05\x0b\n\x0b\x06\x05\x06\x04\x0b\x0b\x0b\x05\x06\x0b\t\x0b\x0b\x05\x05\x0b\x05\x05\x06\x05\x13\x06\x04\x05\x06\x06\x05\x05\x05\x05\x06\x05\x05\x0b\x0b\n\x06\x05\x06\x05\x0b\n\x0b\x06\x05\x0b\x0b\n\x0c\x04\x05\n\x06\x05\x05\x07\x11\x05\x05\x06\x05\x07\x04\x05\x05\x06\x05\x05\x07\t\x0b\x0b\x05\x07\x04\x05\x0b\x0b\n\x05\x07\t\x0b\x0b\n\x07\x04\x0b\x05\x06\x04\x06\x12\x05\x05\x06\x05\x06\x05\x05\x05\x07\x05\x05\x05\n\x0b\x0b\x05\x05\x06\x05\x0b\x0b\n\x07\x04\x0b\x0b\n\x0b\x05\x05\x0b\x05\x05\x06\x05\x12\x06\x05\x05\x05\x06\x05\x06\x06\x04\x05\x06\x05\x0b\x0b\n\x06\x05\x05\x06\n\x0b\n\x06\x05\x0b\x0b\n\x0b\x05\x06\n\x06\x05\x05\x05\x12\x06\x05\x07\x04\x05\x05\x06\x05\x06\x05\x06\x04\r\t\n\x06\x05\x06\x05\n\x0b\x0b\x07\x04\x0c\n\n\x0b\x06\x05\x0b\x05\x05\x05\x07\x11\x05\x05\x06\x06\x05\x05\x05\x05\x06\x05\x06\x05\n\x0b\x0b\x05\x06\x06\x05\n\n\x0b\x06\x06\t\x0b\x0b\x0b\x05\x05\x0b\x05\x06\x04\x06\x12\x07\x04\x05\x05\x06\x05\x06\x05\x05\x05\x06\x05\x0b\n\x0b\x06\x05\x05\x05\x0b\x0b\n\x06\x05\x0b\x0c\t\x0c\x05\x04\x0b\x06\x05\x06\x04\x12\x06\x05\x05\x06\x06\x04\x06\x05\x05\x06\x05\x05\x0b\x0b\n\x06\x05\x06\x04\x0b\x0b\x0b\x05\x06\n\x0c\t\x0b\x06\x05\n\x06\x05\x05\x05\x13\x05\x05\x06\x06\x05\x04\x06\x06\x06\x04\x05\x06\n\x0b\x0c\x05\x04\x06\x05\x0b\x0b\n\x05\x06\n\x0b\x0b\n\x06\x05\x0b\x05\x06\x05\x04\x13\x06\x04\x06\x05\x06\x05\x06\x05\x06\x05\x05\x05\n\x0c\n\x05\x05\x06\x05\x0b\x0b\n\x06\x05\x0b\x0b\x0b\n\x05\x05\x0b\x05\x07\x04\x07\x11\x05\x06\x05\x05\x06\x05\x05\x06\x05\x06\x05\x05\x0b\n\x0b\x06\x05\x05\x05\x0b\x0b\x0b\x05\x06\n\n\x0b\x0c\x04\x05\x0b\x05\x06\x05\x05\x12\x06\x05\x05\x07\x04\x05\x06\x05\x05\x06\x05\x05\x0b\x0b\x0b\x05\x06\x06\x04\n\x0b\x0b\x05\x05\x0b\x0b\x0b\n\x06\x05\x0c\x04\x05\x05\x05\x13\x06\x04\x06\x05\x06\x05\x05\x05\x06\x05\x06\x05\x0c\n\n\x05\x05\x07\x04\n\r\t\x06\x05\n\x0b\x0b\n\x06\x05\x0b\x05\x05\x05\x07\x11\x05\x05\x06\x05\x06\x05\x05\x06\x05\x05\x06\x06\t\x0b\x0b\x05\x05\x06\x05\x0b\x0b\n\x06\x05\x0b\n\x0b\x0b\x05\x05\x0b\x05\x05'
2017-05-22 19:36:21.862 Error: (broadlink) Code Sent WARNING....Probably timeout
2017-05-22 19:36:21.862 (broadlink) Command line : "/home/pi/domoticz/plugins/BroadlinkRM2/plugin_send.py" /home/pi/domoticz/plugins//BroadlinkRM2-5-139.ini
2017-05-22 19:36:21.862 (broadlink - 5-139 keukendimmer dimmen) Updating device from 1:'On-78' to have values 1:'On-123'.
2017-05-22 19:36:21.868 (broadlink) Update 1:'On-123' (broadlink - 5-139 keukendimmer dimmen)
-
- Posts: 14
- Joined: Saturday 06 May 2017 11:41
- Target OS: NAS (Synology & others)
- Domoticz version:
- Contact:
Re: Python Plugin: Broadlink RM2
Oh and will try the updated import soon. Thanx for the effort!
-
- Posts: 952
- Joined: Sunday 22 January 2017 11:37
- Target OS: Windows
- Domoticz version: V2024.4
- Contact:
Re: Python Plugin: Broadlink RM2
@kingoifsnake74
woaww... yes , long code. this can made some problem.
attached updated version of broadlink, you can try to see if this solve your problem. you need to replace existing __init__.py file with this one on your broadlink folder: here, we speak about module, not plugin.
Do not forget to make a backup before, of course.
woaww... yes , long code. this can made some problem.
attached updated version of broadlink, you can try to see if this solve your problem. you need to replace existing __init__.py file with this one on your broadlink folder: here, we speak about module, not plugin.
Do not forget to make a backup before, of course.
-
- Posts: 14
- Joined: Saturday 06 May 2017 11:41
- Target OS: NAS (Synology & others)
- Domoticz version:
- Contact:
Re: Python Plugin: Broadlink RM2
Great module! Had problems with livolo codes and learned them again, much shorter code now and it works. Ok i miss one from the kitchen but thats livolo bit buggy. Thanx again for the effort and help. This noob has the broadlink module and the ha bridge for alexa works like a charm. Now a good backup
-
- Posts: 2
- Joined: Tuesday 02 May 2017 21:18
- Target OS: Raspberry Pi / ODroid
- Domoticz version: 3.7
- Contact:
Re: Python Plugin: Broadlink RM2
Hello everybody,
i'm tryind few hours now to install RM2 to rpi without success, i've already installed it on another rpi some time ago without a lot hassle, but this time it wont get installed i tried few things that i found here but nothing. The error i get when i try "sudo pip3 install broadlink" is this:
i'm tryind few hours now to install RM2 to rpi without success, i've already installed it on another rpi some time ago without a lot hassle, but this time it wont get installed i tried few things that i found here but nothing. The error i get when i try "sudo pip3 install broadlink" is this:
Code: Select all
Downloading/unpacking broadlink
Downloading broadlink-0.4.tar.gz
Running setup.py (path:/tmp/pip-build-06i1bqfv/broadlink/setup.py) egg_info for package broadlink
Traceback (most recent call last):
File "<string>", line 17, in <module>
File "/tmp/pip-build-06i1bqfv/broadlink/setup.py", line 12
except ImportError, e:
^
SyntaxError: invalid syntax
Complete output from command python setup.py egg_info:
Traceback (most recent call last):
File "<string>", line 17, in <module>
File "/tmp/pip-build-06i1bqfv/broadlink/setup.py", line 12
except ImportError, e:
^
SyntaxError: invalid syntax
----------------------------------------
Cleaning up...
Command python setup.py egg_info failed with error code 1 in /tmp/pip-build-06i1bqfv/broadlink
Storing debug log for failure in /root/.pip/pip.log
- Phantom
- Posts: 87
- Joined: Saturday 31 December 2016 14:47
- Target OS: Raspberry Pi / ODroid
- Domoticz version: 4.11652
- Location: The Netherlands
- Contact:
Re: Python Plugin: Broadlink RM2
Will this mini rm 3 also work with your script?
https://www.banggood.com/Broadlink-Blac ... otproducts
https://www.banggood.com/Broadlink-Blac ... otproducts
-
- Posts: 952
- Joined: Sunday 22 January 2017 11:37
- Target OS: Windows
- Domoticz version: V2024.4
- Contact:
Re: Python Plugin: Broadlink RM2
the version on pypi have a problem with python 3. download the version 0.3 on the dropbox : python-broadlink-master.zipletmein wrote:Hello everybody,
i'm tryind few hours now to install RM2 to rpi without success, i've already installed it on another rpi some time ago without a lot hassle, but this time it wont get installed i tried few things that i found here but nothing. The error i get when i try "sudo pip3 install broadlink" is this:Code: Select all
Downloading/unpacking broadlink Downloading broadlink-0.4.tar.gz Running setup.py (path:/tmp/pip-build-06i1bqfv/broadlink/setup.py) egg_info for package broadlink Traceback (most recent call last): File "<string>", line 17, in <module> File "/tmp/pip-build-06i1bqfv/broadlink/setup.py", line 12 except ImportError, e: ^ SyntaxError: invalid syntax Complete output from command python setup.py egg_info: Traceback (most recent call last): File "<string>", line 17, in <module> File "/tmp/pip-build-06i1bqfv/broadlink/setup.py", line 12 except ImportError, e: ^ SyntaxError: invalid syntax ---------------------------------------- Cleaning up... Command python setup.py egg_info failed with error code 1 in /tmp/pip-build-06i1bqfv/broadlink Storing debug log for failure in /root/.pip/pip.log
and install it :
just decompress on some folder, go to the folder and enter : pip3 install .
do not forget the dot at the end
-
- Posts: 952
- Joined: Sunday 22 January 2017 11:37
- Target OS: Windows
- Domoticz version: V2024.4
- Contact:
Re: Python Plugin: Broadlink RM2
I would say yes.. some have tried if I'm not wrong. But could not confirm as I do not own it.Phantom wrote:Will this mini rm 3 also work with your script?
https://www.banggood.com/Broadlink-Blac ... otproducts
- Phantom
- Posts: 87
- Joined: Saturday 31 December 2016 14:47
- Target OS: Raspberry Pi / ODroid
- Domoticz version: 4.11652
- Location: The Netherlands
- Contact:
Re: Python Plugin: Broadlink RM2
Alright thanks, il try it out thenzak45 wrote:I would say yes.. some have tried if I'm not wrong. But could not confirm as I do not own it.Phantom wrote:Will this mini rm 3 also work with your script?
https://www.banggood.com/Broadlink-Blac ... otproducts
-
- Posts: 2
- Joined: Tuesday 02 May 2017 21:18
- Target OS: Raspberry Pi / ODroid
- Domoticz version: 3.7
- Contact:
Re: Python Plugin: Broadlink RM2
Thank you zak, after some cleanup it worked great!zak45 wrote:the version on pypi have a problem with python 3. download the version 0.3 on the dropbox : python-broadlink-master.zipletmein wrote:Hello everybody,
i'm tryind few hours now to install RM2 to rpi without success, i've already installed it on another rpi some time ago without a lot hassle, but this time it wont get installed i tried few things that i found here but nothing. The error i get when i try "sudo pip3 install broadlink" is this:Code: Select all
Downloading/unpacking broadlink Downloading broadlink-0.4.tar.gz Running setup.py (path:/tmp/pip-build-06i1bqfv/broadlink/setup.py) egg_info for package broadlink Traceback (most recent call last): File "<string>", line 17, in <module> File "/tmp/pip-build-06i1bqfv/broadlink/setup.py", line 12 except ImportError, e: ^ SyntaxError: invalid syntax Complete output from command python setup.py egg_info: Traceback (most recent call last): File "<string>", line 17, in <module> File "/tmp/pip-build-06i1bqfv/broadlink/setup.py", line 12 except ImportError, e: ^ SyntaxError: invalid syntax ---------------------------------------- Cleaning up... Command python setup.py egg_info failed with error code 1 in /tmp/pip-build-06i1bqfv/broadlink Storing debug log for failure in /root/.pip/pip.log
and install it :
just decompress on some folder, go to the folder and enter : pip3 install .
do not forget the dot at the end
Who is online
Users browsing this forum: No registered users and 1 guest