Skip to content
Automatically exported from code.google.com/p/solarmonj
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
bin
conf/logstash
images
CMakeLists.txt
LICENSE.md
README.md
clientsocket.cpp
clientsocket.h
historical_pvoutput_csv.php
jfycommon.cpp
jfycommon.h
jfyconnection.cpp
jfyconnection.h
jfydata.cpp
jfydata.h
jfyexception.cpp
jfyexception.h
jfypacketdata.cpp
jfypacketdata.h
jfyserial.cpp
jfyserial.h
jfysocket.cpp
jfysocket.h
libjfy.kdev4
main.cpp
pvoutput.php
socketexception.h

README.md

solarmonj

Automatically exported from code.google.com/p/solarmonj By Adam Gray & John Croucher.

Part of a patch supplied by GoogleCodeExporter has been applied.

This project was started to address the lack of Linux software available for monitoring JFY solar inverters ( http://www.jfy-tech.com/ ).

Rather than recreating the full featured Windows software in Linux, we decided to develop a small app which can be run using cron to poll the inverter. From here the data can easily be parsed by other software keeping the actual monitoring code small and simple.

This software has been developed specifically for the Raspberry Pi ( raspberrypi.org ) but it should work in all Linux environments.

This project has been extended to send these logs to Logstash, via a TCP/IP socket.

Example Logstash Dashboard

Requirements

To run this project you will need:

  • SUNTWINS 5000TL Series Inverter
  • RS232 to USB converter e.g.
  • Some flavour of Linux

Building

In order to build this project you will need:

  • build-essentials (or cmake)
  • g++

Setup

  • Run cmake .
  • run make
  • Install Logstash
  • Update /etc/logstash/logstash.conf, placing the contents of conf/logstash/logstash.conf in it.
  • Install Elastisearch
  • Install Kibana
  • Start all three applications.
  • Run bin/jfycron as root to start sending to logstash.
  • Browse to http://localhost:5601 to see your logs.
You can’t perform that action at this time.