MindFreeze / hassio-axpert

Hassio addon to monitor voltronic axpert inverters through USB
28 stars 10 forks source link
hassio-addon home-assistant home-automation voltronic-axpert-inverters

Warning

I don't have time to work on this anymore. It may or may not work for you. Refer to this comment for alternatives

inverters image

This is a Hassio addon to monitor voltronic axpert inverters through USB and publish the data as JSON to an MQTT broker. It publishes the data to 3 topics:

You can then configure the sensors in Home Assistant like this:

sensors:
  - platform: mqtt
    name: "Power"
    state_topic: "power/axpert"
    unit_of_measurement: 'W'
    value_template: "{{ value_json.TotalAcOutputActivePower }}"
    expire_after: 60

The values published on 'power/axpert' are:

The values published on 'power/axpert_settings' are:

The values published on 'power/axpert{sn}' are:

I have 3 inverters in parallel and a raspberry connected to 1 of them with a USB cable . Linux doesn't seem to recognize it as a USB to Serial device and it only shows up as /dev/hidraw0.

A description of the serial communication protocol can be found here

Install

Add https://github.com/MindFreeze/home-assistant-addons to the addon store repositories and you will get a Axpert Inverter listed there. Note that this assumes the inverter is /dev/hidraw0. If you have other USB to Serial devices connected this might be wrong.