Python Plugin : Broadlink RM2 V4
Moderator: leecollings
-
- Posts: 20
- Joined: Sunday 22 October 2017 19:56
- Target OS: Raspberry Pi / ODroid
- Domoticz version:
- Contact:
Re: Python Plugin : Broadlink RM2 V4
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!
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!
Last edited by Velly on Friday 09 February 2018 14:14, edited 4 times in total.
-
- Posts: 6
- Joined: Saturday 03 February 2018 12:42
- Target OS: Windows
- Domoticz version:
- Contact:
Re: Python Plugin : Broadlink RM2 V4
@Zak45
Thank you very, very much.
Now it works!
Best Regards from Austria.
Peter
Thank you very, very much.
Now it works!
Best Regards from Austria.
Peter
-
- Posts: 952
- Joined: Sunday 22 January 2017 11:37
- Target OS: Windows
- Domoticz version: V2024.4
- Contact:
Re: Python Plugin : Broadlink RM2 V4
what is your Domoticz version ?Kruu wrote: ↑Thursday 08 February 2018 19:53 When I want to add device I get this:
https://www.dropbox.com/s/wy3t41bkdry96 ... 9.png?dl=0
-
- Posts: 23
- Joined: Tuesday 06 February 2018 20:04
- Target OS: Windows
- Domoticz version:
- Contact:
Re: Python Plugin : Broadlink RM2 V4
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
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
- Attachments
-
- 3.png (226.45 KiB) Viewed 3872 times
-
- 2.png (85.62 KiB) Viewed 3872 times
-
- 1.png (57.05 KiB) Viewed 3872 times
-
- Posts: 49
- Joined: Tuesday 17 January 2017 20:27
- Target OS: Raspberry Pi / ODroid
- Domoticz version: 2020.2
- Contact:
Re: Python Plugin : Broadlink RM2 V4
Version: 3.8153zak45 wrote: ↑Friday 09 February 2018 17:45what is your Domoticz version ?Kruu wrote: ↑Thursday 08 February 2018 19:53 When I want to add device I get this:
https://www.dropbox.com/s/wy3t41bkdry96 ... 9.png?dl=0
-
- Posts: 36
- Joined: Friday 26 January 2018 9:18
- Target OS: Windows
- Domoticz version: BETA
- Location: Brussels
- Contact:
Re: Python Plugin : Broadlink RM2 V4
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 :::::
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 :::::
-
- Posts: 952
- Joined: Sunday 22 January 2017 11:37
- Target OS: Windows
- Domoticz version: V2024.4
- Contact:
Re: Python Plugin : Broadlink RM2 V4
@leandrosaltori
you need python 3.5.4 x86 installed for all users & include in the path
show me output of this command :
pip --version
you need python 3.5.4 x86 installed for all users & include in the path
show me output of this command :
pip --version
-
- Posts: 14
- Joined: Sunday 11 February 2018 13:04
- Target OS: Raspberry Pi / ODroid
- Domoticz version:
- Contact:
Re: Python Plugin : Broadlink RM2 V4
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!
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!
-
- Posts: 952
- Joined: Sunday 22 January 2017 11:37
- Target OS: Windows
- Domoticz version: V2024.4
- Contact:
Re: Python Plugin : Broadlink RM2 V4
maybe check rights ...?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!
-
- Posts: 14
- Joined: Sunday 11 February 2018 13:04
- Target OS: Raspberry Pi / ODroid
- Domoticz version:
- Contact:
Re: Python Plugin : Broadlink RM2 V4
What do you mean "check rights"? Where and how? (Sorry I'm beginner)zak45 wrote: ↑Sunday 11 February 2018 14:03maybe check rights ...?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!
And in other case there isn't any xml in this folder.
-
- Posts: 952
- Joined: Sunday 22 January 2017 11:37
- Target OS: Windows
- Domoticz version: V2024.4
- Contact:
Re: Python Plugin : Broadlink RM2 V4
on the plugin folder, with the chmod command..I work on windows so not same problem.
Normal, included into the plugin.py
-
- Posts: 14
- Joined: Sunday 11 February 2018 13:04
- Target OS: Raspberry Pi / ODroid
- Domoticz version:
- Contact:
Re: Python Plugin : Broadlink RM2 V4
-
- Posts: 14
- Joined: Sunday 11 February 2018 13:04
- Target OS: Raspberry Pi / ODroid
- Domoticz version:
- Contact:
Re: Python Plugin : Broadlink RM2 V4
I found an xml on https://pypi.python.org/pypi/broadlink ( https://pypi.python.org/pypi?:action=do ... ersion=0.6)lplugo wrote: ↑Sunday 11 February 2018 15:11Good Idea, I will check the permission.
...and could you copy to me what is in your xml 0 line?
and put into the Pi/domoticz/plugins/BroadlinkRM2 folder but the error message is same.
-
- Posts: 14
- Joined: Sunday 11 February 2018 13:04
- Target OS: Raspberry Pi / ODroid
- Domoticz version:
- Contact:
Re: Python Plugin : Broadlink RM2 V4
So no idealplugo wrote: ↑Sunday 11 February 2018 20:55I 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.
-
- Posts: 20
- Joined: Sunday 22 October 2017 19:56
- Target OS: Raspberry Pi / ODroid
- Domoticz version:
- Contact:
Re: Python Plugin : Broadlink RM2 V4
Anybody with MP1 on V4 (Raspberry, Python 3.4):
are your MP1 plugs POWER STATE synced well with Domoticz?
Thanks!
are your MP1 plugs POWER STATE synced well with Domoticz?
Thanks!
-
- Posts: 14
- Joined: Sunday 11 February 2018 13:04
- Target OS: Raspberry Pi / ODroid
- Domoticz version:
- Contact:
Re: Python Plugin : Broadlink RM2 V4
I installed it on another Pi but the problem is the same. No Broadlink device in Hardware list.lplugo wrote: ↑Monday 12 February 2018 15:41So no idealplugo wrote: ↑Sunday 11 February 2018 20:55I 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.
Who is online
Users browsing this forum: No registered users and 1 guest