Thats my flow
[{"id":"db0692a9434fea7d","type":"tab","label":"Flow 1","disabled":false,"info":""},{"id":"c89fa2e909d1f1e3","type":"eiscp-in","z":"db0692a9434fea7d","name":"Onkyo","controller":"336bdaabba8044df","x":430,"y":200,"wires":[["47f31ad091d7fc4c","ef2096db35d97c33"]]},{"id":"8f46cf382d03aae7","type":"eiscp-out","z":"db0692a9434fea7d","name":"","controller":"336bdaabba8044df","x":810,"y":280,"wires":[]},{"id":"dd181b6f0685663d","type":"function","z":"db0692a9434fea7d","name":"Ein","func":"msg.payload = msg.payload.iscp_command = \"system-power\";\nreturn msg;","outputs":1,"noerr":0,"initialize":"","finalize":"","libs":[],"x":630,"y":280,"wires":[["8f46cf382d03aae7"]]},{"id":"d496520ae2eaff96","type":"function","z":"db0692a9434fea7d","name":"Aus","func":"msg.payload = \"system-power=off\";\nreturn msg;","outputs":1,"noerr":0,"initialize":"","finalize":"","libs":[],"x":630,"y":320,"wires":[[]]},{"id":"3f26ed9a629d5c7c","type":"inject","z":"db0692a9434fea7d","name":"","props":[{"p":"payload"},{"p":"topic","vt":"str"}],"repeat":"","crontab":"","once":false,"onceDelay":0.1,"topic":"","payload":"","payloadType":"date","x":440,"y":280,"wires":[["dd181b6f0685663d"]]},{"id":"c566f14f72e3ecf0","type":"inject","z":"db0692a9434fea7d","name":"","props":[{"p":"payload"},{"p":"topic","vt":"str"}],"repeat":"","crontab":"","once":false,"onceDelay":0.1,"topic":"","payload":"","payloadType":"date","x":440,"y":320,"wires":[["d496520ae2eaff96"]]},{"id":"47f31ad091d7fc4c","type":"function","z":"db0692a9434fea7d","name":"EIN","func":"msg.payload = msg.payload.iscp_command === \"PWR01\";\nreturn msg;","outputs":1,"noerr":0,"initialize":"","finalize":"","libs":[],"x":590,"y":160,"wires":[["94bf1d2ddb4f1aac"]]},{"id":"94bf1d2ddb4f1aac","type":"debug","z":"db0692a9434fea7d","name":"","active":true,"tosidebar":true,"console":false,"tostatus":false,"complete":"false","statusVal":"","statusType":"auto","x":780,"y":180,"wires":[]},{"id":"ef2096db35d97c33","type":"function","z":"db0692a9434fea7d","name":"AUS","func":"msg.payload = msg.payload.iscp_command === \"PWR00\";\nreturn msg;","outputs":1,"noerr":0,"initialize":"","finalize":"","libs":[],"x":590,"y":220,"wires":[["8a198fd7c201d341"]]},{"id":"8a198fd7c201d341","type":"debug","z":"db0692a9434fea7d","name":"","active":true,"tosidebar":true,"console":false,"tostatus":false,"complete":"false","statusVal":"","statusType":"auto","x":770,"y":220,"wires":[]},{"id":"336bdaabba8044df","type":"eiscp-controller","name":"Onkyo","host":"192.168.1.12","port":"60128","model":"TX-NR616"}]
If i click on inject it should return the PWR Status