Howdy, brand new to HA and am struggling with a couple of smart plugs I have.
They are from Cygnett (LINK
I can see them in Google home and the Cygnett App, however I can not seem to get them into Home Assistant.
I can see how I can sync entities with Google Home (I have activated Cloud). Is there a way to sync devices FROM Google home into Home Assistant?
Alternatively, has anyone used these plugs and been able to add to HA (Very much a NOOB so not quite ready for flashing etc)?
I’m using raspberry pi / hass.io. starting to get my head around MQTT but haven’t got that to work yet)…
There’s so much good stuff here, I start something then stumble on something new
Hi @Shiny, there isn’t any config, it just has to be set up.
I struggled to get it to work but found the following worked about 80% of the time.
Make sure you have the device, Home Assistant and your phone all together. The time the plug is available is not much and I had to do the following a couple of times to get it to work. Since then, I’ve had no issues.
You will also need the Homekit integration. I notice that has been updated in the latest release so not sure if the following will still work.
If you already have a ‘Home’ set up on your IOS device (in the Apple IOS Home App, not the Home Assistant IOS App) you may want to create a second temporary one as you need to delete it.
Make sure the plug is full factory reset
Add the device to IOS Home App (I couldn’t get this to work using the Cygnett App) by scanning the icon
Once it has successfully added (don’t go through the full process like assigning it to a room), delete the whole HOME you set up in the Apple IOS Home APP and then force close it
Immediately hold the reset button on the plug for 2-3 seconds and the LED should flash as it attempts to reconnect to your IOS HOME APP
Home Assistant should then auto discover the plug and you should get a notification
Add the device (you are asked for the CODE printed on the plug)
That’s it. But I often stumbled trying to read the code on the plug and by the time I entered it, HA said the device was no longer available.
Maybe late but I do have a couple of these working with power, voltage and current all working including adding a custom sensor to have it show on the energy dashboard.
Hey, I add one of these through the eweLink addon and I can see the power monitoring data in the switch attributes but can’t seem to extract them into their own sensors. This is the code I have to extract it but the values are unknown in the template sensors. Could you show me how you added them?
- platform: template
sensors:
dishwasher_switch_watts:
device_class: power
unit_of_measurement: W
value_template: "{{ state_attr('switch.1000ed7013', 'power') }}"
dishwasher_switch_volts:
device_class: voltage
unit_of_measurement: V
value_template: "{{ state_attr('switch.1000ed7013', 'voltage') }}"
dishwasher_switch_amps:
device_class: current
unit_of_measurement: A
value_template: "{{ state_attr('switch.1000ed7013', 'current') }}"
Here is how I have mine setup
I used your switch numbers and obviously chose your own unique unique_id (s) if you want to use them or comment them out or remove the whole line.