Edit File

This commit is contained in:
Joachim Hummel 2021-11-04 14:16:57 +00:00
parent cc37dc9478
commit 7761bd8373

View File

@ -1 +1 @@
[{"id":"f271535cb0921814","type":"tab","label":"Netzfrequenz","disabled":false,"info":"","env":[]},{"id":"cc2580d9d9b74a34","type":"group","z":"f271535cb0921814","name":"","style":{"fill":"#92d04f","label":true},"nodes":["46f8d2a7fc530ae3","b4b3c8d7360f6e53","90821e2472eeab11","f56f93575149e669","1445243a58bffc6b","4fbf298b16d2175c","c8183ed878f00901","ec7432bc.138bd","af094afe8cc6365e","71c5b266fd4e1dfb","daf1ab2ff2a82e33","de4e13a2a5329c90"],"env":[],"x":114,"y":119,"w":972,"h":382},{"id":"46f8d2a7fc530ae3","type":"http request","z":"f271535cb0921814","g":"cc2580d9d9b74a34","name":"","method":"GET","ret":"txt","paytoqs":"ignore","url":"https://netzfrequenzmessung.de:9080/frequenz01.xml","tls":"","persist":false,"proxy":"","authType":"","senderr":false,"x":410,"y":260,"wires":[["f56f93575149e669"]]},{"id":"b4b3c8d7360f6e53","type":"debug","z":"f271535cb0921814","g":"cc2580d9d9b74a34","name":"","active":true,"tosidebar":true,"console":false,"tostatus":false,"complete":"false","statusVal":"","statusType":"auto","x":950,"y":260,"wires":[]},{"id":"90821e2472eeab11","type":"inject","z":"f271535cb0921814","g":"cc2580d9d9b74a34","name":"","props":[{"p":"payload"},{"p":"topic","vt":"str"}],"repeat":"","crontab":"","once":false,"onceDelay":0.1,"topic":"","payloadType":"date","x":220,"y":260,"wires":[["46f8d2a7fc530ae3"]]},{"id":"f56f93575149e669","type":"xml","z":"f271535cb0921814","g":"cc2580d9d9b74a34","name":"","property":"payload","attr":"","chr":"","x":590,"y":260,"wires":[["1445243a58bffc6b"]]},{"id":"1445243a58bffc6b","type":"function","z":"f271535cb0921814","g":"cc2580d9d9b74a34","name":"","func":"var freq = msg.payload.r.f[0];\nmsg.payload = freq;\nreturn msg;","outputs":1,"noerr":0,"initialize":"","finalize":"","libs":[],"x":760,"y":260,"wires":[["b4b3c8d7360f6e53","c8183ed878f00901"]]},{"id":"4fbf298b16d2175c","type":"comment","z":"f271535cb0921814","g":"cc2580d9d9b74a34","name":"Netzfrequenz Überwachung","info":"","x":660,"y":160,"wires":[]},{"id":"c8183ed878f00901","type":"switch","z":"f271535cb0921814","g":"cc2580d9d9b74a34","name":"","property":"payload","propertyType":"msg","rules":[{"t":"lt","v":"49.500","vt":"str"},{"t":"gt","v":"50.000","vt":"str"}],"checkall":"true","repair":false,"outputs":2,"x":530,"y":340,"wires":[["daf1ab2ff2a82e33"],["daf1ab2ff2a82e33"]]},{"id":"ec7432bc.138bd","type":"telegram sender","z":"f271535cb0921814","g":"cc2580d9d9b74a34","name":"","bot":"888217daa537620c","haserroroutput":true,"outputs":2,"x":980,"y":460,"wires":[[],[]]},{"id":"af094afe8cc6365e","type":"inject","z":"f271535cb0921814","g":"cc2580d9d9b74a34","name":"","props":[{"p":"payload.text","v":"","vt":"date"},{"p":"topic","vt":"str"}],"repeat":"","crontab":"","once":false,"onceDelay":0.1,"topic":"","payloadType":"str","x":590,"y":460,"wires":[["71c5b266fd4e1dfb"]]},{"id":"71c5b266fd4e1dfb","type":"function","z":"f271535cb0921814","g":"cc2580d9d9b74a34","name":"","func":"var msg1 = msg.payload.text;\nmsg.payload = {}\nmsg.payload.chatId = XXXXXXXX\nmsg.payload.type = \"message\"\nmsg.payload.content = msg1+\": Aktuelle Netzfrequenz\";\nreturn msg;","outputs":1,"noerr":0,"initialize":"","finalize":"","libs":[],"x":800,"y":460,"wires":[["ec7432bc.138bd"]]},{"id":"daf1ab2ff2a82e33","type":"change","z":"f271535cb0921814","g":"cc2580d9d9b74a34","name":"","rules":[{"t":"move","p":"payload","pt":"msg","to":"payload.text","tot":"msg"}],"action":"","property":"","from":"","to":"","reg":false,"x":740,"y":340,"wires":[["71c5b266fd4e1dfb"]]},{"id":"de4e13a2a5329c90","type":"inject","z":"f271535cb0921814","g":"cc2580d9d9b74a34","name":"Test","props":[{"p":"payload"},{"p":"topic","vt":"str"}],"repeat":"","crontab":"","once":false,"onceDelay":0.1,"topic":"","payload":"<r> <f>50.02</f> <n>C_4</n> <z> 04.11.2021 12:18:49</z> <p>064</p> <d>007</d> <dt>-15,84</dt> </r>","payloadType":"str","x":430,"y":200,"wires":[["f56f93575149e669"]]},{"id":"888217daa537620c","type":"telegram bot","botname":"Dein_bot","usernames":"","chatids":"617681859","baseapiurl":"","updatemode":"polling","pollinterval":"300","usesocks":false,"sockshost":"","socksport":"6667","socksusername":"anonymous","sockspassword":"","bothost":"","botpath":"","localbotport":"8443","publicbotport":"8443","privatekey":"","certificate":"","useselfsignedcertificate":false,"sslterminated":false,"verboselogging":true}]
[{"id":"f271535cb0921814","type":"tab","label":"Netzfrequenz","disabled":false,"info":"","env":[]},{"id":"cc2580d9d9b74a34","type":"group","z":"f271535cb0921814","name":"","style":{"fill":"#92d04f","label":true},"nodes":["46f8d2a7fc530ae3","b4b3c8d7360f6e53","90821e2472eeab11","f56f93575149e669","1445243a58bffc6b","4fbf298b16d2175c","c8183ed878f00901","ec7432bc.138bd","af094afe8cc6365e","71c5b266fd4e1dfb","daf1ab2ff2a82e33","de4e13a2a5329c90"],"env":[],"x":114,"y":119,"w":972,"h":382},{"id":"46f8d2a7fc530ae3","type":"http request","z":"f271535cb0921814","g":"cc2580d9d9b74a34","name":"","method":"GET","ret":"txt","paytoqs":"ignore","url":"https://netzfrequenzmessung.de:9080/frequenz01.xml","tls":"","persist":false,"proxy":"","authType":"","senderr":false,"x":410,"y":260,"wires":[["f56f93575149e669"]]},{"id":"b4b3c8d7360f6e53","type":"debug","z":"f271535cb0921814","g":"cc2580d9d9b74a34","name":"","active":true,"tosidebar":true,"console":false,"tostatus":false,"complete":"false","statusVal":"","statusType":"auto","x":950,"y":260,"wires":[]},{"id":"90821e2472eeab11","type":"inject","z":"f271535cb0921814","g":"cc2580d9d9b74a34","name":"","props":[{"p":"payload"},{"p":"topic","vt":"str"}],"repeat":"","crontab":"","once":false,"onceDelay":0.1,"topic":"","payloadType":"date","x":220,"y":260,"wires":[["46f8d2a7fc530ae3"]]},{"id":"f56f93575149e669","type":"xml","z":"f271535cb0921814","g":"cc2580d9d9b74a34","name":"","property":"payload","attr":"","chr":"","x":590,"y":260,"wires":[["1445243a58bffc6b"]]},{"id":"1445243a58bffc6b","type":"function","z":"f271535cb0921814","g":"cc2580d9d9b74a34","name":"","func":"var freq = msg.payload.r.f[0];\nmsg.payload = freq;\nreturn msg;","outputs":1,"noerr":0,"initialize":"","finalize":"","libs":[],"x":760,"y":260,"wires":[["b4b3c8d7360f6e53","c8183ed878f00901"]]},{"id":"4fbf298b16d2175c","type":"comment","z":"f271535cb0921814","g":"cc2580d9d9b74a34","name":"Netzfrequenz Überwachung","info":"","x":660,"y":160,"wires":[]},{"id":"c8183ed878f00901","type":"switch","z":"f271535cb0921814","g":"cc2580d9d9b74a34","name":"","property":"payload","propertyType":"msg","rules":[{"t":"lt","v":"49.500","vt":"str"},{"t":"gt","v":"50.000","vt":"str"}],"checkall":"true","repair":false,"outputs":2,"x":530,"y":340,"wires":[["daf1ab2ff2a82e33"],["daf1ab2ff2a82e33"]]},{"id":"ec7432bc.138bd","type":"telegram sender","z":"f271535cb0921814","g":"cc2580d9d9b74a34","name":"","bot":"888217daa537620c","haserroroutput":true,"outputs":2,"x":980,"y":460,"wires":[[],[]]},{"id":"af094afe8cc6365e","type":"inject","z":"f271535cb0921814","g":"cc2580d9d9b74a34","name":"","props":[{"p":"payload.text","v":"","vt":"date"},{"p":"topic","vt":"str"}],"repeat":"","crontab":"","once":false,"onceDelay":0.1,"topic":"","payloadType":"str","x":590,"y":460,"wires":[["71c5b266fd4e1dfb"]]},{"id":"71c5b266fd4e1dfb","type":"function","z":"f271535cb0921814","g":"cc2580d9d9b74a34","name":"","func":"var msg1 = msg.payload.text;\nmsg.payload = {}\nmsg.payload.chatId = XXXXXXXX\nmsg.payload.type = \"message\"\nmsg.payload.content = msg1+\": Aktuelle Netzfrequenz\";\nreturn msg;","outputs":1,"noerr":0,"initialize":"","finalize":"","libs":[],"x":800,"y":460,"wires":[["ec7432bc.138bd"]]},{"id":"daf1ab2ff2a82e33","type":"change","z":"f271535cb0921814","g":"cc2580d9d9b74a34","name":"","rules":[{"t":"move","p":"payload","pt":"msg","to":"payload.text","tot":"msg"}],"action":"","property":"","from":"","to":"","reg":false,"x":740,"y":340,"wires":[["71c5b266fd4e1dfb"]]},{"id":"de4e13a2a5329c90","type":"inject","z":"f271535cb0921814","g":"cc2580d9d9b74a34","name":"Test","props":[{"p":"payload"},{"p":"topic","vt":"str"}],"repeat":"","crontab":"","once":false,"onceDelay":0.1,"topic":"","payload":"<r> <f>50.02</f> <n>C_4</n> <z> 04.11.2021 12:18:49</z> <p>064</p> <d>007</d> <dt>-15,84</dt> </r>","payloadType":"str","x":430,"y":200,"wires":[["f56f93575149e669"]]},{"id":"888217daa537620c","type":"telegram bot","botname":"Dein_bot","usernames":"","chatids":"XXXXXXXX","baseapiurl":"","updatemode":"polling","pollinterval":"300","usesocks":false,"sockshost":"","socksport":"6667","socksusername":"anonymous","sockspassword":"","bothost":"","botpath":"","localbotport":"8443","publicbotport":"8443","privatekey":"","certificate":"","useselfsignedcertificate":false,"sslterminated":false,"verboselogging":true}]