Skip to content

SilverNodashi/skymax-demo

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

--------------------------------------------------------------------------------------
skymax-demo
--------------------------------------------------------------------------------------
This is a simple demo project to show how to query the basic runtime parameters of the
SKYMAX Expert MEX 3K-24 (Voltronic Power Axpert MEX 3K-24 clone) solar inverters.

More information:
https://skyboo.net/2017/03/monitoring-voltronic-power-axpert-mex-inverter-under-linux/

--------------------------------------------------------------------------------------
compilation / running
--------------------------------------------------------------------------------------
Sample build/compilation procedure:
$ git clone git://github.com/manio/skymax-demo.git
$ cd skymax-demo
$ mkdir out
$ cd out
$ cmake ..
$ make

The code expect the /dev/skymax device to be available.
This device has to be a symlink to the correct hidraw device.

First you need to get the real hidraw device name, eg:
$ dmesg | grep hidraw
[    2.872000] hidraw: raw HID events driver (C) Jiri Kosina
[    5.321097] hid-generic 0003:0665:5161.0002: hiddev0,hidraw0: USB HID v1.11 Device [HID 0665:5161] on usb-20980000.usb-1.3.4/input0

and then create a symlink:
$ ln -s /dev/hidraw0 /dev/skymax

You can run the skymax binary afterwards. It is querying the inverter in 10 secs
interval and print results to the console.

--------------------------------------------------------------------------------------
license
--------------------------------------------------------------------------------------
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation; either version 2 of the License, or
(at your option) any later version.
See the file COPYING for more information.