Hallo,
ich verwende für die Variante mit APP eine Local-Tuya Variante über die node-red-App in HomeAssistant. Dort habe ich die Daten aus Local-Tuya hinterlegt:
- Device-ID
- IP-Adresse
- localc-Secret (soweit ich weiß muss man sich dafür einen Developer Account bei Tuya anlegen oder über einen AndroidEmulator den Wert auslesen. Da sich das immer wieder ändert hilft hier nur Googeln und probieren.)
Damit habe ich dann alle interpretierebaren Daten ausgelesen und als Entitäten in HA verfügbar gemacht und einen Teil der Entitäten auch zur Steurerung der Wallbox genutzt. Funktioniert soweit ganz gut. Habe damit in Homeassistant sogar ein PV-Überschussladen umgesetzt. Die WB hat nur manchmal das Problem, dass sie die aktuellen Leistungswerte nicht anzeigt, da hilft dann ein Reboot der Wallbox (per Button in HA oder Automatisierung beim Abstecken des Autos).
im Homeassisten muss in der NodeRed-App unter Konfiguration -> System_packages noch node-red-contrib-tuya-smart-device hinzugefügt werden. Dies ermöglicht die lokale Tuya-Steuerung auf sehr einfache Weise.
Hier die Node-Red-Konfiguration zum Importieren
[{"id":"054b2646fb5ef8eb","type":"tab","label":"ev-charger","disabled":false,"info":"","env":[]},{"id":"11769f8f1918752b","type":"group","z":"054b2646fb5ef8eb","style":{"stroke":"#999999","stroke-opacity":"1","fill":"none","fill-opacity":"1","label":true,"label-position":"nw","color":"#a4a4a4"},"nodes":["64bf0bfd96058fbb","e5db748849e31f12"],"x":374,"y":99,"w":192,"h":142},{"id":"5e8c826635e65201","type":"junction","z":"054b2646fb5ef8eb","x":680,"y":700,"wires":[ ["e6e1ca977b0cdb79","5adbb5f707c7a101","9d968198519f41c3","5e0a90372a2e5c01","6d8aa12002670271","d78661583afdce4d","90a0de20d29fe759","677318e0cd0d0262","5485209afc829881","d02de46d93ec327c"]]},{"id":"677318e0cd0d0262","type":"junction","z":"054b2646fb5ef8eb","x":740,"y":1460,"wires":[ []]},{"id":"3024239a2412029d","type":"junction","z":"054b2646fb5ef8eb","x":480,"y":540,"wires":[ ["64bf0bfd96058fbb"]]},{"id":"3a398f681ac530fc","type":"debug","z":"054b2646fb5ef8eb","name":"debug 10","active":false,"tosidebar":true,"console":false,"tostatus":false,"complete":"true","targetType":"full","statusVal":"","statusType":"auto","x":740,"y":220,"wires":[]},{"id":"64bf0bfd96058fbb","type":"tuya-smart-device","z":"054b2646fb5ef8eb","g":"11769f8f1918752b","deviceName":"ev charger","disableAutoStart":false,"deviceId":"yourDeviceID","deviceKey":"yoursevret","storeAsCreds":false,"deviceIp":"yourDeviceIP","retryTimeout":1000,"findTimeout":10000,"tuyaVersion":"3.5","eventMode":"event-both","logLevel":"log-level-debug","x":470,"y":200,"wires":[ ["3a398f681ac530fc","9861235bc50ff5e2"], ["b29aedd8a00bbbd3"]]},{"id":"e5db748849e31f12","type":"comment","z":"054b2646fb5ef8eb","g":"11769f8f1918752b","name":"","info":"[node-red-contrib-tuya-smart-device](https://github.com/vinodsr/node-red-contrib-tuya-smart-device)","x":460,"y":140,"wires":[]},{"id":"b29aedd8a00bbbd3","type":"debug","z":"054b2646fb5ef8eb","name":"debug 11","active":false,"tosidebar":true,"console":false,"tostatus":false,"complete":"true","targetType":"full","statusVal":"","statusType":"auto","x":720,"y":280,"wires":[]},{"id":"67818993a06585dc","type":"inject","z":"054b2646fb5ef8eb","name":"refresh","props":[{"p":"payload"},{"p":"topic","vt":"str"}],"repeat":"","crontab":"","once":false,"onceDelay":0.1,"topic":"","payload":"{\"operation\":\"GET\"}","payloadType":"json","x":130,"y":120,"wires":[ ["64bf0bfd96058fbb"]]},{"id":"c8eca02339437051","type":"inject","z":"054b2646fb5ef8eb","name":"Set Current","props":[{"p":"payload"},{"p":"topic","vt":"str"}],"repeat":"","crontab":"","once":false,"onceDelay":0.1,"topic":"","payload":"{\"operation\":\"SET\",\"dps\":\"150\",\"set\":7}","payloadType":"json","x":110,"y":180,"wires":[ ["64bf0bfd96058fbb"]]},{"id":"b7ed6ed1ca2d9ca2","type":"inject","z":"054b2646fb5ef8eb","name":"Laden Starten","props":[{"p":"payload"},{"p":"topic","vt":"str"}],"repeat":"","crontab":"","once":false,"onceDelay":0.1,"topic":"","payload":"{\"operation\":\"SET\",\"dps\":\"140\",\"set\":true}","payloadType":"json","x":110,"y":240,"wires":[ ["64bf0bfd96058fbb"]]},{"id":"d1d86a822e605909","type":"inject","z":"054b2646fb5ef8eb","name":"Laden Stoppen","props":[{"p":"payload"},{"p":"topic","vt":"str"}],"repeat":"","crontab":"","once":false,"onceDelay":0.1,"topic":"","payload":"{\"operation\":\"SET\",\"dps\":\"140\",\"set\":false}","payloadType":"json","x":100,"y":280,"wires":[ ["64bf0bfd96058fbb"]]},{"id":"e6e1ca977b0cdb79","type":"function","z":"054b2646fb5ef8eb","name":"Zustand","func":"\nconst result ={\npayload:msg.payload[109],\ntopic:\"state\"\n} \n\nreturn result\n","outputs":1,"timeout":0,"noerr":0,"initialize":"","finalize":"","libs":[],"x":820,"y":360,"wires":[ ["96b51f29b143f46e"]]},{"id":"5adbb5f707c7a101","type":"function","z":"054b2646fb5ef8eb","name":"Ladestrom","func":"\nconst result ={\npayload:msg.payload[150]\n} \n\nreturn result\n","outputs":1,"timeout":0,"noerr":0,"initialize":"","finalize":"","libs":[],"x":830,"y":400,"wires":[ ["9e33677b4dad7aa9"]]},{"id":"9d968198519f41c3","type":"function","z":"054b2646fb5ef8eb","name":"Arbeitsmodus","func":"\nconst result ={\npayload:msg.payload[101]\n} \n\nreturn result\n","outputs":1,"timeout":0,"noerr":0,"initialize":"","finalize":"","libs":[],"x":840,"y":480,"wires":[ ["f4431e15ea2a51b7"]]},{"id":"9861235bc50ff5e2","type":"function","z":"054b2646fb5ef8eb","name":"dps","func":"\nconst result ={\npayload:msg.payload.data.dps\n} \n\nreturn result\n","outputs":1,"timeout":0,"noerr":0,"initialize":"","finalize":"","libs":[],"x":610,"y":700,"wires":[ ["5e8c826635e65201"]]},{"id":"5e0a90372a2e5c01","type":"function","z":"054b2646fb5ef8eb","name":"plug_n_charge","func":"\nreturn{payload:msg.payload[190]};","outputs":1,"timeout":0,"noerr":0,"initialize":"","finalize":"","libs":[],"x":840,"y":520,"wires":[ ["e8e0679aa09422d9"]]},{"id":"6d8aa12002670271","type":"function","z":"054b2646fb5ef8eb","name":"dp_anzahl","func":"\nreturn{payload:msg.payload[189]/1000};","outputs":1,"timeout":0,"noerr":0,"initialize":"","finalize":"","libs":[],"x":830,"y":600,"wires":[ ["509295dca55f867e"]]},{"id":"5485209afc829881","type":"function","z":"054b2646fb5ef8eb","name":"host_hartbeat","func":"\nreturn{payload:msg.payload[188]};","outputs":1,"timeout":0,"noerr":0,"initialize":"","finalize":"","libs":[],"x":840,"y":560,"wires":[ ["b068458afed511f8"]]},{"id":"d78661583afdce4d","type":"function","z":"054b2646fb5ef8eb","name":"metrik","func":"\nreturn{payload:msg.payload[102]};","outputs":1,"timeout":0,"noerr":0,"initialize":"","finalize":"","libs":[],"x":830,"y":760,"wires":[ ["af5d38b0d6bcd15d"]]},{"id":"606137ae90b3a3da","type":"json","z":"054b2646fb5ef8eb","name":"","property":"payload","action":"","pretty":false,"x":1110,"y":940,"wires":[ ["7a03b8cf464c55b2","14a62da42e6330fa","6015cac274496085","06ed0b91ec2ed7bf","37355f1730045ee8","20ea6abd2ea6fd8d","c749436d39703a84"]]},{"id":"7a03b8cf464c55b2","type":"function","z":"054b2646fb5ef8eb","name":"L1","func":"\nreturn{payload:msg.payload.L1};","outputs":1,"timeout":0,"noerr":0,"initialize":"","finalize":"","libs":[],"x":1330,"y":640,"wires":[ ["250f139e55eb57da","a04a1319ab61adbf","856d1e38e182505b"]]},{"id":"250f139e55eb57da","type":"function","z":"054b2646fb5ef8eb","name":"Spannung","func":"\nreturn{payload:msg.payload[0]/10};","outputs":1,"timeout":0,"noerr":0,"initialize":"","finalize":"","libs":[],"x":1490,"y":640,"wires":[ ["e5e537aa834669fa"]]},{"id":"a04a1319ab61adbf","type":"function","z":"054b2646fb5ef8eb","name":"Stromstärke","func":"\nreturn{payload:msg.payload[1]/10};","outputs":1,"timeout":0,"noerr":0,"initialize":"","finalize":"","libs":[],"x":1490,"y":680,"wires":[ ["109836c05eca34a5"]]},{"id":"856d1e38e182505b","type":"function","z":"054b2646fb5ef8eb","name":"Leistung","func":"\nreturn{payload:msg.payload[2]/10};","outputs":1,"timeout":0,"noerr":0,"initialize":"","finalize":"","libs":[],"x":1480,"y":720,"wires":[ ["7e20f62daedf1f50"]]},{"id":"14a62da42e6330fa","type":"function","z":"054b2646fb5ef8eb","name":"L2","func":"\nreturn{payload:msg.payload.L2};","outputs":1,"timeout":0,"noerr":0,"initialize":"","finalize":"","libs":[],"x":1330,"y":800,"wires":[ ["299a5f4ec2dbd6c9","dc8356a33cb8c1ee","43f244ec81d366bc"]]},{"id":"299a5f4ec2dbd6c9","type":"function","z":"054b2646fb5ef8eb","name":"Spannung","func":"\nreturn{payload:msg.payload[0]/10};","outputs":1,"timeout":0,"noerr":0,"initialize":"","finalize":"","libs":[],"x":1510,"y":780,"wires":[ ["501453170c8566d7"]]},{"id":"dc8356a33cb8c1ee","type":"function","z":"054b2646fb5ef8eb","name":"Stromstärke","func":"\nreturn{payload:msg.payload[1]/10};","outputs":1,"timeout":0,"noerr":0,"initialize":"","finalize":"","libs":[],"x":1510,"y":820,"wires":[ ["f4c53dd237225a14"]]},{"id":"43f244ec81d366bc","type":"function","z":"054b2646fb5ef8eb","name":"Leistung","func":"\nreturn{payload:msg.payload[2]/10};","outputs":1,"timeout":0,"noerr":0,"initialize":"","finalize":"","libs":[],"x":1500,"y":860,"wires":[ ["94e1945495732470"]]},{"id":"6015cac274496085","type":"function","z":"054b2646fb5ef8eb","name":"L3","func":"\nreturn{payload:msg.payload.L3};","outputs":1,"timeout":0,"noerr":0,"initialize":"","finalize":"","libs":[],"x":1330,"y":920,"wires":[ ["19c4a536c131e48e","6386f2586e93124e","b7886e1358982d1c"]]},{"id":"19c4a536c131e48e","type":"function","z":"054b2646fb5ef8eb","name":"Spannung","func":"\nreturn{payload:msg.payload[0]/10};","outputs":1,"timeout":0,"noerr":0,"initialize":"","finalize":"","libs":[],"x":1530,"y":900,"wires":[ ["3ff942b438259379"]]},{"id":"6386f2586e93124e","type":"function","z":"054b2646fb5ef8eb","name":"Stromstärke","func":"\nreturn{payload:msg.payload[1]/10};","outputs":1,"timeout":0,"noerr":0,"initialize":"","finalize":"","libs":[],"x":1530,"y":940,"wires":[ ["9b6bf3f25993b508"]]},{"id":"b7886e1358982d1c","type":"function","z":"054b2646fb5ef8eb","name":"Leistung","func":"\nreturn{payload:msg.payload[2]/10};","outputs":1,"timeout":0,"noerr":0,"initialize":"","finalize":"","libs":[],"x":1520,"y":980,"wires":[ ["eeefdb749a3c865e"]]},{"id":"06ed0b91ec2ed7bf","type":"function","z":"054b2646fb5ef8eb","name":"Ladedauer","func":"\nreturn{\npayload:msg.payload.d / 10,\ntopic:'duration'\n};","outputs":1,"timeout":0,"noerr":0,"initialize":"","finalize":"","libs":[],"x":1330,"y":1020,"wires":[ ["1ded1abc3c13c76e","4ab9372ccca05d54"]]},{"id":"37355f1730045ee8","type":"function","z":"054b2646fb5ef8eb","name":"Energie","func":"\nreturn{\npayload:msg.payload.e / 10,\ntopic:'energy'\n};","outputs":1,"timeout":0,"noerr":0,"initialize":"","finalize":"","libs":[],"x":1320,"y":1060,"wires":[ ["602b46e1f4df3983","4ab9372ccca05d54","88042296f1df09f2"]]},{"id":"20ea6abd2ea6fd8d","type":"function","z":"054b2646fb5ef8eb","name":"t","func":"\nreturn{payload:msg.payload.t};","outputs":1,"timeout":0,"noerr":0,"initialize":"","finalize":"","libs":[],"x":1310,"y":1100,"wires":[ ["a5cb8cfc0c09a7dc"]]},{"id":"c749436d39703a84","type":"function","z":"054b2646fb5ef8eb","name":"Leistung Gesamt","func":"\nreturn{\npayload:msg.payload.p / 10,\ntopic:'power'\n};","outputs":1,"timeout":0,"noerr":0,"initialize":"","finalize":"","libs":[],"x":1350,"y":1140,"wires":[ ["1d2a01ef060a4ab8"]]},{"id":"af5d38b0d6bcd15d","type":"switch","z":"054b2646fb5ef8eb","name":"notNull","property":"payload","propertyType":"msg","rules":[{"t":"nnull"}],"checkall":"true","repair":false,"outputs":1,"x":1000,"y":760,"wires":[ ["606137ae90b3a3da"]]},{"id":"509295dca55f867e","type":"switch","z":"054b2646fb5ef8eb","name":"notNull","property":"payload","propertyType":"msg","rules":[{"t":"nnull"}],"checkall":"true","repair":false,"outputs":1,"x":1020,"y":600,"wires":[ ["423c83239af21167"]]},{"id":"b068458afed511f8","type":"switch","z":"054b2646fb5ef8eb","name":"notNull","property":"payload","propertyType":"msg","rules":[{"t":"nnull"}],"checkall":"true","repair":false,"outputs":1,"x":1020,"y":560,"wires":[ ["8d60b67450a3c53b"]]},{"id":"9e33677b4dad7aa9","type":"switch","z":"054b2646fb5ef8eb","name":"notNull","property":"payload","propertyType":"msg","rules":[{"t":"nnull"}],"checkall":"true","repair":false,"outputs":1,"x":1020,"y":400,"wires":[ ["96706731b9686720"]]},{"id":"96b51f29b143f46e","type":"switch","z":"054b2646fb5ef8eb","name":"notNull","property":"payload","propertyType":"msg","rules":[{"t":"nnull"}],"checkall":"true","repair":false,"outputs":1,"x":1020,"y":360,"wires":[ ["70a2b90b50e6702b","88042296f1df09f2"]]},{"id":"f4431e15ea2a51b7","type":"switch","z":"054b2646fb5ef8eb","name":"notNull","property":"payload","propertyType":"msg","rules":[{"t":"nnull"}],"checkall":"true","repair":false,"outputs":1,"x":1020,"y":480,"wires":[ ["f7098679b0dbec8d"]]},{"id":"e8e0679aa09422d9","type":"switch","z":"054b2646fb5ef8eb","name":"notNull","property":"payload","propertyType":"msg","rules":[{"t":"nnull"}],"checkall":"true","repair":false,"outputs":1,"x":1020,"y":520,"wires":[ ["24d02bf25c615147"]]},{"id":"b3453a6bd8b9bb0f","type":"inject","z":"054b2646fb5ef8eb","name":"Restart","props":[{"p":"payload"}],"repeat":"","crontab":"","once":false,"onceDelay":0.1,"topic":"","payload":"{\"operation\":\"SET\",\"dps\":\"142\",\"set\":true}","payloadType":"json","x":130,"y":340,"wires":[ ["64bf0bfd96058fbb"]]},{"id":"90a0de20d29fe759","type":"function","z":"054b2646fb5ef8eb","name":"Info","func":"\nreturn{payload:msg.payload[106]};","outputs":1,"timeout":0,"noerr":0,"initialize":"","finalize":"","libs":[],"x":830,"y":1000,"wires":[ ["95332a18dbdbee89"]]},{"id":"95332a18dbdbee89","type":"switch","z":"054b2646fb5ef8eb","name":"notNull","property":"payload","propertyType":"msg","rules":[{"t":"nnull"}],"checkall":"true","repair":false,"outputs":1,"x":980,"y":1360,"wires":[ ["e3c89a5b2847b13b"]]},{"id":"e3c89a5b2847b13b","type":"json","z":"054b2646fb5ef8eb","name":"","property":"payload","action":"","pretty":false,"x":1130,"y":1360,"wires":[ ["0c462d6d58d9bbcc","935591985d3db7b1","bef2b2595191ceba"]]},{"id":"0c462d6d58d9bbcc","type":"function","z":"054b2646fb5ef8eb","name":"gesamtenergie","func":"\nreturn{\npayload:msg.payload.e/10,\ntopic:'totalEnergy'\n};","outputs":1,"timeout":0,"noerr":0,"initialize":"","finalize":"","libs":[],"x":1340,"y":1320,"wires":[ ["88042296f1df09f2"]]},{"id":"935591985d3db7b1","type":"function","z":"054b2646fb5ef8eb","name":"Anz. Ladevorgänge","func":"\nreturn{payload:msg.payload.t/10};","outputs":1,"timeout":0,"noerr":0,"initialize":"","finalize":"","libs":[],"x":1350,"y":1360,"wires":[ ["17a2271564a421c2"]]},{"id":"bef2b2595191ceba","type":"function","z":"054b2646fb5ef8eb","name":"Firmware","func":"\nreturn{payload:msg.payload.fv};","outputs":1,"timeout":0,"noerr":0,"initialize":"","finalize":"","libs":[],"x":1320,"y":1400,"wires":[ ["1882e4d7b4afbe3e"]]},{"id":"651a1a07998d6430","type":"function","z":"054b2646fb5ef8eb","name":"Alarm","func":"\nreturn{payload:msg.payload[104]};","outputs":1,"timeout":0,"noerr":0,"initialize":"","finalize":"","libs":[],"x":790,"y":1460,"wires":[ ["3e337a6942fff61d"]]},{"id":"3e337a6942fff61d","type":"switch","z":"054b2646fb5ef8eb","name":"notNull","property":"payload","propertyType":"msg","rules":[{"t":"nnull"}],"checkall":"true","repair":false,"outputs":1,"x":980,"y":1460,"wires":[ ["a36cd9c0da4feca1"]]},{"id":"27d9768bd0570454","type":"inject","z":"054b2646fb5ef8eb","name":"Werksreset","props":[{"p":"payload"}],"repeat":"","crontab":"","once":false,"onceDelay":0.1,"topic":"","payload":"{\"operation\":\"SET\",\"dps\":\"141\",\"set\":true}","payloadType":"json","x":110,"y":380,"wires":[ ["64bf0bfd96058fbb"]]},{"id":"d02de46d93ec327c","type":"function","z":"054b2646fb5ef8eb","name":"Lademodus","func":"\nconst result ={\npayload:msg.payload[151]\n} \n\nreturn result\n","outputs":1,"timeout":0,"noerr":0,"initialize":"","finalize":"","libs":[],"x":830,"y":440,"wires":[ ["4221f3852f67bb5b"]]},{"id":"4221f3852f67bb5b","type":"switch","z":"054b2646fb5ef8eb","name":"notNull","property":"payload","propertyType":"msg","rules":[{"t":"nnull"}],"checkall":"true","repair":false,"outputs":1,"x":1020,"y":440,"wires":[ ["3fefa87da4727a63"]]},{"id":"fa3846fa767da5ec","type":"ha-switch","z":"054b2646fb5ef8eb","name":"Laden Starten/Stopen","version":0,"debugenabled":false,"inputs":1,"outputs":2,"entityConfig":"2838db8b688960cb","enableInput":true,"outputOnStateChange":true,"outputProperties":[{"property":"outputType","propertyType":"msg","value":"state change","valueType":"str"},{"property":"payload","propertyType":"msg","value":"boolean","valueType":"entityState"}],"x":100,"y":500,"wires":[ ["582e5d5d6c73084c"], ["582e5d5d6c73084c"]]},{"id":"582e5d5d6c73084c","type":"function","z":"054b2646fb5ef8eb","name":"start-stop-laden","func":"\nreturn{payload:\n{\n\"operation\":\"SET\",\n\"dps\":\"140\",\n\"set\":msg.payload\n}};","outputs":1,"timeout":0,"noerr":0,"initialize":"","finalize":"","libs":[],"x":320,"y":500,"wires":[ ["3024239a2412029d"]]},{"id":"eae3d3608f8965c1","type":"ha-button","z":"054b2646fb5ef8eb","name":"Reboot","version":0,"debugenabled":false,"outputs":1,"entityConfig":"9a64016a7835ba4b","outputProperties":[{"property":"payload","propertyType":"msg","value":"string","valueType":"entityState"},{"property":"topic","propertyType":"msg","value":"","valueType":"triggerId"},{"property":"data","propertyType":"msg","value":"","valueType":"entity"}],"x":50,"y":540,"wires":[ ["aaccdee75fe7d45e"]]},{"id":"aaccdee75fe7d45e","type":"function","z":"054b2646fb5ef8eb","name":"Reboot","func":"\nreturn{payload:\n{\n\"operation\":\"SET\",\n\"dps\":\"142\",\n\"set\":true\n}};","outputs":1,"timeout":0,"noerr":0,"initialize":"","finalize":"","libs":[],"x":300,"y":540,"wires":[ ["3024239a2412029d"]]},{"id":"0305c6b32e38ae67","type":"ha-button","z":"054b2646fb5ef8eb","name":"WerksReset","version":0,"debugenabled":false,"outputs":1,"entityConfig":"bc06808a9b618bf0","outputProperties":[{"property":"payload","propertyType":"msg","value":"string","valueType":"entityState"},{"property":"topic","propertyType":"msg","value":"","valueType":"triggerId"},{"property":"data","propertyType":"msg","value":"","valueType":"entity"}],"x":70,"y":580,"wires":[ ["5d490261d43b56c3"]]},{"id":"5d490261d43b56c3","type":"function","z":"054b2646fb5ef8eb","name":"Werksreset","func":"\nreturn{payload:\n\n{\n\"operation\":\"SET\",\n\"dps\":\"141\",\n\"set\":true\n}\n};","outputs":1,"timeout":0,"noerr":0,"initialize":"","finalize":"","libs":[],"x":310,"y":580,"wires":[ ["3024239a2412029d"]]},{"id":"254292538edb25eb","type":"ha-button","z":"054b2646fb5ef8eb","name":"Refresh","version":0,"debugenabled":false,"outputs":1,"entityConfig":"37a27c80c64df228","outputProperties":[{"property":"payload","propertyType":"msg","value":"string","valueType":"entityState"},{"property":"topic","propertyType":"msg","value":"","valueType":"triggerId"},{"property":"data","propertyType":"msg","value":"","valueType":"entity"}],"x":50,"y":620,"wires":[ ["9833c523f9fd94ca"]]},{"id":"9833c523f9fd94ca","type":"function","z":"054b2646fb5ef8eb","name":"Refresh","func":"\nreturn{payload:\n{\n\"operation\":\"GET\"\n}\n};","outputs":1,"timeout":0,"noerr":0,"initialize":"","finalize":"","libs":[],"x":300,"y":620,"wires":[ ["3024239a2412029d"]]},{"id":"e03b694676e3ad6c","type":"ha-number","z":"054b2646fb5ef8eb","name":"LadeStrom","version":1,"debugenabled":false,"inputs":0,"outputs":1,"entityConfig":"daebb7334a2d67a5","exposeAsEntityConfig":"","mode":"listen","value":"payload","valueType":"msg","outputProperties":[{"property":"payload","propertyType":"msg","value":"","valueType":"value"},{"property":"previousValue","propertyType":"msg","value":"","valueType":"previousValue"}],"x":60,"y":660,"wires":[ ["f41927ad2deced9b"]]},{"id":"f41927ad2deced9b","type":"function","z":"054b2646fb5ef8eb","name":"Ladestrom setzen","func":"\nreturn{payload:\n{\n\"operation\":\"SET\",\n\"dps\":\"150\",\n\"set\":msg.payload\n}\n};","outputs":1,"timeout":0,"noerr":0,"initialize":"","finalize":"","libs":[],"x":330,"y":660,"wires":[ ["3024239a2412029d"]]},{"id":"70a2b90b50e6702b","type":"ha-sensor","z":"054b2646fb5ef8eb","name":"Zustand","entityConfig":"4636d03f6e30073c","version":0,"state":"payload","stateType":"msg","attributes":[],"inputOverride":"allow","outputProperties":[],"x":1200,"y":360,"wires":[ []]},{"id":"96706731b9686720","type":"ha-sensor","z":"054b2646fb5ef8eb","name":"Ladestrom","entityConfig":"a60a99c7f4a1ea41","version":0,"state":"payload","stateType":"msg","attributes":[],"inputOverride":"allow","outputProperties":[],"x":1210,"y":400,"wires":[ []]},{"id":"3fefa87da4727a63","type":"ha-sensor","z":"054b2646fb5ef8eb","name":"Lademodus","entityConfig":"406de26f19b4233f","version":0,"state":"payload","stateType":"msg","attributes":[],"inputOverride":"allow","outputProperties":[],"x":1210,"y":440,"wires":[ []]},{"id":"f7098679b0dbec8d","type":"ha-sensor","z":"054b2646fb5ef8eb","name":"Arbeitsmodus","entityConfig":"acadab25998efa0f","version":0,"state":"payload","stateType":"msg","attributes":[],"inputOverride":"allow","outputProperties":[],"x":1220,"y":480,"wires":[ []]},{"id":"423c83239af21167","type":"ha-sensor","z":"054b2646fb5ef8eb","name":"Tägliche Energie Nutzung gesamt","entityConfig":"7734148257f90fb8","version":0,"state":"payload","stateType":"msg","attributes":[],"inputOverride":"allow","outputProperties":[],"x":1280,"y":600,"wires":[ []]},{"id":"d2012c120c744a09","type":"ha-switch","z":"054b2646fb5ef8eb","name":"Plug-n-Charge","version":0,"debugenabled":false,"inputs":1,"outputs":2,"entityConfig":"711804d1c4274868","enableInput":true,"outputOnStateChange":true,"outputProperties":[{"property":"outputType","propertyType":"msg","value":"state change","valueType":"str"},{"property":"payload","propertyType":"msg","value":"boolean","valueType":"entityState"}],"x":80,"y":700,"wires":[ ["ea759607eb9c2909"], ["ea759607eb9c2909"]]},{"id":"ea759607eb9c2909","type":"function","z":"054b2646fb5ef8eb","name":"plug-n-charge","func":"\nreturn{payload:\n{\n\"operation\":\"SET\",\n\"dps\":\"190\",\n\"set\":msg.payload\n}};","outputs":1,"timeout":0,"noerr":0,"initialize":"","finalize":"","libs":[],"x":320,"y":700,"wires":[ ["3024239a2412029d"]]},{"id":"24d02bf25c615147","type":"ha-switch","z":"054b2646fb5ef8eb","name":"Plug-n-Charge","version":0,"debugenabled":false,"inputs":1,"outputs":2,"entityConfig":"711804d1c4274868","enableInput":true,"outputOnStateChange":true,"outputProperties":[{"property":"outputType","propertyType":"msg","value":"state change","valueType":"str"},{"property":"payload","propertyType":"msg","value":"boolean","valueType":"entityState"}],"x":1220,"y":520,"wires":[ [], []]},{"id":"e5e537aa834669fa","type":"ha-sensor","z":"054b2646fb5ef8eb","name":"Spannung L1","entityConfig":"30cfa91b665bd211","version":0,"state":"payload","stateType":"msg","attributes":[],"inputOverride":"allow","outputProperties":[],"x":1670,"y":640,"wires":[ []]},{"id":"501453170c8566d7","type":"ha-sensor","z":"054b2646fb5ef8eb","name":"Spannung L2","entityConfig":"dbb5bc6efeadd00e","version":0,"state":"payload","stateType":"msg","attributes":[],"inputOverride":"allow","outputProperties":[],"x":1690,"y":780,"wires":[ []]},{"id":"3ff942b438259379","type":"ha-sensor","z":"054b2646fb5ef8eb","name":"Spannung L3","entityConfig":"50e3e4bddbb1cad3","version":0,"state":"payload","stateType":"msg","attributes":[],"inputOverride":"allow","outputProperties":[],"x":1710,"y":900,"wires":[ []]},{"id":"109836c05eca34a5","type":"ha-sensor","z":"054b2646fb5ef8eb","name":"Stromstärke L1","entityConfig":"38a7d3b2ac7f5359","version":0,"state":"payload","stateType":"msg","attributes":[],"inputOverride":"allow","outputProperties":[],"x":1680,"y":680,"wires":[ []]},{"id":"f4c53dd237225a14","type":"ha-sensor","z":"054b2646fb5ef8eb","name":"Stromstärke L2","entityConfig":"243e507fa23339e9","version":0,"state":"payload","stateType":"msg","attributes":[],"inputOverride":"allow","outputProperties":[],"x":1700,"y":820,"wires":[ []]},{"id":"9b6bf3f25993b508","type":"ha-sensor","z":"054b2646fb5ef8eb","name":"Spannung L3","entityConfig":"9b28b1baa0a48d03","version":0,"state":"payload","stateType":"msg","attributes":[],"inputOverride":"allow","outputProperties":[],"x":1710,"y":940,"wires":[ []]},{"id":"7e20f62daedf1f50","type":"ha-sensor","z":"054b2646fb5ef8eb","name":"Leistung L1","entityConfig":"9af27bc16bc83749","version":0,"state":"payload","stateType":"msg","attributes":[],"inputOverride":"allow","outputProperties":[],"x":1670,"y":720,"wires":[ []]},{"id":"94e1945495732470","type":"ha-sensor","z":"054b2646fb5ef8eb","name":"Leistung L2","entityConfig":"318bab2aed6e286f","version":0,"state":"payload","stateType":"msg","attributes":[],"inputOverride":"allow","outputProperties":[],"x":1690,"y":860,"wires":[ []]},{"id":"eeefdb749a3c865e","type":"ha-sensor","z":"054b2646fb5ef8eb","name":"LeistungL3","entityConfig":"ffe0cbb1216bc525","version":0,"state":"payload","stateType":"msg","attributes":[],"inputOverride":"allow","outputProperties":[],"x":1710,"y":980,"wires":[ []]},{"id":"1ded1abc3c13c76e","type":"ha-sensor","z":"054b2646fb5ef8eb","name":"Ladedauer","entityConfig":"8995a733149d9c7c","version":0,"state":"payload","stateType":"msg","attributes":[],"inputOverride":"allow","outputProperties":[],"x":1530,"y":1020,"wires":[ []]},{"id":"602b46e1f4df3983","type":"ha-sensor","z":"054b2646fb5ef8eb","name":"Ladeenergie","entityConfig":"201f69f378aed6fe","version":0,"state":"payload","stateType":"msg","attributes":[],"inputOverride":"allow","outputProperties":[],"x":1530,"y":1060,"wires":[ []]},{"id":"c6a1a21a0d796b36","type":"ha-sensor","z":"054b2646fb5ef8eb","name":"Ladeenergie Gesamt","entityConfig":"081ef16b9e7ec927","version":0,"state":"payload","stateType":"msg","attributes":[],"inputOverride":"allow","outputProperties":[],"x":1920,"y":1260,"wires":[ []]},{"id":"17a2271564a421c2","type":"ha-sensor","z":"054b2646fb5ef8eb","name":"Anz. Ladevorgänge","entityConfig":"0598a62a2d5d6539","version":0,"state":"payload","stateType":"msg","attributes":[],"inputOverride":"allow","outputProperties":[],"x":1570,"y":1360,"wires":[ []]},{"id":"1882e4d7b4afbe3e","type":"ha-sensor","z":"054b2646fb5ef8eb","name":"Firmware","entityConfig":"de76011ac55d8e0b","version":0,"state":"payload","stateType":"msg","attributes":[],"inputOverride":"allow","outputProperties":[],"x":1540,"y":1400,"wires":[ []]},{"id":"a5cb8cfc0c09a7dc","type":"ha-sensor","z":"054b2646fb5ef8eb","name":"t","entityConfig":"9b7b458a5dcab54a","version":0,"state":"payload","stateType":"msg","attributes":[],"inputOverride":"allow","outputProperties":[],"x":1510,"y":1100,"wires":[ []]},{"id":"1d2a01ef060a4ab8","type":"ha-sensor","z":"054b2646fb5ef8eb","name":"Leistung Gesamt","entityConfig":"37a7b456baa499a2","version":0,"state":"payload","stateType":"msg","attributes":[],"inputOverride":"allow","outputProperties":[],"x":1550,"y":1140,"wires":[ []]},{"id":"a36cd9c0da4feca1","type":"ha-sensor","z":"054b2646fb5ef8eb","name":"Alarm","entityConfig":"51742df0940f193e","version":0,"state":"payload","stateType":"msg","attributes":[],"inputOverride":"allow","outputProperties":[],"x":1170,"y":1460,"wires":[ []]},{"id":"4ab9372ccca05d54","type":"join","z":"054b2646fb5ef8eb","name":"","mode":"custom","build":"object","property":"payload","propertyType":"msg","key":"topic","joiner":"\\n","joinerType":"str","useparts":false,"accumulate":true,"timeout":"","count":"1","reduceRight":false,"reduceExp":"","reduceInit":"","reduceInitType":"","reduceFixup":"","x":1510,"y":1220,"wires":[ ["60dd464d5ed05f9a"]]},{"id":"60dd464d5ed05f9a","type":"function","z":"054b2646fb5ef8eb","name":"Laderate","func":"\nif(msg.payload.duration > 0){\nreturn{\npayload:(msg.payload.energy ) / (msg.payload.duration / 3600),\n};\n}\nelse{\nreturn{\npayload:0,\n};\n}","outputs":1,"timeout":0,"noerr":0,"initialize":"","finalize":"","libs":[],"x":1660,"y":1220,"wires":[ ["bd024dbd934c501f"]]},{"id":"bd024dbd934c501f","type":"ha-sensor","z":"054b2646fb5ef8eb","name":"Laderate","entityConfig":"d75e2c841ad06f7a","version":0,"state":"payload","stateType":"msg","attributes":[],"inputOverride":"allow","outputProperties":[],"x":1880,"y":1220,"wires":[ []]},{"id":"88042296f1df09f2","type":"join","z":"054b2646fb5ef8eb","name":"","mode":"custom","build":"object","property":"payload","propertyType":"msg","key":"topic","joiner":"\\n","joinerType":"str","useparts":false,"accumulate":true,"timeout":"","count":"1","reduceRight":false,"reduceExp":"","reduceInit":"","reduceInitType":"","reduceFixup":"","x":1510,"y":1260,"wires":[ ["922c826fbf91fde1"]]},{"id":"922c826fbf91fde1","type":"function","z":"054b2646fb5ef8eb","name":"dynamicTotalEnergy","func":"const{state, energy, totalEnergy} = msg.payload;\nconst previousTotalEnergyKey = 'previousTotalEnergy'\nconst previousEnergyKey = 'previousEnergy'\n\nconst previousTotalEnergy = context.get(previousTotalEnergyKey) || totalEnergy;\nconst previousEnergy = context.get(previousEnergyKey) || 0;\nconst previousDynamicEnergy = previousEnergy + previousTotalEnergy;\nconst nextDynamicEnergy = totalEnergy + energy\n\n\nif (previousDynamicEnergy > nextDynamicEnergy){\nreturn{payload:previousDynamicEnergy}\n}\n\n\nif (previousDynamicEnergy + previousDynamicEnergy <= nextDynamicEnergy){\nreturn{ payload:totalEnergy}\n}\n\ncontext.set(previousEnergyKey, energy)\ncontext.set(previousTotalEnergyKey, totalEnergy)\nreturn{ payload:nextDynamicEnergy}\n","outputs":1,"timeout":0,"noerr":0,"initialize":"","finalize":"","libs":[],"x":1700,"y":1260,"wires":[ ["c6a1a21a0d796b36","915a08138580706f"]]},{"id":"915a08138580706f","type":"debug","z":"054b2646fb5ef8eb","name":"debug 12","active":true,"tosidebar":true,"console":false,"tostatus":false,"complete":"true","targetType":"full","statusVal":"","statusType":"auto","x":1880,"y":1320,"wires":[]},{"id":"8d60b67450a3c53b","type":"ha-switch","z":"054b2646fb5ef8eb","name":"Heartbeat","version":0,"debugenabled":false,"inputs":1,"outputs":2,"entityConfig":"962a02c0abc4cfb3","enableInput":true,"outputOnStateChange":true,"outputProperties":[{"property":"outputType","propertyType":"msg","value":"state change","valueType":"str"},{"property":"payload","propertyType":"msg","value":"boolean","valueType":"entityState"}],"x":1200,"y":560,"wires":[ [], []]},{"id":"872acfd450ba96de","type":"ha-switch","z":"054b2646fb5ef8eb","name":"Heartbeat","version":0,"debugenabled":false,"inputs":1,"outputs":2,"entityConfig":"962a02c0abc4cfb3","enableInput":true,"outputOnStateChange":true,"outputProperties":[{"property":"outputType","propertyType":"msg","value":"state change","valueType":"str"},{"property":"payload","propertyType":"msg","value":"boolean","valueType":"entityState"}],"x":60,"y":760,"wires":[ ["e41f8e829c40dd83"], ["e41f8e829c40dd83"]]},{"id":"e41f8e829c40dd83","type":"function","z":"054b2646fb5ef8eb","name":"host-heartbeat","func":"\nreturn{payload:\n{\n\"operation\":\"SET\",\n\"dps\":\"188\",\n\"set\":msg.payload\n}};","outputs":1,"timeout":0,"noerr":0,"initialize":"","finalize":"","libs":[],"x":320,"y":740,"wires":[ ["3024239a2412029d"]]},{"id":"2838db8b688960cb","type":"ha-entity-config","server":"92b19ccb.7413e","deviceConfig":"33b1183f430af47c","name":"start_stop_load","version":6,"entityType":"switch","haConfig":[{"property":"name","value":"Laden Starten Stoppen"},{"property":"icon","value":""},{"property":"entity_picture","value":""},{"property":"entity_category","value":"config"},{"property":"device_class","value":"switch"}],"resend":false,"debugEnabled":false},{"id":"9a64016a7835ba4b","type":"ha-entity-config","server":"92b19ccb.7413e","deviceConfig":"33b1183f430af47c","name":"Reboot","version":6,"entityType":"button","haConfig":[{"property":"name","value":"Reboot"},{"property":"icon","value":""},{"property":"entity_picture","value":""},{"property":"entity_category","value":"diagnostic"},{"property":"device_class","value":"restart"}],"resend":false,"debugEnabled":false},{"id":"bc06808a9b618bf0","type":"ha-entity-config","server":"92b19ccb.7413e","deviceConfig":"33b1183f430af47c","name":"Werksreset","version":6,"entityType":"button","haConfig":[{"property":"name","value":"Werksreset"},{"property":"icon","value":""},{"property":"entity_picture","value":""},{"property":"entity_category","value":"diagnostic"},{"property":"device_class","value":"restart"}],"resend":false,"debugEnabled":false},{"id":"37a27c80c64df228","type":"ha-entity-config","server":"92b19ccb.7413e","deviceConfig":"33b1183f430af47c","name":"Refresh","version":6,"entityType":"button","haConfig":[{"property":"name","value":"Refresh Data"},{"property":"icon","value":""},{"property":"entity_picture","value":""},{"property":"entity_category","value":"config"},{"property":"device_class","value":"update"}],"resend":false,"debugEnabled":false},{"id":"daebb7334a2d67a5","type":"ha-entity-config","server":"92b19ccb.7413e","deviceConfig":"33b1183f430af47c","name":"LadeStrom","version":6,"entityType":"number","haConfig":[{"property":"name","value":"LadeSrom"},{"property":"icon","value":""},{"property":"entity_picture","value":""},{"property":"entity_category","value":"config"},{"property":"device_class","value":"current"},{"property":"unit_of_measurement","value":"A"},{"property":"min_value","value":6},{"property":"max_value","value":16},{"property":"step_value","value":1},{"property":"mode","value":"auto"}],"resend":false,"debugEnabled":false},{"id":"4636d03f6e30073c","type":"ha-entity-config","server":"92b19ccb.7413e","deviceConfig":"33b1183f430af47c","name":"Zustand","version":6,"entityType":"sensor","haConfig":[{"property":"name","value":"Zustand"},{"property":"icon","value":""},{"property":"entity_picture","value":""},{"property":"entity_category","value":"diagnostic"},{"property":"device_class","value":"enum"},{"property":"unit_of_measurement","value":""},{"property":"state_class","value":""}],"resend":false,"debugEnabled":false},{"id":"a60a99c7f4a1ea41","type":"ha-entity-config","server":"92b19ccb.7413e","deviceConfig":"33b1183f430af47c","name":"Ladestrom","version":6,"entityType":"sensor","haConfig":[{"property":"name","value":"Ladestrom"},{"property":"icon","value":""},{"property":"entity_picture","value":""},{"property":"entity_category","value":"diagnostic"},{"property":"device_class","value":"current"},{"property":"unit_of_measurement","value":"A"},{"property":"state_class","value":""}],"resend":false,"debugEnabled":false},{"id":"406de26f19b4233f","type":"ha-entity-config","server":"92b19ccb.7413e","deviceConfig":"33b1183f430af47c","name":"Lademodus","version":6,"entityType":"sensor","haConfig":[{"property":"name","value":"Lademodus"},{"property":"icon","value":""},{"property":"entity_picture","value":""},{"property":"entity_category","value":""},{"property":"device_class","value":""},{"property":"unit_of_measurement","value":""},{"property":"state_class","value":""}],"resend":false,"debugEnabled":false},{"id":"acadab25998efa0f","type":"ha-entity-config","server":"92b19ccb.7413e","deviceConfig":"33b1183f430af47c","name":"Arbeitsmodus","version":6,"entityType":"sensor","haConfig":[{"property":"name","value":"Arbeitsmodus"},{"property":"icon","value":""},{"property":"entity_picture","value":""},{"property":"entity_category","value":""},{"property":"device_class","value":""},{"property":"unit_of_measurement","value":""},{"property":"state_class","value":""}],"resend":false,"debugEnabled":false},{"id":"7734148257f90fb8","type":"ha-entity-config","server":"92b19ccb.7413e","deviceConfig":"33b1183f430af47c","name":"Tägliche Energie Nutzung gesamt","version":6,"entityType":"sensor","haConfig":[{"property":"name","value":"Tägliche Energie Nutzung gesamt"},{"property":"icon","value":""},{"property":"entity_picture","value":""},{"property":"entity_category","value":"diagnostic"},{"property":"device_class","value":"energy"},{"property":"unit_of_measurement","value":"kWh"},{"property":"state_class","value":"total_increasing"}],"resend":false,"debugEnabled":false},{"id":"711804d1c4274868","type":"ha-entity-config","server":"92b19ccb.7413e","deviceConfig":"33b1183f430af47c","name":"Plug-n-Charge","version":6,"entityType":"switch","haConfig":[{"property":"name","value":"Plug-n-Charge"},{"property":"icon","value":""},{"property":"entity_picture","value":""},{"property":"entity_category","value":"config"},{"property":"device_class","value":"switch"}],"resend":false,"debugEnabled":false},{"id":"30cfa91b665bd211","type":"ha-entity-config","server":"92b19ccb.7413e","deviceConfig":"33b1183f430af47c","name":"Spannung L1","version":6,"entityType":"sensor","haConfig":[{"property":"name","value":"Spannung L1"},{"property":"icon","value":""},{"property":"entity_picture","value":""},{"property":"entity_category","value":"diagnostic"},{"property":"device_class","value":"voltage"},{"property":"unit_of_measurement","value":"V"},{"property":"state_class","value":"measurement"}],"resend":false,"debugEnabled":false},{"id":"dbb5bc6efeadd00e","type":"ha-entity-config","server":"92b19ccb.7413e","deviceConfig":"33b1183f430af47c","name":"Spannung L2","version":6,"entityType":"sensor","haConfig":[{"property":"name","value":"Spannung L2"},{"property":"icon","value":""},{"property":"entity_picture","value":""},{"property":"entity_category","value":"diagnostic"},{"property":"device_class","value":"voltage"},{"property":"unit_of_measurement","value":"V"},{"property":"state_class","value":"measurement"}],"resend":false,"debugEnabled":false},{"id":"50e3e4bddbb1cad3","type":"ha-entity-config","server":"92b19ccb.7413e","deviceConfig":"33b1183f430af47c","name":"Spannung L3","version":6,"entityType":"sensor","haConfig":[{"property":"name","value":"Spannung L3"},{"property":"icon","value":""},{"property":"entity_picture","value":""},{"property":"entity_category","value":"diagnostic"},{"property":"device_class","value":"voltage"},{"property":"unit_of_measurement","value":"V"},{"property":"state_class","value":"measurement"}],"resend":false,"debugEnabled":false},{"id":"38a7d3b2ac7f5359","type":"ha-entity-config","server":"92b19ccb.7413e","deviceConfig":"33b1183f430af47c","name":"Stromstärke L1","version":6,"entityType":"sensor","haConfig":[{"property":"name","value":"Stromstärke L1"},{"property":"icon","value":""},{"property":"entity_picture","value":""},{"property":"entity_category","value":"diagnostic"},{"property":"device_class","value":"current"},{"property":"unit_of_measurement","value":"A"},{"property":"state_class","value":"measurement"}],"resend":false,"debugEnabled":false},{"id":"243e507fa23339e9","type":"ha-entity-config","server":"92b19ccb.7413e","deviceConfig":"33b1183f430af47c","name":"Stromstärke L2","version":6,"entityType":"sensor","haConfig":[{"property":"name","value":"Stromstärke L2"},{"property":"icon","value":""},{"property":"entity_picture","value":""},{"property":"entity_category","value":"diagnostic"},{"property":"device_class","value":"current"},{"property":"unit_of_measurement","value":"A"},{"property":"state_class","value":"measurement"}],"resend":false,"debugEnabled":false},{"id":"9b28b1baa0a48d03","type":"ha-entity-config","server":"92b19ccb.7413e","deviceConfig":"33b1183f430af47c","name":"Stromstärke L3","version":6,"entityType":"sensor","haConfig":[{"property":"name","value":"Stromstärke L3"},{"property":"icon","value":""},{"property":"entity_picture","value":""},{"property":"entity_category","value":"diagnostic"},{"property":"device_class","value":"current"},{"property":"unit_of_measurement","value":"A"},{"property":"state_class","value":"measurement"}],"resend":false,"debugEnabled":false},{"id":"9af27bc16bc83749","type":"ha-entity-config","server":"92b19ccb.7413e","deviceConfig":"33b1183f430af47c","name":"Leistung L1","version":6,"entityType":"sensor","haConfig":[{"property":"name","value":"Leistung L1"},{"property":"icon","value":""},{"property":"entity_picture","value":""},{"property":"entity_category","value":"diagnostic"},{"property":"device_class","value":"power"},{"property":"unit_of_measurement","value":"kW"},{"property":"state_class","value":"measurement"}],"resend":false,"debugEnabled":false},{"id":"318bab2aed6e286f","type":"ha-entity-config","server":"92b19ccb.7413e","deviceConfig":"33b1183f430af47c","name":"Leistung L2","version":6,"entityType":"sensor","haConfig":[{"property":"name","value":"Leistung L2"},{"property":"icon","value":""},{"property":"entity_picture","value":""},{"property":"entity_category","value":"diagnostic"},{"property":"device_class","value":"power"},{"property":"unit_of_measurement","value":"kW"},{"property":"state_class","value":"measurement"}],"resend":false,"debugEnabled":false},{"id":"ffe0cbb1216bc525","type":"ha-entity-config","server":"92b19ccb.7413e","deviceConfig":"33b1183f430af47c","name":"Leistung L3","version":6,"entityType":"sensor","haConfig":[{"property":"name","value":"Leistung L3"},{"property":"icon","value":""},{"property":"entity_picture","value":""},{"property":"entity_category","value":"diagnostic"},{"property":"device_class","value":"power"},{"property":"unit_of_measurement","value":"kW"},{"property":"state_class","value":"measurement"}],"resend":false,"debugEnabled":false},{"id":"8995a733149d9c7c","type":"ha-entity-config","server":"92b19ccb.7413e","deviceConfig":"33b1183f430af47c","name":"Ladedauer","version":6,"entityType":"sensor","haConfig":[{"property":"name","value":"Ladedauer"},{"property":"icon","value":""},{"property":"entity_picture","value":""},{"property":"entity_category","value":"diagnostic"},{"property":"device_class","value":"duration"},{"property":"unit_of_measurement","value":"s"},{"property":"state_class","value":"measurement"}],"resend":false,"debugEnabled":false},{"id":"201f69f378aed6fe","type":"ha-entity-config","server":"92b19ccb.7413e","deviceConfig":"33b1183f430af47c","name":"Ladeenergie","version":6,"entityType":"sensor","haConfig":[{"property":"name","value":"Ladeenergie"},{"property":"icon","value":""},{"property":"entity_picture","value":""},{"property":"entity_category","value":"diagnostic"},{"property":"device_class","value":"energy"},{"property":"unit_of_measurement","value":"kWh"},{"property":"state_class","value":"total_increasing"}],"resend":false,"debugEnabled":false},{"id":"081ef16b9e7ec927","type":"ha-entity-config","server":"92b19ccb.7413e","deviceConfig":"33b1183f430af47c","name":"Ladeenergie Gesamt","version":6,"entityType":"sensor","haConfig":[{"property":"name","value":"Ladeenergie Gesamt"},{"property":"icon","value":""},{"property":"entity_picture","value":""},{"property":"entity_category","value":"diagnostic"},{"property":"device_class","value":"energy"},{"property":"unit_of_measurement","value":"kWh"},{"property":"state_class","value":"total"}],"resend":false,"debugEnabled":false},{"id":"0598a62a2d5d6539","type":"ha-entity-config","server":"92b19ccb.7413e","deviceConfig":"33b1183f430af47c","name":"Anz. Ladevorgänge","version":6,"entityType":"sensor","haConfig":[{"property":"name","value":"Anz. Ladevorgänge"},{"property":"icon","value":""},{"property":"entity_picture","value":""},{"property":"entity_category","value":"diagnostic"},{"property":"device_class","value":""},{"property":"unit_of_measurement","value":""},{"property":"state_class","value":"measurement"}],"resend":false,"debugEnabled":false},{"id":"de76011ac55d8e0b","type":"ha-entity-config","server":"92b19ccb.7413e","deviceConfig":"33b1183f430af47c","name":"Firmware","version":6,"entityType":"sensor","haConfig":[{"property":"name","value":"Firmware"},{"property":"icon","value":""},{"property":"entity_picture","value":""},{"property":"entity_category","value":"diagnostic"},{"property":"device_class","value":""},{"property":"unit_of_measurement","value":""},{"property":"state_class","value":"measurement"}],"resend":false,"debugEnabled":false},{"id":"9b7b458a5dcab54a","type":"ha-entity-config","server":"92b19ccb.7413e","deviceConfig":"33b1183f430af47c","name":"t","version":6,"entityType":"sensor","haConfig":[{"property":"name","value":"t"},{"property":"icon","value":""},{"property":"entity_picture","value":""},{"property":"entity_category","value":"diagnostic"},{"property":"device_class","value":""},{"property":"unit_of_measurement","value":""},{"property":"state_class","value":"measurement"}],"resend":false,"debugEnabled":false},{"id":"37a7b456baa499a2","type":"ha-entity-config","server":"92b19ccb.7413e","deviceConfig":"33b1183f430af47c","name":"Leistung Gesamt","version":6,"entityType":"sensor","haConfig":[{"property":"name","value":"Leistung Gesamt"},{"property":"icon","value":""},{"property":"entity_picture","value":""},{"property":"entity_category","value":"diagnostic"},{"property":"device_class","value":"power"},{"property":"unit_of_measurement","value":"kW"},{"property":"state_class","value":"measurement"}],"resend":false,"debugEnabled":false},{"id":"51742df0940f193e","type":"ha-entity-config","server":"92b19ccb.7413e","deviceConfig":"33b1183f430af47c","name":"Alarm","version":6,"entityType":"sensor","haConfig":[{"property":"name","value":"Alarm"},{"property":"icon","value":""},{"property":"entity_picture","value":""},{"property":"entity_category","value":""},{"property":"device_class","value":""},{"property":"unit_of_measurement","value":""},{"property":"state_class","value":""}],"resend":false,"debugEnabled":false},{"id":"d75e2c841ad06f7a","type":"ha-entity-config","server":"92b19ccb.7413e","deviceConfig":"33b1183f430af47c","name":"Laderate","version":6,"entityType":"sensor","haConfig":[{"property":"name","value":"Laderate"},{"property":"icon","value":""},{"property":"entity_picture","value":""},{"property":"entity_category","value":"diagnostic"},{"property":"device_class","value":""},{"property":"unit_of_measurement","value":"kWh/h"},{"property":"state_class","value":"measurement"}],"resend":false,"debugEnabled":false},{"id":"962a02c0abc4cfb3","type":"ha-entity-config","server":"92b19ccb.7413e","deviceConfig":"33b1183f430af47c","name":"Heartbeat","version":6,"entityType":"switch","haConfig":[{"property":"name","value":"Heartbeat"},{"property":"icon","value":""},{"property":"entity_picture","value":""},{"property":"entity_category","value":"config"},{"property":"device_class","value":"switch"}],"resend":false,"debugEnabled":false},{"id":"92b19ccb.7413e","type":"server","name":"Home Assistant","addon":true},{"id":"33b1183f430af47c","type":"ha-device-config","name":"EV-Charger","hwVersion":"","manufacturer":"Node-RED","model":"dé EV Charger","swVersion":""},{"id":"abd375d7942b052e","type":"global-config","env":[],"modules":{"node-red-contrib-tuya-smart-device":"5.4.0","node-red-contrib-home-assistant-websocket":"0.80.3"}}]