domoticz死了,重启就行了demon1107 写了: ↑周四 11月 23, 2017 14:04我用了那四条代码。。只有一个可以用,但是刷新过后打开:8080.提示我浏览器缓存刷新失败打不开了DT27 写了: ↑周三 11月 22, 2017 16:07Module Import failed: ' Name: broadlink'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.
楼主,请问这个错误是什么问题啊?
你从头再看一遍帖子。。。。。。
[插件]RM2 RMPro 插件 BroadlinkRM2 v3(增强版)
版面规则
博联Broadlink RM Pro/Mini、RM Home、MP1、MP2、SP mini等
博联Broadlink RM Pro/Mini、RM Home、MP1、MP2、SP mini等
Re: [插件]RM2 RMPro 插件 BroadlinkRM2 v3(增强版)
-
- 帖子: 98
- 注册时间: 周四 3月 30, 2017 00:03
Re: [插件]RM2 RMPro 插件 BroadlinkRM2 v3(增强版)
求告知,射频开关是否可以这样导入?我尝试了一下,学习不了,大神求帮忙
Re: [插件]RM2 RMPro 插件 BroadlinkRM2 v3(增强版)
抱歉楼主 前一段时间没搞这个 现在还是这个问题 执行python返回结果是
Python 3.5.3 (default, Jan 19 2017, 14:11:04)
[GCC 6.3.0 20170124] on linux
Type "help", "copyright", "credits" or "license" for more information.
>>> import broadlink
>>> device = broadlink.rm(host=("192.168.1.47",80), mac=bytearray.fromhex("34ea348f05b8"))
>>> device.auth()
True
>>> device.host
('192.168.1.47', 80)
>>>
Python 3.5.3 (default, Jan 19 2017, 14:11:04)
[GCC 6.3.0 20170124] on linux
Type "help", "copyright", "credits" or "license" for more information.
>>> import broadlink
>>> device = broadlink.rm(host=("192.168.1.47",80), mac=bytearray.fromhex("34ea348f05b8"))
>>> device.auth()
True
>>> device.host
('192.168.1.47', 80)
>>>
DT27 写了: ↑周四 11月 16, 2017 10:56你ssh执行python3进python控制台,然后执行下面代码,把返回结果截图上来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....代码: 全选
import broadlink device = broadlink.rm(host=("192.168.1.47",80), mac=bytearray.fromhex("34ea348f05b8")) device.auth() device.host
- 附件
-
- 屏幕快照 2017-12-14 下午9.50.52.png (75.33 KiB) 查看 528904 次
Re: [插件]RM2 RMPro 插件 BroadlinkRM2 v3(增强版)
手动连接成功了,你是不是这个路径不对“/usr/local/domoticz/var/plugins/BroadlinkRM2”dxh000130 写了: ↑周四 12月 14, 2017 21:53 抱歉楼主 前一段时间没搞这个 现在还是这个问题 执行python返回结果是
Python 3.5.3 (default, Jan 19 2017, 14:11:04)
[GCC 6.3.0 20170124] on linux
Type "help", "copyright", "credits" or "license" for more information.
>>> import broadlink
>>> device = broadlink.rm(host=("192.168.1.47",80), mac=bytearray.fromhex("34ea348f05b8"))
>>> device.auth()
True
>>> device.host
('192.168.1.47', 80)
>>>DT27 写了: ↑周四 11月 16, 2017 10:56你ssh执行python3进python控制台,然后执行下面代码,把返回结果截图上来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....代码: 全选
import broadlink device = broadlink.rm(host=("192.168.1.47",80), mac=bytearray.fromhex("34ea348f05b8")) device.auth() device.host
Re: [插件]RM2 RMPro 插件 BroadlinkRM2 v3(增强版)
路径没有问题啊 路径下生成了import和remote两个文件夹
DT27 写了: ↑周五 12月 15, 2017 09:07手动连接成功了,你是不是这个路径不对“/usr/local/domoticz/var/plugins/BroadlinkRM2”dxh000130 写了: ↑周四 12月 14, 2017 21:53 抱歉楼主 前一段时间没搞这个 现在还是这个问题 执行python返回结果是
Python 3.5.3 (default, Jan 19 2017, 14:11:04)
[GCC 6.3.0 20170124] on linux
Type "help", "copyright", "credits" or "license" for more information.
>>> import broadlink
>>> device = broadlink.rm(host=("192.168.1.47",80), mac=bytearray.fromhex("34ea348f05b8"))
>>> device.auth()
True
>>> device.host
('192.168.1.47', 80)
>>>
Re: [插件]RM2 RMPro 插件 BroadlinkRM2 v3(增强版)
日志里有错误提示:2017-11-14 21:38:15.769 (rm pro) No ini file :/usr/local/domoticz/var/plugins/BroadlinkRM2/remote/plugin_remote_7.inidxh000130 写了: ↑周五 12月 15, 2017 16:14 路径没有问题啊 路径下生成了import和remote两个文件夹DT27 写了: ↑周五 12月 15, 2017 09:07手动连接成功了,你是不是这个路径不对“/usr/local/domoticz/var/plugins/BroadlinkRM2”dxh000130 写了: ↑周四 12月 14, 2017 21:53 抱歉楼主 前一段时间没搞这个 现在还是这个问题 执行python返回结果是
Python 3.5.3 (default, Jan 19 2017, 14:11:04)
[GCC 6.3.0 20170124] on linux
Type "help", "copyright", "credits" or "license" for more information.
>>> import broadlink
>>> device = broadlink.rm(host=("192.168.1.47",80), mac=bytearray.fromhex("34ea348f05b8"))
>>> device.auth()
True
>>> device.host
('192.168.1.47', 80)
>>>
Re: [插件]RM2 RMPro 插件 BroadlinkRM2 v3(增强版)
您好 我用树莓派重新安装了一遍 仍然错误
2017-12-16 18:04:44.624 (rm) Debug log level set to: 'true'.
2017-12-16 18:04:44.625 (rm) 'Key':'BroadlinkRM2'
2017-12-16 18:04:44.625 (rm) 'Mode2':'/home/pi/domoticz/plugins/BroadlinkRM2'
2017-12-16 18:04:44.625 (rm) 'Mode4':'yes'
2017-12-16 18:04:44.625 (rm) 'Port':'0'
2017-12-16 18:04:44.625 (rm) 'Mode5':'9000'
2017-12-16 18:04:44.625 (rm) 'Address':'192.168.1.47'
2017-12-16 18:04:44.625 (rm) 'HomeFolder':'/home/pi/domoticz/plugins/BroadlinkRM2/'
2017-12-16 18:04:44.625 (rm) 'HardwareID':'3'
2017-12-16 18:04:44.625 (rm) 'Mode1':'34ea348f05b8'
2017-12-16 18:04:44.625 (rm) 'Name':'rm'
2017-12-16 18:04:44.625 (rm) 'Mode3':'yes'
2017-12-16 18:04:44.625 (rm) 'Author':'zak45'
2017-12-16 18:04:44.625 (rm) 'Mode6':'Debug'
2017-12-16 18:04:44.625 (rm) 'Version':'3.0.0'
2017-12-16 18:04:44.625 (rm) Device count: 4
2017-12-16 18:04:44.625 (rm) Device: 1 - ID: 5, Name: 'rm - Command', nValue: 0, sValue: 'Off'
2017-12-16 18:04:44.625 (rm) Device ID: '5'
2017-12-16 18:04:44.625 (rm) Device Name: 'rm - Command'
2017-12-16 18:04:44.625 (rm) Device nValue: 0
2017-12-16 18:04:44.625 (rm) Device sValue: 'Off'
2017-12-16 18:04:44.625 (rm) Device LastLevel: 0
2017-12-16 18:04:44.625 (rm) Device: 2 - ID: 6, Name: 'rm - Temp', nValue: 0, sValue: ''
2017-12-16 18:04:44.625 (rm) Device ID: '6'
2017-12-16 18:04:44.625 (rm) Device Name: 'rm - Temp'
2017-12-16 18:04:44.625 (rm) Device nValue: 0
2017-12-16 18:04:44.625 (rm) Device sValue: ''
2017-12-16 18:04:44.625 (rm) Device LastLevel: 0
2017-12-16 18:04:44.625 (rm) Device: 254 - ID: 7, Name: 'rm - Remote', nValue: 0, sValue: ''
2017-12-16 18:04:44.625 (rm) Device ID: '7'
2017-12-16 18:04:44.626 (rm) Device Name: 'rm - Remote'
2017-12-16 18:04:44.626 (rm) Device nValue: 0
2017-12-16 18:04:44.626 (rm) Device sValue: ''
2017-12-16 18:04:44.626 (rm) Device LastLevel: 0
2017-12-16 18:04:44.626 (rm) Device: 255 - ID: 8, Name: 'rm - Import', nValue: 0, sValue: 'Off'
2017-12-16 18:04:44.626 (rm) Device ID: '8'
2017-12-16 18:04:44.626 (rm) Device Name: 'rm - Import'
2017-12-16 18:04:44.626 (rm) Device nValue: 0
2017-12-16 18:04:44.626 (rm) Device sValue: 'Off'
2017-12-16 18:04:44.626 (rm) Device LastLevel: 0
2017-12-16 18:04:44.626 (rm) Connecting to: 192.168.1.47:34ea348f05b8
2017-12-16 18:04:44.626 Error: (rm) Error Connecting to Broadlink device....
2017-12-16 18:04:44.657 (rm) Device Number begin to : 2
2017-12-16 18:04:44.693 (rm) No ini file :/home/pi/domoticz/plugins/BroadlinkRM2/remote/plugin_remote_3.ini
2017-12-16 18:04:44.693 (rm) Custom Commands for Remote not managed
2017-12-16 18:04:44.693 (rm) Heartbeat interval set to: 30.
2017-12-16 18:04:53.968 (rm) Calling message handler 'onHeartbeat'.
2017-12-16 18:04:53.977 Error: (rm) Error Connecting to Broadlink device....
路径下面确实有这两个文件夹 但是我用pi账户打开这个文件夹时提示无权限访问
2017-12-16 18:04:44.624 (rm) Debug log level set to: 'true'.
2017-12-16 18:04:44.625 (rm) 'Key':'BroadlinkRM2'
2017-12-16 18:04:44.625 (rm) 'Mode2':'/home/pi/domoticz/plugins/BroadlinkRM2'
2017-12-16 18:04:44.625 (rm) 'Mode4':'yes'
2017-12-16 18:04:44.625 (rm) 'Port':'0'
2017-12-16 18:04:44.625 (rm) 'Mode5':'9000'
2017-12-16 18:04:44.625 (rm) 'Address':'192.168.1.47'
2017-12-16 18:04:44.625 (rm) 'HomeFolder':'/home/pi/domoticz/plugins/BroadlinkRM2/'
2017-12-16 18:04:44.625 (rm) 'HardwareID':'3'
2017-12-16 18:04:44.625 (rm) 'Mode1':'34ea348f05b8'
2017-12-16 18:04:44.625 (rm) 'Name':'rm'
2017-12-16 18:04:44.625 (rm) 'Mode3':'yes'
2017-12-16 18:04:44.625 (rm) 'Author':'zak45'
2017-12-16 18:04:44.625 (rm) 'Mode6':'Debug'
2017-12-16 18:04:44.625 (rm) 'Version':'3.0.0'
2017-12-16 18:04:44.625 (rm) Device count: 4
2017-12-16 18:04:44.625 (rm) Device: 1 - ID: 5, Name: 'rm - Command', nValue: 0, sValue: 'Off'
2017-12-16 18:04:44.625 (rm) Device ID: '5'
2017-12-16 18:04:44.625 (rm) Device Name: 'rm - Command'
2017-12-16 18:04:44.625 (rm) Device nValue: 0
2017-12-16 18:04:44.625 (rm) Device sValue: 'Off'
2017-12-16 18:04:44.625 (rm) Device LastLevel: 0
2017-12-16 18:04:44.625 (rm) Device: 2 - ID: 6, Name: 'rm - Temp', nValue: 0, sValue: ''
2017-12-16 18:04:44.625 (rm) Device ID: '6'
2017-12-16 18:04:44.625 (rm) Device Name: 'rm - Temp'
2017-12-16 18:04:44.625 (rm) Device nValue: 0
2017-12-16 18:04:44.625 (rm) Device sValue: ''
2017-12-16 18:04:44.625 (rm) Device LastLevel: 0
2017-12-16 18:04:44.625 (rm) Device: 254 - ID: 7, Name: 'rm - Remote', nValue: 0, sValue: ''
2017-12-16 18:04:44.625 (rm) Device ID: '7'
2017-12-16 18:04:44.626 (rm) Device Name: 'rm - Remote'
2017-12-16 18:04:44.626 (rm) Device nValue: 0
2017-12-16 18:04:44.626 (rm) Device sValue: ''
2017-12-16 18:04:44.626 (rm) Device LastLevel: 0
2017-12-16 18:04:44.626 (rm) Device: 255 - ID: 8, Name: 'rm - Import', nValue: 0, sValue: 'Off'
2017-12-16 18:04:44.626 (rm) Device ID: '8'
2017-12-16 18:04:44.626 (rm) Device Name: 'rm - Import'
2017-12-16 18:04:44.626 (rm) Device nValue: 0
2017-12-16 18:04:44.626 (rm) Device sValue: 'Off'
2017-12-16 18:04:44.626 (rm) Device LastLevel: 0
2017-12-16 18:04:44.626 (rm) Connecting to: 192.168.1.47:34ea348f05b8
2017-12-16 18:04:44.626 Error: (rm) Error Connecting to Broadlink device....
2017-12-16 18:04:44.657 (rm) Device Number begin to : 2
2017-12-16 18:04:44.693 (rm) No ini file :/home/pi/domoticz/plugins/BroadlinkRM2/remote/plugin_remote_3.ini
2017-12-16 18:04:44.693 (rm) Custom Commands for Remote not managed
2017-12-16 18:04:44.693 (rm) Heartbeat interval set to: 30.
2017-12-16 18:04:53.968 (rm) Calling message handler 'onHeartbeat'.
2017-12-16 18:04:53.977 Error: (rm) Error Connecting to Broadlink device....
路径下面确实有这两个文件夹 但是我用pi账户打开这个文件夹时提示无权限访问
- 附件
-
- 屏幕快照 2017-12-16 下午6.09.31.png (111.23 KiB) 查看 528873 次
Re: [插件]RM2 RMPro 插件 BroadlinkRM2 v3(增强版)
我的好像没有/plugins 这个文件夹
Re: [插件]RM2 RMPro 插件 BroadlinkRM2 v3(增强版)
Re: [插件]RM2 RMPro 插件 BroadlinkRM2 v3(增强版)
在硬件中选择“Broadlink RM2 with Kodi Remote”
都设置了。还是看不到啊?
都设置了。还是看不到啊?
-
- 帖子: 5
- 注册时间: 周二 1月 02, 2018 10:38
Re: [插件]RM2 RMPro 插件 BroadlinkRM2 v3(增强版)
现在已经添加设备进去了,但是显示没有ini,import和remote和文件夹也没有创建,domoticz能学习但不能保存代码,这是什么原因?
- 附件
-
- 屏幕截图(20).png (79.04 KiB) 查看 528576 次
Re: [插件]RM2 RMPro 插件 BroadlinkRM2 v3(增强版)
你rmpro硬件设置里路径填的什么,路径权限改成777hjukao238076 写了: ↑周二 1月 30, 2018 21:11 现在已经添加设备进去了,但是显示没有ini,import和remote和文件夹也没有创建,domoticz能学习但不能保存代码,这是什么原因?
-
- 帖子: 5
- 注册时间: 周二 1月 02, 2018 10:38
Re: [插件]RM2 RMPro 插件 BroadlinkRM2 v3(增强版)
现在是这样的Admin 写了: ↑周三 1月 31, 2018 08:37你rmpro硬件设置里路径填的什么,路径权限改成777hjukao238076 写了: ↑周二 1月 30, 2018 21:11 现在已经添加设备进去了,但是显示没有ini,import和remote和文件夹也没有创建,domoticz能学习但不能保存代码,这是什么原因?
- 附件
-
- 屏幕截图(2).png (63.23 KiB) 查看 528564 次
Re: [插件]RM2 RMPro 插件 BroadlinkRM2 v3(增强版)
你点的按钮是import按钮,点错了吧。import是用来导入编码的。learn学习,学习后点save自动把编码保存成ini。hjukao238076 写了: ↑周三 1月 31, 2018 14:05现在是这样的Admin 写了: ↑周三 1月 31, 2018 08:37你rmpro硬件设置里路径填的什么,路径权限改成777hjukao238076 写了: ↑周二 1月 30, 2018 21:11 现在已经添加设备进去了,但是显示没有ini,import和remote和文件夹也没有创建,domoticz能学习但不能保存代码,这是什么原因?
Re: [插件]RM2 RMPro 插件 BroadlinkRM2 v3(增强版)
我也是这样,应该手动链接上了,但我在硬件的下拉菜单还是找不到broadlinkdxh000130 写了: ↑周四 12月 14, 2017 21:53 抱歉楼主 前一段时间没搞这个 现在还是这个问题 执行python返回结果是
Python 3.5.3 (default, Jan 19 2017, 14:11:04)
[GCC 6.3.0 20170124] on linux
Type "help", "copyright", "credits" or "license" for more information.
>>> import broadlink
>>> device = broadlink.rm(host=("192.168.1.47",80), mac=bytearray.fromhex("34ea348f05b8"))
>>> device.auth()
True
>>> device.host
('192.168.1.47', 80)
>>>DT27 写了: ↑周四 11月 16, 2017 10:56你ssh执行python3进python控制台,然后执行下面代码,把返回结果截图上来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....代码: 全选
import broadlink device = broadlink.rm(host=("192.168.1.47",80), mac=bytearray.fromhex("34ea348f05b8")) device.auth() device.host
-
- 帖子: 5
- 注册时间: 周二 1月 02, 2018 10:38