athom-tech / athom-configs

Athom Technology Official Center
MIT License
199 stars 129 forks source link

device is automatic powersycling and logging like crazy #48

Open stefanschaedeli opened 6 months ago

stefanschaedeli commented 6 months ago

logs_ug-technik-pm-truenas_logs.txt logs_ug-technik-pm-truenas_run.txt

and my yaml:

`

Enable Home Assistant API

api: encryption: key: "XXX="

ota: password: "XXX"

wifi: ssid: !secret wifi_ssid password: !secret wifi_password manual_ip: static_ip: 10.15.15.212 gateway: 10.15.15.1 subnet: 255.255.255.0

substitutions: name: "athom-smart-plug" friendly_name: "Smart Plug" room: "" device_description: "athom smart plug" project_name: "Athom Technology.Smart Plug" project_version: "1.0" relay_restore_mode: RESTORE_DEFAULT_OFF sensor_update_interval: 10s

esphome: name: "${name}" friendly_name: "${friendly_name}" name_add_mac_suffix: true project: name: "${project_name}" version: "${project_version}"

esp8266: board: esp8285 restore_from_flash: true

preferences: flash_write_interval: 1min

logger:

web_server: port: 80

dashboard_import: package_import_url: github://athom-tech/athom-configs/athom-smart-plug.yaml

binary_sensor:

sensor:

button:

switch:

light:

text_sensor:

time:

`

tarontop commented 6 months ago

It looks like the button is shaking. Try increasing the time here.

https://github.com/athom-tech/athom-configs/blob/9b811a338460122f9d9f226bfd5ebd6560f8d846/athom-smart-plug.yaml#L58

stefanschaedeli commented 5 months ago

same behaviour unfortunately:

Uploading Bildschirmaufnahme 2024-05-02 um 15.29.09.mov…