Python Plugin : Broadlink RM2 V4

Python and python framework

Moderator: leecollings

Loky31
Posts: 40
Joined: Monday 11 March 2019 13:46
Target OS: -
Domoticz version:
Contact:

Re: Python Plugin : Broadlink RM2 V4

Post by Loky31 »

Good hint!!! Thanks!

I have used ihc app ( no the e-control... damned !) .
So I don't know how to find those files...

Is there any known method to do the same? If I install hte econtrol app do I have to start all over again to learn the codes and so on through this app?
scriptkiddie
Posts: 4
Joined: Thursday 21 February 2019 23:06
Target OS: -
Domoticz version:
Contact:

Re: Python Plugin : Broadlink RM2 V4

Post by scriptkiddie »

hello friends...is for the first time when i'm blocked.
I have a server from an old laptop with domoticz and another things...
Recently i buyed a BroadLink RM PRO i installed apk in android phone and it work on phine perfectly.

Now i want to connect with domoticz and i can do that...
i dont know what i need to do...

Code: Select all

root@debian:/home/alex/domoticz/plugins/BroadlinkRM2# ls -a
.   import  plugin_http.py  plugin.py       __pycache__
..  ini     plugin_http.sh  plugin_send.py  remote
root@debian:/home/alex/domoticz/plugins/BroadlinkRM2#

Code: Select all

root@debian:/home/alex/domoticz/plugins/BroadlinkRM2# pip3 list | grep pyaes
DEPRECATION: The default format will switch to columns in the future. You can ue --format=(legacy|columns) (or define a format=(legacy|columns) in your pip.cof under the [list] section) to disable this warning.
pyaes (1.6.1)
root@debian:/home/alex/domoticz/plugins/BroadlinkRM2# pip3 list | grep broadlink
DEPRECATION: The default format will switch to columns in the future. You can use --format=(legacy|columns) (or define a format=(legacy|columns) in your pip.conf under the [list] section) to disable this warning.
broadlink (0.11)
root@debian:/home/alex/domoticz/plugins/BroadlinkRM2#

root@debian:/home/alex/domoticz/plugins/BroadlinkRM2#   sudo pip3 show broadlink
Name: broadlink
Version: 0.11
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: cryptography, PyCRC

root@debian:/home/alex/domoticz/plugins/BroadlinkRM2# pip3 show pyaes
Name: pyaes
Version: 1.6.1
Summary: Pure-Python Implementation of the AES block-cipher and common modes ofoperation
Home-page: https://github.com/ricmoo/pyaes
Author: Richard Moore
Author-email: [email protected]
License: License :: OSI Approved :: MIT License
Location: /usr/local/lib/python3.5/dist-packages/pyaes-1.6.1-py3.5.egg
Requires:
root@debian:/home/alex/domoticz/plugins/BroadlinkRM2# 

root@debian:/home/alex/domoticz/plugins/BroadlinkRM2# python --version
Python 3.5.3

on domoticz log i have...

Code: Select all

2019-06-09 00:19:35.370  (central) Calling message handler 'onHeartbeat'.
2019-06-09 00:19:57.724  Status: Incoming connection from: 192.168.1.105
2019-06-09 00:20:00.314  Status: User: Admin initiated a switch command (18/central - Discovery/Off)
2019-06-09 00:20:00.469  (central) Pushing 'onCommandCallback' on to queue
2019-06-09 00:20:00.495  (central) Processing 'onCommandCallback' message
2019-06-09 00:20:00.504  (central) Calling message handler 'onCommand'.
2019-06-09 00:20:00.505  (central) onCommand called for Unit 1: Parameter 'Off', Level: 0 , Connected : False
2019-06-09 00:20:00.524  (central - Discovery) Updating device from 1:'Found : 0 device(s)' to have values 0:'Off'.
2019-06-09 00:20:00.530  (central) Update 0:'Off' (central - Discovery)
2019-06-09 00:20:03.947  Status: User: Admin initiated a switch command (18/central - Discovery/On)
2019-06-09 00:20:03.948  (central) Pushing 'onCommandCallback' on to queue
2019-06-09 00:20:03.989  (central) Processing 'onCommandCallback' message
2019-06-09 00:20:03.990  (central) Calling message handler 'onCommand'.
2019-06-09 00:20:03.990  (central) onCommand called for Unit 1: Parameter 'On', Level: 0 , Connected : False
2019-06-09 00:20:03.990  (central) All plugin system is on pause for 5s...
2019-06-09 00:20:09.082  (central) Found 0 broadlink devices
2019-06-09 00:20:09.082  (central - Discovery Info) Updating device from 1:'' to have values 1:''.
2019-06-09 00:20:09.089  (central) Update 1:'' (central - Discovery Info)
2019-06-09 00:20:09.089  (central - Discovery) Updating device from 0:'Off' to have values 1:'Found : 0 device(s)'.
2019-06-09 00:20:09.094  (central) Update 1:'Found : 0 device(s)' (central - Discovery)
2019-06-09 00:20:09.948  Status: User: Admin initiated a switch command (18/central - Discovery/On)
2019-06-09 00:20:09.949  (central) Pushing 'onCommandCallback' on to queue
2019-06-09 00:20:09.997  (central) Processing 'onCommandCallback' message
2019-06-09 00:20:09.998  (central) Calling message handler 'onCommand'.
2019-06-09 00:20:09.998  (central) onCommand called for Unit 1: Parameter 'On', Level: 0 , Connected : False
2019-06-09 00:20:09.998  (central) All plugin system is on pause for 5s...
2019-06-09 00:20:10.095  (central) Pushing 'onHeartbeatCallback' on to queue
2019-06-09 00:20:15.004  (central) Found 0 broadlink devices
2019-06-09 00:20:15.005  (central - Discovery Info) Updating device from 1:'' to have values 1:''.
2019-06-09 00:20:15.010  (central) Update 1:'' (central - Discovery Info)
2019-06-09 00:20:15.010  (central) Processing 'onHeartbeatCallback' message
2019-06-09 00:20:15.010  (central) Calling message handler 'onHeartbeat'.
0 devices...
what i do wrong? the device is online it work ok with android phone...
i tried to make manually

Code: Select all

