XiaomiGateway3
XiaomiGateway3 copied to clipboard
Can you support LinpTech KE1BB-W2? Now I only can see some action log.
this is this product information https://www.energyharvesting.cn/ke1bb-mi/
the model in mijia is linp.remote.k9b11
pdid is 5481
in log files, left SINGLE is 0, left switch SINGLE is 1, Left And Right Button SINGLE is 2, left DOUBLE is 131072, left switch DOUBLE is 131073, left HOLDis 65536, left switch HOLD is 65537,Left And Right Button HOLD is 65538,
Looks like you already has converter for this device
Looks like you already has converter for this device
But there is not automation option in automation
Looks like you already has converter for this device
But there is not automation option in automation
i add some converter in config , it only show right device name, other is not work
If you want automation options, you should program them.
If you want automation options, you should program them.
Means program them in "class MiBeaconConv(Converter):"?
Thanks
- Hass can't autodetect all triggers for some specific devices. Developers needs to add all possible triggers manually via code like this: https://github.com/AlexxIT/XiaomiGateway3/blob/master/custom_components/xiaomi_gateway3/device_trigger.py
- It's not necessary to add this code, because any user can write automations with simple entity state triggers
Hass can't autodetect all triggers for some specific devices. Developers needs to add all possible triggers manually via code like this: https://github.com/AlexxIT/XiaomiGateway3/blob/master/custom_components/xiaomi_gateway3/device_trigger.py
- It's not necessary to add this code, because any user can write automations with simple entity state triggers
I know your means, I have set it well, thanks very much.
@xiaodongyichuan Please give me your code ,I have the same problem with the Linptech Bluetooth Wireless Switch (3 Keys), PID 3581, [email protected], thank you
@xiaodongyichuan Please give me your code ,I have the same problem with the Linptech Bluetooth Wireless Switch (3 Keys), PID 3581, [email protected], thank you
@xiaodongyichuan Please give me your code ,I have the same problem with the Linptech Bluetooth Wireless Switch (3 Keys), PID 3581, [email protected], thank you
这不需要写代码,你看一下你按按键的时候在设备页面的日志里面有没有对应的状态变化,设置自动化的时候选择实体状态,填写对应的日志状态变化数值就可以啦。
明白了,非常感谢@xiaodongyichuan
Probably automations will be simplier in next version
https://github.com/AlexxIT/XiaomiGateway3/releases/tag/v4.0.0