node-webbox

Implementation of the SMA Sunny Webbox RPC

npm install node-webbox
9 downloads in the last month

node-webbox Build Status

Implementation of the SMA Sunny Webbox RPC (1.3)

Documentation

see doc/api

Status

  • The most basic protocol stuff is implemented and the rest should just be a diligent but routine piece of work
  • Some "Process-Commands" are implemented (h-On, h-Total, E-Total)

Todo

see Trello Board

Getting Started

npm install node-webbox --save
var ip = '192.168.178.23';
var Webbox = require('node-webbox');

Webbox.http(ip, function (err, webbox) {
    var device = webbox.devices[0];

    webbox.getPlantOverview(function (err, data) {
        console.log(data);
    });

    webbox.getTotalOperatingTime(device, function (err, bla) {
        console.log(bla);
    });

    webbox.getTotalFeedTime(device, function (err, bla) {
        console.log(bla);
    });

    webbox.getTotalProduced(device, function (err, bla) {
        console.log(bla);
    });
});

Release History

  • 2013-01-12   v0.5.1   Added CSV Import (per FTP)
  • 2013-01-12   v0.4.0   Initial release

How to contribute?

  • npm install -g grunt-cli
  • grunt (grunt.cmd on windows)
  • open a pull request and wait =)

Contributors

Sunny Webbox?

SMA Sunny Webbox

It´s a device from the company SMA for remote monitoring and maintenance of medium-sized PV plants with a RPC interface

License - "MIT License

Copyright (c) 2013 Markus Lanz (aka stahlstift)

Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

npm loves you