DarkZeros / dbus-mppsolar

DBus VenusOS driver for Vevor inverter
4 stars 1 forks source link

Using Inverter with hidraw0 instead of ttyusb0 #4

Open geofreybingachie opened 1 month ago

geofreybingachie commented 1 month ago

Hello, I own an inverter that is compatible with mppsolar and uses PI30 . But the device is listed as hidraw0 instead of ttyUSB0 . Help me on what i can change to make use of your script .Thank you.

DarkZeros commented 1 month ago

There is nothing special the code does for TTYs, in fact it is VenusOS that starts the script with the given TTY value. Maybe you can modify VenusOS serial-starter to take your device and run it trough the services.

Check the /etc/venus/serial-starter.conf and serial_starter.sh scripts.

geofreybingachie commented 1 month ago

There is nothing special the code does for TTYs, in fact it is VenusOS that starts the script with the given TTY value. Maybe you can modify VenusOS serial-starter to take your device and run it trough the services.

Check the /etc/venus/serial-starter.conf and serial_starter.sh scripts.

I will give it a try.Thank you.

TheBarnHome commented 2 weeks ago

There is nothing special the code does for TTYs, in fact it is VenusOS that starts the script with the given TTY value. Maybe you can modify VenusOS serial-starter to take your device and run it trough the services. Check the /etc/venus/serial-starter.conf and serial_starter.sh scripts.

I will give it a try.Thank you.

There is nothing special the code does for TTYs, in fact it is VenusOS that starts the script with the given TTY value. Maybe you can modify VenusOS serial-starter to take your device and run it trough the services. Check the /etc/venus/serial-starter.conf and serial_starter.sh scripts.

I will give it a try.Thank you.

Hi, Have you found a way to make it work with hidraw0 ? I'm working on integrating my MPP Solar 5kW HV II Hybrid inverter with protocol 18 to this code, I will make a pull request when it's working fine.

Thanks, Tristan

geofreybingachie commented 1 week ago

There is nothing special the code does for TTYs, in fact it is VenusOS that starts the script with the given TTY value. Maybe you can modify VenusOS serial-starter to take your device and run it trough the services. Check the /etc/venus/serial-starter.conf and serial_starter.sh scripts.

I will give it a try.Thank you.

There is nothing special the code does for TTYs, in fact it is VenusOS that starts the script with the given TTY value. Maybe you can modify VenusOS serial-starter to take your device and run it trough the services. Check the /etc/venus/serial-starter.conf and serial_starter.sh scripts.

I will give it a try.Thank you.

Hi, Have you found a way to make it work with hidraw0 ? I'm working on integrating my MPP Solar 5kW HV II Hybrid inverter with protocol 18 to this code, I will make a pull request when it's working fine.

Thanks, Tristan

I am using a very crude way but it works . I edited start-dbus-mppsolar.sh and add the below line to the bottom of the script start -b 2400 -s /dev/hidraw0

I then run the script in the background on terminal bg disown image