[插件]RM2 RMPro 插件 BroadlinkRM2 v3(增强版)

博联Broadlink RM Pro/Mini、RM Home、MP1、MP2、SP mini等
版面规则
博联Broadlink RM Pro/Mini、RM Home、MP1、MP2、SP mini等
syk1324
帖子: 9
注册时间: 周五 8月 25, 2017 14:24

Re: [插件]RM2 RMPro 插件 BroadlinkRM2 v3(增强版)

帖子 syk1324 » 周一 9月 04, 2017 19:04

DT27 写了:
周一 9月 04, 2017 09:38
syk1324 写了:
周日 9月 03, 2017 18:36
syk1324 写了:
周日 9月 03, 2017 14:13


多谢,已搞定
都设置好了电机ON/OFF没反应,在log里复制长码,手动编辑文件粘贴(实际上是一样的)还是没反应。怀疑是自己平台或者文件没设置好
于是我去劫包,但用PC发包过去还是控制不了
然后我用PC的蓝叠模拟了安卓登录博联的“智慧星”app,发现也TM控制不了
接着我又用别人的手机和平板下载登录“智慧星”,就能控制
这就很神奇了,不知道题主大大有没有类似的情况
我准备换个RM设备试试
你不是好了吗?
没反应日志里没有错误提示吗?
点按钮时RM设备提示灯没亮一下吗?
就是因为日志没报错了。我以为已经好了(汗颜)
日志里干干净净没报错,学习、保存那些都没有问题
domoticz里点按钮时,没有灯亮

头像
DT27
帖子: 320
注册时间: 周四 3月 30, 2017 08:54
Gender:

Re: [插件]RM2 RMPro 插件 BroadlinkRM2 v3(增强版)

帖子 DT27 » 周二 9月 05, 2017 09:17

syk1324 写了:
周一 9月 04, 2017 19:04
DT27 写了:
周一 9月 04, 2017 09:38
syk1324 写了:
周日 9月 03, 2017 18:36


都设置好了电机ON/OFF没反应,在log里复制长码,手动编辑文件粘贴(实际上是一样的)还是没反应。怀疑是自己平台或者文件没设置好
于是我去劫包,但用PC发包过去还是控制不了
然后我用PC的蓝叠模拟了安卓登录博联的“智慧星”app,发现也TM控制不了
接着我又用别人的手机和平板下载登录“智慧星”,就能控制
这就很神奇了,不知道题主大大有没有类似的情况
我准备换个RM设备试试
你不是好了吗?
没反应日志里没有错误提示吗?
点按钮时RM设备提示灯没亮一下吗?
就是因为日志没报错了。我以为已经好了(汗颜)
日志里干干净净没报错,学习、保存那些都没有问题
domoticz里点按钮时,没有灯亮
学习都没问题,没道理发射时出问题啊.
你把RMPro硬件设置里的debug打开看看日志。

woomoo
帖子: 2
注册时间: 周六 9月 09, 2017 21:51

Re: [插件]RM2 RMPro 插件 BroadlinkRM2 v3(增强版)

帖子 woomoo » 周六 9月 09, 2017 21:56

感谢楼主分享,按操作从头来了一次。没有报错,就是重启domoticz后硬件中还是没有Broadlink选项。奇了怪了。

woomoo
帖子: 2
注册时间: 周六 9月 09, 2017 21:51

Re: [插件]RM2 RMPro 插件 BroadlinkRM2 v3(增强版)

帖子 woomoo » 周二 9月 12, 2017 00:13

重新安装后成功。总结了下做法。

没用这个命令直接安装。
sudo pip3 install broadlink

参考这个文章下载源码编译安装。
https://post.smzdm.com/p/555258/

安装命令sudo python setup.py install

有碰到我类似的问题可以参考。


再补充下:不要升级domo。./updatebate 后版本到8.3xxx (之前版本是8.1xxx)博联又没有了。

yale
帖子: 2
注册时间: 周六 9月 16, 2017 21:50

Re: [插件]RM2 RMPro 插件 BroadlinkRM2 v3(增强版)

帖子 yale » 周六 9月 16, 2017 21:57

请教大神 点击Learn-save 创建独立开关并且设置好 修改ini文件设置开跟关动作后 可以控制设备 但是该开关一直为开的状态 不管设备状态是什么 开关类型默认为为 push on button 如果从编辑中改为on/off则不能使用了 请问是怎么回事 如何解决 万分感谢

