看加载项里面的nodered里面的日志。报错会有提示
topic: ‘sys/user/update/大摄187/devUpdate’,
payload: ‘{“entity_id”:“switch.xuan_guan_cha_zuo”,“state”:“on”,“attributes”:{“energy”:123.91,“linkquality”:32,“power”:7,“power_outage_memory”:true,“friendly_name”:“热水器”},“last_changed”:“2022-12-12T16:17:46.315247+00:00”,“last_updated”:“2022-12-13T00:11:23.073096+00:00”,“context”:{“id”:“01GM4D4R21NFR2RQVKHETBDJNX”,“parent_id”:null,“user_id”:null},“domain”:“switch”,“name”:“玄关插座”,“enable”:false,“id”:“大摄187-ha-001132a94ea4-switch-58”}’
}
{
topic: ‘sys/user/update/大摄187/devUpdate’,
payload: ‘{“entity_id”:“switch.xuan_guan_cha_zuo_power_outage_memory”,“state”:“on”,“attributes”:{“energy”:123.91,“linkquality”:32,“power”:7,“power_outage_memory”:true,“friendly_name”:“热水器 power_outage_memory”},“last_changed”:“2022-12-12T16:17:46.315701+00:00”,“last_updated”:“2022-12-13T00:11:23.073719+00:00”,“context”:{“id”:“01GM4D4R21PJ0GN9WPEQQ6R403”,“parent_id”:null,“user_id”:null},“domain”:“switch”,“name”:“玄关插座 power_outage_memory”,“enable”:false,“id”:“大摄187-ha-001132a94ea4-switch-59”}’
}
{
topic: ‘sys/user/update/大摄187/devUpdate’,
payload: ‘{“entity_id”:“switch.xuan_guan_cha_zuo”,“state”:“on”,“attributes”:{“energy”:123.91,“linkquality”:25,“power”:6,“power_outage_memory”:true,“friendly_name”:“热水器”},“last_changed”:“2022-12-12T16:17:46.315247+00:00”,“last_updated”:“2022-12-13T00:11:23.073096+00:00”,“context”:{“id”:“01GM4D4R21NFR2RQVKHETBDJNX”,“parent_id”:null,“user_id”:null},“domain”:“switch”,“name”:“玄关插座”,“enable”:false,“id”:“大摄187-ha-001132a94ea4-switch-58”}’
}
{
topic: ‘sys/user/update/大摄187/devUpdate’,
payload: ‘{“entity_id”:“switch.xuan_guan_cha_zuo_power_outage_memory”,“state”:“on”,“attributes”:{“energy”:123.91,“linkquality”:25,“power”:6,“power_outage_memory”:true,“friendly_name”:“热水器 power_outage_memory”},“last_changed”:“2022-12-12T16:17:46.315701+00:00”,“last_updated”:“2022-12-13T00:11:23.073719+00:00”,“context”:{“id”:“01GM4D4R21PJ0GN9WPEQQ6R403”,“parent_id”:null,“user_id”:null},“domain”:“switch”,“name”:“玄关插座 power_outage_memory”,“enable”:false,“id”:“大摄187-ha-001132a94ea4-switch-59”}’
看了一下日志,基本上就是上面的内容
提供一下截图吧。有问题会有图示的