Hi All,
I’m trying to use the “Fire Event” node in Node Red to activate a routine i have set in another flow. I can’t seem to figure out the correct setup/syntax to get the Fire Event node to fire the Event correctly. Can anyone help? Here is the flow i’m trying to activate (call). I currently have this setup to run from an NFC tag tap through a shortcut in iOS shortcuts, but I want to be able to use it in Node Red too. Thanks!!!
The Office_shutdown event:
[{"id":"74f37bc1f05546fe","type":"tab","label":"Flow 1","disabled":false,"info":"","env":[]},{"id":"e4ad2673bbe274cc","type":"server-events","z":"74f37bc1f05546fe","name":"","server":"402a621.201329c","version":1,"event_type":"office_shutdown","exposeToHomeAssistant":false,"haConfig":[{"property":"name","value":""},{"property":"icon","value":""}],"waitForRunning":true,"outputProperties":[{"property":"payload","propertyType":"msg","value":"","valueType":"eventData"},{"property":"topic","propertyType":"msg","value":"$outputData(\"eventData\").event_type","valueType":"jsonata"}],"x":160,"y":140,"wires":[["e4562d2bfc8f0b47","37ba51fb9c4aae12","b9ee99281ff971bd"]]},{"id":"b9ee99281ff971bd","type":"api-call-service","z":"74f37bc1f05546fe","name":"","server":"402a621.201329c","version":4,"debugenabled":false,"domain":"fan","service":"turn_off","target":{"areaId":[],"deviceId":["5cd856745796e269f0dd488fec8e3601"],"entityId":[]},"data":"","dataType":"jsonata","mergeContext":"","mustacheAltTags":false,"outputProperties":[],"queue":"none","x":370,"y":100,"wires":[[]]},{"id":"e4562d2bfc8f0b47","type":"api-call-service","z":"74f37bc1f05546fe","name":"","server":"402a621.201329c","version":4,"debugenabled":false,"domain":"light","service":"turn_off","target":{"areaId":[],"deviceId":["5677275c18040be04728daf822fb4412"],"entityId":[]},"data":"","dataType":"jsonata","mergeContext":"","mustacheAltTags":false,"outputProperties":[],"queue":"none","x":380,"y":140,"wires":[[]]},{"id":"37ba51fb9c4aae12","type":"api-call-service","z":"74f37bc1f05546fe","name":"","server":"402a621.201329c","version":4,"debugenabled":false,"domain":"media_player","service":"turn_off","target":{"areaId":[],"deviceId":[],"entityId":["media_player.samsung_7_series_58","media_player.front_office_samsung_tv"]},"data":"","dataType":"jsonata","mergeContext":"","mustacheAltTags":false,"outputProperties":[],"queue":"none","x":430,"y":200,"wires":[[]]},{"id":"402a621.201329c","type":"server","name":"Home Assistant","version":2,"addon":true,"rejectUnauthorizedCerts":true,"ha_boolean":"y|yes|true|on|home|open","connectionDelay":true,"cacheJson":true,"heartbeat":false,"heartbeatInterval":30}]