forked from manio/skymax-demo
-
Notifications
You must be signed in to change notification settings - Fork 0
/
README
42 lines (35 loc) · 1.8 KB
/
README
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
--------------------------------------------------------------------------------------
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.