Open sebashb opened 3 months ago
Hi, it doesn't hold together: you have the needed device:
user@device:~/skymax-demo$ ls /dev/hid* /dev/hidraw0
in config you have a proper value:
device=/dev/hidraw0
But when starting you've got:
Unable to open device file (errno=2 No such file or directory)
Are you sure that the config is OK and from the same instance?
Hi, yes I'm sure that I'm running inverter_poller from the same directory on which the configuration is at.
Is there any simpler test that I can do to verify the proper function of the device?
Could it be a driver issue? Or in that case the device wouldn't show up?
All seems fine, you have the needed device (/dev/hidraw0) but it seems, that inverter_poller
cannot open it (or it is trying to open quite different file)?! weird!
Read my blog: https://skyboo.net/2017/03/monitoring-voltronic-power-axpert-mex-inverter-under-linux/
Lack of permission? Try root.
I'm running it as root, as shown on the console output I posted on the original question.
I also noticed that after failing to run inverter_poller
the Cypress Semiconductor USB to Serial disappears from lsub
and the device also disappears from /dev/hidraw0
.
I'm running it as root, as shown on the console output I posted on the original question.
It should say root@ not user@ except if you heavily modified your system. sudo should do the job but not always does. Anyway next issue indicate this is other problem.
I also noticed that after failing to run
inverter_poller
the Cypress Semiconductor USB to Serial disappears fromlsub
and the device also disappears from/dev/hidraw0
.
This is symptom of faulty USB device, wrong driver or unspecified system issue (chipset, USB host, kernel).
I have tried to connect to a Voltronic AXPERT MKS IV 5.6KW but I get the following error message
INVERTER: Unable to open device file (errno=2 No such file or directory)
I'm aware that I may need to change a few values on the
inverter.conf
file but I don't know how do I find the correct values.I have already tried a few different values that I found on the web but I'm still having errors. Currently I'm using the following values: