Page 1 of 1
Broadlink SP mini switch
Posted: Monday 15 February 2016 13:53
by pabmardo
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
Re: Broadlink SP mini switch
Posted: Wednesday 27 July 2016 23:19
by Jonkerfrisjes
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
Re: Broadlink SP mini switch
Posted: Monday 12 September 2016 9:33
by kalinkamaen
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!
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)
Forum thread found here:
http://www.eventghost.org/forum/viewtop ... 6f3654b786
Re: Broadlink SP mini switch
Posted: Tuesday 28 February 2017 15:13
by drbrains
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.
Re: Broadlink SP mini switch
Posted: Wednesday 22 March 2017 21:54
by xxLeoxx93
Hello,
is there any guide how to use the .py script in domoticz?
Thank you!
Re: Broadlink SP mini switch
Posted: Tuesday 28 March 2017 19:58
by ijobain
xxLeoxx93 wrote:
Hello,
is there any guide how to use the .py script in domoticz?
Thank you!
Read this
https://www.domoticz.com/forum/viewtopi ... 40#p108350
Re: Broadlink SP mini switch
Posted: Monday 16 October 2017 12:38
by Logan923
levels in between 195 and also 205 levels. After that
coffeemachines The Technivorm is hand-built in the Netherlands.
Re: Broadlink SP mini switch
Posted: Friday 29 December 2017 8:43
by Winsor421
Also the graphical details are amazing as well as you will certainly
Nintendo 3DS Emulator You can appreciate Terraria together with your close friends.