Mon problème
J’ai installé sonoff, pas de soucis apparents mais rien ne remonte !
Je les ai sur eWeLink mais rien sur HA.
ci-joint mon fichier config
# Configure a default setup of Home Assistant (frontend, api, etc)
default_config:
frontend:
themes: !include_dir_merge_named themes
# Text to speech
tts:
- platform: google_translate
automation: !include automations.yaml
script: !include scripts.yaml
scene: !include scenes.yaml
sensor: !include sensors.yaml
telegram_bot:
- platform: polling
api_key: !secret telegram_token
allowed_chat_ids:
- !secret id_telegram_HABot_Massa
notify:
- name: Telegram HA
platform: telegram
chat_id: !secret id_telegram_HABot_Massa
sonoff:
nom d'utilisateur: !secret username_sonoff
mot de passe: !secret password_sonoff
force_update: [temperature, power]
scan_interval: ' 00:05:00 '
#(facultatif) capteurs de 5 minutes par défaut : [température, humidité, puissance, courant, tension]
api:
services:
- service: allumer_alarme
then:
- switch.turn_on: alarme_on
- delay: 1s
- switch.turn_off: alarme_on
- service: eteindre_alarme
then:
- switch.turn_on: alarme_off
- delay: 1s
- switch.turn_off: alarme_off
- service: monter_volets_court
then:
- switch.turn_on: volets_up
- delay: 1s
- switch.turn_off: volets_up
- service: descendre_volets_court
then:
- switch.turn_on: volets_down
- delay: 1s
- switch.turn_off: volets_down
- service: monter_volets_long
then:
- switch.turn_on: volets_up
- delay: 2s
- switch.turn_off: volets_up
- service: descendre_volets_long
then:
- switch.turn_on: volets_down
- delay: 2s
- switch.turn_off: volets_down
- service: monter_volets_stop
then:
- switch.turn_on: volets_stop
- delay: 2s
- switch.turn_off: volets_stop
Ma configuration
System Health
version: core-2022.3.8
installation_type: Home Assistant OS
dev: false
hassio: true
docker: true
user: root
virtualenv: false
python_version: 3.9.9
os_name: Linux
os_version: 5.10.103-v7l
arch: armv7l
timezone: Europe/Paris
GitHub API: ok
GitHub Content: ok
GitHub Web: ok
GitHub API Calls Remaining: 5000
Installed Version: 1.24.3
Stage: running
Available Repositories: 1083
Downloaded Repositories: 5
logged_in: false
can_reach_cert_server: ok
can_reach_cloud_auth: ok
can_reach_cloud: ok
host_os: Home Assistant OS 7.6
update_channel: stable
supervisor_version: supervisor-2022.03.5
docker_version: 20.10.9
disk_total: 57.8 GB
disk_used: 3.4 GB
healthy: true
supported: true
board: rpi4
supervisor_api: ok
version_api: ok
installed_addons: Samba share (9.5.1), File editor (5.3.3), ESPHome (2022.3.1), deCONZ (6.12.0), Duck DNS (1.14.0), Terminal & SSH (9.3.0)
dashboards: 1
resources: 1
views: 7
mode: storage