Node.js utility that connects to a Voltronic Axpert inverter (via USB HID interface) and publishes its telemetry data to an MQTT broker.
I suspect that many of these inverters tend to share the same methods of throwing out telemetry data, so it might even be that this script would work on other models or even brands.
My inverter currently uses a microUSB connector and advertises itself as a HID, so there should be some minor adaptation to be done in case yours has some other type of interfacing, like RS232 or RS485.
- Just clone the project, run it and it will automatically create an .env file for you.
- Fill out the fields in the .env file
- Re-run the script, pick the HID device you want to connect to.
- At this point you can choose whether to add it to your .env file anwering the [Y/n] prompt.
If you choose to do so, it will automatically pick that same device next time you run the script. - Profit (?)