2019-06-09 00:24:15.723  Status: (central) Stopping threads.
2019-06-09 00:24:15.723  Status: (central) Stopped.
2019-06-09 00:24:15.723  Status: (central) Started.
2019-06-09 00:24:16.373  Status: (central) Entering work loop.
2019-06-09 00:24:16.374  Status: (central) Initialized version 4.0.0, author 'zak45'
2019-06-09 00:24:16.376  (central) Debug logging mask set to: PYTHON PLUGIN QUEUE IMAGE DEVICE CONNECTION MESSAGE ALL
2019-06-09 00:24:16.376  (central) Creating device 'Remote'.
2019-06-09 00:24:16.378  (central) 'Database':'/home/alex/domoticz/domoticz.db'
2019-06-09 00:24:16.378  (central) 'DomoticzBuildTime':'2019-05-09 14:04:08'
2019-06-09 00:24:16.378  (central) 'Version':'4.0.0'
2019-06-09 00:24:16.378  (central) 'Mode3':'RM2'
2019-06-09 00:24:16.378  (central) 'UserDataFolder':'/home/alex/domoticz/'
2019-06-09 00:24:16.378  (central) 'HomeFolder':'/home/alex/domoticz/plugins/BroadlinkRM2/'
2019-06-09 00:24:16.379  (central) 'Key':'BroadlinkRM2'
2019-06-09 00:24:16.379  (central) 'Mode4':'no'
2019-06-09 00:24:16.379  (central) 'Name':'central'
2019-06-09 00:24:16.379  (central) 'Language':'ro'
2019-06-09 00:24:16.379  (central) 'HardwareID':'8'
2019-06-09 00:24:16.379  (central) 'Mode5':'9000'
2019-06-09 00:24:16.379  (central) 'DomoticzVersion':'4.10717'
2019-06-09 00:24:16.379  (central) 'Mode1':'C8F74248623D'
2019-06-09 00:24:16.379  (central) 'DomoticzHash':'b38b49e5'
2019-06-09 00:24:16.379  (central) 'Author':'zak45'
2019-06-09 00:24:16.379  (central) 'Address':'192.168.1.120'
2019-06-09 00:24:16.379  (central) 'StartupFolder':'/home/alex/domoticz/'
2019-06-09 00:24:16.379  (central) 'Mode6':'Debug'
2019-06-09 00:24:16.379  (central) 'Mode2':'/tmp/ini'
2019-06-09 00:24:16.379  (central) 'Port':'0'
2019-06-09 00:24:16.380  (central) Device count: 3
2019-06-09 00:24:16.380  (central) Device:           1 - ID: 18, Name: 'central - Discovery', nValue: 0, sValue: 'Off'
2019-06-09 00:24:16.380  (central) Device ID:       '18'
2019-06-09 00:24:16.380  (central) Device Name:     'central - Discovery'
2019-06-09 00:24:16.380  (central) Device nValue:    0
2019-06-09 00:24:16.380  (central) Device sValue:   'Off'
2019-06-09 00:24:16.380  (central) Device LastLevel: 0
2019-06-09 00:24:16.380  (central) Device:           2 - ID: 19, Name: 'central - Discovery Info', nValue: 1, sValue: ''
2019-06-09 00:24:16.380  (central) Device ID:       '19'
2019-06-09 00:24:16.380  (central) Device Name:     'central - Discovery Info'
2019-06-09 00:24:16.380  (central) Device nValue:    1
2019-06-09 00:24:16.380  (central) Device sValue:   ''
2019-06-09 00:24:16.380  (central) Device LastLevel: 0
2019-06-09 00:24:16.380  (central) Device:           254 - ID: 20, Name: 'central - Remote', nValue: 0, sValue: ''
2019-06-09 00:24:16.380  (central) Device ID:       '20'
2019-06-09 00:24:16.381  (central) Device Name:     'central - Remote'
2019-06-09 00:24:16.381  (central) Device nValue:    0
2019-06-09 00:24:16.381  (central) Device sValue:   ''
2019-06-09 00:24:16.381  (central) Device LastLevel: 0
2019-06-09 00:24:16.381  (central) Pushing 'PollIntervalDirective' on to queue
2019-06-09 00:24:16.381  (central) Connecting to: 192.168.1.120:C8F74248623D
2019-06-09 00:24:16.381  Error: (central) Error Connecting to Broadlink device....192.168.1.120
2019-06-09 00:24:16.391  (central) No ini file :/tmp/ini/remote/plugin_remote_8.ini
2019-06-09 00:24:16.391  (central) Custom Commands for Remote not managed
2019-06-09 00:24:16.391  (central) Device Number begin to : 2
2019-06-09 00:24:16.391  (central) Processing 'PollIntervalDirective' message
2019-06-09 00:24:16.391  (central) Heartbeat interval set to: 30.
2019-06-09 00:24:25.035  Status: User: Admin initiated a switch command (20/central - Remote/On)
2019-06-09 00:24:25.036  (central) Pushing 'onCommandCallback' on to queue
2019-06-09 00:24:25.072  (central) Processing 'onCommandCallback' message
2019-06-09 00:24:25.072  (central) Calling message handler 'onCommand'.
2019-06-09 00:24:25.072  (central) onCommand called for Unit 254: Parameter 'On', Level: 0 , Connected : False
2019-06-09 00:24:25.072  (central) Generate on Command for learned code stored on unit/ini :254
2019-06-09 00:24:25.072  Error: (central)  ini file not found: /tmp/ini/BroadlinkRM2-8-254.ini
2019-06-09 00:24:26.376  (central) Pushing 'onHeartbeatCallback' on to queue
2019-06-09 00:24:26.426  (central) Processing 'onHeartbeatCallback' message
2019-06-09 00:24:26.426  (central) Calling message handler 'onHeartbeat'.
2019-06-09 00:24:56.384  (central) Pushing 'onHeartbeatCallback' on to queue
2019-06-09 00:24:56.418  (central) Processing 'onHeartbeatCallback' message
2019-06-09 00:24:56.418  (central) Calling message handler 'onHeartbeat'.
2019-06-09 00:25:26.392  (central) Pushing 'onHeartbeatCallback' on to queue
2019-06-09 00:25:26.404  (central) Processing 'onHeartbeatCallback' message
2019-06-09 00:25:26.404  (central) Calling message handler 'onHeartbeat'.
2019-06-09 00:25:26.405  Error: (central) Error getting temperature data from Broadlink device....Timeout
2019-06-09 00:25:26.405  Error: (central) Error Connecting to Broadlink device....192.168.1.120
2019-06-09 00:25:56.400  (central) Pushing 'onHeartbeatCallback' on to queue
2019-06-09 00:25:56.441  (central) Processing 'onHeartbeatCallback' message
2019-06-09 00:25:56.442  (central) Calling message handler 'onHeartbeat'.
2019-06-09 00:26:26.408  (central) Pushing 'onHeartbeatCallback' on to queue
2019-06-09 00:26:26.435  (central) Processing 'onHeartbeatCallback' message
2019-06-09 00:26:26.435  (central) Calling message handler 'onHeartbeat'.
2019-06-09 00:26:56.419  (central) Pushing 'onHeartbeatCallback' on to queue
2019-06-09 00:26:56.428  (central) Processing 'onHeartbeatCallback' message
2019-06-09 00:26:56.428  (central) Calling message handler 'onHeartbeat'.
2019-06-09 00:27:26.428  (central) Pushing 'onHeartbeatCallback' on to queue
2019-06-09 00:27:26.464  (central) Processing 'onHeartbeatCallback' message
2019-06-09 00:27:26.464  (central) Calling message handler 'onHeartbeat'.
2019-06-09 00:27:56.436  (central) Pushing 'onHeartbeatCallback' on to queue
2019-06-09 00:27:56.450  (central) Processing 'onHeartbeatCallback' message
2019-06-09 00:27:56.450  (central) Calling message handler 'onHeartbeat'.
2019-06-09 00:28:26.444  (central) Pushing 'onHeartbeatCallback' on to queue
2019-06-09 00:28:26.489  (central) Processing 'onHeartbeatCallback' message
2019-06-09 00:28:26.489  (central) Calling message handler 'onHeartbeat'.

2019-06-09 00:29:49.677  Status: User: Admin initiated a switch command (18/central - Discovery/On)
2019-06-09 00:29:49.678  (central) Pushing 'onCommandCallback' on to queue
2019-06-09 00:29:49.682  (central) Processing 'onCommandCallback' message
2019-06-09 00:29:49.682  (central) Calling message handler 'onCommand'.
2019-06-09 00:29:49.682  (central) onCommand called for Unit 1: Parameter 'On', Level: 0 , Connected : False
2019-06-09 00:29:49.682  (central) Generate on Command for learned code stored on unit/ini :1
2019-06-09 00:29:49.682  Error: (central)  ini file not found: /tmp/ini/BroadlinkRM2-8-1.ini
2019-06-09 00:29:56.469  (central) Pushing 'onHeartbeatCallback' on to queue
2019-06-09 00:29:56.501  (central) Processing 'onHeartbeatCallback' message
2019-06-09 00:29:56.502  (central) Calling message handler 'onHeartbeat'.

anny ideea?
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 »

scriptkiddie wrote: Saturday 08 June 2019 23:33
hello friends...is for the first time when i'm blocked.

