What is Nostr?
farcaller /
npub1wc5…qzxm
2024-07-04 12:25:04

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.
Author Public Key
npub1wc5saxwyesuu3qpak2qq5asup0dgwhnsy3dfp9t66j8g32d6dl5sn2qzxm