Why a few seconds matter
Diverting surplus to an immersion heater or a car only works if Home Assistant sees the export when it happens. Cloud integrations update every few minutes and stop with your broadband. Sunsynk Monitor publishes to your MQTT broker every few seconds, from the inverter’s own registers.
Sensors created for you
sensor.sunsynk_monitor_pv_power,…_pv1_power,…_pv2_power,…_pv1_voltage,…_pv1_currentsensor.sunsynk_monitor_battery_soc,…_battery_power,…_battery_voltage,…_battery_current,…_battery_temperaturesensor.sunsynk_monitor_grid_power(import positive, export negative),…_grid_import_power,…_grid_export_powersensor.sunsynk_monitor_load_power,…_inverter_power,…_gen_powersensor.sunsynk_monitor_pv_energy_today,…_load_energy_today,…_grid_import_today,…_grid_export_today,…_battery_charge_today,…_battery_discharge_todaysensor.sunsynk_monitor_pv_energy_total,…_grid_import_total,…_grid_export_total,…_battery_charge_total,…_battery_discharge_totalsensor.sunsynk_monitor_fault,…_warning,…_state,binary_sensor.sunsynk_monitor_problem,binary_sensor.sunsynk_monitor_grid_connected
Sensors appear only for what your inverter has (per-phase values on three-phase models, a second battery). If the box loses the inverter, they turn unavailable instead of freezing on an old value.
For the Energy dashboard, pick the …_total sensors for solar, grid in and out, battery in and out.
Automations people set up first
- Immersion heater on when export stays above 2 kW for three minutes and the battery is above 95%.
- Car charging from surplus only, paused if the house battery drops under 50%.
- A phone notification when the inverter raises a fault code.
- A morning check that the cheap-rate night charge reached its target.
JSON
GET http://sunsynk-monitor.local/api.json
{"system": "sunsynk-monitor", "firmware": "1.0.0",
"summary": {"soc": 76, "power": -980, "pv_power": 0,
"grid_power": 120, "load_power": 1100, "state": "Normal"},
"inverter_link": true,
"pv_w": 0, "batt_soc": 76, "batt_w": -980, "batt_temp": 19.5,
"grid_w": 120, "load_w": 1100,
"today": {"pv_kwh": 6.8, "import_kwh": 2.4, "export_kwh": 0.9}}
No key on your home network. The REST integration of Home Assistant can read it too, for example value_json.summary.soc.