Python Plugin: Broadlink RM2 V3
Moderator: leecollings
Re: Python Plugin: Broadlink RM2 V3
I have the rm pro but using different python script and command line to learn/play codes.
Sent from my iPhone using Tapatalk
Sent from my iPhone using Tapatalk
-
- Posts: 198
- Joined: Thursday 06 October 2016 8:14
- Target OS: Raspberry Pi / ODroid
- Domoticz version: 3.7243
- Contact:
Re: Python Plugin: Broadlink RM2 V3
After recent update I have a problem with the domotich broadlink plugin
After a few clicks on the button the Domoticz stops responding
Code: Select all
2017-08-01 08:39:01.882 (TV Volume+) Updating device from 1:'On-1' to have values 1:'On-3'.
2017-08-01 08:39:01.889 (Broadlink_Kuchnia) Update 1:'On-3' (TV Volume+)
2017-08-01 08:39:01.890 Error: Domoticz received fatal signal 11 !...
2017-08-01 08:39:01.890 Error: Domoticz received fatal signal 11 while backtracing !...
2017-08-01 08:39:01.893 Error: /home/domoticz/domoticz() [0x1cd8e4]
2017-08-01 08:39:01.893 Error: /home/domoticz/domoticz(_Z14signal_handleri+0x58) [0x1cd99c]
2017-08-01 08:39:01.893 Error: /lib/arm-linux-gnueabihf/libc.so.6(+0x26ae0) [0x76bedae0]
- moomey
- Posts: 4
- Joined: Monday 07 September 2015 21:34
- Target OS: Raspberry Pi / ODroid
- Domoticz version: 4.9700
- Contact:
Re: Python Plugin: Broadlink RM2 V3
Me too. Reverted back to 3.8072kniazio wrote:After recent update I have a problem with the domotich broadlink plugin
Re: Python Plugin: Broadlink RM2 V3
Hi,
I'm french so sorry if my english is not perfect
I'm using Domoticz, latest beta, on a Debian VM on ESXi, since i use the RM2 plugin (3 months, V2, now V3), my domoticz freezes everyday (no access to web UI, status : running (exited)), or even more often. I did every steps mentionned on the wiki, installed python 3.4.2-2 (latest on synaptics), python-dev, python3-dev, ...
I tried to disable the temperature sensor, but it's still freezing.
Here are my logs :
With temperature on :
With temperature off :
Hope it can help
I'm french so sorry if my english is not perfect
I'm using Domoticz, latest beta, on a Debian VM on ESXi, since i use the RM2 plugin (3 months, V2, now V3), my domoticz freezes everyday (no access to web UI, status : running (exited)), or even more often. I did every steps mentionned on the wiki, installed python 3.4.2-2 (latest on synaptics), python-dev, python3-dev, ...
I tried to disable the temperature sensor, but it's still freezing.
Here are my logs :
With temperature on :
Code: Select all
2017-08-02 04:10:30.754 (RM2 salon) Calling message handler 'onHeartbeat'.
2017-08-02 04:10:30.828 (Zstick) Usage (Conso Cumulus)
2017-08-02 04:10:30.828 (Zstick) General/kWh (Compteur Cumulus)
2017-08-02 04:10:31.830 (Zstick) Usage (Conso Cumulus)
2017-08-02 04:10:31.831 Error: Domoticz received fatal signal 11 !...
2017-08-02 04:10:31.832 (Zstick) General/kWh (Compteur Cumulus)
2017-08-02 04:10:31.878 Error: /home/florent/domoticz/domoticz() [0x5d4388]
2017-08-02 04:10:31.878 Error: /home/florent/domoticz/domoticz(_Z14signal_handleri+0x50) [0x5d4430]
2017-08-02 04:10:31.878 Error: /lib/x86_64-linux-gnu/libpthread.so.0(+0xf8d0) [0x7f77205858d0]
2017-08-02 04:10:31.878 Error: /home/florent/domoticz/domoticz(_ZNSsC2ERKSs+0xb) [0xb377db]
2017-08-02 04:10:31.878 Error: /home/florent/domoticz/domoticz(_ZNSt8_Rb_treeIhSt4pairIKhSsESt10_Select1stIS2_ESt4lessIhESaIS2_EE7_M_copyEPKSt13_Rb_tree_nodeIS2_EPSA_+0x39) [0x5ff729]
2017-08-02 04:10:31.879 Error: /home/florent/domoticz/domoticz(_ZNSt8_Rb_treeIhSt4pairIKhSsESt10_Select1stIS2_ESt4lessIhESaIS2_EE7_M_copyEPKSt13_Rb_tree_nodeIS2_EPSA_+0x66) [0x5ff756]
2017-08-02 04:10:31.879 Error: /home/florent/domoticz/domoticz(_ZN12CEventSystem14_tDeviceStatusC2ERKS0_+0x2a6) [0x5ffe56]
2017-08-02 04:10:31.879 Error: /home/florent/domoticz/domoticz(_ZNSt8_Rb_treeImSt4pairIKmN12CEventSystem14_tDeviceStatusEESt10_Select1stIS4_ESt4lessImESaIS4_EE7_M_copyEPKSt13_Rb_tree_nodeIS4_EPSC_+0x39) [0x5fffc9]
2017-08-02 04:10:31.879 Error: /home/florent/domoticz/domoticz(_ZNSt8_Rb_treeImSt4pairIKmN12CEventSystem14_tDeviceStatusEESt10_Select1stIS4_ESt4lessImESaIS4_EE7_M_copyEPKSt13_Rb_tree_nodeIS4_EPSC_+0xdd) [0x60006d]
2017-08-02 04:10:31.879 Error: /home/florent/domoticz/domoticz(_ZN12CEventSystem14EvaluatePythonERKSsS1_S1_mS1_iPKcSsm+0x154) [0x5d9af4]
2017-08-02 04:10:31.879 Error: /home/florent/domoticz/domoticz(_ZN12CEventSystem13EvaluateEventERKSsmS1_iPKcSsm+0x1102) [0x5f3112]
2017-08-02 04:10:31.879 Error: /home/florent/domoticz/domoticz(_ZN12CEventSystem16EventQueueThreadEv+0x3d1) [0x5f3f01]
2017-08-02 04:10:31.879 Error: /home/florent/domoticz/domoticz() [0xa1139a]
2017-08-02 04:10:31.879 Error: /lib/x86_64-linux-gnu/libpthread.so.0(+0x80a4) [0x7f772057e0a4]
2017-08-02 04:10:31.879 Error: /lib/x86_64-linux-gnu/libc.so.6(clone+0x6d) [0x7f771f91f62d]
Code: Select all
2017-08-02 19:41:10.312 (Zstick) General/kWh (Compteur Cumulus)
2017-08-02 19:41:13.320 (Zstick) Usage (Conso Cumulus)
2017-08-02 19:41:13.321 (Zstick) General/kWh (Compteur Cumulus)
2017-08-02 19:41:16.330 (Zstick) Usage (Conso Cumulus)
2017-08-02 19:41:16.331 Error: Domoticz received fatal signal 11 !...
2017-08-02 19:41:16.333 (Zstick) General/kWh (Compteur Cumulus)
2017-08-02 19:41:16.342 Error: /home/florent/domoticz/domoticz() [0x5d53c8]
2017-08-02 19:41:16.342 Error: /home/florent/domoticz/domoticz(_Z14signal_handleri+0x50) [0x5d5470]
2017-08-02 19:41:16.342 Error: /lib/x86_64-linux-gnu/libpthread.so.0(+0xf890) [0x7fdc51916890]
2017-08-02 19:41:16.342 Error: /home/florent/domoticz/domoticz(_ZNSsC2ERKSs+0xb) [0xb37f3b]
2017-08-02 19:41:16.342 Error: /home/florent/domoticz/domoticz(_ZNSt8_Rb_treeIhSt4pairIKhSsESt10_Select1stIS2_ESt4lessIhESaIS2_EE7_M_copyEPKSt13_Rb_tree_nodeIS2_EPSA_+0x39) [0x600769]
2017-08-02 19:41:16.342 Error: /home/florent/domoticz/domoticz(_ZNSt8_Rb_treeIhSt4pairIKhSsESt10_Select1stIS2_ESt4lessIhESaIS2_EE7_M_copyEPKSt13_Rb_tree_nodeIS2_EPSA_+0x66) [0x600796]
2017-08-02 19:41:16.342 Error: /home/florent/domoticz/domoticz(_ZN12CEventSystem14_tDeviceStatusC2ERKS0_+0x2a6) [0x600e96]
2017-08-02 19:41:16.342 Error: /home/florent/domoticz/domoticz(_ZNSt8_Rb_treeImSt4pairIKmN12CEventSystem14_tDeviceStatusEESt10_Select1stIS4_ESt4lessImESaIS4_EE7_M_copyEPKSt13_Rb_tree_nodeIS4_EPSC_+0x39) [0x601009]
2017-08-02 19:41:16.342 Error: /home/florent/domoticz/domoticz(_ZNSt8_Rb_treeImSt4pairIKmN12CEventSystem14_tDeviceStatusEESt10_Select1stIS4_ESt4lessImESaIS4_EE7_M_copyEPKSt13_Rb_tree_nodeIS4_EPSC_+0xdd) [0x6010ad]
2017-08-02 19:41:16.342 Error: /home/florent/domoticz/domoticz(_ZN12CEventSystem14EvaluatePythonERKSsS1_S1_mS1_iPKcSsm+0x154) [0x5dab34]
2017-08-02 19:41:16.342 Error: /home/florent/domoticz/domoticz(_ZN12CEventSystem13EvaluateEventERKSsmS1_iPKcSsm+0x1102) [0x5f4152]
2017-08-02 19:41:16.342 Error: /home/florent/domoticz/domoticz(_ZN12CEventSystem16EventQueueThreadEv+0x3d1) [0x5f4f41]
2017-08-02 19:41:16.342 Error: /home/florent/domoticz/domoticz() [0xa11afa]
2017-08-02 19:41:16.343 Error: /lib/x86_64-linux-gnu/libpthread.so.0(+0x8064) [0x7fdc5190f064]
2017-08-02 19:41:16.343 Error: /lib/x86_64-linux-gnu/libc.so.6(clone+0x6d) [0x7fdc50cb062d]
-
- Posts: 952
- Joined: Sunday 22 January 2017 11:37
- Target OS: Windows
- Domoticz version: V2024.4
- Contact:
Re: Python Plugin: Broadlink RM2 V3
Hi all,
for people with Domoticz/plugin problem, try to install last stable 3.8153.
works for me.
for people with Domoticz/plugin problem, try to install last stable 3.8153.
works for me.
- moomey
- Posts: 4
- Joined: Monday 07 September 2015 21:34
- Target OS: Raspberry Pi / ODroid
- Domoticz version: 4.9700
- Contact:
Re: Python Plugin: Broadlink RM2 V3
You're lucky Rpi2 with latest stable 3.8153 works until first domoticz restart.zak45 wrote:Hi all,
for people with Domoticz/plugin problem, try to install last stable 3.8153.
works for me.
-
- Posts: 46
- Joined: Tuesday 14 March 2017 13:10
- Target OS: Raspberry Pi / ODroid
- Domoticz version: 3.7243
- Contact:
Re: Python Plugin: Broadlink RM2 V3
Hello
Is it possible to create a Broadlink SP2 plug-in plug-in?
We found https://github.com/NightRang3r/Broadlink-NodeSP2
It works very well. It would be nice to be integrated into Domoticz.
Is it possible to create a Broadlink SP2 plug-in plug-in?
We found https://github.com/NightRang3r/Broadlink-NodeSP2
It works very well. It would be nice to be integrated into Domoticz.
Re: Python Plugin: Broadlink RM2 V3
I have 2 RM Mini 3 working perfectly on Domoticz (thx Zack!)
But i have one question,it's possible to create one switch for lunch a series of command?
For examples "Turn On TV" must send "PowerOn TV"+"Input"+"Right Arrow"+"OK"
But i have one question,it's possible to create one switch for lunch a series of command?
For examples "Turn On TV" must send "PowerOn TV"+"Input"+"Right Arrow"+"OK"
- sisaenkov
- Posts: 50
- Joined: Friday 27 May 2016 7:21
- Target OS: Raspberry Pi / ODroid
- Domoticz version: 3.8
- Location: Moscow, Russia
- Contact:
Re: Python Plugin: Broadlink RM2 V3
You can write bash-script like this and call it from Device On/Off action instead of python calling:Andree wrote:But i have one question,it's possible to create one switch for lunch a series of command?
For examples "Turn On TV" must send "PowerOn TV"+"Input"+"Right Arrow"+"OK"
Code: Select all
python /broadlink/command1.ini
python /broadlink/command2.ini
python /broadlink/command3.ini
-
- Posts: 952
- Joined: Sunday 22 January 2017 11:37
- Target OS: Windows
- Domoticz version: V2024.4
- Contact:
Re: Python Plugin: Broadlink RM2 V3
you can do that by using scene/group option in Domoticz, no need any script:Andree wrote:I have 2 RM Mini 3 working perfectly on Domoticz (thx Zack!)
But i have one question,it's possible to create one switch for lunch a series of command?
For examples "Turn On TV" must send "PowerOn TV"+"Input"+"Right Arrow"+"OK"
information about it:
https://www.domoticz.com/forum/viewtopic.php?t=14903
Re: Python Plugin: Broadlink RM2 V3
Yep,work fine with Group!Thx Zakzak45 wrote:you can do that by using scene/group option in Domoticz, no need any script:Andree wrote:I have 2 RM Mini 3 working perfectly on Domoticz (thx Zack!)
But i have one question,it's possible to create one switch for lunch a series of command?
For examples "Turn On TV" must send "PowerOn TV"+"Input"+"Right Arrow"+"OK"
information about it:
https://www.domoticz.com/forum/viewtopic.php?t=14903
-
- Posts: 14
- Joined: Wednesday 03 August 2016 12:14
- Target OS: Raspberry Pi / ODroid
- Domoticz version: beta
- Contact:
Re: Python Plugin: Broadlink RM2 V3
Hello everybody!
I try to use this plugin (thanks Zak for the enormous bunch of work done!), but i had some trouble before, and now
I have installed python 3.5 from source, installed broadlink pip3 install broadlink, pip3 install pyaes pycrypto, copied plugin.py and other files, copied broadlink, Crypto and pyaes folders to python 3.5 directory.
I can add the hardware "Broadlink RM2 with kodi remote", i can see plugin system starting in the log, i get devices created in the switch section, but in the log i get this:
I really need help, my head is blowing up now, I've tried to make it work almost all night Where should i look?
I try to use this plugin (thanks Zak for the enormous bunch of work done!), but i had some trouble before, and now
I have installed python 3.5 from source, installed broadlink pip3 install broadlink, pip3 install pyaes pycrypto, copied plugin.py and other files, copied broadlink, Crypto and pyaes folders to python 3.5 directory.
I can add the hardware "Broadlink RM2 with kodi remote", i can see plugin system starting in the log, i get devices created in the switch section, but in the log i get this:
Code: Select all
2017-08-14 13:35:18.211 (Broadlink RM2) Started.
2017-08-14 13:35:18.525 (Broadlink RM2) Entering work loop.
2017-08-14 13:35:18.525 (Broadlink RM2) Initialized version 3.0.0, author 'zak45'
2017-08-14 13:35:18.527 (Broadlink RM2) Debug log level set to: 'true'.
2017-08-14 13:35:18.528 (Broadlink RM2) Creating device 'Command'.
2017-08-14 13:35:18.529 (Broadlink RM2) Creating device 'Temp'.
2017-08-14 13:35:18.530 (Broadlink RM2) Creating device 'Remote'.
2017-08-14 13:35:18.531 (Broadlink RM2) Creating device 'Import'.
2017-08-14 13:35:18.532 (Broadlink RM2) 'Name':'Broadlink RM2'
2017-08-14 13:35:18.532 (Broadlink RM2) 'Mode4':'yes'
2017-08-14 13:35:18.532 (Broadlink RM2) 'Key':'BroadlinkRM2'
2017-08-14 13:35:18.532 (Broadlink RM2) 'Author':'zak45'
2017-08-14 13:35:18.532 (Broadlink RM2) 'Version':'3.0.0'
2017-08-14 13:35:18.532 (Broadlink RM2) 'HardwareID':'16'
2017-08-14 13:35:18.532 (Broadlink RM2) 'Mode6':'Debug'
2017-08-14 13:35:18.532 (Broadlink RM2) 'Mode5':'9000'
2017-08-14 13:35:18.532 (Broadlink RM2) 'HomeFolder':'/home/pi/domoticz/plugins/BroadlinkRM2/'
2017-08-14 13:35:18.532 (Broadlink RM2) 'Mode1':'b4430de436fe'
2017-08-14 13:35:18.532 (Broadlink RM2) 'Port':'0'
2017-08-14 13:35:18.533 (Broadlink RM2) 'Address':'192.168.0.39'
2017-08-14 13:35:18.533 (Broadlink RM2) 'Mode3':'yes'
2017-08-14 13:35:18.533 (Broadlink RM2) 'Mode2':'/home/pi/domoticz/plugins/BroadlinkRM2'
2017-08-14 13:35:18.533 (Broadlink RM2) Device count: 4
2017-08-14 13:35:18.533 (Broadlink RM2) Device: 1 - ID: 228, Name: 'Broadlink RM2 - Command', nValue: 0, sValue: ''
2017-08-14 13:35:18.533 (Broadlink RM2) Device ID: '228'
2017-08-14 13:35:18.533 (Broadlink RM2) Device Name: 'Broadlink RM2 - Command'
2017-08-14 13:35:18.533 (Broadlink RM2) Device nValue: 0
2017-08-14 13:35:18.533 (Broadlink RM2) Device sValue: ''
2017-08-14 13:35:18.533 (Broadlink RM2) Device LastLevel: 0
2017-08-14 13:35:18.533 (Broadlink RM2) Device: 2 - ID: 229, Name: 'Broadlink RM2 - Temp', nValue: 0, sValue: ''
2017-08-14 13:35:18.533 (Broadlink RM2) Device ID: '229'
2017-08-14 13:35:18.533 (Broadlink RM2) Device Name: 'Broadlink RM2 - Temp'
2017-08-14 13:35:18.533 (Broadlink RM2) Device nValue: 0
2017-08-14 13:35:18.533 (Broadlink RM2) Device sValue: ''
2017-08-14 13:35:18.533 (Broadlink RM2) Device LastLevel: 0
2017-08-14 13:35:18.533 (Broadlink RM2) Device: 254 - ID: 230, Name: 'Broadlink RM2 - Remote', nValue: 0, sValue: ''
2017-08-14 13:35:18.533 (Broadlink RM2) Device ID: '230'
2017-08-14 13:35:18.533 (Broadlink RM2) Device Name: 'Broadlink RM2 - Remote'
2017-08-14 13:35:18.533 (Broadlink RM2) Device nValue: 0
2017-08-14 13:35:18.533 (Broadlink RM2) Device sValue: ''
2017-08-14 13:35:18.533 (Broadlink RM2) Device LastLevel: 0
2017-08-14 13:35:18.533 (Broadlink RM2) Device: 255 - ID: 231, Name: 'Broadlink RM2 - Import', nValue: 0, sValue: ''
2017-08-14 13:35:18.533 (Broadlink RM2) Device ID: '231'
2017-08-14 13:35:18.533 (Broadlink RM2) Device Name: 'Broadlink RM2 - Import'
2017-08-14 13:35:18.533 (Broadlink RM2) Device nValue: 0
2017-08-14 13:35:18.533 (Broadlink RM2) Device sValue: ''
2017-08-14 13:35:18.533 (Broadlink RM2) Device LastLevel: 0
2017-08-14 13:35:18.533 (Broadlink RM2 - Import) Updating device from 0:'' to have values 0:'Off'.
2017-08-14 13:35:18.539 (Broadlink RM2) Update 0:'Off' (Broadlink RM2 - Import)
2017-08-14 13:35:18.539 (Broadlink RM2) Connecting to: 192.168.0.39:b4430de436fe
2017-08-14 13:35:18.546 Error: (Broadlink RM2) Error Connecting to Broadlink device....
2017-08-14 13:35:18.546 (Broadlink RM2 - Command) Updating device from 0:'' to have values 0:'Off'.
2017-08-14 13:35:18.552 (Broadlink RM2) Update 0:'Off' (Broadlink RM2 - Command)
2017-08-14 13:35:18.552 (Broadlink RM2) Device Number begin to : 2
2017-08-14 13:35:18.566 (Broadlink RM2) No ini file :/home/pi/domoticz/plugins/BroadlinkRM2/remote/plugin_remote_16.ini
2017-08-14 13:35:18.567 (Broadlink RM2) Custom Commands for Remote not managed
2017-08-14 13:35:18.569 (Broadlink RM2) Heartbeat interval set to: 30.
2017-08-14 13:35:18.725 Python: Changed: ID: 231 Name: Broadlink RM2 - Import, Type: 244, subType: 62, switchType: 18, s_value: Off, n_value: 0, n_value_string: Off, last_update_string:
-
- Posts: 14
- Joined: Wednesday 03 August 2016 12:14
- Target OS: Raspberry Pi / ODroid
- Domoticz version: beta
- Contact:
Re: Python Plugin: Broadlink RM2 V3
If i delete the hardware and create new with 127.0.0.1 I get the discover device. If i turn it on i get this in the log:
I'm running domoticz 3.8288 on raspberri pi 3, python 3.5.2, broadlink 0.5
P.S. On the latest stable i get the same error.
Code: Select all
2017-08-14 13:56:05.018 User: Admin initiated a switch command (228/Broadlink RM2 - Discover/On)
2017-08-14 13:56:05.051 (Broadlink RM2) Calling message handler 'onCommand'.
2017-08-14 13:56:05.051 (Broadlink RM2) onCommand called for Unit 1: Parameter 'On', Level: 0 , Connected : False
2017-08-14 13:56:05.051 (Broadlink RM2) All plugin system is on pause for 5s...
2017-08-14 13:56:10.058 (Broadlink RM2) Found 1 broadlink devices
2017-08-14 13:56:10.071 Error: (Broadlink RM2) 'onCommand' failed 'TypeError':'sequence item 0: expected str instance, bytes found'.
2017-08-14 13:56:10.071 Error: (Broadlink RM2) ----> Line 210 in /home/pi/domoticz/plugins/BroadlinkRM2/plugin.py, function onCommand
2017-08-14 13:56:10.071 Error: (Broadlink RM2) ----> Line 397 in /home/pi/domoticz/plugins/BroadlinkRM2/plugin.py, function Discover
2017-08-14 13:56:10.072 Error: (Broadlink RM2) ----> Line 203 in /usr/lib/python3.5/broadlink/__init__.py, function auth
2017-08-14 13:56:10.072 Error: (Broadlink RM2) ----> Line 258 in /usr/lib/python3.5/broadlink/__init__.py, function send_packet
2017-08-14 13:56:10.072 Error: (Broadlink RM2) ----> Line 162 in /usr/lib/python3.5/broadlink/__init__.py, function encrypt_pyaes
2017-08-14 13:56:29.005 (Broadlink RM2) Calling message handler 'onHeartbeat'.
2017-08-14 13:56:29.019 Error: (Broadlink RM2) Error Connecting to Broadlink device....
P.S. On the latest stable i get the same error.
Last edited by TigroEHOT on Monday 14 August 2017 6:04, edited 1 time in total.
-
- Posts: 952
- Joined: Sunday 22 January 2017 11:37
- Target OS: Windows
- Domoticz version: V2024.4
- Contact:
Re: Python Plugin: Broadlink RM2 V3
@TigroEHOT
I suspect you have other python version installed also (2.x ?? !!!)
-->'onCommand' failed 'TypeError':'sequence item 0: expected str instance, bytes found'.
can you confirm no other python version is installed on your system ?
I suspect you have other python version installed also (2.x ?? !!!)
-->'onCommand' failed 'TypeError':'sequence item 0: expected str instance, bytes found'.
can you confirm no other python version is installed on your system ?
-
- Posts: 11
- Joined: Wednesday 16 August 2017 10:42
- Target OS: Raspberry Pi / ODroid
- Domoticz version:
- Contact:
Re: Python Plugin: Broadlink RM2 V3
Hi,ToneStrife wrote: ↑Monday 03 July 2017 10:49Off option is not possible. I have added a .ini file with the number (idx) of the remote control created by broadlink. Probably I made something worng, but I can't find what is it.zak45 wrote:yes, multiple hw should works.ToneStrife wrote:I couldn't see in the wiki. Is it possible to have several remotes? MAybe adding several hardwares with the same broadlink.
And the most important, I've tried everything I read in the wiki for the remote, I have added the ini and everything. And still in Off. I have a raspi and the broadlink is workin. Any hint?
Have you clicked on the remote to put it 'On' ???
The ini file is plugin_remote_38.ini
( 38 Broadlink 000800FE 254 Broadlink - Remote)
The code inside is :
37 and 36 are the idx of broadlink switches.Code: Select all
[Custom] command = 37,36
Is that work for you now ?
I have the same problem
I have create the plugin remote ini but in the log, it says I need to create an other ini but I can't find which information to put on ?
>>ini file not found: /home/pi/domoticz/plugins/TEST/BroadlinkRM2-4-254.ini
If someone can help me please ?
Thx
-
- Posts: 14
- Joined: Wednesday 03 August 2016 12:14
- Target OS: Raspberry Pi / ODroid
- Domoticz version: beta
- Contact:
Re: Python Plugin: Broadlink RM2 V3
Yes, I do have 3.4 and 2.7.9 installed.zak45 wrote:@TigroEHOT
I suspect you have other python version installed also (2.x ?? !!!)
-->'onCommand' failed 'TypeError':'sequence item 0: expected str instance, bytes found'.
can you confirm no other python version is installed on your system ?
If I run python I see 2.7.9, and if I run python3 I see 3.5.2.
What should I do?
-
- Posts: 14
- Joined: Wednesday 03 August 2016 12:14
- Target OS: Raspberry Pi / ODroid
- Domoticz version: beta
- Contact:
Re: Python Plugin: Broadlink RM2 V3
I've done alias python=python3 but lm not sure it's a good idea...
Anyway, as soon as I anable broadlink hardware plugin domoticz crushes.
Anyway, as soon as I anable broadlink hardware plugin domoticz crushes.
-
- Posts: 52
- Joined: Sunday 04 January 2015 15:57
- Target OS: Windows
- Domoticz version: 2022.2
- Location: Norway
- Contact:
Re: Python Plugin: Broadlink RM2 V3
Hello guys, tring to install this plugin, but I am getting red screen.
My setup:
Version: 3.8153
Build Hash: 494fff71
Compile Date: 2017-07-30 12:19:41
Windows 10 pro
Python 3.4
Have installed: visualcppbuildtools_full
My setup:
Version: 3.8153
Build Hash: 494fff71
Compile Date: 2017-07-30 12:19:41
Windows 10 pro
Python 3.4
Have installed: visualcppbuildtools_full
- Spoiler: show
Windows 10, Domoticz 14784
-
- Posts: 952
- Joined: Sunday 22 January 2017 11:37
- Target OS: Windows
- Domoticz version: V2024.4
- Contact:
Re: Python Plugin: Broadlink RM2 V3
@kalinkamaen
Strange ... but Try yo install pycrypto manually:
pycrypto-2.6.1.win32-py3.4.exe can be found into dropbox
Strange ... but Try yo install pycrypto manually:
pycrypto-2.6.1.win32-py3.4.exe can be found into dropbox
Who is online
Users browsing this forum: No registered users and 0 guests