I have a 5KVA PowMr inverter with a USB port. When connecting by the USB, an operating system sees it like following device:
Bus 001 Device 004: ID 0665:5161 Cypress Semiconductor USB to Serial
The device is not detected as a TTY device, so it requires direct communication via libusb
.
Here you can find my solution: GitHub - anti-social/inverter2mqtt: Dump inverter sensors into mqtt
It is a program that periodically fetches data from the inverter and updates corresponding sensors state.
There is a configuration file which describes how data should be converted into sensors’ values.
Possibly somebody will also find it useful.