Hi,
this Add-on connects to Fenecon’s interface using websocket protocol and uses HA’s MQTT broker to publish a device and sensor entities to Homeassistant.
You can configure all Fenecon(OpenEMS/FEMS) channels and a couple of more things using the container configuration.
Maybee someone find it usefull. Yes, it’s my first Add-On and I’m not a full metal jacked programmer .
Repo: GitHub - Skeletitor/ha_addon_fenecon2mqtt: Homeassistant Add-on Fenecon2Mqtt
Changelog: ha_addon_fenecon2mqtt/CHANGELOG.md at main · Skeletitor/ha_addon_fenecon2mqtt · GitHub
The Add-On comes with a collection of default entities which are pushed to HA. You‘re able to customize those entities. This customization is persistent, it won’t be overwritten by an update.
Have fun
UPDATE Here is the new default configuration for requested channels (for versions > 0.3.0). Copy it by your own and merge it into your local config or reinstall the add-on from the scratch.
hassio:
mqtt_broker_host: null
mqtt_broker_port: 1883
mqtt_broker_user: null
mqtt_broker_passwd: null
sensor_name_prefix: "FEMS: "
fenecon:
fems_ip: null
fems_password: null
fems_channels:
- channel: _sum/ConsumptionActiveEnergy
- channel: _sum/ConsumptionActivePower
- channel: _sum/ConsumptionActivePowerL1
- channel: _sum/ConsumptionActivePowerL2
- channel: _sum/ConsumptionActivePowerL3
- channel: _sum/EssActivePower
- channel: _sum/EssActivePowerL1
- channel: _sum/EssActivePowerL2
- channel: _sum/EssActivePowerL3
- channel: _sum/EssDcChargeEnergy
- channel: _sum/EssDcDischargeEnergy
- channel: _sum/EssSoc
- channel: _sum/GridActivePower
- channel: _sum/GridActivePowerL1
- channel: _sum/GridActivePowerL2
- channel: _sum/GridActivePowerL3
- channel: _sum/GridBuyActiveEnergy
- channel: _sum/GridMaxActivePower
- channel: _sum/GridMinActivePower
- channel: _sum/GridMode
- channel: _sum/GridSellActiveEnergy
- channel: _sum/ProductionActiveEnergy
- channel: _sum/ProductionActivePower
- channel: _sum/ProductionDcActualPower
- channel: _sum/ProductionMaxActivePower
- channel: _sum/State
- channel: battery0/Soh
- channel: battery0/Tower0NoOfCycles
- channel: battery0/Tower0PackVoltage
device_unit: "V"
value_template: "{{value | int /10}}"
- channel: batteryInverter0/AirTemperature
- channel: batteryInverter0/ArmFmVersion
- channel: batteryInverter0/BmsPackTemperature
- channel: batteryInverter0/DspFmVersionMaster
- channel: batteryInverter0/RadiatorTemperature
- channel: batteryInverter0/TotalBackUpLoadPower
- channel: charger0/ActualPower
- channel: charger0/Current
- channel: charger0/State
- channel: charger0/Voltage
device_unit: "V"
value_template: "{{value | int /1000}}"
- channel: charger1/ActualPower
- channel: charger1/Current
- channel: charger1/State
- channel: charger1/Voltage
device_unit: "V"
value_template: "{{value | int /1000}}"
- channel: ess0/Capacity
- channel: ess0/DcDischargePower
log_level: INFO
language: EN