Broadlink SPS3 smart socket support?

Others (MiLight, Hue, Toon etc...)

Moderator: leecollings

Post Reply
Hesmink
Posts: 168
Joined: Monday 22 June 2015 10:48
Target OS: Raspberry Pi / ODroid
Domoticz version:
Location: The Netherlands
Contact:

Broadlink SPS3 smart socket support?

Post by Hesmink »

Hi All,

I just ordered a Broadlink sps3 smart socket with powermonitoring from aliexpress.
It's the cheapest 16A supporting socket with power monitoring I ever found (€ 18,95, free shipping).

Does anybody already put one of these in Domoticz?
Should't be that hard, I found a python library supporting it: https://github.com/mjg59/python-broadlink
Hesmink
Posts: 168
Joined: Monday 22 June 2015 10:48
Target OS: Raspberry Pi / ODroid
Domoticz version:
Location: The Netherlands
Contact:

Re: Broadlink SPS3 smart socket support?

Post by Hesmink »

Received it, and it works!

I can switch it on/off using python, and read the power value.
I'm going to use it for my dryer with the 'washing cycle' script.
aDJa
Posts: 10
Joined: Monday 11 September 2017 10:51
Target OS: Raspberry Pi / ODroid
Domoticz version: 4.9700
Location: Friesland
Contact:

Re: Broadlink SPS3 smart socket support?

Post by aDJa »

hi there Hesmink,

This sounds like great project with the budget power monitor from Broadlink. I also ordered it already.

Perhaps you can tell us more how you managed to get the values in Domoticz with Python?
OS: RPi4B, GH
ELECTRICITY: P1 Smart Meter USB
WATER: NPN inductive sensor
SOLAR: Omnik Inverter, PVOutput
LIGHTS: Philips HUE + GLEDOPTO + Yeelight
SENSORS: Xiaomi Temp + Humidity + Baro + Motion + HUE
tontze
Posts: 317
Joined: Thursday 12 January 2017 15:30
Target OS: Linux
Domoticz version: Beta Ch
Location: Finland
Contact:

Re: Broadlink SPS3 smart socket support?

Post by tontze »

I would keep close eye on that "16A" socket ..
-----------------------------------------
Smartthings
zigbee2mqtt
RFLink 433mhz / Nrf 2.4Ghz
Mi Light
esp8266MiLight Hub
OpenHab/HomeAssistant/Domoticz
HP T610 & Debian 5.10.19-1 x86_64[/b]
woody4165
Posts: 476
Joined: Monday 14 March 2016 13:55
Target OS: Linux
Domoticz version: beta
Location: Rome, Italy
Contact:

Re: Broadlink SPS3 smart socket support?

Post by woody4165 »

Hesmink wrote: Monday 04 September 2017 23:48 Received it, and it works!

I can switch it on/off using python, and read the power value.
I'm going to use it for my dryer with the 'washing cycle' script.
Hi

I just downloaded the script, but I haven't understood how it works.
Do I need to execute the setup.py with SSID, pwd and NetType?

I have already configured the SP3S with the E-control App.

Thanks
Cubietruck - Linux cubietruck 4.13.16 (Debian GNU/Linux 8 (jessie)) + Domoticz + RFLink, Xiaomi Gateway, Owl USB, Yeelight Color and B/W, ESP8266, Broadlink RM2, Netatmo Thermostat
User avatar
Phantom
Posts: 87
Joined: Saturday 31 December 2016 14:47
Target OS: Raspberry Pi / ODroid
Domoticz version: 4.11652
Location: The Netherlands
Contact:

Re: Broadlink SPS3 smart socket support?

Post by Phantom »

Hey, there is also a wiki about this plugin: http://www.domoticz.com/wiki/Plugins/Br ... nformation
woody4165
Posts: 476
Joined: Monday 14 March 2016 13:55
Target OS: Linux
Domoticz version: beta
Location: Rome, Italy
Contact:

Re: Broadlink SPS3 smart socket support?

Post by woody4165 »

Phantom wrote:Hey, there is also a wiki about this plugin: http://www.domoticz.com/wiki/Plugins/Br ... nformation
Thanks, I thought it was different than the RM2 plugin.
I will check the wiki.
Cubietruck - Linux cubietruck 4.13.16 (Debian GNU/Linux 8 (jessie)) + Domoticz + RFLink, Xiaomi Gateway, Owl USB, Yeelight Color and B/W, ESP8266, Broadlink RM2, Netatmo Thermostat
woody4165
Posts: 476
Joined: Monday 14 March 2016 13:55
Target OS: Linux
Domoticz version: beta
Location: Rome, Italy
Contact:

Re: Broadlink SPS3 smart socket support?

Post by woody4165 »

Sorry for double consecutive post.
In the wiki I haven't found any info regarding controlling SP3 socket, but only RM2.

In any case I have created an Hardware in Domoticz like this, with IP and Mac of the SP3

Image

and as result I've got these devices

Image

Image

I don't see anything related to power socket.

I get an error in the log related to ini file

Code: Select all

