Home Assistant
Type your MQTT broker into the box. Home Assistant finds Sunsynk Monitor on its own and creates sensor.sunsynk_monitor_pv_power, sensor.sunsynk_monitor_pv1_power, sensor.sunsynk_monitor_pv2_power, sensor.sunsynk_monitor_battery_soc, battery power and temperature, sensor.sunsynk_monitor_grid_power and sensor.sunsynk_monitor_load_power, plus the energy totals for the Energy dashboard.
No broker? The REST platform can read the same figures with a YAML snippet the box writes for you.
MQTT
Every client of your broker can use the figures: energy managers such as evcc, Grafana, or your own scripts.
Local JSON
GET http://sunsynk-monitor.local/api.json
{ "pv_w": 3120, "pv1_w": 1680, "pv2_w": 1440, "batt_soc": 64, "batt_w": 2100,
"grid_w": -310, "load_w": 710,
"today": {"pv_kwh": 11.4, "import_kwh": 0.6, "export_kwh": 2.9} }On your home network no key is needed.
Jeedom
A JSON plugin from the Market reads api.json; create commands for pv_w, batt_soc, grid_w and the today totals.
Node-RED
An http request node polling api.json, then msg.payload.grid_w: below zero the house exports and a load can start. An mqtt in node does the same.
Domoticz
Through its MQTT Auto Discovery gateway, or a dzVents script reading api.json.
openHAB
HTTP binding with JSONPATH channels such as $.grid_w and $.today.export_kwh, or the MQTT binding.
IFTTT, Make and Apilio
With the free Cloud on, IFTTT, Make.com or Apilio can read the private JSON link of your system. There is no native Tuya integration.
Ideas for Sunsynk homes
- Hot water from surplus instead of exporting it.
- Car charging on sunshine only.
- A morning report on the overnight cheap-rate charge.
- Compare the two strings to spot shade or dirt.
- Monthly import and export to judge a tariff switch.