Od ponad roku mam Shelly EM3, licznik niestety zlicza energię z każdej fazy niezależnie co przy exporcie i imporcie są różnicę,
Porównywałem przez kilka miesięcy co parę dni i wyliczałem różnicę procentową.
Na dzień dzisiejszy a mija już 385 dni maksymalna różnica liczników z shelly a PGE wynosi 2 kWh.
Współczynniki u mnie są następujące:
wskaźnik dla energii pobranej = 1.05739210284665
wskaźnik dla energii wysłanej = 1.02271701519482
Może komuś się przyda
[{"id":"066282ebab722d48","type":"tab","label":"Flow 1","disabled":false,"info":"","env":[]},{"id":"e30fcf0ca0dc724d","type":"group","z":"066282ebab722d48","name":"","style":{"stroke":"#ff0000","fill":"#ffff00","label":true,"color":"#ff3f3f"},"nodes":["c326ac3e8b882fdb","02be2534c43b4d15","15fb489d05ea9f89","3aa953b0fe4c51c3","c2907ebef362ec9c","6e13ea319135e93c","e70bbfa6f12242d9","73ab7630c4fc951a"],"x":74,"y":599,"w":892,"h":162},{"id":"cffa69914eada2e6","type":"group","z":"066282ebab722d48","name":"","style":{"stroke":"#000000","fill":"#92d04f","fill-opacity":"0.37","label":true},"nodes":["01b4984c7cd18a93","6860720dfd6a99ab","c7e4b58acf18e04e","94ec2bdd30dc3bdc","29e91032f162ac0f","b61d52295c4e166a","f5ad65017e1dce07","6b788f2c08585ceb","47e8f3b8d591aefd","4eaf249c1a4311b2","96bce9b66daf31eb","dd768131755456b3"],"x":74,"y":299,"w":892,"h":262},{"id":"ce97f26c6673d93c","type":"group","z":"066282ebab722d48","name":"","style":{"stroke":"#000000","fill":"#ff0000","fill-opacity":"0.39","label":true},"nodes":["45681617de7f6b9c","ae1e483fdf20b52e","eac801b9e05aa107","93fab787f6a3ca03","04555e7b39094cd8","939df52cf8f8ad25","cdcdff228f2b7e18","dea110ca9d8e915d","03088d17859975d5","7c137b261f4bd615","cdb40a4c03b5a179","015355cf6e018bce"],"x":74,"y":19,"w":892,"h":262},{"id":"45681617de7f6b9c","type":"server-state-changed","z":"066282ebab722d48","g":"ce97f26c6673d93c","name":"Import faza 2","server":"55bcb0b1.5b942","version":4,"exposeToHomeAssistant":false,"haConfig":[{"property":"name","value":""},{"property":"icon","value":""}],"entityidfilter":"sensor.faza_2_energy","entityidfiltertype":"exact","outputinitially":true,"state_type":"num","haltifstate":"","halt_if_type":"str","halt_if_compare":"is","outputs":1,"output_only_on_state_change":true,"for":"0","forType":"num","forUnits":"minutes","ignorePrevStateNull":true,"ignorePrevStateUnknown":true,"ignorePrevStateUnavailable":true,"ignoreCurrentStateUnknown":true,"ignoreCurrentStateUnavailable":true,"outputProperties":[{"property":"data","propertyType":"msg","value":"","valueType":"eventData"},{"property":"topic","propertyType":"msg","value":"","valueType":"triggerId"},{"property":"payload","propertyType":"msg","value":"","valueType":"entityState"}],"x":170,"y":100,"wires":[["93fab787f6a3ca03"]]},{"id":"ae1e483fdf20b52e","type":"server-state-changed","z":"066282ebab722d48","g":"ce97f26c6673d93c","name":"Import faza 1","server":"55bcb0b1.5b942","version":4,"exposeToHomeAssistant":false,"haConfig":[{"property":"name","value":""},{"property":"icon","value":""}],"entityidfilter":"sensor.faza_1_energy","entityidfiltertype":"exact","outputinitially":true,"state_type":"num","haltifstate":"","halt_if_type":"str","halt_if_compare":"is","outputs":1,"output_only_on_state_change":true,"for":"0","forType":"num","forUnits":"milliseconds","ignorePrevStateNull":true,"ignorePrevStateUnknown":true,"ignorePrevStateUnavailable":true,"ignoreCurrentStateUnknown":true,"ignoreCurrentStateUnavailable":true,"outputProperties":[{"property":"payload","propertyType":"msg","value":"","valueType":"entityState"},{"property":"data","propertyType":"msg","value":"","valueType":"eventData"},{"property":"topic","propertyType":"msg","value":"","valueType":"triggerId"}],"x":170,"y":60,"wires":[["93fab787f6a3ca03"]]},{"id":"eac801b9e05aa107","type":"server-state-changed","z":"066282ebab722d48","g":"ce97f26c6673d93c","name":"Import faza 3","server":"55bcb0b1.5b942","version":4,"exposeToHomeAssistant":false,"haConfig":[{"property":"name","value":""},{"property":"icon","value":""}],"entityidfilter":"sensor.faza_3_energy","entityidfiltertype":"exact","outputinitially":true,"state_type":"num","haltifstate":"","halt_if_type":"str","halt_if_compare":"is","outputs":1,"output_only_on_state_change":true,"for":"0","forType":"num","forUnits":"minutes","ignorePrevStateNull":true,"ignorePrevStateUnknown":true,"ignorePrevStateUnavailable":true,"ignoreCurrentStateUnknown":true,"ignoreCurrentStateUnavailable":true,"outputProperties":[{"property":"data","propertyType":"msg","value":"","valueType":"eventData"},{"property":"topic","propertyType":"msg","value":"","valueType":"triggerId"},{"property":"payload","propertyType":"msg","value":"","valueType":"entityState"}],"x":170,"y":140,"wires":[["93fab787f6a3ca03"]]},{"id":"93fab787f6a3ca03","type":"sum","z":"066282ebab722d48","g":"ce97f26c6673d93c","name":"","topic":"","x":350,"y":100,"wires":[["939df52cf8f8ad25"]]},{"id":"01b4984c7cd18a93","type":"server-state-changed","z":"066282ebab722d48","g":"cffa69914eada2e6","name":"Export faza 1","server":"55bcb0b1.5b942","version":4,"exposeToHomeAssistant":false,"haConfig":[{"property":"name","value":""},{"property":"icon","value":""}],"entityidfilter":"sensor.faza_1_energy_returned","entityidfiltertype":"exact","outputinitially":true,"state_type":"str","haltifstate":"","halt_if_type":"str","halt_if_compare":"is","outputs":1,"output_only_on_state_change":true,"for":"0","forType":"num","forUnits":"minutes","ignorePrevStateNull":true,"ignorePrevStateUnknown":true,"ignorePrevStateUnavailable":true,"ignoreCurrentStateUnknown":true,"ignoreCurrentStateUnavailable":true,"outputProperties":[{"property":"payload","propertyType":"msg","value":"","valueType":"entityState"},{"property":"data","propertyType":"msg","value":"","valueType":"eventData"},{"property":"topic","propertyType":"msg","value":"","valueType":"triggerId"}],"x":170,"y":340,"wires":[["c7e4b58acf18e04e"]]},{"id":"6860720dfd6a99ab","type":"server-state-changed","z":"066282ebab722d48","g":"cffa69914eada2e6","name":"Export faza 2","server":"55bcb0b1.5b942","version":4,"exposeToHomeAssistant":false,"haConfig":[{"property":"name","value":""},{"property":"icon","value":""}],"entityidfilter":"sensor.faza_2_energy_returned","entityidfiltertype":"exact","outputinitially":true,"state_type":"str","haltifstate":"","halt_if_type":"str","halt_if_compare":"is","outputs":1,"output_only_on_state_change":true,"for":"0","forType":"num","forUnits":"minutes","ignorePrevStateNull":true,"ignorePrevStateUnknown":true,"ignorePrevStateUnavailable":true,"ignoreCurrentStateUnknown":true,"ignoreCurrentStateUnavailable":true,"outputProperties":[{"property":"payload","propertyType":"msg","value":"","valueType":"entityState"},{"property":"data","propertyType":"msg","value":"","valueType":"eventData"},{"property":"topic","propertyType":"msg","value":"","valueType":"triggerId"}],"x":170,"y":400,"wires":[["c7e4b58acf18e04e"]]},{"id":"c7e4b58acf18e04e","type":"sum","z":"066282ebab722d48","g":"cffa69914eada2e6","name":"","topic":"","x":330,"y":400,"wires":[["94ec2bdd30dc3bdc"]]},{"id":"04555e7b39094cd8","type":"change","z":"066282ebab722d48","g":"ce97f26c6673d93c","name":"( , )","rules":[{"t":"set","p":"payload","pt":"msg","to":"$round(payload, 2)","tot":"jsonata"}],"action":"","property":"","from":"","to":"","reg":false,"x":510,"y":160,"wires":[["015355cf6e018bce"]]},{"id":"939df52cf8f8ad25","type":"function","z":"066282ebab722d48","g":"ce97f26c6673d93c","name":"string to number","func":"msg.payload = Number(msg.payload)\nmsg.topic = \"TOTAL_180\" \nreturn msg;","outputs":1,"noerr":0,"initialize":"","finalize":"","libs":[],"x":500,"y":100,"wires":[["cdcdff228f2b7e18"]]},{"id":"cdcdff228f2b7e18","type":"change","z":"066282ebab722d48","g":"ce97f26c6673d93c","name":"","rules":[{"t":"set","p":"TOTAL_180","pt":"flow","to":"payload","tot":"msg"}],"action":"","property":"","from":"","to":"","reg":false,"x":700,"y":100,"wires":[["cdb40a4c03b5a179"]]},{"id":"dea110ca9d8e915d","type":"server-state-changed","z":"066282ebab722d48","g":"ce97f26c6673d93c","name":"KOREKTA 180","server":"55bcb0b1.5b942","version":4,"exposeToHomeAssistant":false,"haConfig":[{"property":"name","value":""},{"property":"icon","value":""}],"entityidfilter":"sensor.korekta_licznika_pge_180","entityidfiltertype":"exact","outputinitially":true,"state_type":"str","haltifstate":"","halt_if_type":"str","halt_if_compare":"is","outputs":1,"output_only_on_state_change":true,"for":"0","forType":"num","forUnits":"milliseconds","ignorePrevStateNull":true,"ignorePrevStateUnknown":true,"ignorePrevStateUnavailable":true,"ignoreCurrentStateUnknown":true,"ignoreCurrentStateUnavailable":true,"outputProperties":[{"property":"data","propertyType":"msg","value":"","valueType":"eventData"},{"property":"topic","propertyType":"msg","value":"","valueType":"triggerId"},{"property":"payload","propertyType":"msg","value":"","valueType":"entityState"}],"x":180,"y":240,"wires":[["03088d17859975d5"]]},{"id":"03088d17859975d5","type":"function","z":"066282ebab722d48","g":"ce97f26c6673d93c","name":"string to number","func":"msg.payload = Number(msg.payload)\nmsg.topic = \"KOREKTA_180\" \nreturn msg;","outputs":1,"noerr":0,"initialize":"","finalize":"","libs":[],"x":360,"y":240,"wires":[["7c137b261f4bd615"]]},{"id":"7c137b261f4bd615","type":"change","z":"066282ebab722d48","g":"ce97f26c6673d93c","name":"","rules":[{"t":"set","p":"KOREKTA_180","pt":"flow","to":"payload","tot":"msg"}],"action":"","property":"","from":"","to":"","reg":false,"x":570,"y":240,"wires":[["cdb40a4c03b5a179"]]},{"id":"cdb40a4c03b5a179","type":"change","z":"066282ebab722d48","g":"ce97f26c6673d93c","name":"Oblicz","rules":[{"t":"set","p":"payload","pt":"msg","to":"$flowContext('TOTAL_180') / $flowContext('KOREKTA_180')","tot":"jsonata"}],"action":"","property":"","from":"","to":"","reg":false,"x":390,"y":160,"wires":[["04555e7b39094cd8"]]},{"id":"94ec2bdd30dc3bdc","type":"function","z":"066282ebab722d48","g":"cffa69914eada2e6","name":"string to number","func":"msg.payload = Number(msg.payload)\nmsg.topic = \"TOTAL_280\" \nreturn msg;","outputs":1,"noerr":0,"initialize":"","finalize":"","libs":[],"x":480,"y":400,"wires":[["29e91032f162ac0f"]]},{"id":"29e91032f162ac0f","type":"change","z":"066282ebab722d48","g":"cffa69914eada2e6","name":"","rules":[{"t":"set","p":"TOTAL_280","pt":"flow","to":"payload","tot":"msg"}],"action":"","property":"","from":"","to":"","reg":false,"x":680,"y":400,"wires":[["47e8f3b8d591aefd"]]},{"id":"b61d52295c4e166a","type":"function","z":"066282ebab722d48","g":"cffa69914eada2e6","name":"string to number","func":"msg.payload = Number(msg.payload)\nmsg.topic = \"KOREKTA_280\" \nreturn msg;","outputs":1,"noerr":0,"initialize":"","finalize":"","libs":[],"x":360,"y":520,"wires":[["f5ad65017e1dce07"]]},{"id":"f5ad65017e1dce07","type":"change","z":"066282ebab722d48","g":"cffa69914eada2e6","name":"","rules":[{"t":"set","p":"KOREKTA_280","pt":"flow","to":"payload","tot":"msg"}],"action":"","property":"","from":"","to":"","reg":false,"x":570,"y":520,"wires":[["47e8f3b8d591aefd"]]},{"id":"6b788f2c08585ceb","type":"server-state-changed","z":"066282ebab722d48","g":"cffa69914eada2e6","name":"KOREKTA 280","server":"55bcb0b1.5b942","version":4,"exposeToHomeAssistant":false,"haConfig":[{"property":"name","value":""},{"property":"icon","value":""}],"entityidfilter":"sensor.korekta_licznika_pge_280","entityidfiltertype":"exact","outputinitially":true,"state_type":"str","haltifstate":"","halt_if_type":"str","halt_if_compare":"is","outputs":1,"output_only_on_state_change":true,"for":"0","forType":"num","forUnits":"minutes","ignorePrevStateNull":true,"ignorePrevStateUnknown":true,"ignorePrevStateUnavailable":true,"ignoreCurrentStateUnknown":true,"ignoreCurrentStateUnavailable":true,"outputProperties":[{"property":"data","propertyType":"msg","value":"","valueType":"eventData"},{"property":"topic","propertyType":"msg","value":"","valueType":"triggerId"},{"property":"payload","propertyType":"msg","value":"","valueType":"entityState"}],"x":180,"y":520,"wires":[["b61d52295c4e166a"]]},{"id":"47e8f3b8d591aefd","type":"change","z":"066282ebab722d48","g":"cffa69914eada2e6","name":"Oblicz","rules":[{"t":"set","p":"payload","pt":"msg","to":"$flowContext('TOTAL_280')/ $flowContext('KOREKTA_280')","tot":"jsonata"}],"action":"","property":"","from":"","to":"","reg":false,"x":370,"y":460,"wires":[["4eaf249c1a4311b2"]]},{"id":"4eaf249c1a4311b2","type":"change","z":"066282ebab722d48","g":"cffa69914eada2e6","name":"( , )","rules":[{"t":"set","p":"payload","pt":"msg","to":"$round(payload, 2)","tot":"jsonata"}],"action":"","property":"","from":"","to":"","reg":false,"x":530,"y":460,"wires":[["96bce9b66daf31eb"]]},{"id":"015355cf6e018bce","type":"ha-entity","z":"066282ebab722d48","g":"ce97f26c6673d93c","name":"Energia pobrana 1.8.0 ","server":"55bcb0b1.5b942","version":2,"debugenabled":false,"outputs":1,"entityType":"sensor","config":[{"property":"name","value":"Energia pobrana 1.8.0"},{"property":"device_class","value":"energy"},{"property":"icon","value":"mdi:lightning-bolt"},{"property":"unit_of_measurement","value":"KwH"},{"property":"state_class","value":"total_increasing"},{"property":"last_reset","value":""}],"state":"payload","stateType":"msg","attributes":[],"resend":true,"outputLocation":"payload","outputLocationType":"none","inputOverride":"allow","outputOnStateChange":false,"outputPayload":"","outputPayloadType":"str","x":840,"y":160,"wires":[[]]},{"id":"96bce9b66daf31eb","type":"ha-entity","z":"066282ebab722d48","g":"cffa69914eada2e6","name":"Energia wyslana 2.8.0","server":"55bcb0b1.5b942","version":2,"debugenabled":false,"outputs":1,"entityType":"sensor","config":[{"property":"name","value":"Energia wyslana 2.8.0"},{"property":"device_class","value":"energy"},{"property":"icon","value":"mdi:lightning-bolt"},{"property":"unit_of_measurement","value":"KwH"},{"property":"state_class","value":"total_increasing"},{"property":"last_reset","value":""}],"state":"payload","stateType":"msg","attributes":[],"resend":true,"outputLocation":"payload","outputLocationType":"none","inputOverride":"allow","outputOnStateChange":false,"outputPayload":"","outputPayloadType":"str","x":840,"y":460,"wires":[[]]},{"id":"dd768131755456b3","type":"server-state-changed","z":"066282ebab722d48","g":"cffa69914eada2e6","name":"Export faza 3","server":"55bcb0b1.5b942","version":4,"exposeToHomeAssistant":false,"haConfig":[{"property":"name","value":""},{"property":"icon","value":""}],"entityidfilter":"sensor.faza_3_energy_returned","entityidfiltertype":"exact","outputinitially":true,"state_type":"str","haltifstate":"","halt_if_type":"str","halt_if_compare":"is","outputs":1,"output_only_on_state_change":true,"for":"0","forType":"num","forUnits":"minutes","ignorePrevStateNull":true,"ignorePrevStateUnknown":true,"ignorePrevStateUnavailable":true,"ignoreCurrentStateUnknown":true,"ignoreCurrentStateUnavailable":true,"outputProperties":[{"property":"payload","propertyType":"msg","value":"","valueType":"entityState"},{"property":"data","propertyType":"msg","value":"","valueType":"eventData"},{"property":"topic","propertyType":"msg","value":"","valueType":"triggerId"}],"x":170,"y":460,"wires":[["c7e4b58acf18e04e"]]},{"id":"c326ac3e8b882fdb","type":"function","z":"066282ebab722d48","g":"e30fcf0ca0dc724d","name":"Korekta locznika 1.8.0","func":"var a = 1.05739210284665\nmsg.payload = a\nreturn msg;\n","outputs":1,"noerr":0,"initialize":"","finalize":"","libs":[],"x":380,"y":640,"wires":[["02be2534c43b4d15"]]},{"id":"02be2534c43b4d15","type":"change","z":"066282ebab722d48","g":"e30fcf0ca0dc724d","name":"Przecinek 8","rules":[{"t":"set","p":"payload","pt":"msg","to":"$round(payload, 8)","tot":"jsonata"}],"action":"","property":"","from":"","to":"","reg":false,"x":570,"y":640,"wires":[["6e13ea319135e93c"]]},{"id":"15fb489d05ea9f89","type":"function","z":"066282ebab722d48","g":"e30fcf0ca0dc724d","name":"Korekta locznika 2.8.0","func":"var a = 1.02271701519482\nmsg.payload = a\nreturn msg;\n","outputs":1,"noerr":0,"initialize":"","finalize":"","libs":[],"x":380,"y":720,"wires":[["3aa953b0fe4c51c3"]]},{"id":"3aa953b0fe4c51c3","type":"change","z":"066282ebab722d48","g":"e30fcf0ca0dc724d","name":"Przecinek 8","rules":[{"t":"set","p":"payload","pt":"msg","to":"$round(payload, 8)","tot":"jsonata"}],"action":"","property":"","from":"","to":"","reg":false,"x":570,"y":720,"wires":[["e70bbfa6f12242d9"]]},{"id":"c2907ebef362ec9c","type":"inject","z":"066282ebab722d48","g":"e30fcf0ca0dc724d","name":"","props":[{"p":"topic","vt":"str"}],"repeat":"30","crontab":"","once":false,"onceDelay":0.1,"topic":"time","x":170,"y":640,"wires":[["c326ac3e8b882fdb"]]},{"id":"6e13ea319135e93c","type":"ha-entity","z":"066282ebab722d48","g":"e30fcf0ca0dc724d","name":"Korekta licznika PGE 180","server":"55bcb0b1.5b942","version":2,"debugenabled":false,"outputs":1,"entityType":"sensor","config":[{"property":"name","value":"Korekta_licznika_PGE_180"},{"property":"device_class","value":"energy"},{"property":"icon","value":"mdi:lightning-bolt"},{"property":"unit_of_measurement","value":""},{"property":"state_class","value":"total"},{"property":"last_reset","value":""}],"state":"payload","stateType":"msg","attributes":[],"resend":true,"outputLocation":"payload","outputLocationType":"none","inputOverride":"allow","outputOnStateChange":false,"outputPayload":"","outputPayloadType":"str","x":830,"y":640,"wires":[[]]},{"id":"e70bbfa6f12242d9","type":"ha-entity","z":"066282ebab722d48","g":"e30fcf0ca0dc724d","name":"Korekta licznika PGE 280","server":"55bcb0b1.5b942","version":2,"debugenabled":false,"outputs":1,"entityType":"sensor","config":[{"property":"name","value":"Korekta_licznika_PGE_280"},{"property":"device_class","value":"energy"},{"property":"icon","value":"mdi:lightning-bolt"},{"property":"unit_of_measurement","value":""},{"property":"state_class","value":"total"},{"property":"last_reset","value":""}],"state":"payload","stateType":"msg","attributes":[],"resend":true,"outputLocation":"payload","outputLocationType":"none","inputOverride":"allow","outputOnStateChange":false,"outputPayload":"","outputPayloadType":"str","x":830,"y":720,"wires":[[]]},{"id":"73ab7630c4fc951a","type":"inject","z":"066282ebab722d48","g":"e30fcf0ca0dc724d","name":"","props":[{"p":"topic","vt":"str"}],"repeat":"30","crontab":"","once":false,"onceDelay":0.1,"topic":"time","x":170,"y":720,"wires":[["15fb489d05ea9f89"]]},{"id":"55bcb0b1.5b942","type":"server","name":"HA OS","version":4,"addon":true,"rejectUnauthorizedCerts":true,"ha_boolean":"y|yes|true|on|home|open","connectionDelay":true,"cacheJson":false,"heartbeat":false,"heartbeatInterval":"30","areaSelector":"friendlyName","deviceSelector":"friendlyName","entitySelector":"friendlyName","statusSeparator":"at: ","statusYear":"numeric","statusMonth":"short","statusDay":"numeric","statusHourCycle":"h23","statusTimeFormat":"h:m"}]
Do panelu Energia pobieram moje sumowane total_180 oraz total_280 oraz produkcja dzienna z Sofara
Na koniec wyliczam bilans energetyczny import - ( export *80%) = bilans.
Na rachunku z PGE w czerwcu różnica moich wypocin wynosiła 7,3 kWh w “moim magazynie energii w PGE”