Python Plugin : Broadlink RM2 V4

Python and python framework

Moderator: leecollings

parrotface
Posts: 36
Joined: Monday 02 February 2015 15:50
Target OS: Linux
Domoticz version:
Location: Cheshire England
Contact:

Re: Python Plugin : Broadlink RM2 V4

Post by parrotface »

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
zak45
Posts: 952
Joined: Sunday 22 January 2017 11:37
Target OS: Windows
Domoticz version: V2024.4
Contact:

Re: Python Plugin : Broadlink RM2 V4

Post by zak45 »

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
Right for the V 4.x, you can still use V 3 if you want. all in dropbox.
madrian
Posts: 231
Joined: Saturday 27 August 2016 1:18
Target OS: -
Domoticz version:
Contact:

Re: Python Plugin : Broadlink RM2 V4

Post by madrian »

zak45: any idea for my previous post?
zak45
Posts: 952
Joined: Sunday 22 January 2017 11:37
Target OS: Windows
Domoticz version: V2024.4
Contact:

Re: Python Plugin : Broadlink RM2 V4

Post by zak45 »

madrian wrote: Friday 20 April 2018 19:05 zak45: any idea for my previous post?
Not enough information. Put plugin in debug mode and provide full log. Need also domoticz version and OS
madrian
Posts: 231
Joined: Saturday 27 August 2016 1:18
Target OS: -
Domoticz version:
Contact:

Re: Python Plugin : Broadlink RM2 V4

Post by madrian »

Hmm, it's already turned on.
Screen Shot 2018-04-21 at 21.44.12.png
Screen Shot 2018-04-21 at 21.44.12.png (389.79 KiB) Viewed 2588 times
Log after restarting domoticz:

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'
And no "Learn" device was created. :|
zak45
Posts: 952
Joined: Sunday 22 January 2017 11:37
Target OS: Windows
Domoticz version: V2024.4
Contact:

Re: Python Plugin : Broadlink RM2 V4

Post by zak45 »

madrian wrote: Saturday 21 April 2018 21:54 Hmm, it's already turned on.
And no "Learn" device was created. :|
What you can do: try to create another HW but first be sure that in Domoticz the accept new hardware/devices settings has been checked.
madrian
Posts: 231
Joined: Saturday 27 August 2016 1:18
Target OS: -
Domoticz version:
Contact:

Re: Python Plugin : Broadlink RM2 V4

Post by madrian »

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?
HarleyZard
Posts: 9
Joined: Tuesday 24 April 2018 22:28
Target OS: Raspberry Pi / ODroid
Domoticz version:
Contact:

Re: Python Plugin : Broadlink RM2 V4

Post by HarleyZard »

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

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) 
and when I close domoticz :

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.
And no device was created, and I've autorize new dispositif....

I'm on this problem for 2 weeks, but impossible for me to find a solution :roll:

Do yoy have an idea Zak45 ? :roll:


Thanks...
Attachments
Capture.PNG
Capture.PNG (26.44 KiB) Viewed 2510 times
Lars65
Posts: 41
Joined: Thursday 14 July 2016 20:49
Target OS: Raspberry Pi / ODroid
Domoticz version:
Contact:

Re: Python Plugin : Broadlink RM2 V4

Post by Lars65 »

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
HarleyZard
Posts: 9
Joined: Tuesday 24 April 2018 22:28
Target OS: Raspberry Pi / ODroid
Domoticz version:
Contact:

Re: Python Plugin : Broadlink RM2 V4

Post by HarleyZard »

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?
Madrian,

Do you test this solution : viewtopic.php?f=6&t=21900&p=168648&hili ... d.#p168648
?
(upgrade python to 3.6)

(I'll try this evening)
Xfiles
Posts: 15
Joined: Saturday 31 March 2018 23:08
Target OS: Raspberry Pi / ODroid
Domoticz version:
Contact:

Re: Python Plugin : Broadlink RM2 V4

Post by Xfiles »

Hello,

‌I'm not sure if my problem is like other from thist topic. I have installed python, copied files to BroadlinkRM2 folder (like mentioned in wiki). I added new hardware and then Domoticz crashed. Domoticz service was running but page was not responsive. I managed to restore domoticz by doing upgrade to stable version (I use normally beta). After this domoticz started working normally. I removed Broadlink from hardware list and upgraded domoticz to beta version and everything is ok now. What I should do to use Broadlink in beta version of domoticz.
wawjan
Posts: 8
Joined: Thursday 26 April 2018 9:12
Target OS: Raspberry Pi / ODroid
Domoticz version:
Contact:

Re: Python Plugin : Broadlink RM2 V4

Post by wawjan »

Hello
It also has the same problems.
Is it possible for someone to share an image of an SD card with a clean domoticzem and a working Broadlink plugin.
Sorry for my English.
satanasinc
Posts: 41
Joined: Monday 19 October 2015 12:15
Target OS: Raspberry Pi / ODroid
Domoticz version: 4.9700
Location: Spain
Contact:

Re: Python Plugin : Broadlink RM2 V4

Post by satanasinc »

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!
Last edited by satanasinc on Friday 27 April 2018 6:14, edited 2 times in total.
wawjan
Posts: 8
Joined: Thursday 26 April 2018 9:12
Target OS: Raspberry Pi / ODroid
Domoticz version:
Contact:

Re: Python Plugin : Broadlink RM2 V4

Post by wawjan »

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'
zak45
Posts: 952
Joined: Sunday 22 January 2017 11:37
Target OS: Windows
Domoticz version: V2024.4
Contact:

Re: Python Plugin : Broadlink RM2 V4

Post by zak45 »

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'
try the 4.1.0 to see if it's better.
zak45
Posts: 952
Joined: Sunday 22 January 2017 11:37
Target OS: Windows
Domoticz version: V2024.4
Contact:

Re: Python Plugin : Broadlink RM2 V4

Post by zak45 »

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
show this output:
sudo pip3 show broadlink
sudo pip3 show pyaes
zak45
Posts: 952
Joined: Sunday 22 January 2017 11:37
Target OS: Windows
Domoticz version: V2024.4
Contact:

Re: Python Plugin : Broadlink RM2 V4

Post by zak45 »

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!
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
Posts: 952
Joined: Sunday 22 January 2017 11:37
Target OS: Windows
Domoticz version: V2024.4
Contact:

Re: Python Plugin : Broadlink RM2 V4

Post by zak45 »

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 ? :roll:

Thanks...
put the debug mode on and post the log output.
satanasinc
Posts: 41
Joined: Monday 19 October 2015 12:15
Target OS: Raspberry Pi / ODroid
Domoticz version: 4.9700
Location: Spain
Contact:

Re: Python Plugin : Broadlink RM2 V4

Post by satanasinc »

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!
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.
[/quote]

Hi

Thanks zak45 I will try.

Regards.
Xfiles
Posts: 15
Joined: Saturday 31 March 2018 23:08
Target OS: Raspberry Pi / ODroid
Domoticz version:
Contact:

Re: Python Plugin : Broadlink RM2 V4

Post by Xfiles »

Can anyone help me with problem described few posts above? (domoticz doesn't work after I add broadlink hardware). Do you have any idea what can be a reason of that?
Post Reply

Who is online

Users browsing this forum: Google [Bot] and 1 guest