Page 1 of 1

Broadlink SPS3 smart socket support?

Posted: Saturday 19 August 2017 20:25
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

Re: Broadlink SPS3 smart socket support?

Posted: Monday 04 September 2017 23:48
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.

Re: Broadlink SPS3 smart socket support?

Posted: Saturday 04 November 2017 0:35
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?

Re: Broadlink SPS3 smart socket support?

Posted: Saturday 04 November 2017 11:46
by tontze
I would keep close eye on that "16A" socket ..

Re: Broadlink SPS3 smart socket support?

Posted: Wednesday 22 November 2017 21:31
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

Re: Broadlink SPS3 smart socket support?

Posted: Wednesday 22 November 2017 22:55
by Phantom
Hey, there is also a wiki about this plugin: http://www.domoticz.com/wiki/Plugins/Br ... nformation

Re: Broadlink SPS3 smart socket support?

Posted: Wednesday 22 November 2017 23:04
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.

Re: Broadlink SPS3 smart socket support?

Posted: Thursday 23 November 2017 13:02
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

Re: Broadlink SPS3 smart socket support?

Posted: Thursday 23 November 2017 17:14
by zak45
Actual plugin (v3) only manage RM2 device.
V4 will manage sp1/sp2/sp3/sp3s/a1/mp1

Re: Broadlink SPS3 smart socket support?

Posted: Thursday 23 November 2017 17:43
by woody4165
Thanks!
If you need any testing, I will be glad.

Re: Broadlink SPS3 smart socket support?

Posted: Friday 24 November 2017 21:59
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

Re: Broadlink SPS3 smart socket support?

Posted: Friday 24 November 2017 21:59
by Hesmink
tontze wrote: Saturday 04 November 2017 11:46 I would keep close eye on that "16A" socket ..
Why is that?

Re: Broadlink SPS3 smart socket support?

Posted: Sunday 03 December 2017 16:49
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

Re: Broadlink SPS3 smart socket support?

Posted: Tuesday 05 December 2017 14:37
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

Re: Broadlink SPS3 smart socket support?

Posted: Tuesday 05 December 2017 16:28
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

Re: Broadlink SPS3 smart socket support?

Posted: Wednesday 05 August 2020 13:35
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!

Re: Broadlink SPS3 smart socket support?

Posted: Wednesday 05 August 2020 13:38
by zak45

Re: Broadlink SPS3 smart socket support?

Posted: Wednesday 05 August 2020 14:05
by uname
zak45,

thank you!