farcaller on Nostr: I have a metric that says how much the inverter produces in watts. I have another ...
I have a metric that says how much the inverter produces in watts. I have another metric that says how much power is passing towards the grid (in kW). So, I suppose, I could do something like this:
(huawei_device_power_sensor_active_power_w > bool 0) * (huawei_device_inverter_active_power_kw * 1000 - huawei_device_power_sensor_active_power_w)
+ (huawei_device_power_sensor_active_power_w <= bool 0) * (huawei_device_inverter_active_power_kw * 1000)
To plot the consumption from specifically the solar energy.
Why is this all so complicated.
Published at
2024-07-04 12:25:04Event JSON
{
"id": "fd1ea6ba5054e1a25dff1ab2313dd523b990f1c138047fa9707277ba53e0afde",
"pubkey": "76290e99c4cc39c8803db2800a761c0bda875e70245a90957ad48e88a9ba6fe9",
"created_at": 1720095904,
"kind": 1,
"tags": [
[
"proxy",
"https://hdev.im/users/farcaller/statuses/112728205193305133",
"activitypub"
]
],
"content": "I have a metric that says how much the inverter produces in watts. I have another metric that says how much power is passing towards the grid (in kW). So, I suppose, I could do something like this:\n\n(huawei_device_power_sensor_active_power_w \u003e bool 0) * (huawei_device_inverter_active_power_kw * 1000 - huawei_device_power_sensor_active_power_w)\n+ (huawei_device_power_sensor_active_power_w \u003c= bool 0) * (huawei_device_inverter_active_power_kw * 1000)\n\nTo plot the consumption from specifically the solar energy.\n\nWhy is this all so complicated.",
"sig": "28a85e67e6f3f921ae594cdd7c7e29b76bc086c34aee85b8b5bdeeedf6aa506c8257b31469de3e226bfc987d6c12f5a9822e07249d8c51eacd9f6d354712137f"
}