Page 3 of 33
Re: Python Plugin : Broadlink RM2 V4
Posted: Tuesday 06 February 2018 18:01
by Velly
Hi @Zak45
Could you please clarify following :
1) Power State of my two Multiplugs is not syncronized with Domoticz: eg when I switch ON/OFF by key on Multiplug or use native broadlink or Alexa app - all current power states of each plug are not in sync with Domoticz dashboard state.
However I always see CORRECT power plug states in LOG check string.
This is big point for me, cause I am using plugs for UV lamps, Ozone generator, fans, humidifier etc - all this stuff is On by schedule when nobody home (ozone generator... UV...). I really care about working Ozone and UV for days...
2) When I turned DEBUG off I get
2018-02-06 19:42:45.220 Error: (Broadlink MP1 A3) check power error
2018-02-06 19:42:45.232 Error: (Broadlink MP1 70) check power error
every hour. Before (Debug ON) - only on startup once.
3) Now tried to use your pluging.py from Dropbox again (was using attached to post version):
2018-02-06 20:05:05.005 Error: (Broadlink MP1 A3) check power error
2018-02-06 20:05:05.012 Error: (Broadlink MP1 70) check power error
2018-02-06 20:05:31.104 Error: (Broadlink MP1 A3) Error getting temperature data from Broadlink device....Timeout
2018-02-06 20:05:31.210 Error: (Broadlink MP1 70) Error getting temperature data from Broadlink device....Timeout
every 5 mins
Is it trying to get TEMP info from multiplug devices?
I Have RM mini 3 without TEMP chosen..
Thank you!
Re: Python Plugin : Broadlink RM2 V4
Posted: Tuesday 06 February 2018 18:10
by Kruu
zak45 wrote: ↑Tuesday 06 February 2018 17:01
@Kruu
do you have selected the right device type ??
Capture.JPG
Yes, but when I set it like that, and after that double click that device that option is blank again (It wont be saved like that). And always I get like I have humidity sensor but I dont.
Re: Python Plugin : Broadlink RM2 V4
Posted: Wednesday 07 February 2018 11:20
by peterredl
@Zak45
Thank you very, very much.
Now it works!
Best Regards from Austria.
Peter
Re: Python Plugin : Broadlink RM2 V4
Posted: Thursday 08 February 2018 19:53
by Kruu
Re: Python Plugin : Broadlink RM2 V4
Posted: Friday 09 February 2018 17:45
by zak45
what is your Domoticz version ?
Re: Python Plugin : Broadlink RM2 V4
Posted: Friday 09 February 2018 18:03
by leandrosaltori
Guys, I do not know what else to do. I was thrilled with the idea of controlling the broadlink and syncing with Xiaomi cameras and gateways, but exhausted all my test possibilities.
I have already tried to install on 2 computers (Notebook / Desktop), with Windows 10 Pro, both to no avail.
The entire installation was in administrator mode.
After all installation, the HARDWARE / BROADLINK option does not appear.
Installed Items:
- Domoticz 3.8892
- Python-3.4.0
- pycrypto-2.6.1.win32-py3.4
- setup ( broadlink )
Note: in Windows 10 several versions of Python have been tested.
Windows 10:
Picture 1
---------------------------------------------------------------------------------------------------------------------
I also created a virtual machine and tried with Windows 8.1 and Windows 7: Note: in Windows 10 several versions of Python were tested.
Picture 2
-----------------------------------------------------------------------------------------------------------------
In Windows 8.1 when I went to install "setup.exe" it presents an error:
"This application can not be run on your PC
To locate a version for your PC, consult your software vendor.
Even with the error, I opened Domoticz, and of course, I do not find the broadlink hardware.
Picture 3
--------------------------------------------------------------------------------------------------------
In Windows 7, every installation seems to go well.
The "setup.exe" only opens and closes quickly, it does not display any error screen as in Windows 10:
Picture 4
Picture 5
But when I open Domoticz, the broadlink hardware does not appear either ...
Should I give up, I know the forum discussion is already old. Does anyone still use this Domoticz with broadlink?
ATTACHMENTS
1.png
Windows 10 - Picture 1
1.png (57.05 KiB) Viewed 9 times
Re: Python Plugin : Broadlink RM2 V4
Posted: Friday 09 February 2018 18:37
by Kruu
zak45 wrote: ↑Friday 09 February 2018 17:45
what is your Domoticz version ?
Version: 3.8153
Re: Python Plugin : Broadlink RM2 V4
Posted: Friday 09 February 2018 19:27
by CLEMENT99
Windows 10 -> copy the new plugin + change hardware (device type) -> works perfect.
Now I try to setup the A1 but I get the following error:
2018-02-09 19:19:29.365 Error: (Br-A1) Error Connecting to Broadlink device....192.xxx.xxx.xxx
I'm sure that the IP address is working (respond to the ping).
Have I forgotten something?
EDIT: Yes mac address was wrong, needs to be without :::::

Re: Python Plugin : Broadlink RM2 V4
Posted: Friday 09 February 2018 19:46
by zak45
Kruu wrote: ↑Friday 09 February 2018 18:37
zak45 wrote: ↑Friday 09 February 2018 17:45
what is your Domoticz version ?
Version: 3.8153
you need 3.87xx or +
Re: Python Plugin : Broadlink RM2 V4
Posted: Friday 09 February 2018 19:51
by zak45
@leandrosaltori
you need python 3.5.4 x86 installed for all users & include in the path
show me output of this command :
pip --version
Re: Python Plugin : Broadlink RM2 V4
Posted: Friday 09 February 2018 19:54
by Kruu
zak45 wrote: ↑Friday 09 February 2018 19:46
Kruu wrote: ↑Friday 09 February 2018 18:37
zak45 wrote: ↑Friday 09 February 2018 17:45
what is your Domoticz version ?
Version: 3.8153
you need 3.87xx or +
Uh, sorry missed that out. Do I need to replace only plugin.py and restart domoticz?
Thanks
Re: Python Plugin : Broadlink RM2 V4
Posted: Sunday 11 February 2018 13:12
by lplugo
Hello guys,
I've updated the newest version of standalon and beta on raspberry pi3 and want to setup my broadlink rm3 pro but it's not in the HW list.
The log file show this:
Domoticz - Broadlink log:
2018-02-10 17:28:49.665 Error: PluginList: Parsing '/home/pi/domoticz/plugins/BroadlinkRM2/', 'Error document empty.' at line 0 column 0 in XML ''.
Do you have any idea?
Thank you!
Re: Python Plugin : Broadlink RM2 V4
Posted: Sunday 11 February 2018 14:03
by zak45
lplugo wrote: ↑Sunday 11 February 2018 13:12
Hello guys,
I've updated the newest version of standalon and beta on raspberry pi3 and want to setup my broadlink rm3 pro but it's not in the HW list.
The log file show this:
Domoticz - Broadlink log:
2018-02-10 17:28:49.665 Error: PluginList: Parsing '/home/pi/domoticz/plugins/BroadlinkRM2/', 'Error document empty.' at line 0 column 0 in XML ''.
Do you have any idea?
Thank you!
maybe check rights ...?
Re: Python Plugin : Broadlink RM2 V4
Posted: Sunday 11 February 2018 14:15
by lplugo
zak45 wrote: ↑Sunday 11 February 2018 14:03
lplugo wrote: ↑Sunday 11 February 2018 13:12
Hello guys,
I've updated the newest version of standalon and beta on raspberry pi3 and want to setup my broadlink rm3 pro but it's not in the HW list.
The log file show this:
Domoticz - Broadlink log:
2018-02-10 17:28:49.665 Error: PluginList: Parsing '/home/pi/domoticz/plugins/BroadlinkRM2/', 'Error document empty.' at line 0 column 0 in XML ''.
Do you have any idea?
Thank you!
maybe check rights ...?
What do you mean "check rights"? Where and how? (Sorry I'm beginner)
And in other case there isn't any xml in this folder.
Re: Python Plugin : Broadlink RM2 V4
Posted: Sunday 11 February 2018 15:06
by zak45
lplugo wrote: ↑Sunday 11 February 2018 14:15
What do you mean "check rights"? Where and how? (Sorry I'm beginner)
on the plugin folder, with the chmod command..I work on windows so not same problem.
lplugo wrote: ↑Sunday 11 February 2018 14:15
And in other case there isn't any xml in this folder.
Normal, included into the plugin.py
Re: Python Plugin : Broadlink RM2 V4
Posted: Sunday 11 February 2018 15:11
by lplugo
zak45 wrote: ↑Sunday 11 February 2018 15:06
lplugo wrote: ↑Sunday 11 February 2018 14:15
What do you mean "check rights"? Where and how? (Sorry I'm beginner)
on the plugin folder, with the chmod command..I work on windows so not same problem.
lplugo wrote: ↑Sunday 11 February 2018 14:15
And in other case there isn't any xml in this folder.
Normal, included into the plugin.py
Good Idea, I will check the permission.
...and could you copy to me what is in your xml 0 line?
Re: Python Plugin : Broadlink RM2 V4
Posted: Sunday 11 February 2018 20:55
by lplugo
lplugo wrote: ↑Sunday 11 February 2018 15:11
zak45 wrote: ↑Sunday 11 February 2018 15:06
lplugo wrote: ↑Sunday 11 February 2018 14:15
What do you mean "check rights"? Where and how? (Sorry I'm beginner)
on the plugin folder, with the chmod command..I work on windows so not same problem.
lplugo wrote: ↑Sunday 11 February 2018 14:15
And in other case there isn't any xml in this folder.
Normal, included into the plugin.py
Good Idea, I will check the permission.
...and could you copy to me what is in your xml 0 line?
I found an xml on
https://pypi.python.org/pypi/broadlink (
https://pypi.python.org/pypi?:action=do ... ersion=0.6)
and put into the Pi/domoticz/plugins/BroadlinkRM2 folder but the error message is same.

Re: Python Plugin : Broadlink RM2 V4
Posted: Monday 12 February 2018 15:41
by lplugo
So no idea

Re: Python Plugin : Broadlink RM2 V4
Posted: Tuesday 13 February 2018 14:16
by Velly
Anybody with MP1 on V4 (Raspberry, Python 3.4):
are your MP1 plugs POWER STATE synced well with Domoticz?
Thanks!
Re: Python Plugin : Broadlink RM2 V4
Posted: Wednesday 14 February 2018 12:47
by lplugo
lplugo wrote: ↑Monday 12 February 2018 15:41
So no idea
I installed it on another Pi but the problem is the same. No Broadlink device in Hardware list.