2019-06-09 00:24:16.374 Status: (central) Initialized version 4.0.0, author 'zak45'

2019-06-09 00:24:16.379 (central) 'Mode1':'C8F74248623D'
2019-06-09 00:24:16.379 (central) 'Address':'192.168.1.120'

2019-06-09 00:24:16.379 (central) 'Mode2':'/tmp/ini'

anny ideea?
Hi,
first, update your release, actual one is 4.2.0, plugin.py can be found on dropbox
second, verify that your ip/mac are the rights one, need to be the one of your Broadlink device
third, as advice, not really good idea to put ini files on temporary folder, but that's up to you;
scriptkiddie
Posts: 4
Joined: Thursday 21 February 2019 23:06
Target OS: -
Domoticz version:
Contact:

Re: Python Plugin : Broadlink RM2 V4

Post by scriptkiddie »

I updated...

Code: Select all

2019-06-09 21:58:34.081  Status: (central) Initialized version 4.2.0, author 'zak45'
2019-06-09 22:01:39.828  Status: (central) Initialized version 4.2.0, author 'zak45'
2019-06-09 22:04:24.872  Status: (central) Initialized version 4.2.0, author 'zak45'

Code: Select all

2019-06-09 22:11:34.252  (central) Calling message handler 'onHeartbeat'.
2019-06-09 22:12:04.250  (central) Pushing 'onHeartbeatCallback' on to queue
2019-06-09 22:12:04.298  (central) Processing 'onHeartbeatCallback' message
2019-06-09 22:12:04.298  (central) Calling message handler 'onHeartbeat'.
2019-06-09 22:12:34.259  (central) Pushing 'onHeartbeatCallback' on to queue
2019-06-09 22:12:34.291  (central) Processing 'onHeartbeatCallback' message
2019-06-09 22:12:34.292  (central) Calling message handler 'onHeartbeat'.
2019-06-09 22:13:04.267  (central) Pushing 'onHeartbeatCallback' on to queue
2019-06-09 22:13:04.282  (central) Processing 'onHeartbeatCallback' message
2019-06-09 22:13:04.282  (central) Calling message handler 'onHeartbeat'.
2019-06-09 22:13:34.276  (central) Pushing 'onHeartbeatCallback' on to queue
2019-06-09 22:13:34.318  (central) Processing 'onHeartbeatCallback' message
2019-06-09 22:13:34.318  (central) Calling message handler 'onHeartbeat'.
2019-06-09 22:13:55.145  Status: User: Admin initiated a switch command (20/central - Remote/On)
2019-06-09 22:13:55.145  (central) Pushing 'onCommandCallback' on to queue
2019-06-09 22:13:55.180  (central) Processing 'onCommandCallback' message
2019-06-09 22:13:55.181  (central) Calling message handler 'onCommand'.
2019-06-09 22:13:55.181  (central) onCommand called for Unit 254: Parameter 'On', Level: 0 , Connected : False
2019-06-09 22:13:55.181  (central) Generate on Command for learned code stored on unit/ini :254
2019-06-09 22:13:55.181  Error: (central)  ini file not found: /tmp/ini/BroadlinkRM2-8-254.ini
2019-06-09 22:14:04.284  (central) Pushing 'onHeartbeatCallback' on to queue
2019-06-09 22:14:04.308  (central) Processing 'onHeartbeatCallback' message
2019-06-09 22:14:04.308  (central) Calling message handler 'onHeartbeat'.
2019-06-09 22:14:08.620  Status: User: Admin initiated a switch command (18/central - Discovery/On)
2019-06-09 22:14:08.621  (central) Pushing 'onCommandCallback' on to queue
2019-06-09 22:14:08.671  (central) Processing 'onCommandCallback' message
2019-06-09 22:14:08.672  (central) Calling message handler 'onCommand'.
2019-06-09 22:14:08.672  (central) onCommand called for Unit 1: Parameter 'On', Level: 0 , Connected : False
2019-06-09 22:14:08.672  (central) Generate on Command for learned code stored on unit/ini :1
2019-06-09 22:14:08.672  Error: (central)  ini file not found: /tmp/ini/BroadlinkRM2-8-1.ini

Code: Select all

root@debian:/tmp/ini# tail -50  /tmp/domoticz.txt
2019-06-09 22:18:04.373  (central) Calling message handler 'onHeartbeat'.
2019-06-09 22:18:34.362  (central) Pushing 'onHeartbeatCallback' on to queue
2019-06-09 22:18:34.363  (central) Processing 'onHeartbeatCallback' message
2019-06-09 22:18:34.364  (central) Calling message handler 'onHeartbeat'.
2019-06-09 22:19:04.371  (central) Pushing 'onHeartbeatCallback' on to queue
2019-06-09 22:19:04.406  (central) Processing 'onHeartbeatCallback' message
2019-06-09 22:19:04.407  (central) Calling message handler 'onHeartbeat'.
2019-06-09 22:19:34.380  (central) Pushing 'onHeartbeatCallback' on to queue
2019-06-09 22:19:34.406  (central) Processing 'onHeartbeatCallback' message
2019-06-09 22:19:34.406  (central) Calling message handler 'onHeartbeat'.
2019-06-09 22:20:04.391  (central) Pushing 'onHeartbeatCallback' on to queue
2019-06-09 22:20:04.397  (central) Processing 'onHeartbeatCallback' message
2019-06-09 22:20:04.397  (central) Calling message handler 'onHeartbeat'.
2019-06-09 22:20:04.466  (central) Connected to Broadlink device: 192.168.1.120
2019-06-09 22:20:34.400  (central) Pushing 'onHeartbeatCallback' on to queue
2019-06-09 22:20:34.415  (central) Processing 'onHeartbeatCallback' message
2019-06-09 22:20:34.416  (central) Calling message handler 'onHeartbeat'.
2019-06-09 22:21:04.409  (central) Pushing 'onHeartbeatCallback' on to queue
2019-06-09 22:21:04.412  (central) Processing 'onHeartbeatCallback' message
2019-06-09 22:21:04.412  (central) Calling message handler 'onHeartbeat'.
2019-06-09 22:21:34.418  (central) Pushing 'onHeartbeatCallback' on to queue
2019-06-09 22:21:34.449  (central) Processing 'onHeartbeatCallback' message
2019-06-09 22:21:34.450  (central) Calling message handler 'onHeartbeat'.
2019-06-09 22:21:52.901  Status: User: Admin initiated a switch command (20/central - Remote/On)
2019-06-09 22:21:52.902  (central) Pushing 'onCommandCallback' on to queue
2019-06-09 22:21:52.905  (central) Processing 'onCommandCallback' message
2019-06-09 22:21:52.905  (central) Calling message handler 'onCommand'.
2019-06-09 22:21:52.905  (central) onCommand called for Unit 254: Parameter 'On', Level: 0 , Connected : True
2019-06-09 22:21:52.905  (central) Generate on Command for learned code stored on unit/ini :254
2019-06-09 22:21:52.906  Error: (central)  ini file not found: /tmp/ini/BroadlinkRM2-8-254.ini
2019-06-09 22:21:58.052  Status: User: Admin initiated a switch command (18/central - Discovery/Off)
2019-06-09 22:21:58.053  (central) Pushing 'onCommandCallback' on to queue
2019-06-09 22:21:58.072  (central) Processing 'onCommandCallback' message
2019-06-09 22:21:58.072  (central) Calling message handler 'onCommand'.
2019-06-09 22:21:58.072  (central) onCommand called for Unit 1: Parameter 'Off', Level: 0 , Connected : True
2019-06-09 22:21:58.073  (central - Discovery) Updating device from 1:'10' to have values 0:'Off'.
2019-06-09 22:21:58.079  (central) Update 0:'Off' (central - Discovery)
2019-06-09 22:22:00.742  Status: User: Admin initiated a switch command (18/central - Discovery/On)
2019-06-09 22:22:00.743  (central) Pushing 'onCommandCallback' on to queue
2019-06-09 22:22:00.744  (central) Processing 'onCommandCallback' message
2019-06-09 22:22:00.744  (central) Calling message handler 'onCommand'.
2019-06-09 22:22:00.744  (central) onCommand called for Unit 1: Parameter 'On', Level: 0 , Connected : True
2019-06-09 22:22:00.745  (central) Generate on Command for learned code stored on unit/ini :1
2019-06-09 22:22:00.745  Error: (central)  ini file not found: /tmp/ini/BroadlinkRM2-8-1.ini
2019-06-09 22:22:04.427  (central) Pushing 'onHeartbeatCallback' on to queue
2019-06-09 22:22:04.457  (central) Processing 'onHeartbeatCallback' message
2019-06-09 22:22:04.457  (central) Calling message handler 'onHeartbeat'.
2019-06-09 22:22:34.435  (central) Pushing 'onHeartbeatCallback' on to queue
2019-06-09 22:22:34.447  (central) Processing 'onHeartbeatCallback' message
2019-06-09 22:22:34.447  (central) Calling message handler 'onHeartbeat'.
ip and mac
Image
Image

i put in tmp because i think he don't have rights but i maked chmod 755 ...


update ...
i don't do anything and he modify in this...

Image
Image

Code: Select all

2019-06-09 22:25:04.477  (central) Pushing 'onHeartbeatCallback' on to queue
2019-06-09 22:25:04.501  (central) Processing 'onHeartbeatCallback' message
2019-06-09 22:25:04.501  (central) Calling message handler 'onHeartbeat'.
2019-06-09 22:25:04.565  (central) Connected to Broadlink device: 192.168.1.120
2019-06-09 22:25:04.565  (central - Discovery) Updating device from 0:'Off' to have values 1:'10'.
2019-06-09 22:25:04.572  (central) Update 1:'10' (central - Discovery)
2019-06-09 22:25:34.485  (central) Pushing 'onHeartbeatCallback' on to queue
2019-06-09 22:25:34.510  (central) Processing 'onHeartbeatCallback' message
2019-06-09 22:25:34.510  (central) Calling message handler 'onHeartbeat'.
what i need to do?
scriptkiddie
Posts: 4
Joined: Thursday 21 February 2019 23:06
Target OS: -
Domoticz version:
Contact:

Re: Python Plugin : Broadlink RM2 V4

Post by scriptkiddie »

nobody?
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 »

scriptkiddie wrote: Wednesday 12 June 2019 21:38nobody?
try to remove devices and reload the plugin.
Loky31
Posts: 40
Joined: Monday 11 March 2019 13:46
Target OS: -
Domoticz version:
Contact:

Re: Python Plugin : Broadlink RM2 V4

Post by Loky31 »

Hello again all,

So I gave a try with the e-control app, adding some RF commands for a switch and then share through the app, copy paste the JSON files into the domoticz RM2 pluggin directory and finally get the same error :
2019-06-15 16:31:45.140 Error: (RM salon) 'onCommand' failed 'FileNotFoundError'.
2019-06-15 16:31:45.141 Error: (RM salon) ----> Line 265 in '/home/pi/domoticz/plugins/BroadlinkRM2/plugin.py', function onCommand
2019-06-15 16:31:45.141 Error: (RM salon) ----> Line 825 in '/home/pi/domoticz/plugins/BroadlinkRM2/plugin.py', function createIniImport

Is this only working for IR commands or RF commands are also took into account?
That's my last guess as a reason for this not to work...

Edit :
I've tried to use the getBroadlinkSharedData.py but ended with that:

pi@raspberrypi:~/domoticz/plugins/BroadlinkRM2 $ python getBroadlinkSharedData.p y
Traceback (most recent call last):
File "getBroadlinkSharedData.py", line 20, in <module>
import simplejson as json
ImportError: No module named simplejson

So I did install the simplejson and get again orginial file true mozilla and now my web server is back to the 127 error with access right...

/suicide!
Flappie
Posts: 18
Joined: Tuesday 10 January 2017 16:40
Target OS: Raspberry Pi / ODroid
Domoticz version:
Contact:

Re: Python Plugin : Broadlink RM2 V4

Post by Flappie »

Tried to install the Broadlink RM2 V4 plugin on my Raspberry Pi:

copied the files "plugin_send.py" , "plugin_http.sh", "plugin_http.py" and "plugin.py" to /home/pi/domoticz/plugins/BroadlinkRM2/

Then installed the required modules:
sudo apt install python-pip
sudo pip3 install pyaes
sudo pip3 install broadlink

Last commmand fails with this errors:
Failed building wheel for cffi

and

Command "/usr/bin/python3 -u -c "import setuptools, tokenize;__file__='/tmp/pip-build-5omen2nv/cffi/setup.py';f=getattr(tokenize, 'open', open)(__file__);code=f.read().replace('\r\n', '\n');f.close();exec(compile(code, __file__, 'exec'))" install --record /tmp/pip-cmn1bjq2-record/install-record.txt --single-version-externally-managed --compile" failed with error code 1 in /tmp/pip-build-5omen2nv/cffi/
Flappie
Posts: 18
Joined: Tuesday 10 January 2017 16:40
Target OS: Raspberry Pi / ODroid
Domoticz version:
Contact:

Re: Python Plugin : Broadlink RM2 V4

Post by Flappie »

Flappie wrote: Thursday 20 June 2019 16:09 Tried to install the Broadlink RM2 V4 plugin on my Raspberry Pi:

copied the files "plugin_send.py" , "plugin_http.sh", "plugin_http.py" and "plugin.py" to /home/pi/domoticz/plugins/BroadlinkRM2/

Then installed the required modules:
sudo apt install python-pip
sudo pip3 install pyaes
sudo pip3 install broadlink

Last commmand fails with this errors:
Failed building wheel for cffi

and

Command "/usr/bin/python3 -u -c "import setuptools, tokenize;__file__='/tmp/pip-build-5omen2nv/cffi/setup.py';f=getattr(tokenize, 'open', open)(__file__);code=f.read().replace('\r\n', '\n');f.close();exec(compile(code, __file__, 'exec'))" install --record /tmp/pip-cmn1bjq2-record/install-record.txt --single-version-externally-managed --compile" failed with error code 1 in /tmp/pip-build-5omen2nv/cffi/
Already fixed it with:
sudo apt-get install libffi-dev libssl-dev
Loky31
Posts: 40
Joined: Monday 11 March 2019 13:46
Target OS: -
Domoticz version:
Contact:

Re: Python Plugin : Broadlink RM2 V4

Post by Loky31 »

Flappie wrote: Thursday 20 June 2019 16:26
Flappie wrote: Thursday 20 June 2019 16:09 Tried to install the Broadlink RM2 V4 plugin on my Raspberry Pi:

copied the files "plugin_send.py" , "plugin_http.sh", "plugin_http.py" and "plugin.py" to /home/pi/domoticz/plugins/BroadlinkRM2/

Then installed the required modules:
sudo apt install python-pip
sudo pip3 install pyaes
sudo pip3 install broadlink

Last commmand fails with this errors:
Failed building wheel for cffi

and

Command "/usr/bin/python3 -u -c "import setuptools, tokenize;__file__='/tmp/pip-build-5omen2nv/cffi/setup.py';f=getattr(tokenize, 'open', open)(__file__);code=f.read().replace('\r\n', '\n');f.close();exec(compile(code, __file__, 'exec'))" install --record /tmp/pip-cmn1bjq2-record/install-record.txt --single-version-externally-managed --compile" failed with error code 1 in /tmp/pip-build-5omen2nv/cffi/
Already fixed it with:
sudo apt-get install libffi-dev libssl-dev
Is the pluggin working well for you then? I mean web import and so on?
Flappie
Posts: 18
Joined: Tuesday 10 January 2017 16:40
Target OS: Raspberry Pi / ODroid
Domoticz version:
Contact:

