Free Cloud, no subscriptionShips within 3 working daysOrder →

Home / Sunsynk figures for your smart home

Sunsynk figures for your smart home

Both strings, battery, grid and house load, read on your network and shared over MQTT and JSON.

  • MQTT + JSONon your home network
  • 8+platforms, step by step
  • 0cloud needed at home

Plug & playA cable, your Wi-Fi password, and your readings appear: about one minute in all. Set up in advance for your Sunsynk, no app and no tools needed.See the 3 steps →

Pick your platform

Your system, your tools

Choose what you use at home: the steps and a ready-to-copy example for Sunsynk Monitor.

About a minuteAn MQTT broker (the Mosquitto add-on)
  1. In the box settings, MQTT & Home Assistant: broker address, user, password. Save.
  2. The Sunsynk Monitor device appears on its own under Settings › Devices & services › MQTT.
  3. Add the sensors to a dashboard and to the Energy page.

Home Assistant guide, with the automation generator →

Local API

One request, every value

On your network the box returns a simple JSON document, guarded by your access key. MQTT carries the very same values.

  • Protected by a keyShown in Settings › Access key & Cloud, renewable at any time.
  • Works without internetEverything stays on your home network.
  • Read-onlyNothing you send can change a setting of your equipment.
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}}
Compatible with
Home AssistantMQTT auto-discovery, no YAML
JeedomjMQTT plugin or local JSON
DomoticzMQTT Auto Discovery gateway
openHABMQTT binding or HTTP binding
ioBrokerMQTT adapter or local JSON
Node-REDmqtt in or http request node
GrafanaThrough MQTT or the JSON API
IFTTT · MakeThrough the free Cloud JSON link
In detail

Sunsynk data in your smart home

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.

Questions about integrations

Is the Cloud required for Home Assistant, Jeedom or Node-RED?

No. All of them read the box directly on your home network, through MQTT or the local JSON API. The Cloud is only for seeing your system from away, or for online services like IFTTT.

Where do I find my access key?

On the box’s page, Settings › Access key & Cloud. You can generate a new one at any time; the old one then stops working.

How often can I read the values?

The latest reading is always ready on the box and renewed every few seconds. Asking every 30 to 60 seconds is more than enough, and MQTT sends each new reading without being asked.

Can an integration change my settings?

No. The box only reads your equipment: no command sent through MQTT or the API can change a setting.

Is there a Tuya or SmartLife integration?

Not natively. IFTTT, Make.com or Apilio can read the private JSON link of the free Cloud and trigger Tuya or SmartLife scenes.

All questions →

Keep reading

See your Sunsynk system second by second

Order Sunsynk Monitor now. We prepare and test it for your exact Sunsynk model, and it leaves within 3 working days.

Plug & play: working in about a minute

Order for €59Ships within 3 working days · free cancellation until dispatch
Follow us on FacebookTips, news and real installations from our customers.
Follow