2017-11-23 12:51:36.637 Error: (Broadlink SP3) ini file not found: /home/xxx/domoticz/plugins/BroadlinkRM2/BroadlinkRM2-37-254.ini
But I don't know if has any effect for the SP3 use, if possible.

My SP3 is the S version where it can checked also power consumption.

Thanks
Cubietruck - Linux cubietruck 4.13.16 (Debian GNU/Linux 8 (jessie)) + Domoticz + RFLink, Xiaomi Gateway, Owl USB, Yeelight Color and B/W, ESP8266, Broadlink RM2, Netatmo Thermostat
zak45
Posts: 952
Joined: Sunday 22 January 2017 11:37
Target OS: Windows
Domoticz version: V2024.4
Contact:

Re: Broadlink SPS3 smart socket support?

Post by zak45 »

Actual plugin (v3) only manage RM2 device.
V4 will manage sp1/sp2/sp3/sp3s/a1/mp1
woody4165
Posts: 476
Joined: Monday 14 March 2016 13:55
Target OS: Linux
Domoticz version: beta
Location: Rome, Italy
Contact:

Re: Broadlink SPS3 smart socket support?

Post by woody4165 »

Thanks!
If you need any testing, I will be glad.
Cubietruck - Linux cubietruck 4.13.16 (Debian GNU/Linux 8 (jessie)) + Domoticz + RFLink, Xiaomi Gateway, Owl USB, Yeelight Color and B/W, ESP8266, Broadlink RM2, Netatmo Thermostat
Hesmink
Posts: 168
Joined: Monday 22 June 2015 10:48
Target OS: Raspberry Pi / ODroid
Domoticz version:
Location: The Netherlands
Contact:

Re: Broadlink SPS3 smart socket support?

Post by Hesmink »

aDJa wrote: Saturday 04 November 2017 0:35 hi there Hesmink,

This sounds like great project with the budget power monitor from Broadlink. I also ordered it already.

Perhaps you can tell us more how you managed to get the values in Domoticz with Python?
I used the code from the link I posted, but with the modifications of this user: https://github.com/mjg59/python-broadlink/pulls/eschava

Haven't put the value back in domoticz, but I was planning to use the same scripts/method as for the TPLink HS110
Hesmink
Posts: 168
Joined: Monday 22 June 2015 10:48
Target OS: Raspberry Pi / ODroid
Domoticz version:
Location: The Netherlands
Contact:

Re: Broadlink SPS3 smart socket support?

Post by Hesmink »

tontze wrote: Saturday 04 November 2017 11:46 I would keep close eye on that "16A" socket ..
Why is that?
tontze
Posts: 317
Joined: Thursday 12 January 2017 15:30
Target OS: Linux
Domoticz version: Beta Ch
Location: Finland
Contact:

Re: Broadlink SPS3 smart socket support?

Post by tontze »

Hesmink wrote: Friday 24 November 2017 21:59
tontze wrote: Saturday 04 November 2017 11:46 I would keep close eye on that "16A" socket ..
Why is that?
Build quality and component quality on these chinese devices .. They tend to promise anything for sale :) Might be ok device thought if you just dont control your sauna, or such, with it :D
-----------------------------------------
Smartthings
zigbee2mqtt
RFLink 433mhz / Nrf 2.4Ghz
Mi Light
esp8266MiLight Hub
OpenHab/HomeAssistant/Domoticz
HP T610 & Debian 5.10.19-1 x86_64[/b]
doh
Posts: 82
Joined: Monday 01 December 2014 13:28
Target OS: Raspberry Pi / ODroid
Domoticz version: Beta
Location: London, UK
Contact:

Re: Broadlink SPS3 smart socket support?

Post by doh »

Hesmink wrote: Monday 04 September 2017 23:48 Received it, and it works!

I can switch it on/off using python, and read the power value.
I'm going to use it for my dryer with the 'washing cycle' script.
Hi,
I have a similar device (Broadlink SC1).
I can see it when I do a discover/locate, but how to you "learn" to turn these devices on and off?

Thanks
doh
Posts: 82
Joined: Monday 01 December 2014 13:28
Target OS: Raspberry Pi / ODroid
Domoticz version: Beta
Location: London, UK
Contact:

Re: Broadlink SPS3 smart socket support?

Post by doh »

I managed to get these working. I found a script calls sp2.py which does the job perfectly:

https://github.com/NightRang3r/Broadlink-NodeSP2
uname
Posts: 3
Joined: Wednesday 05 August 2020 13:16
Target OS: Linux
Domoticz version:
Contact:

Re: Broadlink SPS3 smart socket support?

Post by uname »

Hi!

Please advise how to manage Broadlink SP3 from a computer running Ubuntu.
I just need to turn the socket on and off.
Preferably in a bash script.
Or Python.

Thanks!
zak45
Posts: 952
Joined: Sunday 22 January 2017 11:37
Target OS: Windows
Domoticz version: V2024.4
Contact:

Re: Broadlink SPS3 smart socket support?

Post by zak45 »

uname
Posts: 3
Joined: Wednesday 05 August 2020 13:16
Target OS: Linux
Domoticz version:
Contact:

Re: Broadlink SPS3 smart socket support?

Post by uname »

zak45,

thank you!
Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest