Dude im super newbie i need a step by step instructions. Plz help
ill should go to :
cd /home/pi/domoticz/plugins/BroadlinkRM2
and than type sudo chmod +x plugin_http.py ? Or what?
Moderator: leecollings
Dude im super newbie i need a step by step instructions. Plz help
Code: Select all
2018-04-07 18:20:48.838 (Broadlink Mini 3) Initialized version 3.0.0, author 'zak45'
2018-04-07 18:20:48.841 (Broadlink Mini 3) Debug log level set to: 'true'.
2018-04-07 18:20:48.841 (Broadlink Mini 3) 'HardwareID':'8'
2018-04-07 18:20:48.841 (Broadlink Mini 3) 'HomeFolder':'/home/seb/domoticz/plugins/BroadlinkRM2/'
2018-04-07 18:20:48.841 (Broadlink Mini 3) 'Version':'3.0.0'
2018-04-07 18:20:48.841 (Broadlink Mini 3) 'Author':'zak45'
2018-04-07 18:20:48.841 (Broadlink Mini 3) 'Name':'Broadlink Mini 3'
2018-04-07 18:20:48.841 (Broadlink Mini 3) 'Address':'192.168.0.13'
2018-04-07 18:20:48.842 (Broadlink Mini 3) 'Port':'0'
2018-04-07 18:20:48.842 (Broadlink Mini 3) 'Key':'BroadlinkRM2'
2018-04-07 18:20:48.842 (Broadlink Mini 3) 'Mode1':'780f77006f9f'
2018-04-07 18:20:48.842 (Broadlink Mini 3) 'Mode2':'/home/seb/domoticz/plugins/BroadlinkRM2'
2018-04-07 18:20:48.842 (Broadlink Mini 3) 'Mode3':'yes'
2018-04-07 18:20:48.842 (Broadlink Mini 3) 'Mode4':'yes'
2018-04-07 18:20:48.842 (Broadlink Mini 3) 'Mode5':'9000'
2018-04-07 18:20:48.842 (Broadlink Mini 3) 'Mode6':'Debug'
2018-04-07 18:20:48.842 (Broadlink Mini 3) 'DomoticzVersion':'3.8944'
2018-04-07 18:20:48.842 (Broadlink Mini 3) 'DomoticzHash':'9df30fb0'
2018-04-07 18:20:48.842 (Broadlink Mini 3) 'DomoticzBuildTime':'2018-02-23 23:42:52'
2018-04-07 18:20:48.842 (Broadlink Mini 3) Device count: 4
2018-04-07 18:20:48.842 (Broadlink Mini 3) Device: 1 - ID: 42, Name: 'Broadlink Mini 3 - Command', nValue: 0, sValue: 'Off'
2018-04-07 18:20:48.842 (Broadlink Mini 3) Device ID: '42'
2018-04-07 18:20:48.843 (Broadlink Mini 3) Device Name: 'Broadlink Mini 3 - Command'
2018-04-07 18:20:48.843 (Broadlink Mini 3) Device nValue: 0
2018-04-07 18:20:48.843 (Broadlink Mini 3) Device sValue: 'Off'
2018-04-07 18:20:48.843 (Broadlink Mini 3) Device LastLevel: 0
2018-04-07 18:20:48.843 (Broadlink Mini 3) Device: 2 - ID: 43, Name: 'Broadlink Mini 3 - Temp', nValue: 0, sValue: ''
2018-04-07 18:20:48.843 (Broadlink Mini 3) Device ID: '43'
2018-04-07 18:20:48.843 (Broadlink Mini 3) Device Name: 'Broadlink Mini 3 - Temp'
2018-04-07 18:20:48.843 (Broadlink Mini 3) Device nValue: 0
2018-04-07 18:20:48.843 (Broadlink Mini 3) Device sValue: ''
2018-04-07 18:20:48.843 (Broadlink Mini 3) Device LastLevel: 0
2018-04-07 18:20:48.843 (Broadlink Mini 3) Device: 254 - ID: 44, Name: 'Broadlink Mini 3 - Remote', nValue: 0, sValue: ''
2018-04-07 18:20:48.843 (Broadlink Mini 3) Device ID: '44'
2018-04-07 18:20:48.843 (Broadlink Mini 3) Device Name: 'Broadlink Mini 3 - Remote'
2018-04-07 18:20:48.843 (Broadlink Mini 3) Device nValue: 0
2018-04-07 18:20:48.843 (Broadlink Mini 3) Device sValue: ''
2018-04-07 18:20:48.844 (Broadlink Mini 3) Device LastLevel: 0
2018-04-07 18:20:48.844 (Broadlink Mini 3) Device: 255 - ID: 45, Name: 'Broadlink Mini 3 - Import', nValue: 0, sValue: 'Off'
2018-04-07 18:20:48.844 (Broadlink Mini 3) Device ID: '45'
2018-04-07 18:20:48.844 (Broadlink Mini 3) Device Name: 'Broadlink Mini 3 - Import'
2018-04-07 18:20:48.844 (Broadlink Mini 3) Device nValue: 0
2018-04-07 18:20:48.844 (Broadlink Mini 3) Device sValue: 'Off'
2018-04-07 18:20:48.844 (Broadlink Mini 3) Device LastLevel: 0
2018-04-07 18:20:48.844 (Broadlink Mini 3) Connecting to: 192.168.0.13:780f77006f9f
2018-04-07 18:20:48.844 Error: (Broadlink Mini 3) Error Connecting to Broadlink device....
2018-04-07 18:20:48.845 (Broadlink Mini 3) Device Number begin to : 2
2018-04-07 18:20:48.845 (Broadlink Mini 3) Entering work loop.
2018-04-07 18:20:48.868 (Broadlink Mini 3) No ini file :/home/seb/domoticz/plugins/BroadlinkRM2/remote/plugin_remote_8.ini
2018-04-07 18:20:48.869 (Broadlink Mini 3) Custom Commands for Remote not managed
2018-04-07 18:20:48.869 (Broadlink Mini 3) Heartbeat interval set to: 30.
2018-04-07 18:20:58.388 (Broadlink Mini 3) Calling message handler 'onHeartbeat'.
2018-04-07 18:20:58.389 Error: (Broadlink Mini 3) Error Connecting to Broadlink device...
After reboot, I've some errors, but I think it works. I've tried to learn an IR command and it seams working !Paint wrote: ↑Sunday 01 April 2018 22:18 I am running Ubuntu 18.04 LTS and using the latest python 3.6 broadlink module (v0.8). I believe the script needs to be slightly updated to comply with the updated connection string. We now have to pass a devtype ID as well with the host and MAC address. Here is a sample line:Code: Select all
def broadlinkConnect(): global device, brohost, bromac, devtype try: devtype = 0x279d device = broadlink.rm(host=(brohost,80), mac=bytearray.fromhex(bromac), devtype=devtype) device.auth() device.host print( "Connected to Broadlink device.") except: print( "Error Connecting to Broadlink device....") sys.exit(2) return True
Please see my modified plugin.py and plugin_send.py files below.
plugin.py https://pastebin.com/3xy6Nr4q
plugin_send.py: https://pastebin.com/BQGD2i0Z
Code: Select all
2018-04-09 18:17:52.288 (Broadlink) Connecting to: 192.168.0.18:780f7700bcb3
2018-04-09 18:17:52.288 Error: (Broadlink) Error Connecting to Broadlink device....192.168.0.18
2018-04-09 18:17:52.294 (Broadlink) No ini file :/usr/local/domoticz/var/plugins/BroadlinkRM2/remote/plugin_remote_3.ini
2018-04-09 18:17:52.294 (Broadlink) Custom Commands for Remote not managed
2018-04-09 18:17:52.294 (Broadlink) Device Number begin to : 2
2018-04-09 18:17:52.294 (Broadlink) Processing 'PollIntervalDirective' message
2018-04-09 18:17:52.294 (Broadlink) Heartbeat interval set to: 30.
2018-04-09 18:18:01.898 (Broadlink) Pushing 'onHeartbeatCallback' on to queue
2018-04-09 18:18:01.918 (Broadlink) Processing 'onHeartbeatCallback' message
2018-04-09 18:18:01.918 (Broadlink) Calling message handler 'onHeartbeat'.
2018-04-09 18:18:01.919 Error: (Broadlink) Error Connecting to Broadlink device....192.168.0.18
Python version 3.x required & Domoticz version 3.90xx or greater.jdecelis wrote: ↑Wednesday 30 May 2018 20:17 Dear all i'm having problem with the plugin i tried all the above but i;m still getting the following once i add the RM PRO
2018-05-30 20:13:56.643 Error: (BroadlinkRM2) failed to load 'plugin.py', Python Path used was ':/usr/lib/python35.zip:/usr/lib/python3.5:/usr/lib/python3.5/plat-arm-linux-gnueabihf:/usr/lib/python3.5/lib-dynload'.
2018-05-30 20:13:56.643 Error: (RM PRO+) Module Import failed, exception: 'ImportError'
2018-05-30 20:13:56.644 Error: (RM PRO+) Module Import failed: ' Name: plugin'
2018-05-30 20:13:56.644 Error: (RM PRO+) Error Line details not available.
thanks
Same Problem here, on a Synology:Creaky wrote: ↑Wednesday 26 June 2019 15:37 I'm getting the distinct feeling that this plugin just doesn't work anymore on recent versions of Domoticz.
I've tried getting it to work on my Synology Domoticz installation and on a Pi domoticz installation. In both cases it is impossible to get the plugin to work.
So.
Either the plugin is broken and we've all wasted hours of our lives getting it to work, or truly detailed instructions on how to get it to work are missing.
Maybe someone can shed some real light on this issue and not just reply with 'You need to install Python 3.x.x.x.x', which, as you can see in all former post, is of no help.
yeah, but executing python will be better option by commands.Dominick98 wrote: ↑Tuesday 19 December 2017 8:58 Your devices whether smartphones or pc and also laptop computers. Instagram Apk you regulate hen's motion through your voice and this application.
Users browsing this forum: No registered users and 1 guest