This file contains hidden or 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
server=/.iptvpoc.alu/.discovery.iptv.microsoft.com/.iptv.vodafone.pt/.iptvdiscovery/.ims.vodafone.pt/192.168.1.1 |
This file contains hidden or 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
LogFormat "%h %l %u %t \"%m http://%{Host}i%U %H\" %>s %b \"%{Referer}i\" \"%{User-Agent}i\"" hostnames | |
CustomLog "/private/var/log/apache2/access_log" hostnames |
This file contains hidden or 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
1. Configurar IPv4 estático e IPv6 estático no pihole (YMMV) | |
192.168.1.2 e 2001:818:xxxx::192:168:1:2 no meu caso | |
2. Configurar DNS uplink do pihole igual ao IP do Router (192.168.1.1) | |
3. Configurar Router | |
Huawei HS8247W (Smart Router 2) | |
1. Configurações Avançadas -> LAN -> Configuração de DHCP | |
Servidor DNS Primário: 192.168.1.2 |
This file contains hidden or 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
# add "template: !include repsol_template.yaml" to configuration.yaml to include this | |
sensor: | |
- unique_id: repsol_spot_price_simples | |
unit_of_measurement: 'Cent/KWh' | |
availability: "{{ has_value('sensor.omie_spot_price_pt') }}" | |
state_class: measurement | |
state: > | |
{% set OMIE = states('sensor.omie_spot_price_pt')|float -%} | |
{% set Perdas = 0.15 -%} |
This file contains hidden or 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
# based on https://github.com/luuuis/hass_omie/wiki/ApexChartsYesterdayTodayTomorrow | |
type: custom:swipe-card | |
start_card: 2 | |
cards: | |
- type: custom:apexcharts-card | |
update_interval: 1h | |
header: |