Re: Python Plugin : Broadlink RM2 V4
Posted: Friday 20 April 2018 10:55
Am I correct in thinking that the broadlink plugin will NOT work with version 3.8153 the last stable version and that I need to use a Beta version above 3.90xx
Open source Home Automation System
https://forum.domoticz.com/
Right for the V 4.x, you can still use V 3 if you want. all in dropbox.parrotface wrote: ↑Friday 20 April 2018 10:55 Am I correct in thinking that the broadlink plugin will NOT work with version 3.8153 the last stable version and that I need to use a Beta version above 3.90xx
Code: Select all
2018-04-21 21:49:02.122 Domoticz V3.9269 (c)2012-2018 GizMoCuz
2018-04-21 21:49:02.123 Build Hash: e8b89e5f, Date: 2018-04-18 18:17:31
2018-04-21 21:49:02.123 Startup Path: /home/madrian/domoticz/
2018-04-21 21:49:02.151 Sunrise: 05:45:00 SunSet: 19:43:00
2018-04-21 21:49:02.151 Day length: 13:58:00 Sun at south: 12:05:00
2018-04-21 21:49:02.151 Civil twilight start: 05:12:00 Civil twilight end: 20:16:00
2018-04-21 21:49:02.151 Nautical twilight start: 04:31:00 Nautical twilight end: 20:57:00
2018-04-21 21:49:02.151 Astronomical twilight start: 03:45:00 Astronomical twilight end: 21:43:00
2018-04-21 21:49:02.151 EventSystem: reset all events...
2018-04-21 21:49:02.488 PluginSystem: Started, Python version '3.5.3'.
2018-04-21 21:49:02.492 Active notification Subsystems: email, pushover (2/14)
2018-04-21 21:49:02.501 WebServer(HTTP) started on address: 0.0.0.0 with port 8080
2018-04-21 21:49:02.503 Proxymanager started.
2018-04-21 21:49:02.504 Starting shared server on: 0.0.0.0:6144
2018-04-21 21:49:02.504 TCPServer: shared server started...
2018-04-21 21:49:02.504 RxQueue: queue worker started...
2018-04-21 21:49:04.505 XiaomiGateway: will listen on 9898 for hardware id 8
2018-04-21 21:49:04.505 XiaomiGateway: Delaying worker startup...
2018-04-21 21:49:04.828 Incoming connection from: 192.168.1.54
2018-04-21 21:49:09.505 XiaomiGateway: Worker started...
2018-04-21 21:49:09.506 (Xiaomi Mi Flower Mate) Started.
2018-04-21 21:49:09.506 (Broadlink RM3 mini) Started.
2018-04-21 21:49:09.601 Python EventSystem: Initalizing event module.
2018-04-21 21:49:09.601 EventSystem: Started
2018-04-21 21:49:09.601 EventSystem: Queue thread started...
2018-04-21 21:49:09.672 PluginSystem: Entering work loop.
2018-04-21 21:49:09.770 (Xiaomi Mi Flower Mate) Entering work loop.
2018-04-21 21:49:09.770 (Xiaomi Mi Flower Mate) Initialized version 1.0.0, author 'blauwebuis'
2018-04-21 21:49:10.015 (Broadlink RM3 mini) Entering work loop.
2018-04-21 21:49:10.015 (Broadlink RM3 mini) Initialized version 4.1.0, author 'zak45'
Code: Select all
2018-04-24 22:40:32.808 Domoticz V3.9139 (c)2012-2018 GizMoCuz
2018-04-24 22:40:32.808 Build Hash: 75213953, Date: 2018-03-31 08:19:09
2018-04-24 22:40:32.808 Startup Path: /home/pi/domoticz/
2018-04-24 22:40:32.834 Sunrise: 06:35:00 SunSet: 20:57:00
2018-04-24 22:40:32.834 Day length: 14:22:00 Sun at south: 13:05:00
2018-04-24 22:40:32.834 Civil twilight start: 05:59:00 Civil twilight end: 21:33:00
2018-04-24 22:40:32.834 Nautical twilight start: 05:14:00 Nautical twilight end: 22:18:00
2018-04-24 22:40:32.834 Astronomical twilight start: 04:21:00 Astronomical twilight end: 23:11:00
2018-04-24 22:40:32.834 EventSystem: reset all events...
2018-04-24 22:40:32.975 PluginSystem: Started, Python version '3.5.3'.
2018-04-24 22:40:32.984 Active notification Subsystems: (0/14)
2018-04-24 22:40:32.985 WebServer(HTTP) started on address: :: with port 8080
2018-04-24 22:40:32.996 WebServer(SSL) started on address: :: with port 443
2018-04-24 22:40:32.998 Proxymanager started.
2018-04-24 22:40:32.999 Starting shared server on: :::6144
2018-04-24 22:40:32.999 TCPServer: shared server started...
2018-04-24 22:40:32.999 RxQueue: queue worker started...
2018-04-24 22:40:35.000 Wunderground: Worker started...
2018-04-24 22:40:35.003 Hardware Monitor: Started
2018-04-24 22:40:35.020 (MyBroadlink) Started.
2018-04-24 22:40:35.021 EventSystem: reset all events...
2018-04-24 22:40:35.022 EventSystem: reset all device statuses...
2018-04-24 22:40:35.196 Python EventSystem: Initalizing event module.
2018-04-24 22:40:35.197 EventSystem: Started
2018-04-24 22:40:35.197 EventSystem: Queue thread started...
2018-04-24 22:40:35.335 PluginSystem: Entering work loop.
2018-04-24 22:40:36.046 (MyBroadlink) Entering work loop.
2018-04-24 22:40:36.047 (MyBroadlink) Initialized version 4.1.0, author 'zak45'
2018-04-24 22:40:45.431 (Méteo Lille) Temp + Humidity + Baro (Météo Lille)
2018-04-24 22:40:45.433 (Méteo Lille) Wind (Unknown)
2018-04-24 22:40:45.435 (Méteo Lille) Rain (Unknown)
Code: Select all
^C2018-04-24 22:58:47.749 Closing application!...
2018-04-24 22:58:47.749 Stopping worker...
2018-04-24 22:58:47.749 RxQueue: queue worker stopped...
2018-04-24 22:58:47.750 WebServer(HTTP) stopped
2018-04-24 22:58:48.251 WebServer(SSL) stopped
2018-04-24 22:58:48.752 TCPServer: shared server stopped
2018-04-24 22:58:48.753 Stopping all hardware...
2018-04-24 22:58:48.833 Wunderground: Worker stopped...
2018-04-24 22:58:49.126 Hardware Monitor: Stopped...
2018-04-24 22:58:49.127 (MyBroadlink) Stop directive received.
2018-04-24 22:58:49.244 (MyBroadlink) Exiting work loop.
2018-04-24 22:58:54.131 Error: (MyBroadlink) Plugin did not stop after 5 seconds, flushing event queue...
2018-04-24 22:58:54.131 Error: (MyBroadlink) Callback event 'onHeartbeatCallback' (Python call 'onHeartbeat') discarded.
2018-04-24 22:58:54.131 Error: (MyBroadlink) Callback event 'onHeartbeatCallback' (Python call 'onHeartbeat') discarded.
2018-04-24 22:58:54.131 Error: (MyBroadlink) Callback event 'onHeartbeatCallback' (Python call 'onHeartbeat') discarded.
2018-04-24 22:58:54.131 Error: (MyBroadlink) Callback event 'onHeartbeatCallback' (Python call 'onHeartbeat') discarded.
2018-04-24 22:58:54.131 Error: (MyBroadlink) Callback event 'onHeartbeatCallback' (Python call 'onHeartbeat') discarded.
2018-04-24 22:58:54.131 Error: (MyBroadlink) Callback event 'onHeartbeatCallback' (Python call 'onHeartbeat') discarded.
2018-04-24 22:58:54.131 Error: (MyBroadlink) Callback event 'onHeartbeatCallback' (Python call 'onHeartbeat') discarded.
2018-04-24 22:58:54.131 Error: (MyBroadlink) Callback event 'onHeartbeatCallback' (Python call 'onHeartbeat') discarded.
2018-04-24 22:58:54.131 Error: (MyBroadlink) Callback event 'onHeartbeatCallback' (Python call 'onHeartbeat') discarded.
2018-04-24 22:58:54.131 Error: (MyBroadlink) Callback event 'onHeartbeatCallback' (Python call 'onHeartbeat') discarded.
2018-04-24 22:58:54.131 Error: (MyBroadlink) Callback event 'onHeartbeatCallback' (Python call 'onHeartbeat') discarded.
2018-04-24 22:58:54.132 Error: (MyBroadlink) Callback event 'onHeartbeatCallback' (Python call 'onHeartbeat') discarded.
Madrian,madrian wrote: ↑Sunday 22 April 2018 21:14 Done, but all I see is:
2018-04-22 21:11:36.706 (RMMini3) Started.
2018-04-22 21:13:00.455 Error: RMMini3 hardware (13) thread seems to have ended unexpectedly
and there is no new device (accept new devices is enabled).
I am on Ubuntu 16.04, is there any dependency needed?
try the 4.1.0 to see if it's better.wawjan wrote: ↑Thursday 26 April 2018 22:35 What can be the reason that after loading the plugin, it blocks the operation of other plugins.
Wszystkie
Status
Błędy
Filtr:
X
2018-04-26 22:29:16.648 Domoticz V3.9326 (c)2012-2018 GizMoCuz
2018-04-26 22:29:16.648 Build Hash: a24ebc05, Date: 2018-04-26 16:06:01
2018-04-26 22:29:16.648 Startup Path: /home/pi/domoticz/
2018-04-26 22:29:17.024 Sunrise: 05:25:00 SunSet: 20:07:00
2018-04-26 22:29:17.024 Day length: 14:43:00 Sun at south: 12:05:00
2018-04-26 22:29:17.024 Civil twilight start: 04:46:00 Civil twilight end: 20:46:00
2018-04-26 22:29:17.024 Nautical twilight start: 03:55:00 Nautical twilight end: 21:37:00
2018-04-26 22:29:17.024 Astronomical twilight start: 02:52:00 Astronomical twilight end: 22:40:00
2018-04-26 22:29:17.024 EventSystem: reset all events...
2018-04-26 22:29:17.751 PluginSystem: Started, Python version '3.4.2'.
2018-04-26 22:29:17.793 Active notification Subsystems: (0/14)
2018-04-26 22:29:17.862 WebServer(HTTP) started on address: :: with port 8080
2018-04-26 22:29:17.929 WebServer(SSL) started on address: :: with port 443
2018-04-26 22:29:17.931 Proxymanager started.
2018-04-26 22:29:17.933 Starting shared server on: :::6144
2018-04-26 22:29:17.933 TCPServer: shared server started...
2018-04-26 22:29:17.933 RxQueue: queue worker started...
2018-04-26 22:29:19.934 Hardware Monitor: Started
2018-04-26 22:29:19.996 OpenWeatherMap: Started
2018-04-26 22:29:19.996 (Speedtest) Started.
2018-04-26 22:29:19.997 XiaomiGateway: will listen on 9898 for hardware id 7
2018-04-26 22:29:20.004 XiaomiGateway: Delaying worker startup...
2018-04-26 22:29:25.004 (Pi Monitor) Started.
2018-04-26 22:29:25.004 (Yamaha) Started.
2018-04-26 22:29:25.004 (Broadlink) Started.
2018-04-26 22:29:25.005 EventSystem: reset all events...
2018-04-26 22:29:25.005 EventSystem: reset all device statuses...
2018-04-26 22:29:25.006 XiaomiGateway: Worker started...
2018-04-26 22:29:25.082 XiaomiGateway: Using 192.168.1.150 for local IP address.
2018-04-26 22:29:25.123 PluginSystem: Entering work loop.
2018-04-26 22:29:25.169 XiaomiGateway: RGB Gateway Detected
2018-04-26 22:29:25.191 (Bramka Xiaomi) Temp (Xiaomi Temperature)
2018-04-26 22:29:25.192 (Bramka Xiaomi) Humidity (Xiaomi Humidity)
2018-04-26 22:29:25.193 (Bramka Xiaomi) General/Pressure (Xiaomi Pressure)
2018-04-26 22:29:25.203 (Bramka Xiaomi) Lux (Aqara Motion Sensor)
2018-04-26 22:29:25.205 (Bramka Xiaomi) Temp (Xiaomi Temperature)
2018-04-26 22:29:25.206 (Bramka Xiaomi) Humidity (Xiaomi Humidity)
2018-04-26 22:29:25.214 Python EventSystem: Initalizing event module.
2018-04-26 22:29:25.215 (Bramka Xiaomi) Temp (Xiaomi Temperature)
2018-04-26 22:29:25.217 EventSystem: Started
2018-04-26 22:29:25.218 EventSystem: Queue thread started...
2018-04-26 22:29:25.219 (Bramka Xiaomi) Humidity (Xiaomi Humidity)
2018-04-26 22:29:25.220 (Bramka Xiaomi) General/Pressure (Xiaomi Pressure)
2018-04-26 22:29:25.363 (Pogoda) Temp + Humidity + Baro (THB)
2018-04-26 22:29:25.369 (Pogoda) Wind (Wind)
2018-04-26 22:29:25.375 (Pogoda) General/Visibility (Visibility)
2018-04-26 22:29:25.381 (Pogoda) General/Percentage (Clouds %)
2018-04-26 22:29:25.579 (Speedtest) Entering work loop.
2018-04-26 22:29:25.579 (Speedtest) Initialized version 1.3.0, author 'Xorfor'
2018-04-26 22:29:25.692 (Pi Monitor) Entering work loop.
2018-04-26 22:29:25.692 (Pi Monitor) Initialized version 1.1.0, author 'Xorfor'
2018-04-26 22:29:25.895 (Yamaha) Entering work loop.
2018-04-26 22:29:25.895 (Yamaha) Initialized version 2.0.0, author 'thomasvillagers'
2018-04-26 22:29:27.241 (Broadlink) Entering work loop.
2018-04-26 22:29:27.241 (Broadlink) Initialized version 4.0.0, author 'zak45'
show this output:Lars65 wrote: ↑Wednesday 25 April 2018 12:40 seems like I have some trouble with pyaes, running raspbian stretch:
2018-04-25 12:38:44.089 Error: (BroadlinkRM2) failed to load 'plugin.py', Python Path used was '/home/pi/domoticz/plugins/broadlink/:/usr/lib/python35.zip:/usr/lib/python3.5:/usr/lib/python3.5/plat-arm-linux-gnueabihf:/usr/lib/python3.5/lib-dynload'.
2018-04-25 12:38:44.089 Error: (Discover) Module Import failed, exception: 'ImportError'
2018-04-25 12:38:44.089 Error: (Discover) Module Import failed: ' Name: pyaes'
2018-04-25 12:38:44.089 Error: (Discover) Error Line details not available
Create another HW by using same parameters (RM Mini3). this will give you another HW Id and create another remote control that you can customize.satanasinc wrote: ↑Thursday 26 April 2018 20:30 Hi!!
First of all please excuse my bad english.
Yesterday i installed my brand new RM Mini3 in domoticz without problems. Now learn, test and save perfectly.
The plugin adds a complete remote control in the switches panel and it works great, but someone knows how to add another one to control the TV and the sat box for example?.
I need add more complete remotes.
Thanx in advance for your help and thanks for the great job to the developer. Youre great!
Greetings from spain!
put the debug mode on and post the log output.HarleyZard wrote: ↑Tuesday 24 April 2018 22:53 Hi Madrian, Zak45,
Thanks Zak45 for your plugin, but I can't use it : I've exactly the same problem than Madrian.
Raspberry 3
Domoticz V3.9139
Do yoy have an idea Zak45 ?
Thanks...
Create another HW by using same parameters (RM Mini3). this will give you another HW Id and create another remote control that you can customize.zak45 wrote: ↑Friday 27 April 2018 23:30 [quote=satanasinc post_id=178888 time=<a href="tel:1524767431">1524767431</a> user_id=7387]
Hi!!
First of all please excuse my bad english.
Yesterday i installed my brand new RM Mini3 in domoticz without problems. Now learn, test and save perfectly.
The plugin adds a complete remote control in the switches panel and it works great, but someone knows how to add another one to control the TV and the sat box for example?.
I need add more complete remotes.
Thanx in advance for your help and thanks for the great job to the developer. Youre great!
Greetings from spain!