Comments (3)
You can for sure add the L1,L2,L3 as individual sensors if you feel for it as a custom sensor with the template functionality
{{state_attr('sensor.ferroamp_grid_current','L1')}}
{{state_attr('sensor.ferroamp_grid_current','L2')}}
{{state_attr('sensor.ferroamp_grid_current','L3')}}
I use it to calculate available grid load in near realtime as an example below to publish it to my kitchen energy display and to feed the data to my Easee charger as a dynamic fuse load logic.
- platform: mqtt
state_topic: "extapi/data/ehub"
unique_id: "ehub/pext"
name: "Realtime Grid Power"
unit_of_measurement: "kW"
value_template: "{{ ((((value_json.pext.L1) | int + (value_json.pext.L2) | int + (value_json.pext.L3) | int)) / 1000) | round(2) }}"
- platform: template
sensors:
available_grid_load:
value_template: "{{(230*3*16/1000 - (states.sensor.Realtime_Grid_Power.state | float)) | int}}"
friendly_name: "Available Grid Load"
unit_of_measurement: "kW"
from ha-ferroamp.
Hi
If you add this to configuration.yaml and define ACE to 16A (or similar..) then should you be good to go to integrate it to whatever.
You don't need to worry about the phase balancing since the Adaptive Currency equalization (ACE) in the energy hub (EH) is handling that.
I use it to limit the immersion heater within my Nibe 1210-7 with a relay and a esp8266 with esphome.
- platform: template
sensors:
grid_overload:
friendly_name: "Grid Overload"
#delay_off:
# minutes: 5
delay_on:
minutes: 5
value_template: >-
{{ states('sensor.ferroamp_grid_power') | int < -11040 }}
And if you add this to your automation.yaml the you can use it to send push notice with Tibber as an example.
- id: '123456789'
alias: Grid Overload
description: ''
trigger:
- platform: state
entity_id: binary_sensor.grid_overload
from: 'off'
to: 'on'
condition: []
action:
- service: notify.tibber
data:
message: Grid - Overload
title: Grid Overload
mode: single
from ha-ferroamp.
Thanks, got it :) missed that grid_current had those attributes :)
from ha-ferroamp.
Related Issues (20)
- Sensors not working HOT 5
- Issue with v1.10.2 HOT 28
- Control Status = unavailable after HA restart
- Add scan_interval to the scrape documentation HOT 2
- Question: How to keep history for external voltage for each phase? HOT 7
- Use HA precision instead of own precision config and handling
- Control maximum export from HA HOT 3
- Additional SSO Fault codes HOT 3
- EnergyHub DC Link Voltage state is zero HOT 8
- vscode devcontainer support? HOT 2
- Entities in 1.14.0 shows too many decimals HOT 3
- Possible bug on FaultCodeSensor HOT 2
- Battery sensor spamming logs HOT 14
- Sensors in energy wrong HOT 18
- Hi and thanks for the very good follow-up :), MQTT had to be turned on in the local ferroamp from the supplier. Everything now seems to work. HOT 6
- Any way to control EV/OCPP? HOT 2
- FR: Make prefix configuration editable
- Deprecated constants
- no sensors visible HOT 2
- version 5.5.0-FCR.1 ferroamp, known problem HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from ha-ferroamp.