头像
DT27
帖子: 320
注册时间: 周四 3月 30, 2017 08:54
Gender:

Re: [插件]RM2 RMPro 插件 BroadlinkRM2 v3(增强版)

帖子 DT27 » 周一 9月 18, 2017 08:42

yale 写了:
周六 9月 16, 2017 21:57
请教大神 点击Learn-save 创建独立开关并且设置好 修改ini文件设置开跟关动作后 可以控制设备 但是该开关一直为开的状态 不管设备状态是什么 开关类型默认为为 push on button 如果从编辑中改为on/off则不能使用了 请问是怎么回事 如何解决 万分感谢
开关类型是On/Off,如果可以控制设备,但是开关状态不变,是主题的问题,刷新页面应该就变了。
push on button类型只有一个状态,就是开。

yale
帖子: 2
注册时间: 周六 9月 16, 2017 21:50

Re: [插件]RM2 RMPro 插件 BroadlinkRM2 v3(增强版)

帖子 yale » 周日 9月 24, 2017 08:58

非常感谢 问题已解决 普通开关已经设置成功 再研究一下多段开关
建议我这样的小白操作的时候多看日志 里面详细记录了domoticz的运行和操作情况 对软件设置非常有帮助

AlwaysOnline
帖子: 3
注册时间: 周二 9月 26, 2017 14:14

Re: [插件]RM2 RMPro 插件 BroadlinkRM2 v3(增强版)

帖子 AlwaysOnline » 周二 9月 26, 2017 14:16

楼主,学习遥控的时候出现这个日志,求解答
2017-09-26 14:02:20.072 Error: (Broadlink) 'onCommand' failed 'NoOptionError'.
2017-09-26 14:02:20.072 Error: (Broadlink) ----> Line 219 in /home/pi/domoticz/plugins/BroadlinkRM2/plugin.py, function onCommand
2017-09-26 14:02:20.072 Error: (Broadlink) ----> Line 365 in /home/pi/domoticz/plugins/BroadlinkRM2/plugin.py, function genCommandOther
2017-09-26 14:02:20.072 Error: (Broadlink) ----> Line 765 in /usr/lib/python3.4/configparser.py, function get

头像
Admin
网站管理员
帖子: 116
注册时间: 周六 2月 25, 2017 12:47
Gender:

Re: [插件]RM2 RMPro 插件 BroadlinkRM2 v3(增强版)

帖子 Admin » 周二 9月 26, 2017 15:20

AlwaysOnline 写了:
周二 9月 26, 2017 14:16
楼主,学习遥控的时候出现这个日志,求解答
2017-09-26 14:02:20.072 Error: (Broadlink) 'onCommand' failed 'NoOptionError'.
2017-09-26 14:02:20.072 Error: (Broadlink) ----> Line 219 in /home/pi/domoticz/plugins/BroadlinkRM2/plugin.py, function onCommand
2017-09-26 14:02:20.072 Error: (Broadlink) ----> Line 365 in /home/pi/domoticz/plugins/BroadlinkRM2/plugin.py, function genCommandOther
2017-09-26 14:02:20.072 Error: (Broadlink) ----> Line 765 in /usr/lib/python3.4/configparser.py, function get
看看帖子,看你的文件按没按帖子要求修改。

AlwaysOnline
帖子: 3
注册时间: 周二 9月 26, 2017 14:14

Re: [插件]RM2 RMPro 插件 BroadlinkRM2 v3(增强版)

帖子 AlwaysOnline » 周二 9月 26, 2017 18:07

Admin 写了:
周二 9月 26, 2017 15:20
AlwaysOnline 写了:
周二 9月 26, 2017 14:16
楼主,学习遥控的时候出现这个日志,求解答
2017-09-26 14:02:20.072 Error: (Broadlink) 'onCommand' failed 'NoOptionError'.
2017-09-26 14:02:20.072 Error: (Broadlink) ----> Line 219 in /home/pi/domoticz/plugins/BroadlinkRM2/plugin.py, function onCommand
2017-09-26 14:02:20.072 Error: (Broadlink) ----> Line 365 in /home/pi/domoticz/plugins/BroadlinkRM2/plugin.py, function genCommandOther
2017-09-26 14:02:20.072 Error: (Broadlink) ----> Line 765 in /usr/lib/python3.4/configparser.py, function get
看看帖子,看你的文件按没按帖子要求修改。
 我没修改那个多段文件,我没这需要,这样会有影响吗?

