Giter Club home page Giter Club logo

fhem-pip's Introduction

FHEM-PIP

FHEM Modules to integrate the MPP Solar / Axpert PIP Hybrid Solar Inverters and Solar Chargers

The PIP/PCM needs to be accessible over a network TCP connection. Easiest way to accomplish this would be to attach it to a Raspberry Pi using a USB-COM-Adapter and then installing the ser2net daemon.

Then install the module using this command:

update all https://raw.githubusercontent.com/sw-home/FHEM-PIP/master/controls_pip.txt

and define a module like this:

define PIP MppSolarPip IP_address port refresh_interval_in_seconds timeout_in_seconds

for example:

define PIP MppSolarPip 192.168.1.17 2002 61 2

To get a nice STATE line:

attr PIP stateFormat {sprintf("%s (PV %.0f W %.2f kWh Bat %.2f V Out %.0f W)",ReadingsVal("PIP","state",0),ReadingsVal("PIP","pvPower",0),ReadingsVal("PIP","solarEnergyDay",0),ReadingsVal("PIP","batteryVoltage",0),ReadingsVal("PIP","outputPower",0))}

and to reduce logging set

attr PIP event-min-interval batteryChargeAmps:600,batteryDischargeAmps:600,batterySoC,batteryVoltage,opMode,outputLoad:600,outputPower:600,outputVA:600,pvPower,solarEnergyDay

attr PIP event-on-change-reading batteryChargeAmps,batteryDischargeAmps,batterySoC,batteryVoltage,opMode,outputLoad,outputPower,outputVA,pvPower,solarEnergyDay

To use the MPP Solar PCM60X MPPT charger define it like this:

define PCM60X MppSolarPCM IP_address port refresh_interval_in_seconds timeout_in_seconds

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.