you can trigger whatever you want. one clic, two clics or long press.
Nice work guys, hope to see it integrated in next version
you can trigger whatever you want. one clic, two clics or long press.
Nice work guys, hope to see it integrated in next version
Here is how I use it https://github.com/Danielhiversen/home-assistant_config/search?utf8=â&q=click&type=
Just so everyone is aware, the aqara in wall switches (that actually go in the wall) do not have click events, they are classed as switches, and either turn on or off.
as always you are the best!
so i need to add this line binary_sensor. with my binary number? yes?
event_data: {âstateâ: âgroup onâ, âentity_idâ: âswitch.mainâ}
hey
i past the code on my customize.yaml but did not working, what i miss?
event_data: {'state': 'group on', 'entity_id': 'switch.main'}
- platform: event
event_type: click
event_data:
entity_id: binary_sensor.switch_158d00013ed144
click_type: double
- platform: event
it says:
Failed config
General Errors:
- Component not found: aqara
- Setup failed for aqara: Component not found.
Have you added the aqara component? If so, you have probably added it to the wrong folder. If not, you have to add the component.
Thanks for your reminding, very appreciate. I delete all configuration.yaml and added aqara component again, now it works. But amazon alexa still can not discover the device emulated by emulated hue bridge. I also use my_ip/api/light to check what explodes to alexa. screen shot follows.
Any ideas to fix this?
Do we have any binding for the xiaomi wifi (not zigbee) plug?
(https://www.aliexpress.com/item/Original-Xiaomi-Mi-Smart-Socket-Basic-Edition-WiFi-Cute-Mini-High-Temperature-Protection-Input-90-250V/32810958871.html?spm=2114.13010608.0.0.u4IdrI)
I bougth it by mistake.
not really. Currently, only works with one wifi plug.
This issue is solved.
@syssi is this now part of any official component? I still have the custom component xiaomiplug running to get around the multiple wifi plug issue.
I have the Xiaomi Aqara Light Control wall switches. They also report the current power consumption, the daily and monthly consumptions. Can any one make this feature avaliable too.
Iâve changed the code to enable power features from syssiâs comment. I opened the log and the wall switch doesnât report any power values.
devices.append(XiaomiGenericSwitch(device, 'Wall Switch LN',
'channel_0',
True, gateway))
This is what I got:
Power consumed: null
Load power: null
friendly_name: Night Light
In use: null
battery_level: 100
icon: mdi:lightbulb-on
No. Iâm waiting for some dependencies.
Hi boys. Iâm following this project because iâm thinking about getting a few Xiaomi sensors and plugs. Any news about whatâs missing to make the AC Companion work with this plugin?
Unsure if it is related, but hereâs an issue related to âac partnerâ: https://github.com/rytilahti/python-miio/issues/76 - it would require someone to step up and help developing/debugging it, thereâs only that much one can do without having an access to a device, and this has not been a priority.
If you own such a device and are willing to help, it would be greatly appreciated!
I may help you out by testing code and providing the information i may get from the hardware! Are you maintaining this project now?
Although it has two sensors, it is not a âsmartâ device at all.