Python Plugin : Broadlink RM2 V4

Python and python framework

Moderator: leecollings

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 »

ian13010 wrote: Tuesday 10 April 2018 17:56 Found a palliative with the suppression of special character (é, à, ',...) in json files.

Works great !
this should be corrected on 4.1.0
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 »

starjuice wrote: Thursday 12 April 2018 14:30 Hello,

I use raspian jessie on RPI3, Domoticz 3.9208 (beta), python 3.4.2 and a RM pro+.

I'm not able to connect to th RM. Only the discover function is ok.
What i'm doing wrong please?
try the 4.1.0
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 »

maximus wrote: Monday 02 April 2018 0:43 Hi, i tried many Things, but i cant run the plugin on rasbian stretch with stable domoticz. How can i Install the Beta? How can i Install it in stable. After i create the Broadlink as new Hardware, there is no Switch. Please help meine.

Thx
you need Domoticz 90xx and Broadlink 4.1.0
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 »

RueDesButtes wrote: Monday 02 April 2018 19:19 Hello,
I am a "Domoticz" Newbi,
I am struggling with Broadlink for 1 week,
I am able to enter the details of the RM, but nothing happened: no error, no switch, no device...

Can you help me ?


Hardware:
- Raspberry PI 2 B
- Broadlink RMP PRO+ (V3?)

I have installed:
- Raspbian Jessy Lite Stretch
- Domoticz V3.8153
- Python 3.5
you need Domoticz v 90xx or greater
starjuice
Posts: 9
Joined: Thursday 12 April 2018 14:20
Target OS: Raspberry Pi / ODroid
Domoticz version: 3.9224
Contact:

Re: Python Plugin : Broadlink RM2 V4

Post by starjuice »

Many thanks zak45 the 4.1.0 version solve the issue !!!!
starjuice
Posts: 9
Joined: Thursday 12 April 2018 14:20
Target OS: Raspberry Pi / ODroid
Domoticz version: 3.9224
Contact:

Re: Python Plugin : Broadlink RM2 V4

Post by starjuice »

I was able to learn the first IR signal but not the others. I use the 4.1.0 python 4.4.2 domoticz 3.9224
It is better than nothing but only one signal is not enough .

as you can see in the log the other signal are null.
(RMpro2) b'\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00'
2018-04-15 10:00:57.173 (RMpro2) 000000000000000000000000
2018-04-15 10:00:57.173 (RMpro2) Code stored in memory
2018-04-15 10:00:57.173 (RMpro2 - Command) Updating device from 0:'Off' to have values 1:'20'.
2018-04-15 10:00:57.182 (RMpro2) Update 1:'20' (RMpro2 - Command)

Code: Select all

 2018-04-15 01:44:00.994 (Rmpro) onCommand called for Unit 1: Parameter 'Set Level', Level: 10 , Connected : True
2018-04-15 01:44:00.994 (Rmpro) All plugin system is on pause for 5s...
2018-04-15 01:44:00.994 (Rmpro) When Broadlink led is lit press the button on your remote within 5 seconds
2018-04-15 01:44:02.326 User: Admin initiated a switch command (6/Rmpro - Command/Set Level)
2018-04-15 01:44:02.327 (Rmpro) Pushing 'onCommandCallback' on to queue
2018-04-15 01:44:03.986 User: Admin initiated a switch command (6/Rmpro - Command/Set Level)
2018-04-15 01:44:03.987 (Rmpro) Pushing 'onCommandCallback' on to queue
2018-04-15 01:44:06.959 (Rmpro) b'\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00'
2018-04-15 01:44:06.959 (Rmpro) 000000000000000000000000
2018-04-15 01:44:06.959 (Rmpro) Code stored in memory
2018-04-15 01:44:07.009 (Rmpro) Processing 'onCommandCallback' message
2018-04-15 01:44:07.009 (Rmpro) Calling message handler 'onCommand'.
2018-04-15 01:44:07.009 (Rmpro) onCommand called for Unit 1: Parameter 'Set Level', Level: 10 , Connected : True
2018-04-15 01:44:07.009 (Rmpro) All plugin system is on pause for 5s...
2018-04-15 01:44:07.010 (Rmpro) When Broadlink led is lit press the button on your remote within 5 seconds
2018-04-15 01:44:10.415 User: Admin initiated a switch command (6/Rmpro - Command/Set Level)
2018-04-15 01:44:10.416 (Rmpro) Pushing 'onCommandCallback' on to queue
2018-04-15 01:44:12.572 (Rmpro) b'\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00'
2018-04-15 01:44:12.572 (Rmpro) 000000000000000000000000
2018-04-15 01:44:12.572 (Rmpro) Code stored in memory
2018-04-15 01:44:12.572 (Rmpro) Processing 'onCommandCallback' message
2018-04-15 01:44:12.572 (Rmpro) Calling message handler 'onCommand'.
2018-04-15 01:44:12.573 (Rmpro) onCommand called for Unit 1: Parameter 'Set Level', Level: 10 , Connected : True
2018-04-15 01:44:12.573 (Rmpro) All plugin system is on pause for 5s...
2018-04-15 01:44:12.573 (Rmpro) When Broadlink led is lit press the button on your remote within 5 seconds
2018-04-15 01:44:13.250 (Rmpro) Pushing 'onHeartbeatCallback' on to queue
2018-04-15 01:44:17.794 (Rmpro) b'\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00'
2018-04-15 01:44:17.794 (Rmpro) 000000000000000000000000
2018-04-15 01:44:17.794 (Rmpro) Code stored in memory
2018-04-15 01:44:17.845 (Rmpro) Processing 'onCommandCallback' message
2018-04-15 01:44:17.845 (Rmpro) Calling message handler 'onCommand'.
2018-04-15 01:44:17.845 (Rmpro) onCommand called for Unit 1: Parameter 'Set Level', Level: 10 , Connected : True
2018-04-15 01:44:17.845 (Rmpro) All plugin system is on pause for 5s...
2018-04-15 01:44:17.845 (Rmpro) When Broadlink led is lit press the button on your remote within 5 seconds
2018-04-15 01:44:18.765 User: Admin initiated a switch command (6/Rmpro - Command/Set Level)
2018-04-15 01:44:18.766 (Rmpro) Pushing 'onCommandCallback' on to queue
2018-04-15 01:44:21.970 User: Admin initiated a switch command (6/Rmpro - Command/Set Level)
2018-04-15 01:44:21.971 (Rmpro) Pushing 'onCommandCallback' on to queue
2018-04-15 01:44:23.249 (Rmpro) b'\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00'
2018-04-15 01:44:23.249 (Rmpro) 000000000000000000000000
2018-04-15 01:44:23.249 (Rmpro) Code stored in memory
2018-04-15 01:44:23.249 (Rmpro) Processing 'onHeartbeatCallback' message
2018-04-15 01:44:23.249 (Rmpro) Calling message handler 'onHeartbeat'.
2018-04-15 01:44:23.300 (Rmpro) Processing 'onCommandCallback' message
2018-04-15 01:44:23.300 (Rmpro) Calling message handler 'onCommand'.
2018-04-15 01:44:23.300 (Rmpro) onCommand called for Unit 1: Parameter 'Set Level', Level: 20 , Connected : True
2018-04-15 01:44:23.300 (Rmpro) b'\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00'
2018-04-15 01:44:23.489 (Rmpro) Code Sent....
2018-04-15 01:44:23.489 (Rmpro) Processing 'onCommandCallback' message
2018-04-15 01:44:23.489 (Rmpro) Calling message handler 'onCommand'.
2018-04-15 01:44:23.489 (Rmpro) onCommand called for Unit 1: Parameter 'Set Level', Level: 20 , Connected : True
2018-04-15 01:44:23.490 (Rmpro) b'\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00'
2018-04-15 01:44:23.524 (Rmpro) Code Sent....
2018-04-15 01:44:30.941 User: Admin initiated a switch command (6/Rmpro - Command/Set Level)
2018-04-15 01:44:30.941 (Rmpro) Pushing 'onCommandCallback' on to queue
2018-04-15 01:44:30.990 (Rmpro) Processing 'onCommandCallback' message
2018-04-15 01:44:30.990 (Rmpro) Calling message handler 'onCommand'.
2018-04-15 01:44:30.990 (Rmpro) onCommand called for Unit 1: Parameter 'Set Level', Level: 40 , Connected : True
2018-04-15 01:44:30.990 (Rmpro - Command) Updating device from 1:'20' to have values 0:'Off'.
2018-04-15 01:44:30.998 (Rmpro) Update 0:'Off' (Rmpro - Command)
2018-04-15 01:44:30.999 (Rmpro) Reset learned command
2018-04-15 01:44:33.745 User: Admin initiated a switch command (6/Rmpro - Command/Set Level)
2018-04-15 01:44:33.746 (Rmpro) Pushing 'onCommandCallback' on to queue
2018-04-15 01:44:33.754 (Rmpro) Processing 'onCommandCallback' message
2018-04-15 01:44:33.754 (Rmpro) Calling message handler 'onCommand'.
2018-04-15 01:44:33.754 (Rmpro) onCommand called for Unit 1: Parameter 'Set Level', Level: 10 , Connected : True
2018-04-15 01:44:33.754 (Rmpro) All plugin system is on pause for 5s...
2018-04-15 01:44:33.754 (Rmpro) When Broadlink led is lit press the button on your remote within 5 seconds
2018-04-15 01:44:38.583 User: Admin initiated a switch command (6/Rmpro - Command/Set Level)
2018-04-15 01:44:38.584 (Rmpro) Pushing 'onCommandCallback' on to queue
2018-04-15 01:44:38.762 (Rmpro) b'\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00'
2018-04-15 01:44:38.763 (Rmpro) 000000000000000000000000
2018-04-15 01:44:38.763 (Rmpro) Code stored in memory
2018-04-15 01:44:38.763 (Rmpro - Command) Updating device from 0:'Off' to have values 1:'20'.
2018-04-15 01:44:38.772 (Rmpro) Update 1:'20' (Rmpro - Command)
2018-04-15 01:44:38.822 (Rmpro) Processing 'onCommandCallback' message
2018-04-15 01:44:38.822 (Rmpro) Calling message handler 'onCommand'.
2018-04-15 01:44:38.822 (Rmpro) onCommand called for Unit 1: Parameter 'Set Level', Level: 20 , Connected : True
2018-04-15 01:44:38.822 (Rmpro) b'\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00'
2018-04-15 01:44:39.376 (Rmpro) Code Sent....
2018-04-15 01:44:41.449 User: Admin initiated a switch command (6/Rmpro - Command/Set Level)
2018-04-15 01:44:41.449 (Rmpro) Pushing 'onCommandCallback' on to queue
2018-04-15 01:44:41.480 (Rmpro) Processing 'onCommandCallback' message
2018-04-15 01:44:41.480 (Rmpro) Calling message handler 'onCommand'.
2018-04-15 01:44:41.480 (Rmpro) onCommand called for Unit 1: Parameter 'Set Level', Level: 20 , Connected : True
2018-04-15 01:44:41.480 (Rmpro) b'\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00'
2018-04-15 01:44:41.482 (Rmpro) Code Sent....
2018-04-15 01:44:43.255 (Rmpro) Pushing 'onHeartbeatCallback' on to queue
2018-04-15 01:44:43.286 (Rmpro) Processing 'onHeartbeatCallback' message
2018-04-15 01:44:43.286 (Rmpro) Calling message handler 'onHeartbeat'.
2018-04-15 01:44:47.189 User: Admin initiated a switch command (6/Rmpro - Command/Set Level)
2018-04-15 01:44:47.189 (Rmpro) Pushing 'onCommandCallback' on to queue
2018-04-15 01:44:47.194 (Rmpro) Processing 'onCommandCallback' message
2018-04-15 01:44:47.194 (Rmpro) Calling message handler 'onCommand'.
2018-04-15 01:44:47.195 (Rmpro) onCommand called for Unit 1: Parameter 'Set Level', Level: 30 , Connected : True
2018-04-15 01:44:47.200 (Rmpro) ini file creation..../home/pi/domoticz/plugins/BroadlinkRM2/BroadlinkRM2-4-10.ini
2018-04-15 01:44:47.200 (Rmpro) Creating device '4-10 '.
2018-04-15 01:44:47.203 (Rmpro) Command line : "/home/pi/domoticz/plugins/BroadlinkRM2/plugin_send.py" /home/pi/domoticz/plugins/BroadlinkRM2/BroadlinkRM2-4-10.ini
2018-04-15 01:44:47.203 (Rmpro - Command) Updating device from 1:'20' to have values 1:'10'.
2018-04-15 01:44:47.211 (Rmpro) Update 1:'10' (Rmpro - Command)
2018-04-15 01:45:13.260 (Rmpro) Pushing 'onHeartbeatCallback' on to queue
2018-04-15 01:45:13.264 (Rmpro) Processing 'onHeartbeatCallback' message
2018-04-15 01:45:13.264 (Rmpro) Calling message handler 'onHeartbeat'.
2018-04-15 01:45:43.266 (Rmpro) Pushing 'onHeartbeatCallback' on to queue
2018-04-15 01:45:43.277 (Rmpro) Processing 'onHeartbeatCallback' message
2018-04-15 01:45:43.277 (Rmpro) Calling message handler 'onHeartbeat'. 
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 »

starjuice wrote: Sunday 15 April 2018 1:47 I was able to learn the first IR signal but not the others. I use the 4.1.0 python 4.4.2 domoticz 3.9224
It is better than nothing but only one signal is not enough .
Plugin is not able to manage more than one signal at same time.. do you have saved the first one and tried after to read another one ?
starjuice
Posts: 9
Joined: Thursday 12 April 2018 14:20
Target OS: Raspberry Pi / ODroid
Domoticz version: 3.9224
Contact:

Re: Python Plugin : Broadlink RM2 V4

Post by starjuice »

yes I save first then after I try to learn another.
But the signal catched is always 000000

Code: Select all

 2018-04-15 15:48:00.288 User: Admin initiated a switch command (6/RMpro2 - Command/Set Level)
2018-04-15 15:48:00.288 (RMpro2) Pushing 'onCommandCallback' on to queue
2018-04-15 15:48:00.307 (RMpro2) Processing 'onCommandCallback' message
2018-04-15 15:48:00.307 (RMpro2) Calling message handler 'onCommand'.
2018-04-15 15:48:00.307 (RMpro2) onCommand called for Unit 1: Parameter 'Set Level', Level: 40 , Connected : True
2018-04-15 15:48:00.307 (RMpro2 - Command) Updating device from 1:'20' to have values 0:'Off'.
2018-04-15 15:48:00.312 (RMpro2) Update 0:'Off' (RMpro2 - Command)
2018-04-15 15:48:00.312 (RMpro2) Reset learned command
2018-04-15 15:48:02.787 User: Admin initiated a switch command (6/RMpro2 - Command/Set Level)
2018-04-15 15:48:02.788 (RMpro2) Pushing 'onCommandCallback' on to queue
2018-04-15 15:48:02.818 (RMpro2) Processing 'onCommandCallback' message
2018-04-15 15:48:02.818 (RMpro2) Calling message handler 'onCommand'.
2018-04-15 15:48:02.818 (RMpro2) onCommand called for Unit 1: Parameter 'Set Level', Level: 10 , Connected : True
2018-04-15 15:48:02.818 (RMpro2) All plugin system is on pause for 5s...
2018-04-15 15:48:02.818 (RMpro2) When Broadlink led is lit press the button on your remote within 5 seconds
2018-04-15 15:48:07.825 (RMpro2) b'\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00'
2018-04-15 15:48:07.825 (RMpro2) 000000000000000000000000
2018-04-15 15:48:07.825 (RMpro2) Code stored in memory
2018-04-15 15:48:07.825 (RMpro2 - Command) Updating device from 0:'Off' to have values 1:'20'.
2018-04-15 15:48:07.832 (RMpro2) Update 1:'20' (RMpro2 - Command)
2018-04-15 15:48:08.547 User: Admin initiated a switch command (6/RMpro2 - Command/Set Level)
2018-04-15 15:48:08.548 (RMpro2) Pushing 'onCommandCallback' on to queue
2018-04-15 15:48:08.584 (RMpro2) Processing 'onCommandCallback' message
2018-04-15 15:48:08.584 (RMpro2) Calling message handler 'onCommand'.
2018-04-15 15:48:08.584 (RMpro2) onCommand called for Unit 1: Parameter 'Set Level', Level: 20 , Connected : True
2018-04-15 15:48:08.584 (RMpro2) b'\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00'
2018-04-15 15:48:08.586 (RMpro2) Code Sent....
2018-04-15 15:48:13.095 User: Admin initiated a switch command (6/RMpro2 - Command/Set Level)
2018-04-15 15:48:13.096 (RMpro2) Pushing 'onCommandCallback' on to queue
2018-04-15 15:48:13.145 (RMpro2) Processing 'onCommandCallback' message
2018-04-15 15:48:13.146 (RMpro2) Calling message handler 'onCommand'.
2018-04-15 15:48:13.146 (RMpro2) onCommand called for Unit 1: Parameter 'Set Level', Level: 20 , Connected : True
2018-04-15 15:48:13.146 (RMpro2) b'\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00'
2018-04-15 15:48:13.147 (RMpro2) Code Sent....
2018-04-15 15:48:21.333 (RMpro2) Pushing 'onHeartbeatCallback' on to queue
2018-04-15 15:48:21.365 (RMpro2) Processing 'onHeartbeatCallback' message
2018-04-15 15:48:21.365 (RMpro2) Calling message handler 'onHeartbeat'.
2018-04-15 15:48:32.380 User: Admin initiated a switch command (6/RMpro2 - Command/Set Level)
2018-04-15 15:48:32.380 (RMpro2) Pushing 'onCommandCallback' on to queue
2018-04-15 15:48:32.405 (RMpro2) Processing 'onCommandCallback' message
2018-04-15 15:48:32.405 (RMpro2) Calling message handler 'onCommand'.
2018-04-15 15:48:32.405 (RMpro2) onCommand called for Unit 1: Parameter 'Set Level', Level: 30 , Connected : True
2018-04-15 15:48:32.408 (RMpro2) ini file creation..../home/pi/domoticz/plugins/BroadlinkRM2/BroadlinkRM2-4-5.ini
2018-04-15 15:48:32.408 (RMpro2) Creating device '4-5 '.
2018-04-15 15:48:32.996 (RMpro2) Command line : "/home/pi/domoticz/plugins/BroadlinkRM2/plugin_send.py" /home/pi/domoticz/plugins/BroadlinkRM2/BroadlinkRM2-4-5.ini
2018-04-15 15:48:32.996 (RMpro2 - Command) Updating device from 1:'20' to have values 1:'10'.
2018-04-15 15:48:33.005 (RMpro2) Update 1:'10' (RMpro2 - Command)
2018-04-15 15:48:41.547 User: Admin initiated a switch command (6/RMpro2 - Command/Set Level)
2018-04-15 15:48:41.547 (RMpro2) Pushing 'onCommandCallback' on to queue
2018-04-15 15:48:41.573 (RMpro2) Processing 'onCommandCallback' message
2018-04-15 15:48:41.573 (RMpro2) Calling message handler 'onCommand'.
2018-04-15 15:48:41.573 (RMpro2) onCommand called for Unit 1: Parameter 'Set Level', Level: 40 , Connected : True
2018-04-15 15:48:41.573 (RMpro2) Nothing to reset
2018-04-15 15:48:44.880 User: Admin initiated a switch command (6/RMpro2 - Command/Set Level)
2018-04-15 15:48:44.880 (RMpro2) Pushing 'onCommandCallback' on to queue
2018-04-15 15:48:44.880 (RMpro2) Processing 'onCommandCallback' message
2018-04-15 15:48:44.881 (RMpro2) Calling message handler 'onCommand'.
2018-04-15 15:48:44.881 (RMpro2) onCommand called for Unit 1: Parameter 'Set Level', Level: 10 , Connected : True
2018-04-15 15:48:44.881 (RMpro2) All plugin system is on pause for 5s...
2018-04-15 15:48:44.881 (RMpro2) When Broadlink led is lit press the button on your remote within 5 seconds
2018-04-15 15:48:49.887 (RMpro2) b'\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00'
2018-04-15 15:48:49.887 (RMpro2) 000000000000000000000000
2018-04-15 15:48:49.888 (RMpro2) Code stored in memory
2018-04-15 15:48:49.888 (RMpro2 - Command) Updating device from 1:'10' to have values 1:'20'.
2018-04-15 15:48:49.892 (RMpro2) Update 1:'20' (RMpro2 - Command)
2018-04-15 15:48:49.931 User: Admin initiated a switch command (6/RMpro2 - Command/Set Level)
2018-04-15 15:48:49.931 (RMpro2) Pushing 'onCommandCallback' on to queue
2018-04-15 15:48:49.942 (RMpro2) Processing 'onCommandCallback' message
2018-04-15 15:48:49.943 (RMpro2) Calling message handler 'onCommand'.
2018-04-15 15:48:49.943 (RMpro2) onCommand called for Unit 1: Parameter 'Set Level', Level: 20 , Connected : True
2018-04-15 15:48:49.943 (RMpro2) b'\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00'
2018-04-15 15:48:50.497 (RMpro2) Code Sent....
2018-04-15 15:48:51.339 (RMpro2) Pushing 'onHeartbeatCallback' on to queue
2018-04-15 15:48:51.349 (RMpro2) Processing 'onHeartbeatCallback' message
2018-04-15 15:48:51.349 (RMpro2) Calling message handler 'onHeartbeat'.
2018-04-15 15:48:53.652 User: Admin initiated a switch command (6/RMpro2 - Command/Set Level)
2018-04-15 15:48:53.652 (RMpro2) Pushing 'onCommandCallback' on to queue
2018-04-15 15:48:53.654 (RMpro2) Processing 'onCommandCallback' message
2018-04-15 15:48:53.654 (RMpro2) Calling message handler 'onCommand'.
2018-04-15 15:48:53.654 (RMpro2) onCommand called for Unit 1: Parameter 'Set Level', Level: 30 , Connected : True
2018-04-15 15:48:53.657 (RMpro2) ini file creation..../home/pi/domoticz/plugins/BroadlinkRM2/BroadlinkRM2-4-6.ini
2018-04-15 15:48:53.657 (RMpro2) Creating device '4-6 '.
2018-04-15 15:48:53.659 (RMpro2) Command line : "/home/pi/domoticz/plugins/BroadlinkRM2/plugin_send.py" /home/pi/domoticz/plugins/BroadlinkRM2/BroadlinkRM2-4-6.ini
2018-04-15 15:48:53.659 (RMpro2 - Command) Updating device from 1:'20' to have values 1:'10'.
2018-04-15 15:48:53.663 (RMpro2) Update 1:'10' (RMpro2 - Command)
2018-04-15 15:49:21.345 (RMpro2) Pushing 'onHeartbeatCallback' on to queue
2018-04-15 15:49:21.375 (RMpro2) Processing 'onHeartbeatCallback' message
2018-04-15 15:49:21.375 (RMpro2) Calling message handler 'onHeartbeat'. 
starjuice
Posts: 9
Joined: Thursday 12 April 2018 14:20
Target OS: Raspberry Pi / ODroid
Domoticz version: 3.9224
Contact:

Re: Python Plugin : Broadlink RM2 V4

Post by starjuice »

zak45 wrote: Sunday 15 April 2018 12:54
starjuice wrote: Sunday 15 April 2018 1:47 I was able to learn the first IR signal but not the others. I use the 4.1.0 python 4.4.2 domoticz 3.9224
It is better than nothing but only one signal is not enough .
Plugin is not able to manage more than one signal at same time.. do you have saved the first one and tried after to read another one ?
Yes I save the first and after I try to learn another signal but the result is alway 00000.
The only way is to create a new "broadlinkRM2 via kodi" material.

Code: Select all

 2018-04-15 15:48:00.288 User: Admin initiated a switch command (6/RMpro2 - Command/Set Level)
2018-04-15 15:48:00.288 (RMpro2) Pushing 'onCommandCallback' on to queue
2018-04-15 15:48:00.307 (RMpro2) Processing 'onCommandCallback' message
2018-04-15 15:48:00.307 (RMpro2) Calling message handler 'onCommand'.
2018-04-15 15:48:00.307 (RMpro2) onCommand called for Unit 1: Parameter 'Set Level', Level: 40 , Connected : True
2018-04-15 15:48:00.307 (RMpro2 - Command) Updating device from 1:'20' to have values 0:'Off'.
2018-04-15 15:48:00.312 (RMpro2) Update 0:'Off' (RMpro2 - Command)
2018-04-15 15:48:00.312 (RMpro2) Reset learned command
2018-04-15 15:48:02.787 User: Admin initiated a switch command (6/RMpro2 - Command/Set Level)
2018-04-15 15:48:02.788 (RMpro2) Pushing 'onCommandCallback' on to queue
2018-04-15 15:48:02.818 (RMpro2) Processing 'onCommandCallback' message
2018-04-15 15:48:02.818 (RMpro2) Calling message handler 'onCommand'.
2018-04-15 15:48:02.818 (RMpro2) onCommand called for Unit 1: Parameter 'Set Level', Level: 10 , Connected : True
2018-04-15 15:48:02.818 (RMpro2) All plugin system is on pause for 5s...
2018-04-15 15:48:02.818 (RMpro2) When Broadlink led is lit press the button on your remote within 5 seconds
2018-04-15 15:48:07.825 (RMpro2) b'\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00'
2018-04-15 15:48:07.825 (RMpro2) 000000000000000000000000
2018-04-15 15:48:07.825 (RMpro2) Code stored in memory
2018-04-15 15:48:07.825 (RMpro2 - Command) Updating device from 0:'Off' to have values 1:'20'.
2018-04-15 15:48:07.832 (RMpro2) Update 1:'20' (RMpro2 - Command)
2018-04-15 15:48:08.547 User: Admin initiated a switch command (6/RMpro2 - Command/Set Level)
2018-04-15 15:48:08.548 (RMpro2) Pushing 'onCommandCallback' on to queue
2018-04-15 15:48:08.584 (RMpro2) Processing 'onCommandCallback' message
2018-04-15 15:48:08.584 (RMpro2) Calling message handler 'onCommand'.
2018-04-15 15:48:08.584 (RMpro2) onCommand called for Unit 1: Parameter 'Set Level', Level: 20 , Connected : True
2018-04-15 15:48:08.584 (RMpro2) b'\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00'
2018-04-15 15:48:08.586 (RMpro2) Code Sent....
2018-04-15 15:48:13.095 User: Admin initiated a switch command (6/RMpro2 - Command/Set Level)
2018-04-15 15:48:13.096 (RMpro2) Pushing 'onCommandCallback' on to queue
2018-04-15 15:48:13.145 (RMpro2) Processing 'onCommandCallback' message
2018-04-15 15:48:13.146 (RMpro2) Calling message handler 'onCommand'.
2018-04-15 15:48:13.146 (RMpro2) onCommand called for Unit 1: Parameter 'Set Level', Level: 20 , Connected : True
2018-04-15 15:48:13.146 (RMpro2) b'\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00'
2018-04-15 15:48:13.147 (RMpro2) Code Sent....
2018-04-15 15:48:21.333 (RMpro2) Pushing 'onHeartbeatCallback' on to queue
2018-04-15 15:48:21.365 (RMpro2) Processing 'onHeartbeatCallback' message
2018-04-15 15:48:21.365 (RMpro2) Calling message handler 'onHeartbeat'.
2018-04-15 15:48:32.380 User: Admin initiated a switch command (6/RMpro2 - Command/Set Level)
2018-04-15 15:48:32.380 (RMpro2) Pushing 'onCommandCallback' on to queue
2018-04-15 15:48:32.405 (RMpro2) Processing 'onCommandCallback' message
2018-04-15 15:48:32.405 (RMpro2) Calling message handler 'onCommand'.
2018-04-15 15:48:32.405 (RMpro2) onCommand called for Unit 1: Parameter 'Set Level', Level: 30 , Connected : True
2018-04-15 15:48:32.408 (RMpro2) ini file creation..../home/pi/domoticz/plugins/BroadlinkRM2/BroadlinkRM2-4-5.ini
2018-04-15 15:48:32.408 (RMpro2) Creating device '4-5 '.
2018-04-15 15:48:32.996 (RMpro2) Command line : "/home/pi/domoticz/plugins/BroadlinkRM2/plugin_send.py" /home/pi/domoticz/plugins/BroadlinkRM2/BroadlinkRM2-4-5.ini
2018-04-15 15:48:32.996 (RMpro2 - Command) Updating device from 1:'20' to have values 1:'10'.
2018-04-15 15:48:33.005 (RMpro2) Update 1:'10' (RMpro2 - Command)
2018-04-15 15:48:41.547 User: Admin initiated a switch command (6/RMpro2 - Command/Set Level)
2018-04-15 15:48:41.547 (RMpro2) Pushing 'onCommandCallback' on to queue
2018-04-15 15:48:41.573 (RMpro2) Processing 'onCommandCallback' message
2018-04-15 15:48:41.573 (RMpro2) Calling message handler 'onCommand'.
2018-04-15 15:48:41.573 (RMpro2) onCommand called for Unit 1: Parameter 'Set Level', Level: 40 , Connected : True
2018-04-15 15:48:41.573 (RMpro2) Nothing to reset
2018-04-15 15:48:44.880 User: Admin initiated a switch command (6/RMpro2 - Command/Set Level)
2018-04-15 15:48:44.880 (RMpro2) Pushing 'onCommandCallback' on to queue
2018-04-15 15:48:44.880 (RMpro2) Processing 'onCommandCallback' message
2018-04-15 15:48:44.881 (RMpro2) Calling message handler 'onCommand'.
2018-04-15 15:48:44.881 (RMpro2) onCommand called for Unit 1: Parameter 'Set Level', Level: 10 , Connected : True
2018-04-15 15:48:44.881 (RMpro2) All plugin system is on pause for 5s...
2018-04-15 15:48:44.881 (RMpro2) When Broadlink led is lit press the button on your remote within 5 seconds
2018-04-15 15:48:49.887 (RMpro2) b'\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00'
2018-04-15 15:48:49.887 (RMpro2) 000000000000000000000000
2018-04-15 15:48:49.888 (RMpro2) Code stored in memory
2018-04-15 15:48:49.888 (RMpro2 - Command) Updating device from 1:'10' to have values 1:'20'.
2018-04-15 15:48:49.892 (RMpro2) Update 1:'20' (RMpro2 - Command)
2018-04-15 15:48:49.931 User: Admin initiated a switch command (6/RMpro2 - Command/Set Level)
2018-04-15 15:48:49.931 (RMpro2) Pushing 'onCommandCallback' on to queue
2018-04-15 15:48:49.942 (RMpro2) Processing 'onCommandCallback' message
2018-04-15 15:48:49.943 (RMpro2) Calling message handler 'onCommand'.
2018-04-15 15:48:49.943 (RMpro2) onCommand called for Unit 1: Parameter 'Set Level', Level: 20 , Connected : True
2018-04-15 15:48:49.943 (RMpro2) b'\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00'
2018-04-15 15:48:50.497 (RMpro2) Code Sent....
2018-04-15 15:48:51.339 (RMpro2) Pushing 'onHeartbeatCallback' on to queue
2018-04-15 15:48:51.349 (RMpro2) Processing 'onHeartbeatCallback' message
2018-04-15 15:48:51.349 (RMpro2) Calling message handler 'onHeartbeat'.
2018-04-15 15:48:53.652 User: Admin initiated a switch command (6/RMpro2 - Command/Set Level)
2018-04-15 15:48:53.652 (RMpro2) Pushing 'onCommandCallback' on to queue
2018-04-15 15:48:53.654 (RMpro2) Processing 'onCommandCallback' message
2018-04-15 15:48:53.654 (RMpro2) Calling message handler 'onCommand'.
2018-04-15 15:48:53.654 (RMpro2) onCommand called for Unit 1: Parameter 'Set Level', Level: 30 , Connected : True
2018-04-15 15:48:53.657 (RMpro2) ini file creation..../home/pi/domoticz/plugins/BroadlinkRM2/BroadlinkRM2-4-6.ini
2018-04-15 15:48:53.657 (RMpro2) Creating device '4-6 '.
2018-04-15 15:48:53.659 (RMpro2) Command line : "/home/pi/domoticz/plugins/BroadlinkRM2/plugin_send.py" /home/pi/domoticz/plugins/BroadlinkRM2/BroadlinkRM2-4-6.ini
2018-04-15 15:48:53.659 (RMpro2 - Command) Updating device from 1:'20' to have values 1:'10'.
2018-04-15 15:48:53.663 (RMpro2) Update 1:'10' (RMpro2 - Command)
2018-04-15 15:49:21.345 (RMpro2) Pushing 'onHeartbeatCallback' on to queue
2018-04-15 15:49:21.375 (RMpro2) Processing 'onHeartbeatCallback' message
2018-04-15 15:49:21.375 (RMpro2) Calling message handler 'onHeartbeat'. 

Top
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 »

I get this when I try to run the plugin:
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'.

Running raspbian stretch.

Any suggestions what to do?
jumping
Posts: 14
Joined: Tuesday 19 July 2016 14:49
Target OS: Raspberry Pi / ODroid
Domoticz version: 3.9227
Location: Italy
Contact:

Re: Python Plugin : Broadlink RM2 V4

Post by jumping »

zak45 wrote: Saturday 14 April 2018 17:23
starjuice wrote: Thursday 12 April 2018 14:30 Hello,

I use raspian jessie on RPI3, Domoticz 3.9208 (beta), python 3.4.2 and a RM pro+.

I'm not able to connect to th RM. Only the discover function is ok.
What i'm doing wrong please?
try the 4.1.0
I have 4.0 version, how can I update to 4.1? thanks
Domoticz + Mysensors 2.0 ESP8266 GW + RFlink + Philips Hue 2.0 + Netatmo Thermostat
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 »

jumping wrote: Sunday 15 April 2018 21:25 [I have 4.0 version, how can I update to 4.1? thanks
see viewtopic.php?f=65&t=21645
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: Sunday 15 April 2018 20:11 I get this when I try to run the plugin:
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'.

Running raspbian stretch.

Any suggestions what to do?
show the output of this command :
sudo pip3 show broadlink
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 »

output is:
Name: broadlink
Version: 0.8
Summary: Python API for controlling Broadlink IR controllers
Home-page: http://github.com/mjg59/python-broadlink
Author: Matthew Garrett
Author-email: [email protected]
License: UNKNOWN
Location: /usr/local/lib/python3.5/dist-packages
Requires: pycryptodome, PyCRC
Required-by:
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: Tuesday 17 April 2018 17:00 output is:
Name: broadlink
Version: 0.8
Summary: Python API for controlling Broadlink IR controllers
Home-page: http://github.com/mjg59/python-broadlink
Author: Matthew Garrett
Author-email: [email protected]
License: UNKNOWN
Location: /usr/local/lib/python3.5/dist-packages
Requires: pycryptodome, PyCRC
Required-by:
try this :
cp -r /usr/local/lib/python3.5/dist-packages/broadlink /usr/lib/python3.5

something like that...
starjuice
Posts: 9
Joined: Thursday 12 April 2018 14:20
Target OS: Raspberry Pi / ODroid
Domoticz version: 3.9224
Contact:

Re: Python Plugin : Broadlink RM2 V4

Post by starjuice »

My RPI become unstable... I have to create a new hardward for each signal learned... I cannot use a hardware for more than 1 signal.

Everybody have to do this?

Code: Select all

 (RMpro3) Pushing 'onHeartbeatCallback' on to queue
2018-04-19 01:47:49.671 (RMpro3) Processing 'onHeartbeatCallback' message
2018-04-19 01:47:49.671 (RMpro3) Calling message handler 'onHeartbeat'.
2018-04-19 01:47:50.161 (RMpro4) Pushing 'onHeartbeatCallback' on to queue
2018-04-19 01:47:50.172 (RMpro4) Processing 'onHeartbeatCallback' message
2018-04-19 01:47:50.172 (RMpro4) Calling message handler 'onHeartbeat'.
2018-04-19 01:47:50.263 (RMpro2) Pushing 'onHeartbeatCallback' on to queue
2018-04-19 01:47:50.273 (RMpro2) Processing 'onHeartbeatCallback' message
2018-04-19 01:47:50.273 (RMpro2) Calling message handler 'onHeartbeat'.
2018-04-19 01:47:50.623 (RMpro6) Pushing 'onHeartbeatCallback' on to queue
2018-04-19 01:47:50.624 (RMpro6) Processing 'onHeartbeatCallback' message
2018-04-19 01:47:50.624 (RMpro6) Calling message handler 'onHeartbeat'.
2018-04-19 01:47:50.661 (RMpro5) Pushing 'onHeartbeatCallback' on to queue
2018-04-19 01:47:50.674 (RMpro5) Processing 'onHeartbeatCallback' message
2018-04-19 01:47:50.674 (RMpro5) Calling message handler 'onHeartbeat'.
2018-04-19 01:47:51.161 (RMprotestrf) Pushing 'onHeartbeatCallback' on to queue
2018-04-19 01:47:51.175 (RMprotestrf) Processing 'onHeartbeatCallback' message
2018-04-19 01:47:51.175 (RMprotestrf) Calling message handler 'onHeartbeat'.
2018-04-19 01:47:51.191 (RMprotest) Pushing 'onHeartbeatCallback' on to queue
2018-04-19 01:47:51.225 (RMprotest) Processing 'onHeartbeatCallback' message
2018-04-19 01:47:51.226 (RMprotest) Calling message handler 'onHeartbeat'.
2018-04-19 01:47:51.623 (RMchacon) Pushing 'onHeartbeatCallback' on to queue
2018-04-19 01:47:51.626 (RMchacon) Processing 'onHeartbeatCallback' message
2018-04-19 01:47:51.626 (RMchacon) Calling message handler 'onHeartbeat'.
2018-04-19 01:47:51.690 (RMchacon2) Pushing 'onHeartbeatCallback' on to queue
2018-04-19 01:47:51.727 (RMchacon2) Processing 'onHeartbeatCallback' message
2018-04-19 01:47:51.727 (RMchacon2) Calling message handler 'onHeartbeat'.
2018-04-19 01:47:51.995 (RMmachinelvaisselleON) Pushing 'onHeartbeatCallback' on to queue
2018-04-19 01:47:52.028 (RMmachinelvaisselleON) Processing 'onHeartbeatCallback' message
2018-04-19 01:47:52.028 (RMmachinelvaisselleON) Calling message handler 'onHeartbeat'.
2018-04-19 01:47:52.128 (RMmachinelingeOFF) Pushing 'onHeartbeatCallback' on to queue
2018-04-19 01:47:52.178 (RMmachinelingeOFF) Processing 'onHeartbeatCallback' message
2018-04-19 01:47:52.178 (RMmachinelingeOFF) Calling message handler 'onHeartbeat'.
2018-04-19 01:47:55.336 (RMTVvolmoins) Pushing 'onHeartbeatCallback' on to queue
2018-04-19 01:47:55.385 (RMTVvolmoins) Processing 'onHeartbeatCallback' message
2018-04-19 01:47:55.385 (RMTVvolmoins) Calling message handler 'onHeartbeat'.
2018-04-19 01:47:55.541 (Meteo ) Temp + Humidity + Baro (Temp Hum Bar)
2018-04-19 01:47:55.550 (Meteo ) Wind (Température ressentie)
2018-04-19 01:47:55.559 (Meteo ) UV (UV)
2018-04-19 01:47:55.568 (Meteo ) Rain (Pluie)
2018-04-19 01:47:55.577 (Meteo ) General/Solar Radiation (Radiation solaire)
2018-04-19 01:47:59.265 (RMTVvolplus) Pushing 'onHeartbeatCallback' on to queue
2018-04-19 01:47:59.291 (RMTVvolplus) Processing 'onHeartbeatCallback' message
2018-04-19 01:47:59.291 (RMTVvolplus) Calling message handler 'onHeartbeat'. 
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 »

starjuice wrote: Thursday 19 April 2018 1:58 My RPI become unstable... I have to create a new hardward for each signal learned... I cannot use a hardware for more than 1 signal.
Everybody have to do this?
Nope.. One hardware by physical device...
And as you have already the ini files, you can use the import feature to merge learned code into only one Domoticz hardware.
starjuice
Posts: 9
Joined: Thursday 12 April 2018 14:20
Target OS: Raspberry Pi / ODroid
Domoticz version: 3.9224
Contact:

Re: Python Plugin : Broadlink RM2 V4

Post by starjuice »

zak45 wrote: Thursday 19 April 2018 12:41
starjuice wrote: Thursday 19 April 2018 1:58 My RPI become unstable... I have to create a new hardward for each signal learned... I cannot use a hardware for more than 1 signal.
Everybody have to do this?
Nope.. One hardware by physical device...
And as you have already the ini files, you can use the import feature to merge learned code into only one Domoticz hardware.


You would be nice to explain me how to use the import feature.
When I press to the import button in Domoticz a popup appear "import switching" but nothing happen. :?
If you have a little tutorial for noobs.
Thanks in advance for your help :)
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 »

starjuice wrote: Thursday 19 April 2018 17:15 If you have a little tutorial for noobs.
Thanks in advance for your help :)
The wiki should give you all information :
https://www.domoticz.com/wiki/Plugins/B ... RM2_Device
madrian
Posts: 231
Joined: Saturday 27 August 2016 1:18
Target OS: -
Domoticz version:
Contact:

Re: Python Plugin : Broadlink RM2 V4

Post by madrian »

Hi,

I installed plugin and I added as a new hardware and I am getting this error:

Code: Select all

2018-04-19 21:55:22.946 Error: (Broadlink RM3 mini) Plugin did not stop after 5 seconds, flushing event queue...
2018-04-19 21:55:22.946 (Broadlink RM3 mini) requeuing 'onHeartbeatCallback' message for 'Xiaomi Mi Flower Mate'
2018-04-19 21:55:22.946 Error: (Broadlink RM3 mini) Callback event 'onHeartbeatCallback' (Python call 'onHeartbeat') discarded.
2018-04-19 21:55:22.946 (Broadlink RM3 mini) requeuing 'onHeartbeatCallback' message for 'Xiaomi Mi Flower Mate'
2018-04-19 21:55:22.946 Error: (Broadlink RM3 mini) Callback event 'onHeartbeatCallback' (Python call 'onHeartbeat') discarded.
2018-04-19 21:55:22.946 (Broadlink RM3 mini) requeuing 'onHeartbeatCallback' message for 'Xiaomi Mi Flower Mate'
2018-04-19 21:55:22.946 Error: (Broadlink RM3 mini) Callback event 'onHeartbeatCallback' (Python call 'onHeartbeat') discarded.
2018-04-19 21:55:22.946 (Broadlink RM3 mini) requeuing 'onHeartbeatCallback' message for 'Xiaomi Mi Flower Mate'
2018-04-19 21:55:22.946 Error: (Broadlink RM3 mini) Callback event 'onHeartbeatCallback' (Python call 'onHeartbeat') discarded.
2018-04-19 21:55:22.946 (Broadlink RM3 mini) requeuing 'onHeartbeatCallback' message for 'Xiaomi Mi Flower Mate'
2018-04-19 21:55:22.946 Error: (Broadlink RM3 mini) Callback event 'onHeartbeatCallback' (Python call 'onHeartbeat') discarded.
2018-04-19 21:55:22.946 (Broadlink RM3 mini) requeuing 'onHeartbeatCallback' message for 'Xiaomi Mi Flower Mate'
2018-04-19 21:55:22.946 Error: (Broadlink RM3 mini) Callback event 'onHeartbeatCallback' (Python call 'onHeartbeat') discarded.
2018-04-19 21:55:22.946 (Broadlink RM3 mini) requeuing 'onHeartbeatCallback' message for 'Xiaomi Mi Flower Mate'
2018-04-19 21:55:22.946 Error: (Broadlink RM3 mini) Callback event 'onHeartbeatCallback' (Python call 'onHeartbeat') discarded.
2018-04-19 21:55:22.946 (Broadlink RM3 mini) requeuing 'onHeartbeatCallback' message for 'Xiaomi Mi Flower Mate'
2018-04-19 21:55:22.946 Error: (Broadlink RM3 mini) Callback event 'onHeartbeatCallback' (Python call 'onHeartbeat') discarded.
2018-04-19 21:55:22.946 (Broadlink RM3 mini) requeuing 'onHeartbeatCallback' message for 'Xiaomi Mi Flower Mate'
2018-04-19 21:55:22.946 Error: (Broadlink RM3 mini) Callback event 'onHeartbeatCallback' (Python call 'onHeartbeat') discarded.
2018-04-19 21:55:22.946 (Broadlink RM3 mini) requeuing 'onHeartbeatCallback' message for 'Xiaomi Mi Flower Mate'
2018-04-19 21:55:22.946 Error: (Broadlink RM3 mini) Callback event 'onHeartbeatCallback' (Python call 'onHeartbeat') discarded.
2018-04-19 21:55:22.946 (Broadlink RM3 mini) requeuing 'onHeartbeatCallback' message for 'Xiaomi Mi Flower Mate'
2018-04-19 21:55:22.947 Error: (Broadlink RM3 mini) Callback event 'onHeartbeatCallback' (Python call 'onHeartbeat') discarded.
2018-04-19 21:55:22.947 (Broadlink RM3 mini) requeuing 'onHeartbeatCallback' message for 'Xiaomi Mi Flower Mate'
2018-04-19 21:55:22.947 Error: (Broadlink RM3 mini) Callback event 'onHeartbeatCallback' (Python call 'onHeartbeat') discarded.
2018-04-19 21:55:22.947 (Broadlink RM3 mini) requeuing 'onHeartbeatCallback' message for 'Xiaomi Mi Flower Mate'
2018-04-19 21:55:22.947 Error: (Broadlink RM3 mini) Callback event 'onHeartbeatCallback' (Python call 'onHeartbeat') discarded.
2018-04-19 21:55:22.947 (Broadlink RM3 mini) requeuing 'onHeartbeatCallback' message for 'Xiaomi Mi Flower Mate'
2018-04-19 21:55:22.947 Error: (Broadlink RM3 mini) Callback event 'onHeartbeatCallback' (Python call 'onHeartbeat') discarded.
2018-04-19 21:55:22.947 (Broadlink RM3 mini) requeuing 'onHeartbeatCallback' message for 'Xiaomi Mi Flower Mate'
2018-04-19 21:55:22.947 Error: (Broadlink RM3 mini) Callback event 'onHeartbeatCallback' (Python call 'onHeartbeat') discarded.
2018-04-19 21:55:22.947 (Broadlink RM3 mini) requeuing 'onHeartbeatCallback' message for 'Xiaomi Mi Flower Mate'
2018-04-19 21:55:22.947 Error: (Broadlink RM3 mini) Callback event 'onHeartbeatCallback' (Python call 'onHeartbeat') discarded.
2018-04-19 21:55:22.947 (Broadlink RM3 mini) requeuing 'onHeartbeatCallback' message for 'Xiaomi Mi Flower Mate'
2018-04-19 21:55:22.947 Error: (Broadlink RM3 mini) Callback event 'onHeartbeatCallback' (Python call 'onHeartbeat') discarded.
2018-04-19 21:55:22.947 (Broadlink RM3 mini) requeuing 'onHeartbeatCallback' message for 'Xiaomi Mi Flower Mate'
2018-04-19 21:55:22.947 Error: (Broadlink RM3 mini) Callback event 'onHeartbeatCallback' (Python call 'onHeartbeat') discarded.
2018-04-19 21:55:22.947 (Broadlink RM3 mini) requeuing 'onHeartbeatCallback' message for 'Xiaomi Mi Flower Mate'
2018-04-19 21:55:22.947 Error: (Broadlink RM3 mini) Callback event 'onStopCallback' (Python call 'onStop') discarded.
2018-04-19 21:55:22.947 (Broadlink RM3 mini) Stopping threads.
2018-04-19 21:55:22.947 (Broadlink RM3 mini) Stopped.
2018-04-19 21:55:22.947 (Broadlink RM3 mini) Started.
2018-04-19 21:56:30.277 Error: Broadlink RM3 mini hardware (13) thread seems to have ended unexpectedly
...and no device in Devices are created.

I have another plugin installed Xiaomi Mi Flower Mate, if it is related.
Post Reply

Who is online

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