See my other guides for SSL certificates on Pi-hole v6:
Pi-hole v6 introduces changes to its web server:
- Embedded Web Server – Pi-hole no longer relies on
lighttpd.
| esphome: | |
| name: fan-gym | |
| friendly_name: Fan Gym | |
| on_boot: | |
| - if: | |
| condition: | |
| switch.is_off: child_lock | |
| then: | |
| - lambda: |- | |
| if (id(switch_rotation).state) { id(rotation).turn_on(); } |
| esphome: | |
| name: dehumidifier | |
| friendly_name: Dehumidifier | |
| on_boot: | |
| priority: -100 | |
| then: | |
| - lambda: |- | |
| if (id(state).state) { | |
| id(button_power).press(); | |
| } |
See my other guides for SSL certificates on Pi-hole v6:
Pi-hole v6 introduces changes to its web server:
lighttpd.| #!/usr/bin/env python3 | |
| # Script to extract sensor values from home assistant and republish to WAQI | |
| # Andrew Elwell. Feb 2025. Apache 2.0 licence. | |
| # IMPORTANT - You *WILL* need to update waqi_token, ha_token and ha_url to suit your installation. | |
| # see https://aqicn.org/data-feed/upload-api/ for WAQI | |
| # and https://developers.home-assistant.io/docs/auth_api/#long-lived-access-token for HA | |
| import requests |
| ### START - Update this section with relevant details ### | |
| substitutions: | |
| device_name: "device-name-here" | |
| friendly_name: Device Name Here | |
| board_type: esp32dev | |
| framework: esp-idf # arduino or esp-idf (recommended for ESP32) | |
| # ESPHome API used by Home Assistant, etc |
| esphome: | |
| name: bme680 | |
| friendly_name: Air Quality Sensor | |
| esp8266: | |
| board: d1_mini | |
| # Enable logging | |
| logger: |
| blueprint: | |
| name: Bathroom Humidity Exhaust Fan | |
| description: > | |
| # 🚿 Bathroom Humidity Exhaust Fan | |
| **Version: 2.6** | |
| Step into the future of freshness - customize it your way and experience the convenience of automated humidity control! 🌿🚿 | |
| Note: | |
| to keep this list automatically updated, | |
| I turned it into a repo which is automatically updated via cron. | |
| see https://github.com/ychaouche/spamassassin-rules-description | |
| AC_BR_BONANZA Too many newlines in a row... spammy template | |
| ACCESSDB Bericht zou gevangen zijn door accessdb | |
| ACCESSDB Ce message aurait �t� bloqu� par accessdb | |
| ACCESSDB Mensagem teria sido pega pela accessdb | |
| ACCESSDB Message would have been caught by accessdb |
create systemctl service file
vim /etc/systemd/system/docker-odoo.service
file content is
These are my personal regex blocks that I use in my pi-hole instance. I'm publicizing them in the event they may be useful for other people.
(\.|^)cn$
(\.|^)ru$