Break up message

Testing breaking up a message into parts

[{"id":"dca6aa71.628478","type":"server-state-changed","z":"793eef6f.03a41","name":"","server":"5253889.fa04678","version":1,"exposeToHomeAssistant":false,"haConfig":[{"property":"name","value":""},{"property":"icon","value":""}],"entityidfilter":"input_boolean.notify_exterior","entityidfiltertype":"exact","outputinitially":false,"state_type":"str","haltifstate":"","halt_if_type":"str","halt_if_compare":"is","outputs":1,"output_only_on_state_change":true,"x":250,"y":1420,"wires":[["b02deea7.22f","cdd18690.0621a8"]]},{"id":"b02deea7.22f","type":"debug","z":"793eef6f.03a41","name":"","active":true,"tosidebar":true,"console":false,"tostatus":false,"complete":"true","targetType":"full","x":650,"y":1500,"wires":[]},{"id":"cdd18690.0621a8","type":"split","z":"793eef6f.03a41","name":"","splt":"\\n","spltType":"bin","arraySplt":1,"arraySpltType":"len","stream":false,"addname":"1","x":500,"y":1580,"wires":[["26bf60a9.91891","dc8d8a71.8c2258","915abdd8.46dc3","2a1eac0.fb7ff54","37dda327.714afc"]]},{"id":"26bf60a9.91891","type":"debug","z":"793eef6f.03a41","name":"","active":true,"tosidebar":true,"console":false,"tostatus":false,"complete":"false","x":710,"y":1580,"wires":[]},{"id":"dc8d8a71.8c2258","type":"debug","z":"793eef6f.03a41","name":"","active":true,"tosidebar":true,"console":false,"tostatus":false,"complete":"data.old_state.attributes.friendly_name","targetType":"msg","x":810,"y":1620,"wires":[]},{"id":"915abdd8.46dc3","type":"debug","z":"793eef6f.03a41","name":"","active":true,"tosidebar":true,"console":false,"tostatus":false,"complete":"data.entity_id","targetType":"msg","x":730,"y":1660,"wires":[]},{"id":"2a1eac0.fb7ff54","type":"debug","z":"793eef6f.03a41","name":"","active":true,"tosidebar":true,"console":false,"tostatus":false,"complete":"data.old_state.last_changed","targetType":"msg","x":780,"y":1700,"wires":[]},{"id":"37dda327.714afc","type":"debug","z":"793eef6f.03a41","name":"","active":true,"tosidebar":true,"console":false,"tostatus":false,"complete":"data.old_state.attributes.icon","targetType":"msg","x":780,"y":1740,"wires":[]},{"id":"5253889.fa04678","type":"server","z":"","name":"Home Assistant","legacy":false,"hassio":true,"rejectUnauthorizedCerts":true,"ha_boolean":"y|yes|true|on|home|open","connectionDelay":true,"cacheJson":true}]

Collection Info

Flow Info

Created 4 years, 6 months ago
Rating: not yet rated

Owner

Actions

Rate:

Node Types

Core
  • debug (x6)
  • split (x1)
Other

Tags

  • msg
Copy this flow JSON to your clipboard and then import into Node-RED using the Import From > Clipboard (Ctrl-I) menu option