1 line
7.8 KiB
JSON
1 line
7.8 KiB
JSON
|
[{"id":"c5dc35c2.49dce","type":"tab","label":"Murray","disabled":false,"info":""},{"id":"93556ce8.b0726","type":"server-state-changed","z":"c5dc35c2.49dce","name":"","server":"67049a5e.6eb1b4","version":1,"exposeToHomeAssistant":false,"haConfig":[{"property":"name","value":""},{"property":"icon","value":""}],"entityidfilter":"binary_sensor.wyzesense_779c2431","entityidfiltertype":"exact","outputinitially":false,"state_type":"str","haltifstate":"on","halt_if_type":"str","halt_if_compare":"is","outputs":2,"output_only_on_state_change":true,"for":0,"forType":"num","forUnits":"minutes","ignorePrevStateNull":false,"ignorePrevStateUnknown":false,"ignorePrevStateUnavailable":false,"ignoreCurrentStateUnknown":false,"ignoreCurrentStateUnavailable":false,"x":250,"y":60,"wires":[["1590792f.2f99ff"],[]]},{"id":"cf530d34.d58f08","type":"inject","z":"c5dc35c2.49dce","name":"Reset fed status at 6AM","props":[{"p":"payload"},{"p":"topic","vt":"str"}],"repeat":"","crontab":"00 06 * * *","once":false,"onceDelay":0.1,"topic":"","payload":"","payloadType":"date","x":180,"y":180,"wires":[["e4fd1081.3883f"]]},{"id":"e4fd1081.3883f","type":"api-call-service","z":"c5dc35c2.49dce","name":"","server":"67049a5e.6eb1b4","version":1,"debugenabled":false,"service_domain":"input_boolean","service":"turn_off","entityId":"input_boolean.murray_fed","data":"","dataType":"json","mergecontext":"","output_location":"","output_location_type":"none","mustacheAltTags":false,"x":460,"y":180,"wires":[[]]},{"id":"64e8d922.e7e008","type":"server-state-changed","z":"c5dc35c2.49dce","name":"Murray Fed Check","server":"67049a5e.6eb1b4","version":1,"exposeToHomeAssistant":false,"haConfig":[{"property":"name","value":""},{"property":"icon","value":""}],"entityidfilter":"input_boolean.murray_fed_check_script","entityidfiltertype":"exact","outputinitially":true,"state_type":"str","haltifstate":"on","halt_if_type":"str","halt_if_compare":"is","outputs":2,"output_only_on_state_change":true,"for":0,"forType":"num","forUnits":"minutes","ignorePrevStateNull":false,"ignorePrevStateUnknown":false,"ignorePrevStateUnavailable":false,"ignoreCurrentStateUnknown":false,"ignoreCurrentStateUnavailable":false,"x":110,"y":460,"wires":[["f88fb094.f3f778"],[]]},{"id":"5c42a0b9.2d5178","type":"api-call-service","z":"c5dc35c2.49dce","name":"","server":"67049a5e.6eb1b4","version":1,"debugenabled":false,"service_domain":"tts","service":"google_translate_say","entityId":"media_player.living_room_speaker, media_player.dining_room_speaker, media_player.bedroom_speaker","data":"{\"message\": \"Yes, Murray has been fed already today.\"}","dataType":"json","mergecontext":"","output_location":"","output_location_type":"none","mustacheAltTags":false,"x":660,"y":440,"wires":[["732691bf.91d77"]]},{"id":"179182b7.d4d6cd","type":"api-call-service","z":"c5dc35c2.49dce","name":"","server":"67049a5e.6eb1b4","version":1,"debugenabled":false,"service_domain":"tts","service":"google_translate_say","entityId":"media_player.living_room_speaker, media_player.dining_room_speaker, media_player.bedroom_speaker","data":"{\"message\": \"No, Murray still needs to be fed.\"}","dataType":"json","mergecontext":"","output_location":"","output_location_type":"none","mustacheAltTags":false,"x":660,"y":500,"wires":[["732691bf.91d77"]]},{"id":"732691bf.91d77","type":"api-call-service","z":"c5dc35c2.49dce","name":"","server":"67049a5e.6eb1b4","version":1,"debugenabled":false,"service_domain":"input_boolean","service":"turn_off","entityId":"input_boolean.murray_fed_check_script","data":"","dataType":"json","mergecontext":"","output_location":"","output_location_type":"none","mustacheAltTags":false,"x":940,"y":460,"wires":[[]]},{"id":"f88fb094.f3f778","type":"api-current-state","z":"c5dc35c2.49dce","name":"Has Murray been fed?","server":"67049a5e.6eb1b4","version":1,"outputs":2,"halt_if":"on","halt_if_type":"str","halt_if_compare":"is","override_topic":false,"entity_id":"input_boolean.murray_fed","state_type":"str","state_location":"payload","override_payload":"msg","entity_location":"data","override_data":"msg","blockInputOverri
|