Re: Python Plugin : Broadlink RM2 V4

Post by Flappie »

Okey, received my RM3 Mini today. Installed the app and connected it to the network.

The plugin however, isn't working!
It keeps saying:
2019-06-29 14:16:33.595 Error: (Broadlink RM3 Mini) ini file not found: /home/pi/domoticz/plugins/BroadlinkRM2/BroadlinkRM2-17-254.ini

The file BroadlinkRM2-17-254.ini doesn't exists and is not auto created?
Do i need to create it manualy ?

When i press the "learn" button, the light on de the broadlink is on, so it looks like it does something :)
EddyG
Posts: 1042
Joined: Monday 02 November 2015 5:54
Target OS: -
Domoticz version:

Re: Python Plugin : Broadlink RM2 V4

Post by EddyG »

The plugin works fine in my setup on a Raspberry Pi 3B+
BUT: several times per day I get this error:

Code: Select all

2019-06-30 18:07:07.239 Error: Broadlink hardware (35) thread seems to have ended unexpectedly
I am using Domoticz v.4.10717 Python 3.5.3 on Linux domoticz 4.14.83v7-aufs #1 SMP Wed Nov 28 22:52:43 CET 2018 armv7l GNU/Linux
All other plugins works fine. Domoticz is running fine for 14 days now. System is up for over 38 days and running fine.
What might cause the error?
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 »

EddyG wrote: Monday 01 July 2019 8:20 The plugin works fine in my setup on a Raspberry Pi 3B+
BUT: several times per day I get this error:

Code: Select all

2019-06-30 18:07:07.239 Error: Broadlink hardware (35) thread seems to have ended unexpectedly
I am using Domoticz v.4.10717 Python 3.5.3 on Linux domoticz 4.14.83v7-aufs #1 SMP Wed Nov 28 22:52:43 CET 2018 armv7l GNU/Linux
All other plugins works fine. Domoticz is running fine for 14 days now. System is up for over 38 days and running fine.
What might cause the error?
this could happend when plugin could not reach the device due to network problem. Got this error also on my win installation every time when I had network issue (wire deconnected, tcp/ip hang, ...)
Flappie
Posts: 18
Joined: Tuesday 10 January 2017 16:40
Target OS: Raspberry Pi / ODroid
Domoticz version:
Contact:

Re: Python Plugin : Broadlink RM2 V4

Post by Flappie »

Can anyone confirm this plugin works with the latest beta of Domoticz?
mantoz
Posts: 42
Joined: Sunday 12 November 2017 22:23
Target OS: Raspberry Pi / ODroid
Domoticz version:
Contact:

Re: Python Plugin : Broadlink RM2 V4

Post by mantoz »

Flappie wrote: Friday 19 July 2019 10:43 Can anyone confirm this plugin works with the latest beta of Domoticz?
Hi,
to be sincere, I tried in the past days but I'm not able to make it work with my RM mini3.
While the import feature seems to work, I am not able to get domoticz connected to the RM mini3 while it is sending commands.
Everything is ok with the app on my mobile phone, it just doesn't work from domoticz with the python script.

From my side, anyone with some tip or trick is welcome.
mantoz
alextk69
Posts: 2
Joined: Friday 16 August 2019 9:47
Target OS: Linux
Domoticz version: 4.11200
Location: Bulgaria
Contact:

Re: Python Plugin : Broadlink RM2 V4

Post by alextk69 »

I found the problem.
What I did to resolve the issue was to remove the broadlink plugin and to install an older version of it that I know was working before.
So all you have to do is the following:

Code: Select all

sudo pip3 uninstall broadlink

sudo -H pip3 install broadlink==0.10
After doing this I restarted domoticz and then I was able to find my rm3 mini devices.
I hope this will help you and good luck!
nezber
Posts: 4
Joined: Wednesday 09 August 2017 22:42
Target OS: Raspberry Pi / ODroid
Domoticz version:
Contact:

Re: Python Plugin : Broadlink RM2 V4

Post by nezber »

Sorry realise this is an old post however I seem to be having similar issues to a lot on here but can't seem to see the response.

I have reinstalled domoticz and got the Broadlink connected OK, however the learn button seems really temperamental, I am trying to learn RF commands and sometimes it works, others not it seems to learn one then need a full reboot of the Pi before it will learn anything else.

I am running it on a Pi

Any thoughts or help much appreciated

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

nezber wrote: Wednesday 04 December 2019 14:10 I have reinstalled domoticz and got the Broadlink connected OK, however the learn button seems really temperamental, I am trying to learn RF commands and sometimes it works
RF should not work with this relaese. Next one will include it.
Jufo
Posts: 28
Joined: Friday 17 February 2017 13:24
Target OS: Linux
Domoticz version: 3.9389
Location: Poland
Contact:

Re: Python Plugin : Broadlink RM2 V4

Post by Jufo »

I have a problem with the new installation, please help :)
Without plugin, Domoticz works correctly.

System: Debian Buster
Domoticz: 4.11690

Code: Select all

2020-02-14 18:13:56.036  Status: PluginSystem: Entering work loop.
2020-02-14 18:13:56.138  Error: Domoticz(pid:535, tid:539('PluginMgr')) received fatal signal 11 (Segmentation fault)
2020-02-14 18:13:56.138  Error: siginfo address=0x217, address=0x7f33b3bca5cb
2020-02-14 18:13:56.141  Error: Failed to start gdb, will use backtrace() for printing stack frame