头像
Admin
网站管理员
帖子: 116
注册时间: 周六 2月 25, 2017 12:47
Gender:

Re: [插件]RM2 RMPro 插件 BroadlinkRM2 v3(增强版)

帖子 Admin » 周三 9月 27, 2017 09:30

AlwaysOnline 写了:
周二 9月 26, 2017 18:07
Admin 写了:
周二 9月 26, 2017 15:20
AlwaysOnline 写了:
周二 9月 26, 2017 14:16
楼主,学习遥控的时候出现这个日志,求解答
2017-09-26 14:02:20.072 Error: (Broadlink) 'onCommand' failed 'NoOptionError'.
2017-09-26 14:02:20.072 Error: (Broadlink) ----> Line 219 in /home/pi/domoticz/plugins/BroadlinkRM2/plugin.py, function onCommand
2017-09-26 14:02:20.072 Error: (Broadlink) ----> Line 365 in /home/pi/domoticz/plugins/BroadlinkRM2/plugin.py, function genCommandOther
2017-09-26 14:02:20.072 Error: (Broadlink) ----> Line 765 in /usr/lib/python3.4/configparser.py, function get
看看帖子,看你的文件按没按帖子要求修改。
 我没修改那个多段文件,我没这需要,这样会有影响吗?
多段的地方不需要改,你用的是帖子压缩包里的插件文件吗?

AlwaysOnline
帖子: 3
注册时间: 周二 9月 26, 2017 14:14

Re: [插件]RM2 RMPro 插件 BroadlinkRM2 v3(增强版)

帖子 AlwaysOnline » 周三 9月 27, 2017 14:50

Admin 写了:
周三 9月 27, 2017 09:30
AlwaysOnline 写了:
周二 9月 26, 2017 18:07
Admin 写了:
周二 9月 26, 2017 15:20


看看帖子,看你的文件按没按帖子要求修改。
 我没修改那个多段文件,我没这需要,这样会有影响吗?
多段的地方不需要改,你用的是帖子压缩包里的插件文件吗?
已经解决,原来不是多段开关的也要修改ini文件,终于弄明白了,感谢楼主

头像
Admin
网站管理员
帖子: 116
注册时间: 周六 2月 25, 2017 12:47
Gender:

Re: [插件]RM2 RMPro 插件 BroadlinkRM2 v3(增强版)

帖子 Admin » 周三 9月 27, 2017 16:54

AlwaysOnline 写了:
周三 9月 27, 2017 14:50
Admin 写了:
周三 9月 27, 2017 09:30
AlwaysOnline 写了:
周二 9月 26, 2017 18:07

 我没修改那个多段文件,我没这需要,这样会有影响吗?
多段的地方不需要改,你用的是帖子压缩包里的插件文件吗?
已经解决,原来不是多段开关的也要修改ini文件,终于弄明白了,感谢楼主
明明是发送命令出问题,你为什么说是学习遥控出问题= =、 :x

dxh000130
帖子: 5
注册时间: 周二 11月 14, 2017 21:41

Re: [插件]RM2 RMPro 插件 BroadlinkRM2 v3(增强版)

帖子 dxh000130 » 周二 11月 14, 2017 21:43

您好 我出现了无法连接的错误
017-11-14 21:38:15.768 (rm pro) Debug log level set to: 'true'.
2017-11-14 21:38:15.768 (rm pro) 'Address':'192.168.1.47'
2017-11-14 21:38:15.768 (rm pro) 'Mode1':'34ea348f05b8'
2017-11-14 21:38:15.768 (rm pro) 'Author':'zak45'
2017-11-14 21:38:15.768 (rm pro) 'Mode6':'Debug'
2017-11-14 21:38:15.768 (rm pro) 'Mode4':'yes'
2017-11-14 21:38:15.768 (rm pro) 'Mode5':'9000'
2017-11-14 21:38:15.768 (rm pro) 'Mode2':'/usr/local/domoticz/var/plugins/BroadlinkRM2'
2017-11-14 21:38:15.768 (rm pro) 'Mode3':'yes'
2017-11-14 21:38:15.768 (rm pro) 'Port':'0'
2017-11-14 21:38:15.768 (rm pro) 'Key':'BroadlinkRM2'
2017-11-14 21:38:15.768 (rm pro) 'Name':'rm pro'
2017-11-14 21:38:15.768 (rm pro) 'HardwareID':'7'
2017-11-14 21:38:15.768 (rm pro) 'HomeFolder':'/usr/local/domoticz/var/plugins/BroadlinkRM2/'
2017-11-14 21:38:15.768 (rm pro) 'Version':'3.0.0'
2017-11-14 21:38:15.768 (rm pro) Device count: 4
2017-11-14 21:38:15.768 (rm pro) Device: 1 - ID: 22, Name: 'rm pro - Command', nValue: 0, sValue: 'Off'
2017-11-14 21:38:15.768 (rm pro) Device ID: '22'
2017-11-14 21:38:15.768 (rm pro) Device Name: 'rm pro - Command'
2017-11-14 21:38:15.768 (rm pro) Device nValue: 0
2017-11-14 21:38:15.768 (rm pro) Device sValue: 'Off'
2017-11-14 21:38:15.768 (rm pro) Device LastLevel: 0
2017-11-14 21:38:15.768 (rm pro) Device: 2 - ID: 23, Name: 'rm pro - Temp', nValue: 0, sValue: ''
2017-11-14 21:38:15.768 (rm pro) Device ID: '23'
2017-11-14 21:38:15.768 (rm pro) Device Name: 'rm pro - Temp'
2017-11-14 21:38:15.768 (rm pro) Device nValue: 0
2017-11-14 21:38:15.768 (rm pro) Device sValue: ''
2017-11-14 21:38:15.768 (rm pro) Device LastLevel: 0
2017-11-14 21:38:15.768 (rm pro) Device: 254 - ID: 24, Name: 'rm pro - Remote', nValue: 0, sValue: ''
2017-11-14 21:38:15.768 (rm pro) Device ID: '24'
2017-11-14 21:38:15.768 (rm pro) Device Name: 'rm pro - Remote'
2017-11-14 21:38:15.768 (rm pro) Device nValue: 0
2017-11-14 21:38:15.768 (rm pro) Device sValue: ''
2017-11-14 21:38:15.768 (rm pro) Device LastLevel: 0
2017-11-14 21:38:15.768 (rm pro) Device: 255 - ID: 25, Name: 'rm pro - Import', nValue: 0, sValue: 'Off'
2017-11-14 21:38:15.768 (rm pro) Device ID: '25'
2017-11-14 21:38:15.768 (rm pro) Device Name: 'rm pro - Import'
2017-11-14 21:38:15.768 (rm pro) Device nValue: 0
2017-11-14 21:38:15.768 (rm pro) Device sValue: 'Off'
2017-11-14 21:38:15.768 (rm pro) Device LastLevel: 0
2017-11-14 21:38:15.768 (rm pro) Connecting to: 192.168.1.47:34ea348f05b8
2017-11-14 21:38:15.769 Error: (rm pro) Error Connecting to Broadlink device....
2017-11-14 21:38:15.769 (rm pro) Device Number begin to : 2
2017-11-14 21:38:15.769 (rm pro) No ini file :/usr/local/domoticz/var/plugins/BroadlinkRM2/remote/plugin_remote_7.ini
2017-11-14 21:38:15.769 (rm pro) Custom Commands for Remote not managed
2017-11-14 21:38:15.769 (rm pro) Heartbeat interval set to: 30.
2017-11-14 21:38:25.283 (rm pro) Calling message handler 'onHeartbeat'.
2017-11-14 21:38:25.284 Error: (rm pro) Error Connecting to Broadlink device....
2017-11-14 21:38:54.373 (天气) Temp + Humidity + Baro (室外温湿度 气压)
2017-11-14 21:38:54.390 (天气) Wind (室外风力)
2017-11-14 21:38:54.407 (天气) UV (室外UV)
2017-11-14 21:38:54.424 (天气) Rain (室外降雨)
2017-11-14 21:38:54.441 (天气) General/Solar Radiation (室外空气质量)
2017-11-14 21:38:55.278 (rm pro) Calling message handler 'onHeartbeat'.
2017-11-14 21:39:00.146 Error: EventSystem: in bedroom: [string "commandArray = {} ..."]:3: attempt to index global 'devicechanged' (a nil value)
2017-11-14 21:39:25.321 (rm pro) Calling message handler 'onHeartbeat'.
2017-11-14 21:39:55.315 (rm pro) Calling message handler 'onHeartbeat'.
2017-11-14 21:40:00.168 Error: EventSystem: in bedroom: [string "commandArray = {} ..."]:3: attempt to index global 'devicechanged' (a nil value)
2017-11-14 21:40:25.309 (rm pro) Calling message handler 'onHeartbeat'.
2017-11-14 21:40:25.310 Error: (rm pro) Error Connecting to Broadlink device....

头像
DT27
帖子: 320
注册时间: 周四 3月 30, 2017 08:54
Gender:

Re: [插件]RM2 RMPro 插件 BroadlinkRM2 v3(增强版)

帖子 DT27 » 周四 11月 16, 2017 10:56

dxh000130 写了:
周二 11月 14, 2017 21:43
您好 我出现了无法连接的错误
017-11-14 21:38:15.768 (rm pro) Debug log level set to: 'true'.
2017-11-14 21:38:15.768 (rm pro) 'Address':'192.168.1.47'
2017-11-14 21:38:15.768 (rm pro) 'Mode1':'34ea348f05b8'
2017-11-14 21:38:15.768 (rm pro) 'Author':'zak45'
2017-11-14 21:38:15.768 (rm pro) 'Mode6':'Debug'
2017-11-14 21:38:15.768 (rm pro) 'Mode4':'yes'
2017-11-14 21:38:15.768 (rm pro) 'Mode5':'9000'
2017-11-14 21:38:15.768 (rm pro) 'Mode2':'/usr/local/domoticz/var/plugins/BroadlinkRM2'
2017-11-14 21:38:15.768 (rm pro) 'Mode3':'yes'
2017-11-14 21:38:15.768 (rm pro) 'Port':'0'
2017-11-14 21:38:15.768 (rm pro) 'Key':'BroadlinkRM2'
2017-11-14 21:38:15.768 (rm pro) 'Name':'rm pro'
2017-11-14 21:38:15.768 (rm pro) 'HardwareID':'7'
2017-11-14 21:38:15.768 (rm pro) 'HomeFolder':'/usr/local/domoticz/var/plugins/BroadlinkRM2/'
2017-11-14 21:38:15.768 (rm pro) 'Version':'3.0.0'
2017-11-14 21:38:15.768 (rm pro) Device count: 4
2017-11-14 21:38:15.768 (rm pro) Device: 1 - ID: 22, Name: 'rm pro - Command', nValue: 0, sValue: 'Off'
2017-11-14 21:38:15.768 (rm pro) Device ID: '22'
2017-11-14 21:38:15.768 (rm pro) Device Name: 'rm pro - Command'
2017-11-14 21:38:15.768 (rm pro) Device nValue: 0
2017-11-14 21:38:15.768 (rm pro) Device sValue: 'Off'
2017-11-14 21:38:15.768 (rm pro) Device LastLevel: 0
2017-11-14 21:38:15.768 (rm pro) Device: 2 - ID: 23, Name: 'rm pro - Temp', nValue: 0, sValue: ''
2017-11-14 21:38:15.768 (rm pro) Device ID: '23'
2017-11-14 21:38:15.768 (rm pro) Device Name: 'rm pro - Temp'
2017-11-14 21:38:15.768 (rm pro) Device nValue: 0
2017-11-14 21:38:15.768 (rm pro) Device sValue: ''
2017-11-14 21:38:15.768 (rm pro) Device LastLevel: 0
2017-11-14 21:38:15.768 (rm pro) Device: 254 - ID: 24, Name: 'rm pro - Remote', nValue: 0, sValue: ''
2017-11-14 21:38:15.768 (rm pro) Device ID: '24'
2017-11-14 21:38:15.768 (rm pro) Device Name: 'rm pro - Remote'
2017-11-14 21:38:15.768 (rm pro) Device nValue: 0
2017-11-14 21:38:15.768 (rm pro) Device sValue: ''
2017-11-14 21:38:15.768 (rm pro) Device LastLevel: 0
2017-11-14 21:38:15.768 (rm pro) Device: 255 - ID: 25, Name: 'rm pro - Import', nValue: 0, sValue: 'Off'
2017-11-14 21:38:15.768 (rm pro) Device ID: '25'
2017-11-14 21:38:15.768 (rm pro) Device Name: 'rm pro - Import'
2017-11-14 21:38:15.768 (rm pro) Device nValue: 0
2017-11-14 21:38:15.768 (rm pro) Device sValue: 'Off'
2017-11-14 21:38:15.768 (rm pro) Device LastLevel: 0
2017-11-14 21:38:15.768 (rm pro) Connecting to: 192.168.1.47:34ea348f05b8
2017-11-14 21:38:15.769 Error: (rm pro) Error Connecting to Broadlink device....
2017-11-14 21:38:15.769 (rm pro) Device Number begin to : 2
2017-11-14 21:38:15.769 (rm pro) No ini file :/usr/local/domoticz/var/plugins/BroadlinkRM2/remote/plugin_remote_7.ini
2017-11-14 21:38:15.769 (rm pro) Custom Commands for Remote not managed
2017-11-14 21:38:15.769 (rm pro) Heartbeat interval set to: 30.
2017-11-14 21:38:25.283 (rm pro) Calling message handler 'onHeartbeat'.
2017-11-14 21:38:25.284 Error: (rm pro) Error Connecting to Broadlink device....
2017-11-14 21:38:54.373 (天气) Temp + Humidity + Baro (室外温湿度 气压)
2017-11-14 21:38:54.390 (天气) Wind (室外风力)
2017-11-14 21:38:54.407 (天气) UV (室外UV)
2017-11-14 21:38:54.424 (天气) Rain (室外降雨)
2017-11-14 21:38:54.441 (天气) General/Solar Radiation (室外空气质量)
2017-11-14 21:38:55.278 (rm pro) Calling message handler 'onHeartbeat'.
2017-11-14 21:39:00.146 Error: EventSystem: in bedroom: [string "commandArray = {} ..."]:3: attempt to index global 'devicechanged' (a nil value)
2017-11-14 21:39:25.321 (rm pro) Calling message handler 'onHeartbeat'.
2017-11-14 21:39:55.315 (rm pro) Calling message handler 'onHeartbeat'.
2017-11-14 21:40:00.168 Error: EventSystem: in bedroom: [string "commandArray = {} ..."]:3: attempt to index global 'devicechanged' (a nil value)
2017-11-14 21:40:25.309 (rm pro) Calling message handler 'onHeartbeat'.
2017-11-14 21:40:25.310 Error: (rm pro) Error Connecting to Broadlink device....
你ssh执行python3进python控制台,然后执行下面代码,把返回结果截图上来

