Hi all, I have received a wifi switch from broadlink and wanted to control it as I am doing with the Orvibo S20 from domoticz... the problem is I can not find anything outside Android to control them... HAve found the SDK for IOS and Android and some githubs projects... but nothing I can use from the raspberry pi... Any ideas?? any intention to integrate broadlink products?? they are quality and cheap and seems to me there will be plenty of people using them.
Thanks a lot
Broadlink SP mini switch
Moderator: leecollings
-
- Posts: 3
- Joined: Wednesday 27 July 2016 12:57
- Target OS: Raspberry Pi / ODroid
- Domoticz version: V3.5877
- Location: Holland
- Contact:
Re: Broadlink SP mini switch
Hello,
I have the same question for a TC2 switch from Broadlink. Is there a way to find out the code for these device.? Without the RM controller.
Broadlink has many great items.
Regards
Andre
I have the same question for a TC2 switch from Broadlink. Is there a way to find out the code for these device.? Without the RM controller.
Broadlink has many great items.
Regards
Andre
-
- Posts: 52
- Joined: Sunday 04 January 2015 15:57
- Target OS: Windows
- Domoticz version: 2022.2
- Location: Norway
- Contact:
Re: Broadlink SP mini switch
Hello sir.
I have broadlink running with Eventghost with this pluguin:
http://www.eventghost.org/forum/viewtop ... 6f3654b786
The downside is that you need to have a android device. I use my old phone for this. And instal this ap :
http://rm-bridge.fun2code.de/
You can use this code to switch on or off a switch on domoticz!
Forum thread found here:
http://www.eventghost.org/forum/viewtop ... 6f3654b786
I have broadlink running with Eventghost with this pluguin:
http://www.eventghost.org/forum/viewtop ... 6f3654b786
The downside is that you need to have a android device. I use my old phone for this. And instal this ap :
http://rm-bridge.fun2code.de/
You can use this code to switch on or off a switch on domoticz!
Code: Select all
HOST = "192.168.1.21"
PORT = 80
DEVICE_NUMBER = 10
LIGHTS_ON = True
import urllib2
from urllib2 import HTTPError, URLError
ERROR_REASON = (
"We failed to reach a server.\n"
"Reason: %s"
)
ERROR_CODE = (
"The server couldn't fulfill the request.\n"
"Error code: %d"
)
if LIGHTS_ON:
LIGHTS = 'On'
else:
LIGHTS = 'Off'
URL = "http://%s:%d/json.htm?type=command¶m=switchlight&idx=%s&switchcmd=%s" % (HOST, PORT, str(DEVICE_NUMBER), LIGHTS)
try:
urllib2.urlopen(URL)
except HTTPError as httpError:
eg.PrintError(ERROR_REASON % httpError.reason)
eg.PrintError(ERROR_CODE % httpError.code)
except URLError as urlError:
eg.PrintError(ERROR_REASON % urlError.reason)
http://www.eventghost.org/forum/viewtop ... 6f3654b786
Windows 10, Domoticz 14784
-
- Posts: 8
- Joined: Sunday 26 February 2017 16:45
- Target OS: Raspberry Pi / ODroid
- Domoticz version: v3.6799
- Contact:
Re: Broadlink SP mini switch
I realize this is an old post, but look here to get started:
https://github.com/mjg59/python-broadlink
It should work for the SP2/3 and MP1. Maybe it's compatible.
https://github.com/mjg59/python-broadlink
It should work for the SP2/3 and MP1. Maybe it's compatible.
-
- Posts: 16
- Joined: Wednesday 22 March 2017 21:48
- Target OS: Windows
- Domoticz version:
- Contact:
Re: Broadlink SP mini switch
Hello,drbrains wrote:I realize this is an old post, but look here to get started:
https://github.com/mjg59/python-broadlink
It should work for the SP2/3 and MP1. Maybe it's compatible.
is there any guide how to use the .py script in domoticz?
Thank you!
-
- Posts: 7
- Joined: Friday 09 January 2015 9:42
- Target OS: Raspberry Pi / ODroid
- Domoticz version:
- Contact:
Re: Broadlink SP mini switch
Read thisxxLeoxx93 wrote:Hello,drbrains wrote:I realize this is an old post, but look here to get started:
https://github.com/mjg59/python-broadlink
It should work for the SP2/3 and MP1. Maybe it's compatible.
is there any guide how to use the .py script in domoticz?
Thank you!
https://www.domoticz.com/forum/viewtopi ... 40#p108350
Re: Broadlink SP mini switch
levels in between 195 and also 205 levels. After that coffeemachines The Technivorm is hand-built in the Netherlands.
Re: Broadlink SP mini switch
Also the graphical details are amazing as well as you will certainly Nintendo 3DS Emulator You can appreciate Terraria together with your close friends.
Who is online
Users browsing this forum: No registered users and 1 guest