I’m having a little trouble using this with node-red. I’m trying to get it to send me a message when the vacuum state changes. It’s mainly working, except for when it docks. It just doesn’t send me a notification when it has docked. Any help would be appreciated!
[{"id":"ca3d4154.bba61","type":"api-call-service","z":"30a3db46.b89244","name":"Vacuum On message","server":"cfa79f02.db9d4","version":1,"debugenabled":false,"service_domain":"notify","service":"mobile_app_hasskit_pixel_4","entityId":"","data":"{\"title\":\"Eufy is on the move\",\"message\":\"The house is being cleaned\"}","dataType":"json","mergecontext":"","output_location":"payload","output_location_type":"msg","mustacheAltTags":false,"x":1040,"y":440,"wires":[[]]},{"id":"563e2ef6.951a7","type":"api-call-service","z":"30a3db46.b89244","name":"Vacuum Returning message","server":"cfa79f02.db9d4","version":1,"debugenabled":false,"service_domain":"notify","service":"mobile_app_hasskit_pixel_4","entityId":"","data":"{\"title\":\"Eufy is hopefully going home\",\"message\":\"Lets see if the plucky little fella makes it home.\"}","dataType":"json","mergecontext":"","output_location":"payload","output_location_type":"msg","mustacheAltTags":false,"x":1060,"y":500,"wires":[[]]},{"id":"40b7aaeb.6f1434","type":"api-call-service","z":"30a3db46.b89244","name":"Vacuum Home message","server":"cfa79f02.db9d4","version":1,"debugenabled":false,"service_domain":"notify","service":"mobile_app_hasskit_pixel_4","entityId":"","data":"{\"title\":\"Eufy got home\",\"message\":\"Yay - he made it back!\"}","dataType":"json","mergecontext":"","output_location":"payload","output_location_type":"msg","mustacheAltTags":false,"x":1050,"y":380,"wires":[[]]},{"id":"3e41b986.6c6b06","type":"server-state-changed","z":"30a3db46.b89244","name":"Vacuum Status","server":"cfa79f02.db9d4","version":1,"exposeToHomeAssistant":false,"haConfig":[{"property":"name","value":""},{"property":"icon","value":""}],"entityidfilter":"vacuum.robovac","entityidfiltertype":"exact","outputinitially":true,"state_type":"str","haltifstate":"","halt_if_type":"str","halt_if_compare":"is","outputs":1,"output_only_on_state_change":true,"x":480,"y":460,"wires":[["ce07163c.00af28"]]},{"id":"ce07163c.00af28","type":"switch","z":"30a3db46.b89244","name":"","property":"data.new_state.attributes.status","propertyType":"msg","rules":[{"t":"eq","v":"docked","vt":"str"},{"t":"eq","v":"cleaning","vt":"str"},{"t":"eq","v":"returning","vt":"str"},{"t":"eq","v":"idle","vt":"str"}],"checkall":"true","repair":false,"outputs":4,"x":710,"y":460,"wires":[["aecdfa80.a54df8"],["832147a1.7439a8"],["bc191086.617f7"],["1a6336ab.d6dd09"]]},{"id":"aecdfa80.a54df8","type":"change","z":"30a3db46.b89244","name":"Delete","rules":[{"t":"delete","p":"payload","pt":"msg"}],"action":"","property":"","from":"","to":"","reg":false,"x":870,"y":380,"wires":[["40b7aaeb.6f1434"]]},{"id":"832147a1.7439a8","type":"change","z":"30a3db46.b89244","name":"Delete","rules":[{"t":"delete","p":"payload","pt":"msg"}],"action":"","property":"","from":"","to":"","reg":false,"x":870,"y":440,"wires":[["ca3d4154.bba61"]]},{"id":"bc191086.617f7","type":"change","z":"30a3db46.b89244","name":"Delete","rules":[{"t":"delete","p":"payload","pt":"msg"}],"action":"","property":"","from":"","to":"","reg":false,"x":870,"y":480,"wires":[["563e2ef6.951a7"]]},{"id":"1a6336ab.d6dd09","type":"change","z":"30a3db46.b89244","name":"Delete","rules":[{"t":"delete","p":"payload","pt":"msg"}],"action":"","property":"","from":"","to":"","reg":false,"x":870,"y":560,"wires":[["a9a36b14.ece448"]]},{"id":"a9a36b14.ece448","type":"api-call-service","z":"30a3db46.b89244","name":"Vacuum Idle message","server":"cfa79f02.db9d4","version":1,"debugenabled":false,"service_domain":"notify","service":"mobile_app_hasskit_pixel_4","entityId":"","data":"{\"title\":\"Eufy is idle\",\"message\":\"He idle.\"}","dataType":"json","mergecontext":"","output_location":"payload","output_location_type":"msg","mustacheAltTags":false,"x":1040,"y":560,"wires":[[]]},{"id":"cfa79f02.db9d4","type":"server","z":"","name":"Home Assistant","legacy":false,"addon":true,"rejectUnauthorizedCerts":true,"ha_boolean":"y|yes|true|on|home|open","connectionDelay":false}]