代码: 全选

import broadlink
device = broadlink.rm(host=("192.168.1.47",80), mac=bytearray.fromhex("34ea348f05b8"))
device.auth()
device.host

demon1107
帖子: 2
注册时间: 周三 11月 22, 2017 10:19

Re: [插件]RM2 RMPro 插件 BroadlinkRM2 v3(增强版)

帖子 demon1107 » 周三 11月 22, 2017 10:30

2017-11-22 10:15:59.665 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'.

2017-11-22 10:15:59.666 Error: (博联RM) Module Import failed, exception: 'ImportError'

2017-11-22 10:15:59.666 Error: (博联RM) Module Import failed: ' Name: broadlink'

2017-11-22 10:15:59.666 Error: (博联RM) Error Line details not available.

楼主,请问这个错误是什么问题啊? :cry:

头像
DT27
帖子: 320
注册时间: 周四 3月 30, 2017 08:54
Gender:

Re: [插件]RM2 RMPro 插件 BroadlinkRM2 v3(增强版)

帖子 DT27 » 周三 11月 22, 2017 16:07

demon1107 写了:
周三 11月 22, 2017 10:30
2017-11-22 10:15:59.665 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'.

2017-11-22 10:15:59.666 Error: (博联RM) Module Import failed, exception: 'ImportError'

2017-11-22 10:15:59.666 Error: (博联RM) Module Import failed: ' Name: broadlink'

2017-11-22 10:15:59.666 Error: (博联RM) Error Line details not available.

楼主,请问这个错误是什么问题啊? :cry:
Module Import failed: ' Name: broadlink'

你从头再看一遍帖子。。。。。。

lemon2201126
帖子: 7
注册时间: 周六 8月 12, 2017 23:04

Re: [插件]RM2 RMPro 插件 BroadlinkRM2 v3(增强版)

帖子 lemon2201126 » 周三 11月 22, 2017 17:51

设备显示在线,我点了learn,设备红灯亮,然后遥控器按了,设备灯灭。按道理会保存代码
看了文件没有新增ini的文件,这个是为什么有保存住,感谢

2017-11-22 17:48:25.363 (RMPro) Update 1:'19.6' (RMPro - Temp)
2017-11-22 17:48:32.744 User: Admin initiated a switch command (24/RMPro - Command/Set Level)
2017-11-22 17:48:32.777 (RMPro) onCommand called for Unit 1: Parameter 'Set Level', Level: 30 , Connected : True
2017-11-22 17:48:32.901 (RMPro) Update 0:'Off' (RMPro - Command)
2017-11-22 17:48:36.255 User: Admin initiated a switch command (24/RMPro - Command/Set Level)
2017-11-22 17:48:36.259 (RMPro) onCommand called for Unit 1: Parameter 'Set Level', Level: 30 , Connected : True
2017-11-22 17:48:36.259 (RMPro) Nothing to save
2017-11-22 17:48:38.335 User: Admin initiated a switch command (24/RMPro - Command/Set Level)
2017-11-22 17:48:38.364 (RMPro) onCommand called for Unit 1: Parameter 'Set Level', Level: 30 , Connected : True
2017-11-22 17:48:38.364 (RMPro) Nothing to save
2017-11-22 17:48:41.035 User: Admin initiated a switch command (24/RMPro - Command/Set Level)
2017-11-22 17:48:41.069 (RMPro) onCommand called for Unit 1: Parameter 'Set Level', Level: 30 , Connected : True
2017-11-22 17:48:41.070 (RMPro) Nothing to save
2017-11-22 17:48:41.772 User: Admin initiated a switch command (24/RMPro - Command/Set Level)
2017-11-22 17:48:41.821 (RMPro) onCommand called for Unit 1: Parameter 'Set Level', Level: 30 , Connected : True
2017-11-22 17:48:41.822 (RMPro) Nothing to save
2017-11-22 17:48:42.248 User: Admin initiated a switch command (24/RMPro - Command/Set Level)
2017-11-22 17:48:42.272 (RMPro) onCommand called for Unit 1: Parameter 'Set Level', Level: 30 , Connected : True
2017-11-22 17:48:42.273 (RMPro) Nothing to save
2017-11-22 17:48:43.304 User: Admin initiated a switch command (24/RMPro - Command/Set Level)
2017-11-22 17:48:43.325 (RMPro) onCommand called for Unit 1: Parameter 'Set Level', Level: 10 , Connected : True
2017-11-22 17:48:43.364 (RMPro) Connected to Broadlink device.
2017-11-22 17:48:43.364 (RMPro) All plugin system is on pause for 5s...
2017-11-22 17:48:43.364 (RMPro) When Broadlink led is lit press the button on your remote within 5 seconds
2017-11-22 17:48:48.660 (RMPro) Code stored in memory
2017-11-22 17:48:48.779 (RMPro) Update 1:'10' (RMPro - Command)
2017-11-22 17:48:50.221 User: Admin initiated a switch command (24/RMPro - Command/Set Level)
2017-11-22 17:48:50.232 (RMPro) onCommand called for Unit 1: Parameter 'Set Level', Level: 30 , Connected : True
2017-11-22 17:48:50.357 (RMPro) Update 0:'Off' (RMPro - Command)

头像
DT27
帖子: 320
注册时间: 周四 3月 30, 2017 08:54
Gender:

Re: [插件]RM2 RMPro 插件 BroadlinkRM2 v3(增强版)

帖子 DT27 » 周三 11月 22, 2017 19:49

lemon2201126 写了:
周三 11月 22, 2017 17:51
设备显示在线,我点了learn,设备红灯亮,然后遥控器按了,设备灯灭。按道理会保存代码
看了文件没有新增ini的文件,这个是为什么有保存住,感谢

2017-11-22 17:48:25.363 (RMPro) Update 1:'19.6' (RMPro - Temp)
2017-11-22 17:48:32.744 User: Admin initiated a switch command (24/RMPro - Command/Set Level)
2017-11-22 17:48:32.777 (RMPro) onCommand called for Unit 1: Parameter 'Set Level', Level: 30 , Connected : True
2017-11-22 17:48:32.901 (RMPro) Update 0:'Off' (RMPro - Command)
2017-11-22 17:48:36.255 User: Admin initiated a switch command (24/RMPro - Command/Set Level)
2017-11-22 17:48:36.259 (RMPro) onCommand called for Unit 1: Parameter 'Set Level', Level: 30 , Connected : True
2017-11-22 17:48:36.259 (RMPro) Nothing to save
2017-11-22 17:48:38.335 User: Admin initiated a switch command (24/RMPro - Command/Set Level)
2017-11-22 17:48:38.364 (RMPro) onCommand called for Unit 1: Parameter 'Set Level', Level: 30 , Connected : True
2017-11-22 17:48:38.364 (RMPro) Nothing to save
2017-11-22 17:48:41.035 User: Admin initiated a switch command (24/RMPro - Command/Set Level)
2017-11-22 17:48:41.069 (RMPro) onCommand called for Unit 1: Parameter 'Set Level', Level: 30 , Connected : True
2017-11-22 17:48:41.070 (RMPro) Nothing to save
2017-11-22 17:48:41.772 User: Admin initiated a switch command (24/RMPro - Command/Set Level)
2017-11-22 17:48:41.821 (RMPro) onCommand called for Unit 1: Parameter 'Set Level', Level: 30 , Connected : True
2017-11-22 17:48:41.822 (RMPro) Nothing to save
2017-11-22 17:48:42.248 User: Admin initiated a switch command (24/RMPro - Command/Set Level)
2017-11-22 17:48:42.272 (RMPro) onCommand called for Unit 1: Parameter 'Set Level', Level: 30 , Connected : True
2017-11-22 17:48:42.273 (RMPro) Nothing to save
2017-11-22 17:48:43.304 User: Admin initiated a switch command (24/RMPro - Command/Set Level)
2017-11-22 17:48:43.325 (RMPro) onCommand called for Unit 1: Parameter 'Set Level', Level: 10 , Connected : True
2017-11-22 17:48:43.364 (RMPro) Connected to Broadlink device.
2017-11-22 17:48:43.364 (RMPro) All plugin system is on pause for 5s...
2017-11-22 17:48:43.364 (RMPro) When Broadlink led is lit press the button on your remote within 5 seconds
2017-11-22 17:48:48.660 (RMPro) Code stored in memory
2017-11-22 17:48:48.779 (RMPro) Update 1:'10' (RMPro - Command)
2017-11-22 17:48:50.221 User: Admin initiated a switch command (24/RMPro - Command/Set Level)
2017-11-22 17:48:50.232 (RMPro) onCommand called for Unit 1: Parameter 'Set Level', Level: 30 , Connected : True
2017-11-22 17:48:50.357 (RMPro) Update 0:'Off' (RMPro - Command)
看日志感觉你点的不对啊,硬件设置,开debug,然后重来,看日志。先学习,学习的时候,按遥控日志里就应该出来编码了。

demon1107
帖子: 2
注册时间: 周三 11月 22, 2017 10:19

Re: [插件]RM2 RMPro 插件 BroadlinkRM2 v3(增强版)

帖子 demon1107 » 周四 11月 23, 2017 14:04

DT27 写了:
周三 11月 22, 2017 16:07
demon1107 写了:
周三 11月 22, 2017 10:30
2017-11-22 10:15:59.665 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'.

2017-11-22 10:15:59.666 Error: (博联RM) Module Import failed, exception: 'ImportError'

2017-11-22 10:15:59.666 Error: (博联RM) Module Import failed: ' Name: broadlink'

2017-11-22 10:15:59.666 Error: (博联RM) Error Line details not available.

楼主,请问这个错误是什么问题啊? :cry:
Module Import failed: ' Name: broadlink'

你从头再看一遍帖子。。。。。。
我用了那四条代码。。只有一个可以用,但是刷新过后打开:8080.提示我浏览器缓存刷新失败打不开了

回复