Coder Social home page Coder Social logo

watchpower's Introduction

WatchPower

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.

Usage

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.

Documentation

TODO: Describe WatchPower

Contributing

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.

LICENSE

Copyright 2017 Hassan Nadeem

Licensed under the MIT license

watchpower's People

Contributors

mhassannadeem avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar

watchpower's Issues

How to display settings?

Hello, can you tell me how to display settings from QPIRI, according to the principle as done in watchPower.solarPowerActive.str?

Ho to connect the inverter to serial 1?

I am using the MasterPower inverter Omega 5000 (MP-5K-24) at home, and I would love to connect a photon to it in order to expose the data logs but I am not quite sure how to connect the serial port of the photon to the inverter.

Can you help me with this? Some pictures might help as well.

Thank you

Voltronic 5048 PF1 - Dashboard

Love the work. I have a Particle Photon to which i flashed the code and as a newbie to IOT I am still quite lost. I used the WatchPower libraries from Particle IDE and it compiled and flash without issues. I see the Photon Status in the Particle console. However I have some dumb questions and need some pointers - enough to self explore.

  1. To connect to the Inverter, do I connect via the serial pins , TXD & RXD on the Photon or use the Micro USB to USB on the inverter?
  2. What is the best platform to connect to and what dashboard app (Android) can I use to setup gauges and graphs for the data streaming?
    I hope to hear from you soon.

Thanks,

Jannie

Bug while executing OutputSourcePriority -> SBU

Hello, when executing the OutputSourcePriority command, namely if you send the command:
watchPower.setOutputSourcePriority (WatchPower :: OutputSourcePriorities :: SBU) then the command for setting the value is beaten, instead of POP02, POP0 without number 2 is sent, in other cases everything is fine (POP00 and POP01). What is the reason for this? I checked the rest of the parameters, it seems like there is no such problem, with the number 2.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.