|
打开 xiaomigateway3的debug log可以看到mesh开关按下按键的消息,但是因为第几个按键是在 argments 参数里确定的,然后devices.py converter 里不知道该怎么处理。
有没有办法可以把这个消息扔到nodeRed, 处理起来就方便多了。
[MQTT] miio/report b'{"id":41147812,"method":"event_occured","params":{"did":"1081000262","siid":5,"eiid":1,"tid":247,"ts":1692885577,"arguments":[{"piid":2,"value":1}]},"type":16}'
[MQTT] central/report b'{"id":337529306,"_to":128,"type":16,"method":"event_occured","params":{"did":"1081000262","siid":5,"eiid":1,"tid":247,"ts":1692885577,"arguments":[{"piid":2,"value":1}]}}'
|
|