Home Assistant
Set your MQTT broker in the box and Home Assistant discovers Pace Monitor: sensor.pace_monitor_soc and sensor.pace_monitor_soh, voltage, current and power, sensor.pace_monitor_cell_01_voltage to cell_16_voltage, sensor.pace_monitor_cell_delta, sensor.pace_monitor_temperature_1, sensor.pace_monitor_cycles and binary_sensor.pace_monitor_warning. No YAML.
No MQTT broker? Home Assistant’s REST integration can read the box’s local JSON API instead. Both work on a local network with no internet.
MQTT
Readings on your broker are open to any client: Node-RED on a Raspberry Pi, a wall tablet, a data logger.
Local JSON API
GET http://moniwatt.local/api.json?key=YOUR_KEY
{ "soc": 81, "soh": 98, "voltage": 53.2, "current": -7.4, "delta_mv": 6,
"temps": [24.0, 24.5, 25.1, 23.8, 29.4, 26.0], "cycles": 212,
"warnings": [], "protections": [] }Copy the key from Settings > Access key & Cloud.
Jeedom
A JSON plugin from the Market reads api.json; map soc, soh and delta_mv to commands, and raise an alert on any entry in warnings or protections.
Node-RED
Poll api.json with an http request node and test the length of msg.payload.warnings: as soon as it is above zero, the board has something to say. An mqtt in node works too.
Domoticz
Domoticz reads the box through its MQTT Auto Discovery gateway, or with a dzVents script polling api.json.
openHAB
HTTP binding with JSONPATH channels such as $.soc and $.soh, or the MQTT binding.
IFTTT, Make and Apilio
With the free Cloud on and an internet link, IFTTT, Make.com or Apilio can read the private JSON link and bridge values into SmartLife or Tuya scenes. There is no native Tuya integration.
Ideas for rack owners
- Receive the text of each warning as soon as the board raises it.
- Switch off big loads before the rack reaches its reserve.
- Send the surplus to the water heater when the rack is full.
- Start a fan when the battery room gets hot.
- Keep a monthly record of the state of health and the cycle count.