A Particle library for interfacing with Solar Inverters that work with WatchPower PC software. Tested on Particle Photon. Should work any arduino like (wiring) device with little to no modifications.
Connect Serial1 of your Particle Photon / Arduino to the solar Inverter.
#include "WatchPower.h"
WatchPower watchPower(Serial1);
void setup() {
Serial.begin(9600);
}
void loop() {
watchPower.refreshData();
Serial.println(watchPower.gridVoltage.str);
}
See the examples folder for more details.
TODO: Describe WatchPower
Here's how you can make changes to this library and eventually contribute those changes back.
To get started, clone the library from GitHub to your local machine.
Modify the sources in and with the new behavior.
Compile and test.
Create a GitHub pull request with your changes.
Copyright 2017 Hassan Nadeem
Licensed under the MIT license