I am using a RPi3 and a RS485 to USB converter. I installed StealthChesnut/HA-FoxESS-Modbus and I am getting data no problems. I have also installed the Power Flow Card and it's great to show what's happening. I had it running for about a week then an HA update happened and it all went pear shaped. So I reinstalled from scratch as I hadn't saved a backup off the SD card! That will teach me...
The problem I have is that the 'sensor.grid_consumption' has stopped working - well sort off. It is showing import but not export. The 'grid_consumption_sum' is working correctly.
I am probably doing something wrong but on the Power Flow card I'm using the following code:
Code: Select all
type: custom:power-flow-card
watt_threshold: 999
w_decimals: 0
min_flow_rate: 1.5
max_flow_rate: 6
entities:
grid: sensor.grid_consumption
solar: sensor.pv_power_now
battery:
consumption: sensor.battery_discharge
production: sensor.battery_charge
battery_charge: sensor.battery_soc
title: Live Data
Any idea what I have wrong?
Thanks for any help you can offer.