mjg59 / python-broadlink

Python module for controlling Broadlink RM2/3 (Pro) remote controls, A1 sensor platforms and SP2/3 smartplugs
MIT License
1.39k stars 479 forks source link

New RMpro+ not compatible #177

Closed jbbriois closed 6 years ago

jbbriois commented 6 years ago

Hey, It seems that the plugin is not comptatible with the new RMpro+ firmware V52. I'm able to discovered it but not to reach it. I use a RPI3 Raspbian Jessie Python 3.4.2. I hiden my Mac adress behind xxxxxx

Thanks in advance

2018-04-12 14:54:10.369 Domoticz V3.9208 (c)2012-2018 GizMoCuz 2018-04-12 14:54:10.369 Build Hash: ff40091a, Date: 2018-04-08 17:15:17 2018-04-12 14:54:10.370 Startup Path: /home/pi/domoticz/ 2018-04-12 14:54:10.406 Sunrise: 07:06:00 SunSet: 20:23:00 2018-04-12 14:54:10.406 Day length: 13:17:00 Sun at south: 13:05:00 2018-04-12 14:54:10.406 Civil twilight start: 06:37:00 Civil twilight end: 20:53:00 2018-04-12 14:54:10.406 Nautical twilight start: 06:01:00 Nautical twilight end: 21:29:00 2018-04-12 14:54:10.406 Astronomical twilight start: 05:24:00 Astronomical twilight end: 22:06:00 2018-04-12 14:54:10.406 EventSystem: reset all events... 2018-04-12 14:54:10.487 PluginSystem: Started, Python version '3.4.2'. 2018-04-12 14:54:10.496 Active notification Subsystems: (0/14) 2018-04-12 14:54:10.497 WebServer(HTTP) started on address: :: with port 8080 2018-04-12 14:54:10.502 WebServer(SSL) started on address: :: with port 443 2018-04-12 14:54:10.503 Proxymanager started. 2018-04-12 14:54:10.504 Starting shared server on: :::6144 2018-04-12 14:54:10.505 TCPServer: shared server started... 2018-04-12 14:54:10.505 RxQueue: queue worker started... 2018-04-12 14:54:12.505 (Rmpro) Started. 2018-04-12 14:54:12.506 EventSystem: reset all events... 2018-04-12 14:54:12.506 EventSystem: reset all device statuses... 2018-04-12 14:54:12.626 Python EventSystem: Initalizing event module. 2018-04-12 14:54:12.626 EventSystem: Started 2018-04-12 14:54:12.627 EventSystem: Queue thread started... 2018-04-12 14:54:12.907 PluginSystem: Entering work loop. 2018-04-12 14:54:13.115 (Rmpro) Entering work loop. 2018-04-12 14:54:13.116 (Rmpro) Initialized version 4.0.0, author 'zak45' 2018-04-12 14:54:13.169 (Rmpro) Debug logging mask set to: PYTHON PLUGIN QUEUE IMAGE DEVICE CONNECTION MESSAGE ALL 2018-04-12 14:54:13.169 (Rmpro) 'Mode2':'/home/pi/domoticz/plugins/BroadlinkRM2' 2018-04-12 14:54:13.169 (Rmpro) 'Version':'4.0.0' 2018-04-12 14:54:13.169 (Rmpro) 'Mode1':'xxxxxxxxxxx' 2018-04-12 14:54:13.169 (Rmpro) 'DomoticzHash':'ff40091a' 2018-04-12 14:54:13.169 (Rmpro) 'HardwareID':'2' 2018-04-12 14:54:13.169 (Rmpro) 'DomoticzVersion':'3.9208' 2018-04-12 14:54:13.169 (Rmpro) 'Mode4':'yes' 2018-04-12 14:54:13.169 (Rmpro) 'Address':'192.168.0.71' 2018-04-12 14:54:13.169 (Rmpro) 'Port':'0' 2018-04-12 14:54:13.169 (Rmpro) 'Mode6':'Debug' 2018-04-12 14:54:13.169 (Rmpro) 'Key':'BroadlinkRM2' 2018-04-12 14:54:13.169 (Rmpro) 'Mode3':'RM2' 2018-04-12 14:54:13.169 (Rmpro) 'HomeFolder':'/home/pi/domoticz/plugins/BroadlinkRM2/' 2018-04-12 14:54:13.169 (Rmpro) 'DomoticzBuildTime':'2018-04-08 17:15:17' 2018-04-12 14:54:13.169 (Rmpro) 'Name':'Rmpro' 2018-04-12 14:54:13.169 (Rmpro) 'Mode5':'9000' 2018-04-12 14:54:13.169 (Rmpro) 'Author':'zak45' 2018-04-12 14:54:13.169 (Rmpro) Device count: 4 2018-04-12 14:54:13.169 (Rmpro) Device: 1 - ID: 1, Name: 'Rmpro - Command', nValue: 0, sValue: 'Off' 2018-04-12 14:54:13.169 (Rmpro) Device ID: '1' 2018-04-12 14:54:13.169 (Rmpro) Device Name: 'Rmpro - Command' 2018-04-12 14:54:13.169 (Rmpro) Device nValue: 0 2018-04-12 14:54:13.170 (Rmpro) Device sValue: 'Off' 2018-04-12 14:54:13.170 (Rmpro) Device LastLevel: 0 2018-04-12 14:54:13.170 (Rmpro) Device: 2 - ID: 4, Name: 'Rmpro - Temp', nValue: 0, sValue: '' 2018-04-12 14:54:13.170 (Rmpro) Device ID: '4' 2018-04-12 14:54:13.170 (Rmpro) Device Name: 'Rmpro - Temp' 2018-04-12 14:54:13.170 (Rmpro) Device nValue: 0 2018-04-12 14:54:13.170 (Rmpro) Device sValue: '' 2018-04-12 14:54:13.170 (Rmpro) Device LastLevel: 0 2018-04-12 14:54:13.170 (Rmpro) Device: 254 - ID: 2, Name: 'Rmpro - Remote', nValue: 0, sValue: '' 2018-04-12 14:54:13.170 (Rmpro) Device ID: '2' 2018-04-12 14:54:13.170 (Rmpro) Device Name: 'Rmpro - Remote' 2018-04-12 14:54:13.170 (Rmpro) Device nValue: 0 2018-04-12 14:54:13.170 (Rmpro) Device sValue: '' 2018-04-12 14:54:13.170 (Rmpro) Device LastLevel: 0 2018-04-12 14:54:13.170 (Rmpro) Device: 255 - ID: 3, Name: 'Rmpro - Import', nValue: 0, sValue: 'Off' 2018-04-12 14:54:13.170 (Rmpro) Device ID: '3' 2018-04-12 14:54:13.170 (Rmpro) Device Name: 'Rmpro - Import' 2018-04-12 14:54:13.170 (Rmpro) Device nValue: 0 2018-04-12 14:54:13.170 (Rmpro) Device sValue: 'Off' 2018-04-12 14:54:13.170 (Rmpro) Device LastLevel: 0 2018-04-12 14:54:13.170 (Rmpro) Pushing 'PollIntervalDirective' on to queue 2018-04-12 14:54:13.170 (Rmpro - Import) Updating device from 0:'Off' to have values 0:'Off'. 2018-04-12 14:54:13.174 (Rmpro) Update 0:'Off' (Rmpro - Import) 2018-04-12 14:54:13.174 (Rmpro) Connecting to: 192.168.0.71:xxxxxxxxxxxx 2018-04-12 14:54:13.175 Error: (Rmpro) Error Connecting to Broadlink device....192.168.0.71 2018-04-12 14:54:13.218 (Rmpro) No ini file :/home/pi/domoticz/plugins/BroadlinkRM2/remote/plugin_remote_2.ini 2018-04-12 14:54:13.218 (Rmpro) Custom Commands for Remote not managed 2018-04-12 14:54:13.218 (Rmpro) Device Number begin to : 2 2018-04-12 14:54:13.218 (Rmpro) Processing 'PollIntervalDirective' message 2018-04-12 14:54:13.218 (Rmpro) Heartbeat interval set to: 30. 2018-04-12 14:54:22.617 (Rmpro) Pushing 'onHeartbeatCallback' on to queue 2018-04-12 14:54:22.635 (Rmpro) Processing 'onHeartbeatCallback' message 2018-04-12 14:54:22.635 (Rmpro) Calling message handler 'onHeartbeat'. 2018-04-12 14:54:52.622 (Rmpro) Pushing 'onHeartbeatCallback' on to queue 2018-04-12 14:55:22.626 (Rmpro) Pushing 'onHeartbeatCallback' on to queue 2018-04-12 14:55:22.648 (Rmpro) Processing 'onHeartbeatCallback' message 2018-04-12 14:55:22.648 (Rmpro) Calling message handler 'onHeartbeat'. 2018-04-12 14:55:22.649 Error: (Rmpro) Error getting temperature data from Broadlink device....Timeout 2018-04-12 14:55:22.649 Error: (Rmpro) Error Connecting to Broadlink device....192.168.0.71 2018-04-12 14:55:52.631 (Rmpro) Pushing 'onHeartbeatCallback' on to queue 2018-04-12 14:55:52.653 (Rmpro) Processing 'onHeartbeatCallback' message 2018-04-12 14:55:52.653 (Rmpro) Calling message handler 'onHeartbeat'. 2018-04-12 14:56:22.636 (Rmpro) Pushing 'onHeartbeatCallback' on to queue

jbbriois commented 6 years ago

the version 4.1.0 solve the issue