Switch branches/tags
Nothing to show
Clone or download
Latest commit 0dcc6c0 Apr 26, 2017
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
CMakeLists.txt Initial commit Apr 25, 2017
COPYING Add readme and license info Apr 26, 2017
README Add readme and license info Apr 26, 2017
main.cpp Parse values only after new data arrived Apr 25, 2017
main.h Parse values only after new data arrived Apr 25, 2017
skymax.cpp Parse values only after new data arrived Apr 25, 2017
skymax.h Initial commit Apr 25, 2017
tools.cpp Initial commit Apr 25, 2017
tools.h Initial commit Apr 25, 2017

README

--------------------------------------------------------------------------------------
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.