Python Plugin: Broadlink RM2
Moderator: leecollings
-
- Posts: 1
- Joined: Tuesday 19 December 2017 8:57
- Target OS: -
- Domoticz version:
- Contact:
Re: Python Plugin: Broadlink RM2
Your devices whether smartphones or pc and also laptop computers. Instagram APK you regulate hen's motion through your voice and this application.
-
- Posts: 5
- Joined: Saturday 13 January 2018 18:20
- Target OS: Windows
- Domoticz version: 3.8153
- Contact:
Re: Python Plugin: Broadlink RM2
Hello, first of all I say I'm a newbie in this domoticz and I have little knowledge of computer programming.
I installed the software and configured the broadlink, apparently fine. But I can not get them to connect, I get the following log:
Please, can somebody help me? I have read this post and others but I can not find the solution.
Thanks.
I installed the software and configured the broadlink, apparently fine. But I can not get them to connect, I get the following log:
Code: Select all
2018-01-13 18:25:38.626 (Broadlink RM2) Initialized version 1.0.0, author 'zak45'
2018-01-13 18:25:38.630 (Broadlink RM2) Debug log level set to: 'true'.
2018-01-13 18:25:38.630 (Broadlink RM2) 'HardwareID':'10'
2018-01-13 18:25:38.630 (Broadlink RM2) 'Mode2':'C:\Domoticz\plugins\Broadlink'
2018-01-13 18:25:38.630 (Broadlink RM2) 'Key':'BroadlinkRM2'
2018-01-13 18:25:38.630 (Broadlink RM2) 'Address':'192.168.1.3'
2018-01-13 18:25:38.630 (Broadlink RM2) 'Author':'zak45'
2018-01-13 18:25:38.630 (Broadlink RM2) 'HomeFolder':'C:\Domoticz\plugins\Broadlink\'
2018-01-13 18:25:38.630 (Broadlink RM2) 'Mode1':'34ea34b50f90'
2018-01-13 18:25:38.630 (Broadlink RM2) 'Name':'Broadlink RM2'
2018-01-13 18:25:38.630 (Broadlink RM2) 'Version':'1.0.0'
2018-01-13 18:25:38.630 (Broadlink RM2) 'Mode3':'yes'
2018-01-13 18:25:38.630 (Broadlink RM2) 'Port':'0'
2018-01-13 18:25:38.630 (Broadlink RM2) 'Mode6':'Debug'
2018-01-13 18:25:38.631 (Broadlink RM2) Device count: 2
2018-01-13 18:25:38.631 (Broadlink RM2) Device: 1 - ID: 22, Name: 'Broadlink RM2 - Command', nValue: 0, sValue: 'Off'
2018-01-13 18:25:38.631 (Broadlink RM2) Device ID: '22'
2018-01-13 18:25:38.631 (Broadlink RM2) Device Name: 'Broadlink RM2 - Command'
2018-01-13 18:25:38.631 (Broadlink RM2) Device nValue: 0
2018-01-13 18:25:38.631 (Broadlink RM2) Device sValue: 'Off'
2018-01-13 18:25:38.631 (Broadlink RM2) Device LastLevel: 0
2018-01-13 18:25:38.631 (Broadlink RM2) Device: 2 - ID: 23, Name: 'Broadlink RM2 - Temp', nValue: 0, sValue: ''
2018-01-13 18:25:38.631 (Broadlink RM2) Device ID: '23'
2018-01-13 18:25:38.631 (Broadlink RM2) Device Name: 'Broadlink RM2 - Temp'
2018-01-13 18:25:38.631 (Broadlink RM2) Device nValue: 0
2018-01-13 18:25:38.631 (Broadlink RM2) Device sValue: ''
2018-01-13 18:25:38.631 (Broadlink RM2) Device LastLevel: 0
2018-01-13 18:25:38.631 (Broadlink RM2) Connecting to: 192.168.1.3:34ea34b50f90
2018-01-13 18:25:38.634 Error: (Broadlink RM2) Error Connecting to Broadlink device....
Thanks.
-
- Posts: 952
- Joined: Sunday 22 January 2017 11:37
- Target OS: Windows
- Domoticz version: V2024.4
- Contact:
Re: Python Plugin: Broadlink RM2
@anjimene
looks like you're using old plugin version.
Install the last one (v3) and let's try.
looks like you're using old plugin version.
Install the last one (v3) and let's try.
-
- Posts: 5
- Joined: Saturday 13 January 2018 18:20
- Target OS: Windows
- Domoticz version: 3.8153
- Contact:
Re: Python Plugin: Broadlink RM2
Thanks a lot, I will try tomorrow.zak45 wrote:@anjimene
looks like you're using old plugin version.
Install the last one (v3) and let's try.
Enviado desde mi SM-A300FU mediante Tapatalk
-
- Posts: 5
- Joined: Saturday 13 January 2018 18:20
- Target OS: Windows
- Domoticz version: 3.8153
- Contact:
Re: Python Plugin: Broadlink RM2
Thanks zak45,
I have tried it before because seems a problem with the net, but that is not the problem. Do you have any other idea?
I have tried it before because seems a problem with the net, but that is not the problem. Do you have any other idea?
-
- Posts: 5
- Joined: Saturday 13 January 2018 18:20
- Target OS: Windows
- Domoticz version: 3.8153
- Contact:
Re: Python Plugin: Broadlink RM2
I was wrong with the IP direction , I put all values by default for IP address and mac and I have discovered my device
I am happy now.
Thanks a lot @zak45 for your help.
I am happy now.
Thanks a lot @zak45 for your help.
-
- Posts: 5
- Joined: Sunday 26 November 2017 12:22
- Target OS: Raspberry Pi / ODroid
- Domoticz version:
- Contact:
Re: Python Plugin: Broadlink RM2
Guys plz help what should i do ? I cant start webserver
-
- Posts: 107
- Joined: Tuesday 31 January 2017 21:54
- Target OS: Raspberry Pi / ODroid
- Domoticz version:
- Contact:
Re: Python Plugin: Broadlink RM2
also get this when trying to start webserver.
scripts given +x permission. (owner pi)
changed .sh file to nohup python3 /home/pi/domoticz/plugins/BroadlinkRM2/plugin_http.py $1 $2 $3 &
ini location in plugin map(fills with dirs owned by root)
scripts given +x permission. (owner pi)
changed .sh file to nohup python3 /home/pi/domoticz/plugins/BroadlinkRM2/plugin_http.py $1 $2 $3 &
ini location in plugin map(fills with dirs owned by root)
Code: Select all
Feb 11 16:35:18 raspberrypi domoticz: User: Admin initiated a switch command (874/BroadlinkRM3 - Import/Set Level)
Feb 11 16:35:18 raspberrypi domoticz: (BroadlinkRM3) onCommand called for Unit 255: Parameter 'Set Level', Level: 10 , Connected : True
Feb 11 16:35:18 raspberrypi domoticz: (BroadlinkRM3) 127
Feb 11 16:35:18 raspberrypi domoticz: (BroadlinkRM3) /home/pi/domoticz/plugins/BroadlinkRM2/plugin_http.sh 0.0.0.0 9000 /home/pi/domoticz/plugins/Broadlink/ini/
Feb 11 16:35:18 raspberrypi domoticz: (BroadlinkRM3) None
Feb 11 16:35:18 raspberrypi domoticz: (BroadlinkRM3) Update 0:'Off' (BroadlinkRM3 - Import)
Feb 11 16:35:18 raspberrypi domoticz: (BroadlinkRM3) Not able to start Web server
-
- Posts: 952
- Joined: Sunday 22 January 2017 11:37
- Target OS: Windows
- Domoticz version: V2024.4
- Contact:
Re: Python Plugin: Broadlink RM2
https://linuxconfig.org/how-to-fix-bash ... eturn-codeXztraz wrote: ↑Sunday 11 February 2018 16:39 Feb 11 16:35:18 raspberrypi domoticz: (BroadlinkRM3) onCommand called for Unit 255: Parameter 'Set Level', Level: 10 , Connected : True
Feb 11 16:35:18 raspberrypi domoticz: (BroadlinkRM3) 127
Feb 11 16:35:18 raspberrypi domoticz: (BroadlinkRM3) /home/pi/domoticz/plugins/BroadlinkRM2/plugin_http.sh 0.0.0.0 9000 /home/pi/domoticz/plugins/Broadlink/ini/
Feb 11 16:35:18 raspberrypi domoticz: (BroadlinkRM3) None
-
- Posts: 107
- Joined: Tuesday 31 January 2017 21:54
- Target OS: Raspberry Pi / ODroid
- Domoticz version:
- Contact:
Re: Python Plugin: Broadlink RM2
Tried starting the whats in the .sh script. it runs the script atleast. arguments mising att it assumes c: but path in .sh seems fine. so whats wrong?
pi ~ $ python3 /home/pi/domoticz/plugins/BroadlinkRM2/plugin_http.py $1 $2 $3 &
[1] 2667
pi ~ $ Traceback (most recent call last):
File "/home/pi/domoticz/plugins/BroadlinkRM2/plugin_http.py", line 319, in <module>
os.chdir(PATH)
FileNotFoundError: [Errno 2] No such file or directory: 'c:/BroadlinkRM2'
^C
[1]+ Exit 1 python3 /home/pi/domoticz/plugins/BroadlinkRM2/plugin_http.py $1 $2 $3
i see that files and such created by script is owned by root. might this mess something up?
pi ~ $ python3 /home/pi/domoticz/plugins/BroadlinkRM2/plugin_http.py $1 $2 $3 &
[1] 2667
pi ~ $ Traceback (most recent call last):
File "/home/pi/domoticz/plugins/BroadlinkRM2/plugin_http.py", line 319, in <module>
os.chdir(PATH)
FileNotFoundError: [Errno 2] No such file or directory: 'c:/BroadlinkRM2'
^C
[1]+ Exit 1 python3 /home/pi/domoticz/plugins/BroadlinkRM2/plugin_http.py $1 $2 $3
i see that files and such created by script is owned by root. might this mess something up?
-
- Posts: 14
- Joined: Sunday 11 February 2018 13:04
- Target OS: Raspberry Pi / ODroid
- Domoticz version:
- Contact:
Re: Python Plugin: Broadlink RM2
Hello,
I've installed the newest version of standalon and beta on raspberry pi3 and want to setup my broadlink rm3 pro but it's not in the HW list.
I followed the guide of the installation of the brodadlink plugin but....
The log file show this:
Domoticz - Broadlink log:
2018-02-10 17:28:49.665 Error: PluginList: Parsing '/home/pi/domoticz/plugins/BroadlinkRM2/', 'Error document empty.' at line 0 column 0 in XML ''.
I found an xml file on https://pypi.python.org/pypi/broadlink ( https://pypi.python.org/pypi?:action=do ... ersion=0.6)
and put this xml file into the Pi/domoticz/plugins/BroadlinkRM2 folder but the error message is same.
Do you have any idea?
Thank you!
I've installed the newest version of standalon and beta on raspberry pi3 and want to setup my broadlink rm3 pro but it's not in the HW list.
I followed the guide of the installation of the brodadlink plugin but....
The log file show this:
Domoticz - Broadlink log:
2018-02-10 17:28:49.665 Error: PluginList: Parsing '/home/pi/domoticz/plugins/BroadlinkRM2/', 'Error document empty.' at line 0 column 0 in XML ''.
I found an xml file on https://pypi.python.org/pypi/broadlink ( https://pypi.python.org/pypi?:action=do ... ersion=0.6)
and put this xml file into the Pi/domoticz/plugins/BroadlinkRM2 folder but the error message is same.
Do you have any idea?
Thank you!
-
- Posts: 14
- Joined: Sunday 11 February 2018 13:04
- Target OS: Raspberry Pi / ODroid
- Domoticz version:
- Contact:
Re: Python Plugin: Broadlink RM2
I installed it on another Pi but the problem is the same. No Broadlink device in Hardware list.lplugo wrote: ↑Monday 12 February 2018 15:51 Hello,
I've installed the newest version of standalon and beta on raspberry pi3 and want to setup my broadlink rm3 pro but it's not in the HW list.
I followed the guide of the installation of the brodadlink plugin but....
The log file show this:
Domoticz - Broadlink log:
2018-02-10 17:28:49.665 Error: PluginList: Parsing '/home/pi/domoticz/plugins/BroadlinkRM2/', 'Error document empty.' at line 0 column 0 in XML ''.
I found an xml file on https://pypi.python.org/pypi/broadlink ( https://pypi.python.org/pypi?:action=do ... ersion=0.6)
and put this xml file into the Pi/domoticz/plugins/BroadlinkRM2 folder but the error message is same.
Do you have any idea?
Thank you!
-
- Posts: 14
- Joined: Sunday 11 February 2018 13:04
- Target OS: Raspberry Pi / ODroid
- Domoticz version:
- Contact:
Re: Python Plugin: Broadlink RM2
I passed the problem but have another error:
2018-02-17 16:26:50.825 Error: (BroadlinkRM2) failed to load 'plugin.py', Python Path used was '/home/pi/domoticz/plugins/BroadlinkRM2/:/usr/lib/python35.zip:/usr/lib/python3.5:/usr/lib/python3.5/plat-arm-linux-gnueabihf:/usr/lib/python3.5/lib-dynload'.
2018-02-17 16:26:50.825 Error: (Broad) Module Import failed, exception: 'ImportError'
2018-02-17 16:26:50.825 Error: (Broad) Module Import failed: ' Name: broadlink'
2018-02-17 16:26:50.825 Error: (Broad) Error Line details not available.
-
- Posts: 14
- Joined: Sunday 11 February 2018 13:04
- Target OS: Raspberry Pi / ODroid
- Domoticz version:
- Contact:
Re: Python Plugin: Broadlink RM2
I solved previous but now have a new error:lplugo wrote: ↑Saturday 17 February 2018 16:27I passed the problem but have another error:
2018-02-17 16:26:50.825 Error: (BroadlinkRM2) failed to load 'plugin.py', Python Path used was '/home/pi/domoticz/plugins/BroadlinkRM2/:/usr/lib/python35.zip:/usr/lib/python3.5:/usr/lib/python3.5/plat-arm-linux-gnueabihf:/usr/lib/python3.5/lib-dynload'.
2018-02-17 16:26:50.825 Error: (Broad) Module Import failed, exception: 'ImportError'
2018-02-17 16:26:50.825 Error: (Broad) Module Import failed: ' Name: broadlink'
2018-02-17 16:26:50.825 Error: (Broad) Error Line details not available.
2018-02-17 19:06:42.089 Error: (disc) 'onCommand' failed 'AttributeError':'module 'broadlink' has no attribute 'discover''.
2018-02-17 19:06:42.089 Error: (disc) ----> Line 278 in /home/pi/domoticz/plugins/BroadlinkRM2/plugin.py, function onCommand
2018-02-17 19:06:42.089 Error: (disc) ----> Line 568 in /home/pi/domoticz/plugins/BroadlinkRM2/plugin.py, function Discover
Error Connecting to Broadlink device....192.1xxxxxxxxxx
and ini file not found: inibroadl:/BroadlinkRM2/BroadlinkRM2-3-254.ini
-
- Posts: 14
- Joined: Sunday 11 February 2018 13:04
- Target OS: Raspberry Pi / ODroid
- Domoticz version:
- Contact:
Re: Python Plugin: Broadlink RM2
Any idea how to connect to the Broadlink RM+ device?lplugo wrote: ↑Saturday 17 February 2018 19:12I solved previous but now have a new error:lplugo wrote: ↑Saturday 17 February 2018 16:27I passed the problem but have another error:
2018-02-17 16:26:50.825 Error: (BroadlinkRM2) failed to load 'plugin.py', Python Path used was '/home/pi/domoticz/plugins/BroadlinkRM2/:/usr/lib/python35.zip:/usr/lib/python3.5:/usr/lib/python3.5/plat-arm-linux-gnueabihf:/usr/lib/python3.5/lib-dynload'.
2018-02-17 16:26:50.825 Error: (Broad) Module Import failed, exception: 'ImportError'
2018-02-17 16:26:50.825 Error: (Broad) Module Import failed: ' Name: broadlink'
2018-02-17 16:26:50.825 Error: (Broad) Error Line details not available.
2018-02-17 19:06:42.089 Error: (disc) 'onCommand' failed 'AttributeError':'module 'broadlink' has no attribute 'discover''.
2018-02-17 19:06:42.089 Error: (disc) ----> Line 278 in /home/pi/domoticz/plugins/BroadlinkRM2/plugin.py, function onCommand
2018-02-17 19:06:42.089 Error: (disc) ----> Line 568 in /home/pi/domoticz/plugins/BroadlinkRM2/plugin.py, function Discover
Error Connecting to Broadlink device....192.1xxxxxxxxxx
and ini file not found: inibroadl:/BroadlinkRM2/BroadlinkRM2-3-254.ini
-
- Posts: 5
- Joined: Sunday 26 November 2017 12:22
- Target OS: Raspberry Pi / ODroid
- Domoticz version:
- Contact:
Re: Python Plugin: Broadlink RM2
Dude im super newbie i need a step by step instructions. Plz help
ill should go to :
cd /home/pi/domoticz/plugins/BroadlinkRM2
and than type sudo chmod +x plugin_http.py ? Or what?
Who is online
Users browsing this forum: Bing [Bot] and 1 guest