2020-02-14 18:13:56.151  Error: #0  /home/robert/domoticz/domoticz() [0x735e53]
2020-02-14 18:13:56.151  Error: #1  /home/robert/domoticz/domoticz : signal_handler(int, siginfo_t*, void*) + 0x295 [0x736975]
2020-02-14 18:13:56.151  Error: #2  /lib/x86_64-linux-gnu/libpthread.so.0 :  + 0x12730 [0x7f33b3bca730]
2020-02-14 18:13:56.151  Error: #3  /lib/x86_64-linux-gnu/libpthread.so.0 : raise + 0x10b [0x7f33b3bca5cb]
2020-02-14 18:13:56.151  Error: #4  /lib/x86_64-linux-gnu/libpthread.so.0 :  + 0x12730 [0x7f33b3bca730]
2020-02-14 18:13:56.151  Error: #5  /lib/x86_64-linux-gnu/libc.so.6 :  + 0x90a4a [0x7f33b38d9a4a]
2020-02-14 18:13:56.151  Error: #6  /home/robert/domoticz/domoticz() [0xc47429]
2020-02-14 18:13:56.151  Error: #7  /home/robert/domoticz/domoticz : lh_insert + 0x4c [0xc476dc]
2020-02-14 18:13:56.151  Error: #8  /home/robert/domoticz/domoticz : OBJ_NAME_add + 0x63 [0xc10543]
2020-02-14 18:13:56.151  Error: #9  /lib/x86_64-linux-gnu/libcrypto.so.1.1 :  + 0x16f11e [0x7f3395b6711e]
2020-02-14 18:13:56.151  Error: #10 /lib/x86_64-linux-gnu/libcrypto.so.1.1 :  + 0x189f99 [0x7f3395b81f99]
2020-02-14 18:13:56.151  Error: #11 /lib/x86_64-linux-gnu/libpthread.so.0 :  + 0xf997 [0x7f33b3bc7997]
2020-02-14 18:13:56.151  Error: #12 /lib/x86_64-linux-gnu/libcrypto.so.1.1 : CRYPTO_THREAD_run_once + 0x9 [0x7f3395bebc09]
2020-02-14 18:13:56.151  Error: #13 /lib/x86_64-linux-gnu/libcrypto.so.1.1 : OPENSSL_init_crypto + 0x263 [0x7f3395b82503]
2020-02-14 18:13:56.151  Error: #14 /usr/lib/python3.7/lib-dynload/_hashlib.cpython-37m-x86_64-linux-gnu.so : PyInit__hashlib + 0x11 [0x7f33b093ba41]
2020-02-14 18:13:56.151  Error: #15 /lib/x86_64-linux-gnu/libpython3.7m.so : _PyImport_LoadDynamicModuleWithSpec + 0x183 [0x7f33b2770a93]
2020-02-14 18:13:56.151  Error: #16 /lib/x86_64-linux-gnu/libpython3.7m.so :  + 0x18600b [0x7f33b277100b]
2020-02-14 18:13:56.151  Error: #17 /lib/x86_64-linux-gnu/libpython3.7m.so : _PyMethodDef_RawFastCallDict + 0x1d7 [0x7f33b285ff37]
2020-02-14 18:13:56.151  Error: #18 /lib/x86_64-linux-gnu/libpython3.7m.so : _PyCFunction_FastCallDict + 0x25 [0x7f33b2860a45]
2020-02-14 18:13:56.151  Error: #19 /lib/x86_64-linux-gnu/libpython3.7m.so : _PyEval_EvalFrameDefault + 0x78e0 [0x7f33b2661700]
2020-02-14 18:13:56.151  Error: #20 /lib/x86_64-linux-gnu/libpython3.7m.so : _PyEval_EvalCodeWithName + 0x996 [0x7f33b27891e6]
2020-02-14 18:13:56.151  Error: #21 /lib/x86_64-linux-gnu/libpython3.7m.so : _PyFunction_FastCallKeywords + 0x93 [0x7f33b2860123]
2020-02-14 18:13:56.151  Error: #22 /lib/x86_64-linux-gnu/libpython3.7m.so : _PyEval_EvalFrameDefault + 0x7b95 [0x7f33b26619b5]
2020-02-14 18:13:56.151  Error: #23 /lib/x86_64-linux-gnu/libpython3.7m.so :  + 0x794d3 [0x7f33b26644d3]
2020-02-14 18:13:56.151  Error: #24 /lib/x86_64-linux-gnu/libpython3.7m.so : _PyEval_EvalFrameDefault + 0x9334 [0x7f33b2663154]
2020-02-14 18:13:56.151  Error: #25 /lib/x86_64-linux-gnu/libpython3.7m.so :  + 0x794d3 [0x7f33b26644d3]
2020-02-14 18:13:56.151  Error: #26 /lib/x86_64-linux-gnu/libpython3.7m.so : _PyEval_EvalFrameDefault + 0x5d1c [0x7f33b265fb3c]
2020-02-14 18:13:56.151  Error: #27 /lib/x86_64-linux-gnu/libpython3.7m.so :  + 0x794d3 [0x7f33b26644d3]
2020-02-14 18:13:56.151  Error: #28 /lib/x86_64-linux-gnu/libpython3.7m.so : _PyEval_EvalFrameDefault + 0x5d1c [0x7f33b265fb3c]
2020-02-14 18:13:56.151  Error: #29 /lib/x86_64-linux-gnu/libpython3.7m.so :  + 0x794d3 [0x7f33b26644d3]
2020-02-14 18:13:56.151  Error: #30 /lib/x86_64-linux-gnu/libpython3.7m.so : _PyEval_EvalFrameDefault + 0x5d1c [0x7f33b265fb3c]
2020-02-14 18:13:56.151  Error: #31 /lib/x86_64-linux-gnu/libpython3.7m.so :  + 0x794d3 [0x7f33b26644d3]
2020-02-14 18:13:56.151  Error: #32 /lib/x86_64-linux-gnu/libpython3.7m.so : _PyFunction_FastCallDict + 0x2e2 [0x7f33b2860542]
2020-02-14 18:13:56.151  Error: #33 /lib/x86_64-linux-gnu/libpython3.7m.so :  + 0x276d60 [0x7f33b2861d60]
2020-02-14 18:13:56.151  Error: #34 /lib/x86_64-linux-gnu/libpython3.7m.so : _PyObject_CallMethodIdObjArgs + 0xa9 [0x7f33b2862389]
2020-02-14 18:13:56.151  Error: #35 /lib/x86_64-linux-gnu/libpython3.7m.so : PyImport_ImportModuleLevelObject + 0x60f [0x7f33b266c83f]
2020-02-14 18:13:56.151  Error: #36 /lib/x86_64-linux-gnu/libpython3.7m.so : _PyEval_EvalFrameDefault + 0x747a [0x7f33b266129a]
2020-02-14 18:13:56.151  Error: #37 /lib/x86_64-linux-gnu/libpython3.7m.so : _PyEval_EvalCodeWithName + 0x996 [0x7f33b27891e6]
2020-02-14 18:13:56.151  Error: #38 /lib/x86_64-linux-gnu/libpython3.7m.so : PyEval_EvalCodeEx + 0x3e [0x7f33b278946e]
2020-02-14 18:13:56.151  Error: #39 /lib/x86_64-linux-gnu/libpython3.7m.so : PyEval_EvalCode + 0x1b [0x7f33b278a23b]
2020-02-14 18:13:56.151  Error: #40 /lib/x86_64-linux-gnu/libpython3.7m.so :  + 0x1a2bdd [0x7f33b278dbdd]
2020-02-14 18:13:56.151  Error: #41 /lib/x86_64-linux-gnu/libpython3.7m.so : _PyMethodDef_RawFastCallDict + 0x1d7 [0x7f33b285ff37]
2020-02-14 18:13:56.151  Error: #42 /lib/x86_64-linux-gnu/libpython3.7m.so : _PyCFunction_FastCallDict + 0x25 [0x7f33b2860a45]
2020-02-14 18:13:56.151  Error: #43 /lib/x86_64-linux-gnu/libpython3.7m.so : _PyEval_EvalFrameDefault + 0x78e0 [0x7f33b2661700]
2020-02-14 18:13:56.151  Error: #44 /lib/x86_64-linux-gnu/libpython3.7m.so : _PyEval_EvalCodeWithName + 0x996 [0x7f33b27891e6]
2020-02-14 18:13:56.151  Error: #45 /lib/x86_64-linux-gnu/libpython3.7m.so : _PyFunction_FastCallKeywords + 0x93 [0x7f33b2860123]
2020-02-14 18:13:56.151  Error: #46 /lib/x86_64-linux-gnu/libpython3.7m.so : _PyEval_EvalFrameDefault + 0x7b95 [0x7f33b26619b5]
2020-02-14 18:13:56.151  Error: #47 /lib/x86_64-linux-gnu/libpython3.7m.so :  + 0x794d3 [0x7f33b26644d3]
2020-02-14 18:13:56.151  Error: #48 /lib/x86_64-linux-gnu/libpython3.7m.so : _PyEval_EvalFrameDefault + 0x9334 [0x7f33b2663154]
2020-02-14 18:13:56.151  Error: #49 /lib/x86_64-linux-gnu/libpython3.7m.so :  + 0x794d3 [0x7f33b26644d3]
2020-02-14 18:13:56.151  Error: #50 /lib/x86_64-linux-gnu/libpython3.7m.so : _PyEval_EvalFrameDefault + 0x5d1c [0x7f33b265fb3c]
2020-02-14 18:13:56.151  Error: #51 /lib/x86_64-linux-gnu/libpython3.7m.so :  + 0x794d3 [0x7f33b26644d3]
2020-02-14 18:13:56.151  Error: #52 /lib/x86_64-linux-gnu/libpython3.7m.so : _PyEval_EvalFrameDefault + 0x5d1c [0x7f33b265fb3c]
2020-02-14 18:13:56.151  Error: #53 /lib/x86_64-linux-gnu/libpython3.7m.so :  + 0x794d3 [0x7f33b26644d3]
2020-02-14 18:13:56.151  Error: #54 /lib/x86_64-linux-gnu/libpython3.7m.so : _PyFunction_FastCallDict + 0x2e2 [0x7f33b2860542]
2020-02-14 18:13:56.151  Error: #55 /lib/x86_64-linux-gnu/libpython3.7m.so :  + 0x276d60 [0x7f33b2861d60]
2020-02-14 18:13:56.151  Error: #56 /lib/x86_64-linux-gnu/libpython3.7m.so : _PyObject_CallMethodIdObjArgs + 0xa9 [0x7f33b2862389]
2020-02-14 18:13:56.151  Error: #57 /lib/x86_64-linux-gnu/libpython3.7m.so : PyImport_ImportModuleLevelObject + 0x60f [0x7f33b266c83f]
2020-02-14 18:13:56.151  Error: #58 /lib/x86_64-linux-gnu/libpython3.7m.so : _PyEval_EvalFrameDefault + 0x747a [0x7f33b266129a]
2020-02-14 18:13:56.151  Error: #59 /lib/x86_64-linux-gnu/libpython3.7m.so : _PyEval_EvalCodeWithName + 0x996 [0x7f33b27891e6]
2020-02-14 18:13:56.151  Error: #60 /lib/x86_64-linux-gnu/libpython3.7m.so : PyEval_EvalCodeEx + 0x3e [0x7f33b278946e]
2020-02-14 18:13:56.151  Error: #61 /lib/x86_64-linux-gnu/libpython3.7m.so : PyEval_EvalCode + 0x1b [0x7f33b278a23b]
2020-02-14 18:13:56.151  Error: #62 /lib/x86_64-linux-gnu/libpython3.7m.so :  + 0x1a2bdd [0x7f33b278dbdd]
2020-02-14 18:13:56.151  Error: #63 /lib/x86_64-linux-gnu/libpython3.7m.so : _PyMethodDef_RawFastCallDict + 0x1d7 [0x7f33b285ff37]
2020-02-14 18:13:56.151  Error: #64 /lib/x86_64-linux-gnu/libpython3.7m.so : _PyCFunction_FastCallDict + 0x25 [0x7f33b2860a45]
2020-02-14 18:13:56.151  Error: #65 /lib/x86_64-linux-gnu/libpython3.7m.so : _PyEval_EvalFrameDefault + 0x78e0 [0x7f33b2661700]
2020-02-14 18:13:56.151  Error: #66 /lib/x86_64-linux-gnu/libpython3.7m.so : _PyEval_EvalCodeWithName + 0x996 [0x7f33b27891e6]
2020-02-14 18:13:56.151  Error: #67 /lib/x86_64-linux-gnu/libpython3.7m.so : _PyFunction_FastCallKeywords + 0x93 [0x7f33b2860123]
2020-02-14 18:13:56.151  Error: #68 /lib/x86_64-linux-gnu/libpython3.7m.so : _PyEval_EvalFrameDefault + 0x7b95 [0x7f33b26619b5]
2020-02-14 18:13:56.151  Error: #69 /lib/x86_64-linux-gnu/libpython3.7m.so :  + 0x794d3 [0x7f33b26644d3]
2020-02-14 18:13:56.151  Error: #70 /lib/x86_64-linux-gnu/libpython3.7m.so : _PyEval_EvalFrameDefault + 0x9334 [0x7f33b2663154]
2020-02-14 18:13:56.151  Error: #71 /lib/x86_64-linux-gnu/libpython3.7m.so :  + 0x794d3 [0x7f33b26644d3]
2020-02-14 18:13:56.151  Error: #72 /lib/x86_64-linux-gnu/libpython3.7m.so : _PyEval_EvalFrameDefault + 0x5d1c [0x7f33b265fb3c]
2020-02-14 18:13:56.151  Error: #73 /lib/x86_64-linux-gnu/libpython3.7m.so :  + 0x794d3 [0x7f33b26644d3]
2020-02-14 18:13:56.151  Error: #74 /lib/x86_64-linux-gnu/libpython3.7m.so : _PyEval_EvalFrameDefault + 0x5d1c [0x7f33b265fb3c]
2020-02-14 18:13:56.151  Error: #75 /lib/x86_64-linux-gnu/libpython3.7m.so :  + 0x794d3 [0x7f33b26644d3]
2020-02-14 18:13:56.151  Error: #76 /lib/x86_64-linux-gnu/libpython3.7m.so : _PyFunction_FastCallDict + 0x2e2 [0x7f33b2860542]
2020-02-14 18:13:56.151  Error: #77 /lib/x86_64-linux-gnu/libpython3.7m.so :  + 0x276d60 [0x7f33b2861d60]
2020-02-14 18:13:56.152  Error: #78 /lib/x86_64-linux-gnu/libpython3.7m.so : _PyObject_CallMethodIdObjArgs + 0xa9 [0x7f33b2862389]
2020-02-14 18:13:56.152  Error: #79 /lib/x86_64-linux-gnu/libpython3.7m.so : PyImport_ImportModuleLevelObject + 0x60f [0x7f33b266c83f]
2020-02-14 18:13:56.152  Error: #80 /lib/x86_64-linux-gnu/libpython3.7m.so : _PyEval_EvalFrameDefault + 0x747a [0x7f33b266129a]
2020-02-14 18:13:56.152  Error: #81 /lib/x86_64-linux-gnu/libpython3.7m.so : _PyEval_EvalCodeWithName + 0x996 [0x7f33b27891e6]
2020-02-14 18:13:56.152  Error: #82 /lib/x86_64-linux-gnu/libpython3.7m.so : PyEval_EvalCodeEx + 0x3e [0x7f33b278946e]
2020-02-14 18:13:56.152  Error: #83 /lib/x86_64-linux-gnu/libpython3.7m.so : PyEval_EvalCode + 0x1b [0x7f33b278a23b]
2020-02-14 18:13:56.152  Error: #84 /lib/x86_64-linux-gnu/libpython3.7m.so :  + 0x1a2bdd [0x7f33b278dbdd]
2020-02-14 18:13:56.152  Error: #85 /lib/x86_64-linux-gnu/libpython3.7m.so : _PyMethodDef_RawFastCallDict + 0x1d7 [0x7f33b285ff37]
2020-02-14 18:13:56.152  Error: #86 /lib/x86_64-linux-gnu/libpython3.7m.so : _PyCFunction_FastCallDict + 0x25 [0x7f33b2860a45]
2020-02-14 18:13:56.152  Error: #87 /lib/x86_64-linux-gnu/libpython3.7m.so : _PyEval_EvalFrameDefault + 0x78e0 [0x7f33b2661700]
2020-02-14 18:13:56.152  Error: #88 /lib/x86_64-linux-gnu/libpython3.7m.so : _PyEval_EvalCodeWithName + 0x996 [0x7f33b27891e6]
2020-02-14 18:13:56.152  Error: #89 /lib/x86_64-linux-gnu/libpython3.7m.so : _PyFunction_FastCallKeywords + 0x93 [0x7f33b2860123]
2020-02-14 18:13:56.152  Error: #90 /lib/x86_64-linux-gnu/libpython3.7m.so : _PyEval_EvalFrameDefault + 0x7b95 [0x7f33b26619b5]
2020-02-14 18:13:56.152  Error: #91 /lib/x86_64-linux-gnu/libpython3.7m.so :  + 0x794d3 [0x7f33b26644d3]
2020-02-14 18:13:56.152  Error: #92 /lib/x86_64-linux-gnu/libpython3.7m.so : _PyEval_EvalFrameDefault + 0x9334 [0x7f33b2663154]
2020-02-14 18:13:56.152  Error: #93 /lib/x86_64-linux-gnu/libpython3.7m.so :  + 0x794d3 [0x7f33b26644d3]
2020-02-14 18:13:56.152  Error: #94 /lib/x86_64-linux-gnu/libpython3.7m.so : _PyEval_EvalFrameDefault + 0x5d1c [0x7f33b265fb3c]
2020-02-14 18:13:56.152  Error: #95 /lib/x86_64-linux-gnu/libpython3.7m.so :  + 0x794d3 [0x7f33b26644d3]
2020-02-14 18:13:56.152  Error: #96 /lib/x86_64-linux-gnu/libpython3.7m.so : _PyEval_EvalFrameDefault + 0x5d1c [0x7f33b265fb3c]
2020-02-14 18:13:56.152  Error: #97 /lib/x86_64-linux-gnu/libpython3.7m.so :  + 0x794d3 [0x7f33b26644d3]
2020-02-14 18:13:56.152  Error: #98 /lib/x86_64-linux-gnu/libpython3.7m.so : _PyFunction_FastCallDict + 0x2e2 [0x7f33b2860542]
2020-02-14 18:13:56.152  Error: #99 /lib/x86_64-linux-gnu/libpython3.7m.so :  + 0x276d60 [0x7f33b2861d60]
2020-02-14 18:13:56.152  Error: #100 /lib/x86_64-linux-gnu/libpython3.7m.so : _PyObject_CallMethodIdObjArgs + 0xa9 [0x7f33b2862389]
2020-02-14 18:13:56.152  Error: #101 /lib/x86_64-linux-gnu/libpython3.7m.so : PyImport_ImportModuleLevelObject + 0x60f [0x7f33b266c83f]
2020-02-14 18:13:56.152  Error: #102 /lib/x86_64-linux-gnu/libpython3.7m.so : _PyEval_EvalFrameDefault + 0x747a [0x7f33b266129a]
2020-02-14 18:13:56.152  Error: #103 /lib/x86_64-linux-gnu/libpython3.7m.so : _PyEval_EvalCodeWithName + 0x996 [0x7f33b27891e6]
2020-02-14 18:13:56.152  Error: #104 /lib/x86_64-linux-gnu/libpython3.7m.so : PyEval_EvalCodeEx + 0x3e [0x7f33b278946e]
2020-02-14 18:13:56.152  Error: #105 /lib/x86_64-linux-gnu/libpython3.7m.so : PyEval_EvalCode + 0x1b [0x7f33b278a23b]
2020-02-14 18:13:56.152  Error: #106 /lib/x86_64-linux-gnu/libpython3.7m.so :  + 0x1a2bdd [0x7f33b278dbdd]
2020-02-14 18:13:56.152  Error: #107 /lib/x86_64-linux-gnu/libpython3.7m.so : _PyMethodDef_RawFastCallDict + 0x1d7 [0x7f33b285ff37]
2020-02-14 18:13:56.152  Error: #108 /lib/x86_64-linux-gnu/libpython3.7m.so : _PyCFunction_FastCallDict + 0x25 [0x7f33b2860a45]
2020-02-14 18:13:56.152  Error: #109 /lib/x86_64-linux-gnu/libpython3.7m.so : _PyEval_EvalFrameDefault + 0x78e0 [0x7f33b2661700]
2020-02-14 18:13:56.152  Error: #110 /lib/x86_64-linux-gnu/libpython3.7m.so : _PyEval_EvalCodeWithName + 0x996 [0x7f33b27891e6]
2020-02-14 18:13:56.152  Error: #111 /lib/x86_64-linux-gnu/libpython3.7m.so : _PyFunction_FastCallKeywords + 0x93 [0x7f33b2860123]
2020-02-14 18:13:56.152  Error: #112 /lib/x86_64-linux-gnu/libpython3.7m.so : _PyEval_EvalFrameDefault + 0x7b95 [0x7f33b26619b5]
2020-02-14 18:13:56.152  Error: #113 /lib/x86_64-linux-gnu/libpython3.7m.so :  + 0x794d3 [0x7f33b26644d3]
2020-02-14 18:13:56.152  Error: #114 /lib/x86_64-linux-gnu/libpython3.7m.so : _PyEval_EvalFrameDefault + 0x9334 [0x7f33b2663154]
2020-02-14 18:13:56.152  Error: #115 /lib/x86_64-linux-gnu/libpython3.7m.so :  + 0x794d3 [0x7f33b26644d3]
2020-02-14 18:13:56.152  Error: #116 /lib/x86_64-linux-gnu/libpython3.7m.so : _PyEval_EvalFrameDefault + 0x5d1c [0x7f33b265fb3c]
2020-02-14 18:13:56.152  Error: #117 /lib/x86_64-linux-gnu/libpython3.7m.so :  + 0x794d3 [0x7f33b26644d3]
2020-02-14 18:13:56.152  Error: #118 /lib/x86_64-linux-gnu/libpython3.7m.so : _PyEval_EvalFrameDefault + 0x5d1c [0x7f33b265fb3c]
2020-02-14 18:13:56.152  Error: #119 /lib/x86_64-linux-gnu/libpython3.7m.so :  + 0x794d3 [0x7f33b26644d3]
2020-02-14 18:13:56.152  Error: #120 /lib/x86_64-linux-gnu/libpython3.7m.so : _PyFunction_FastCallDict + 0x2e2 [0x7f33b2860542]
2020-02-14 18:13:56.152  Error: #121 /lib/x86_64-linux-gnu/libpython3.7m.so :  + 0x276d60 [0x7f33b2861d60]
2020-02-14 18:13:56.152  Error: #122 /lib/x86_64-linux-gnu/libpython3.7m.so : _PyObject_CallMethodIdObjArgs + 0xa9 [0x7f33b2862389]
2020-02-14 18:13:56.152  Error: #123 /lib/x86_64-linux-gnu/libpython3.7m.so : PyImport_ImportModuleLevelObject + 0x60f [0x7f33b266c83f]
2020-02-14 18:13:56.152  Error: #124 /lib/x86_64-linux-gnu/libpython3.7m.so :  + 0x1a11d8 [0x7f33b278c1d8]
2020-02-14 18:13:56.152  Error: #125 /lib/x86_64-linux-gnu/libpython3.7m.so : _PyMethodDef_RawFastCallDict + 0x13b [0x7f33b285fe9b]
2020-02-14 18:13:56.152  Error: #126 /lib/x86_64-linux-gnu/libpython3.7m.so : _PyCFunction_FastCallDict + 0x25 [0x7f33b2860a45]
2020-02-14 18:13:56.152  Error: #127 /lib/x86_64-linux-gnu/libpython3.7m.so :  + 0x276bfb [0x7f33b2861bfb]
Jufo
Posts: 28
Joined: Friday 17 February 2017 13:24
Target OS: Linux
Domoticz version: 3.9389
Location: Poland
Contact:

Re: Python Plugin : Broadlink RM2 V4

Post by Jufo »

Ok, this is the problem with the new beta version domoticz and plugin ?
Works correctly in version 4.11494 (I have restored from my old virtual machine backup)
Works with python 3.7
I found the same problems in other threads, it looks like from version 4.11595:
https://github.com/domoticz/domoticz/issues/3819
https://www.domoticz.com/forum/viewtopi ... .0#p232761
This tells me you have an issue with OpenSSL version compatability:
Very often caused by plugins including the 'requests' library rather than using the built in protocols.
Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest