MP1 support has been released in 0.54: https://home-assistant.io/blog/2017/09/23/release-54/ . Yay!
hey guys, is it possible to integrate mp2 at the moment?
Hi guys,
I’m just wondering if the Broadlink SC1 Wi-Fi switch ever got integrated? Thought I’d ask before I order some
Thanks,
Lint
Should work as an SP2 (no consumption tracking), see this shared configuration : Thanks to TomerFi
I have 2 arriving by the end of the week, I’ll be sure…
Lol, was going to go for these once they worked with HA but have now gone Sonoff instead as you can do more with them. My ‘test’ SC1 is still unopened and unloved but now we know they work I’m sure I can find a usp for them.
Received 2 SC1 and a RM3 pro.
SC1 work as expected, forced the SP2 type in the switch configuration and I get status/on/off from HA.
platform: broadlink host: !secret sc1_host mac: !secret sc1_mac friendly_name: "VMC" type: sp2
Got them for 5€ each delivered, very nice device for the price. Way too big to integrate in a wall box but I plan to use them also for manual activation too (bathroom heater, multi-plug…)
You can configure them with the Android application, works even if the SSID is different from the phone’s (but the phone has to be connected to a wifi network though) and doesn’t need to “phone home” at all.
RM3 is another story, but it belongs elsewhere…
Next I’ll be trying an MP1 device.
Hello Mister_Slowhand
I have a SC1 Boradlink device and I would like to add it in my HA.
I have seen your description but I have a doubt about how I turn on and off using HA.
Could you share this code part?
thanks
Oescafandrista
Sure, here is what I have.
First, you have to declare the switch, as posted above. Let’s call it “sc1” to be original… Depending on your configuration it may be slightly different (I use a split configuration with an include in main configuration.yaml) :
- platform: broadlink host: !secret sc1_host mac: !secret sc1_mac friendly_name: "sc1" type: sp2
Then you can refer to it, for instance in a group display :
Group1: view: yes name: broadlink control: hidden entities: - switch.sc1
For automation, I’ll show you 2 examples that work together.
First one turns the sc1 on when someone arrives (it’s a bayesian sensor “somebody home” that triggers it) and it’s dark outside (welcome light) :
- alias: 'Welcome Home' trigger: - platform: state entity_id: binary_sensor.somebody_home to: 'on' condition: condition: numeric_state entity_id: sun.sun value_template: "{{ float(states.sun.sun.attributes.elevation) }}" below: 2 action: - service: switch.turn_on entity_id: switch.sc1
Second one turn this light off after 10minutes whatever triggered the turning on. So with this automation, even if you press the sc1 button, it will be turned off after 10minutes :
- alias: 'End welcome light' trigger: - platform: state entity_id: switch.sc1 to: 'on' for: minutes: 10 action: - service: switch.turn_off entity_id: switch.sc1
I’m using several Broadlink products (MP1, SC1, RM-Pro) as they integrate very well with HA, they don’t need to “phone home” some chinese server, they’re inexpensive (I buy from any aliexpress store, wait 2 weeks for delivery, and get a SC1 for €5, MP1 for less than €20…).
The main default of this solution is the lack of some functionalities : contrary to SonOff, they only have a 220V switch, no dry relay and sensors are expensive (it’s a “design” device that goes for over €30, it’s really too much if you just want temperature in 3 rooms !)
I just bought a Broadlink MP2 but it doesn’t work as the default Broadlink switch RM component (https://home-assistant.io/components/switch.broadlink/).
It seems MP2 was not supported any more? Please give me any suggestions to make MP2 work under Home Assistant.
Thank you.
I don’t think MP2 was ever listed supported ? I saw MP1 (and I use one), but no MP2.
Have you tried to force the device type to MP1 and see if it handles the 3 plugs ?
I’ve tried to define MP2 as MP1 config but it doesn’t work.
Look in the python component, looks like the MP2 isn’t supported as is.
But I found a report saying that MP2 was used as a SP2 : https://github.com/mjg59/python-broadlink/issues/51
I have some SC1 devices, they’re working when forced as SP2 too.
I don’t know how MP2 works, can you control each plug individually ? Or is it an on/off for the 3 of them ? Does it report power usage ?
MP1 has individual control of the plugs and no power usage report.
Hi,
MP2 run perfectly. you can force sp2 instead of mp2 in your configuration.yaml
Hello garvarma does this work synonymous for broadlink SC1? Thank you in advance
Hi,
Sorry but i dunno, because i don’t have SC1 broadlink. But i can read some post before, https://community.home-assistant.io/t/broadlink-mp1-mp2-controlled-switches-support/7790/74?u=garvarma
if you complete all these data
platform: broadlink
host: IP_adress
mac: AA:BB:CC:DD:EE:FF
friendly_name: "VMC"
type: sp2
It will work.
Yes, it does. I have several SC1 devices set as a SP2, an MP1 natively integrated and a RM-Pro.
SC1 are connected to two extractors, one small heating, and some lights replacing the switch.
Looks like the basic functions are identical to the SP2 so it works for SC1, MP2 too.
Knowing that, I think the SC1 is even better than the SonOff switches : it’s almost the same price (inexpensive…), it has a casing (nothing fancy but it’s there) and it’s native in HA.
Hi,
After update HA from 0.56.2 to 0.65.5, now my broadlink mp1, is not recognized by HA in custom_components. I have this error:
Mi configuration file have this:
- platform: broadlink
view: yes
host: 192.168.1.142
mac: 34:EA:34:XX:XX:XX
type: mp1-1
friendly_name: GW_Xiaomi
- platform: broadlink
view: yes
host: 192.168.1.142
mac: 34:EA:34:XX:XX:XX
type: mp1-2
friendly_name: TV_Play
- platform: broadlink
view: yes
host: 192.168.1.142
mac: 34:EA:34:XX:XX:XX
type: mp1-3
friendly_name: EzCast
- platform: broadlink
view: yes
host: 192.168.1.142
mac: 34:EA:34:XX:XX:XX
type: mp1-4
friendly_name: Decoder_RU
- platform: broadlink
host: 192.168.1.141
mac: '34:EA:34:XX:XX:XX'
timeout: 15
switches:
tv:
friendly_name: "TV"
command_on: 'JgCEAxIADFQAASVJEg..'
command_off: 'JgCEAxMADFIAASZJEw..'
decoder:
friendly_name: "DecoderTV"
command_on: 'JgDIAAABJ5MTExITE...'
command_off: 'JgDAAAABJpQRFBEUER...'
airea:
friendly_name: "AireA"
command_on: ''
command_off: ''
# command_on: 'JgC+AF+AQCEeQSAeIx0/Ii...'
# command_off: 'JgC+ACUnE4AZSB5...'
aspirador:
friendly_name: "Aspirador"
command_on: 'JgBIAAABIpMSExIRERQRE...'
command_off: 'JgBIAAABIpMRExISEh....'
Someones knows why this? any solution?
thanks
Hi,
I solved. the problem was, that in newest version of HA, was updates to define broadlink devices.
Hi,
Someone make something, about reading the electricity consumption of each broadlink mp1 socket?
thanks
Does mp1 measure wattage?