This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Cred: Robin Östlund for the mapping | |
# Ref: https://ferroamp.com/wp-content/uploads/2023/04/Ferroamp-Modbus-TCP-Specification-RevD-2.pdf | |
--- | |
modbus: | |
- name: ferroamp_modbus | |
type: tcp | |
host: 192.168.0.XXX | |
port: 502 | |
delay: 5 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This automation uses https://github.com/jonasbkarlsson/ferroamp_operation_settings/ to control Ferroamp Export/Import thresholds with HA | |
alias: Ferroamp - Cloud API | |
description: "" | |
trigger: | |
- platform: state | |
entity_id: | |
- binary_sensor.bs_ep_low | |
- platform: state | |
entity_id: |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
- id: '1689579754727' | |
alias: Ferroamp - Set Limit Export | |
description: '' | |
trigger: | |
- platform: state | |
entity_id: | |
- input_boolean.limit_export | |
condition: [] | |
action: | |
- service: shell_command.set_limit_export |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# PoC code to calculate estimated Tibber month cost with Tibber EV charge price guarantee | |
# Requires Home Assistant and integration to Easee / Ferroamp / Tibber Pulse / Nordpool and some utility meters | |
# By adding these example entires to configuration.yaml | |
sensor: | |
- platform: template | |
sensors: | |
charge_cost_with_price_guarantee: | |
value_template: >- | |
{% set easee_cost_month = states('sensor.easee_cost_month') | float %} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
- id: '1665917079136' | |
alias: Ferroamp - Set Import threshold = -1000 | |
description: '' | |
trigger: [] | |
condition: [] | |
action: | |
- service: shell_command.set_import_threshold | |
data: | |
threshold: -1000 | |
mode: single |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
binary_sensor: | |
- platform: template | |
sensors: | |
bs_charge_ferroamp_battery: | |
friendly_name: Charge Ferroamp Battery | |
value_template: >- | |
{% set today=state_attr('sensor.nordpool_kwh_se4_sek_2_10_025','today') %} | |
{% if ((state_attr('sensor.nordpool_kwh_se4_sek_2_10_025','tomorrow') | count) == 0) or (state_attr('sensor.nordpool_kwh_se4_sek_2_10_025','tomorrow')[0] == None) %} | |
{% set array = today %} | |
{% else %} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
alias: Ferroamp > HA > Easee => Grid Equlizer | |
description: "" | |
trigger: | |
- platform: state | |
entity_id: | |
- sensor.ferroamp_grid_current | |
condition: | |
- condition: and | |
conditions: | |
- condition: numeric_state |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This is instructions to dynamic update Easee charger circuit limit with dynamic data from ferroamp without adding additional load to ACE. | |
Reguired components: | |
Home Assistant with an Easee charger and Ferroamp Energyhub | |
Integrations: | |
https://github.com/henricm/ha-ferroamp | |
https://github.com/fondberg/easee_hass | |
You need to know or find your circuit id of your Easee charger and that is displayed in various places in the HA / Easee integration. | |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
- id: '1657117435589' | |
alias: Set Export Threshold | |
description: '' | |
trigger: | |
- platform: state | |
entity_id: | |
- input_number.export_threshold | |
condition: [] | |
action: | |
- service: shell_command.set_export_threshold |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# https://raspberrypi.stackexchange.com/questions/117632/turn-off-external-leds-on-raspberry-pi-3 | |
# check model | |
cat /sys/firmware/devicetree/base/model | |
# Raspberry Pi 3 Model B Rev 1.2 | |
# Disable Power (red) and Activity (yellow) leds | |
sudo nano /etc/rc.local | |
# Add the following lines before `exit 0`: | |
sudo sh -c 'echo none > /sys/class/leds/led0/trigger' |