Open zoeste opened 1 year ago
Hi Zoeste I can't help you with your question. But maybe you can help me? I can't get data from my smartmeter; I see you can. Can you give me a hint?
I simply added a new device of the type "Smartmeter" and entered the IP address of the inverter. I then immediately received the data.
Is there no news on my question yet?
Hi. Could you please post the result of http://<your_ip>/solar_api/v1/GetMeterRealtimeData.cgi?Scope=System
?
Thanks
Hi. Could you please post the result of
http://<your_ip>/solar_api/v1/GetMeterRealtimeData.cgi?Scope=System
?Thanks
Of course, here is the result:
{ "Body" : { "Data" : { "0" : { "Current_AC_Phase_1" : 2.7383849620819092, "Current_AC_Phase_2" : 0.74126321077346802, "Current_AC_Phase_3" : 0.035584092140197754, "Current_AC_Sum" : 3.515232264995575, "Details" : { "Manufacturer" : "Fronius", "Model" : "CCS WattNode WND-3D-480-MB", "Serial" : "906071" }, "Enable" : 1, "EnergyReal_WAC_Minus_Absolute" : 440734.0, "EnergyReal_WAC_Phase_1_Consumed" : 1046991.0, "EnergyReal_WAC_Phase_1_Produced" : 116676.0, "EnergyReal_WAC_Phase_2_Consumed" : 228570.0, "EnergyReal_WAC_Phase_2_Produced" : 311366.0, "EnergyReal_WAC_Phase_3_Consumed" : 804.0, "EnergyReal_WAC_Phase_3_Produced" : 517383.0, "EnergyReal_WAC_Plus_Absolute" : 771673.0, "EnergyReal_WAC_Sum_Consumed" : 771673.0, "EnergyReal_WAC_Sum_Produced" : 440734.0, "Frequency_Phase_Average" : 50.022747039794922, "Meter_Location_Current" : 0.0, "PowerApparent_S_Phase_1" : 623.58056640625, "PowerApparent_S_Phase_2" : 168.35104370117188, "PowerApparent_S_Phase_3" : 8.3168859481811523, "PowerApparent_S_Sum" : 800.24853515625, "PowerFactor_Phase_1" : 0.83781623840332031, "PowerFactor_Phase_2" : 0.8624260425567627, "PowerFactor_Phase_3" : 0.0, "PowerFactor_Sum" : 0.83428621292114258, "PowerReactive_Q_Phase_1" : -278.00735473632812, "PowerReactive_Q_Phase_2" : -52.905548095703125, "PowerReactive_Q_Phase_3" : -7.9751276969909668, "PowerReactive_Q_Sum" : -338.88803100585938, "PowerReal_P_Phase_1" : 523.2093505859375, "PowerReal_P_Phase_2" : 145.2362060546875, "PowerReal_P_Phase_3" : 0.0, "PowerReal_P_Sum" : 668.44549560546875, "TimeStamp" : 1701805877, "Visible" : 1, "Voltage_AC_PhaseToPhase_12" : 397.29376220703125, "Voltage_AC_PhaseToPhase_23" : 398.0474853515625, "Voltage_AC_PhaseToPhase_31" : 397.16946411132812, "Voltage_AC_Phase_1" : 227.71096801757812, "Voltage_AC_Phase_2" : 227.13163757324219, "Voltage_AC_Phase_3" : 233.73428344726562, "Voltage_AC_Phase_Average" : 228.68532770792643 }, "1" : { "Current_AC_Phase_1" : 2.6840000000000002, "Current_AC_Sum" : 2.6840000000000002, "Details" : { "Manufacturer" : "Fronius", "Model" : "Smart Meter TS 100A-1", "Serial" : "1365837227" }, "Enable" : 1, "EnergyReactive_VArAC_Sum_Consumed" : 2146.0, "EnergyReactive_VArAC_Sum_Produced" : 1073034.0, "EnergyReal_WAC_Minus_Absolute" : 1970541.0, "EnergyReal_WAC_Plus_Absolute" : 0.0, "EnergyReal_WAC_Sum_Consumed" : 1970541.0, "EnergyReal_WAC_Sum_Produced" : 0.0, "Frequency_Phase_Average" : 50.0, "Meter_Location_Current" : 256.0, "PowerApparent_S_Phase_1" : 581.5, "PowerApparent_S_Sum" : 581.5, "PowerFactor_Phase_1" : 0.88100000000000001, "PowerFactor_Sum" : 0.88100000000000001, "PowerReactive_Q_Phase_1" : -271.89999999999998, "PowerReactive_Q_Sum" : -271.89999999999998, "PowerReal_P_Phase_1" : -514.10000000000002, "PowerReal_P_Sum" : -514.10000000000002, "TimeStamp" : 1701805877, "Visible" : 1, "Voltage_AC_Phase_1" : 228.19999999999999 }, "2" : { "Current_AC_Phase_1" : 0.66400000000000003, "Current_AC_Sum" : 0.66400000000000003, "Details" : { "Manufacturer" : "Fronius", "Model" : "Smart Meter TS 100A-1", "Serial" : "3767469481" }, "Enable" : 1, "EnergyReactive_VArAC_Sum_Consumed" : 14391.0, "EnergyReactive_VArAC_Sum_Produced" : 223958.0, "EnergyReal_WAC_Minus_Absolute" : 625356.0, "EnergyReal_WAC_Plus_Absolute" : 0.0, "EnergyReal_WAC_Sum_Consumed" : 625356.0, "EnergyReal_WAC_Sum_Produced" : 0.0, "Frequency_Phase_Average" : 50.0, "Meter_Location_Current" : 256.0, "PowerApparent_S_Phase_1" : 150.80000000000001, "PowerApparent_S_Sum" : 150.80000000000001, "PowerFactor_Phase_1" : 0.95599999999999996, "PowerFactor_Sum" : 0.95599999999999996, "PowerReactive_Q_Phase_1" : -43.799999999999997, "PowerReactive_Q_Sum" : -43.799999999999997, "PowerReal_P_Phase_1" : -144.40000000000001, "PowerReal_P_Sum" : -144.40000000000001, "TimeStamp" : 1701805877, "Visible" : 1, "Voltage_AC_Phase_1" : 227.09999999999999 } } }, "Head" : { "RequestArguments" : { "Scope" : "System" }, "Status" : { "Code" : 0, "Reason" : "", "UserMessage" : "" }, "Timestamp" : "2023-12-05T19:51:17+00:00" } }
Can we expect any news on the subject?
Hi ; I don't know if it's still useful but can you explain what you expect to see ? In the example sent you do have 2 negative values "PowerReal_P_Sum" : 668.44549560546875, , "PowerReal_P_Sum" : -514.10000000000002, "PowerReal_P_Sum" : -144.40000000000001,
The power meters are reporting two negative values (depending on where they're installed, it could means you are injecting in power grid) ; as you have several power meter, be aware that they're cumulative by default. You can change that in the device options. By cumulative that's what homey means :
Certain devices, such as a P1 meter or a current clamp, can measure the total energy usage of a home or a specific power group. Their measurements contribute to the overall energy consumption data for the entire home. To mark a device that measures cumulative energy usage, set the cumulative property to true in your driver's configuration.
In the Homey Energy overview, my Fronius smartmeters appears with negative values for current powerr. As a result, its consumption is not accurately accounted for. How can I address this issue or adjust the values to be positive?