zizzerzazzerzuzz / fhem-apsystems-ecu

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

fhem-apsystems-ecu

This is an experimental integration Module for the APSystems ECU into FHEM.

The work is based on https://github.com/ksheumaker/homeassistant-apsystems_ecur

How to install

Copy 70_APSystemsECU.pm into your FHEM module folder and restart FHEM.

To create the device in FHEM run "define <name> APSystemsECU <host> <port>".

screenshot-fhem-ecu

FTUI Integration:

grafik

       <div class="cell">
            <div data-type="progress"
               data-device="ecu"
               data-get="LastSystemPower"
               data-min="0"
               data-max="700"
               data-unit=" W"
               class=""></div>
            <div data-type="label" data-device="ecu" data-get="CurrentDayEnergy" data-unit=" kWh" class="big inline left-space"></div>
            <div data-type="label">Balkonkraftwerk</div>
        </div>

Technical Details

For the time beeing, the FHEM module does only provide LastSystemPower, CurrentDayEnergy and LifeTimeEnergy. It was tested with ECU-B. By default they are fetched every 60 seconds from the ECU. The ECU itself updates them every 5 minutes.

For further development, I provided test-ecu.pl. It will display all the available readouts from ECU.

About


Languages

Language:Perl 100.0%