Skip to content

Latest commit

 

History

History
45 lines (28 loc) · 1.75 KB

README.md

File metadata and controls

45 lines (28 loc) · 1.75 KB

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.