Broadlink SP mini switch

Post Reply
pabmardo
Posts: 8
Joined: Thursday 21 January 2016 20:40
Target OS: Raspberry Pi
Domoticz version: 2.3530
Location: Spain
Contact:

Broadlink SP mini switch

Post by pabmardo » Monday 15 February 2016 14:53

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

Jonkerfrisjes
Posts: 3
Joined: Wednesday 27 July 2016 12:57
Target OS: Raspberry Pi
Domoticz version: V3.5877
Location: Holland
Contact:

Re: Broadlink SP mini switch

Post by Jonkerfrisjes » Wednesday 27 July 2016 23:19

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

kalinkamaen
Posts: 83
Joined: Sunday 04 January 2015 16:57
Target OS: Windows
Domoticz version:
Contact:

Re: Broadlink SP mini switch

Post by kalinkamaen » Monday 12 September 2016 9:33

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&param=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

drbrains
Posts: 8
Joined: Sunday 26 February 2017 17:45
Target OS: Raspberry Pi
Domoticz version: v3.6799
Contact:

Re: Broadlink SP mini switch

Post by drbrains » Tuesday 28 February 2017 16:13

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.

xxLeoxx93
Posts: 17
Joined: Wednesday 22 March 2017 22:48
Target OS: Windows
Domoticz version:
Contact:

Re: Broadlink SP mini switch

Post by xxLeoxx93 » Wednesday 22 March 2017 22:54

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.
Hello,

is there any guide how to use the .py script in domoticz?

Thank you!

ijobain
Posts: 10
Joined: Friday 09 January 2015 10:42
Target OS: Raspberry Pi
Domoticz version:
Contact:

Re: Broadlink SP mini switch

Post by ijobain » Tuesday 28 March 2017 19:58

xxLeoxx93 wrote:
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.
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

Logan923
Posts: 1
Joined: Monday 16 October 2017 12:36
Target OS: Linux
Domoticz version:
Contact:

Re: Broadlink SP mini switch

Post by Logan923 » Monday 16 October 2017 12:38

levels in between 195 and also 205 levels. After that coffeemachines The Technivorm is hand-built in the Netherlands.

Winsor421
Posts: 1
Joined: Friday 29 December 2017 9:38
Target OS: Linux
Domoticz version:
Contact:

Re: Broadlink SP mini switch

Post by Winsor421 » Friday 29 December 2017 9:43

Also the graphical details are amazing as well as you will certainly Nintendo 3DS Emulator You can appreciate Terraria together with your close friends.

Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest