Read HTML Page from inverter and parse current power production values.
-
-
Save MehrCurry/7424deb5bb78f48945e7 to your computer and use it in GitHub Desktop.
Read Data from Piko inverter and post to mqtt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[{"id":"c4b2aad4.3b4d58","type":"mqtt-broker","broker":"docker","port":"1883","clientid":"nodered"},{"id":"2745ae26.d8ba52","type":"inject","name":"","topic":"","payload":"","payloadType":"date","repeat":"15","crontab":"","once":false,"x":107,"y":51,"z":"32880b57.cd77f4","wires":[["f63842f.f09c7c"]]},{"id":"cb8dd3fb.34723","type":"html","name":"","tag":"body > form > font > table:nth-child(2) > tr:nth-child(4) > td:nth-child(3)","ret":"text","as":"multi","x":325,"y":311,"z":"32880b57.cd77f4","wires":[["59b2d597.a64d2c"]]},{"id":"f63842f.f09c7c","type":"http request","name":"","method":"GET","ret":"txt","url":"http://192.168.187.39","x":180,"y":168,"z":"32880b57.cd77f4","wires":[["cb8dd3fb.34723","cf872264.3078e","556e6c6c.aa9194"]]},{"id":"e68a1edb.1975e","type":"debug","name":"","active":true,"console":"false","complete":"false","x":842,"y":159,"z":"32880b57.cd77f4","wires":[]},{"id":"cf872264.3078e","type":"html","name":"","tag":"body > form > font > table:nth-child(2) > tr:nth-child(6) > td:nth-child(6)","ret":"text","as":"multi","x":345,"y":430,"z":"32880b57.cd77f4","wires":[["f05deb53.0fa218"]]},{"id":"556e6c6c.aa9194","type":"html","name":"","tag":"body > form > font > table:nth-child(2) > tr:nth-child(4) > td:nth-child(6)","ret":"text","as":"multi","x":329,"y":504,"z":"32880b57.cd77f4","wires":[["6f1bb75a.90e448"]]},{"id":"64e400cd.9b1c","type":"mqtt out","name":"","topic":"piko/wr/momentan","qos":"0","retain":"false","broker":"c4b2aad4.3b4d58","x":910,"y":312,"z":"32880b57.cd77f4","wires":[]},{"id":"f05deb53.0fa218","type":"template","name":"toJson","field":"payload","format":"handlebars","template":"{ \"wr\": 1, \"val\": {{payload}} }","x":707,"y":430,"z":"32880b57.cd77f4","wires":[["c823c52a.37dc38"]]},{"id":"c823c52a.37dc38","type":"mqtt out","name":"","topic":"piko/wr/tag","qos":"0","retain":"false","broker":"c4b2aad4.3b4d58","x":897,"y":430,"z":"32880b57.cd77f4","wires":[]},{"id":"d32a02f9.2cd6","type":"mqtt out","name":"","topic":"piko/wr/gesamt","qos":"0","retain":"false","broker":"c4b2aad4.3b4d58","x":914,"y":507,"z":"32880b57.cd77f4","wires":[]},{"id":"6f1bb75a.90e448","type":"template","name":"toJson","field":"payload","format":"handlebars","template":"{ \"wr\": 1, \"val\": {{payload}} }","x":705,"y":507,"z":"32880b57.cd77f4","wires":[["d32a02f9.2cd6"]]},{"id":"59b2d597.a64d2c","type":"template","name":"toJson","field":"payload","format":"handlebars","template":"{ \"wr\": 1, \"val\": {{payload}} }","x":696,"y":311,"z":"32880b57.cd77f4","wires":[["64e400cd.9b1c"]]},{"id":"550df25c.aaf20c","type":"mqtt in","name":"","topic":"piko/#","broker":"c4b2aad4.3b4d58","x":572,"y":132,"z":"32880b57.cd77f4","wires":[["e68a1edb.1975e"]]},{"id":"a4ce84e6.5b3178","type":"mqtt in","name":"","topic":"hm/#","broker":"c4b2aad4.3b4d58","x":570,"y":67,"z":"32880b57.cd77f4","wires":[["e68a1edb.1975e"]]}] |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment