Witam.
Zacząłem przygodę z HA jakiś miesiąc temu. jestem świeży w temacie więc proszę o wyrozumiałość. Na razie głównym zadaniem HA jest wyłączenie tunera TV o 7:30 i włączenie o 15:30 (kontrola dostępu córki do TV).
Baza to płyta główna (kupiona kiedyś na allegro) z minikomputera MINIS FORUM Z83-F (atom x8350, 4GB RAM, 64GB flash) z zainstalowanym proxmox-em. Płyta jest przykręcona do wydrukowanego stojaka. Zigbee USB stick wpiety bezpośrednio w płytę (podpinanie przez dobry przedłużacz USB nie pomogło)
Podłączone urządzania (13, tylko zigbee):
2 gniazdka wykrywane jako TS011F_plug3
1 termometr
2 czujniki okna
2 czujniki PIR
1 czujnik dymu
3 przyciski
2 czujniki wody
Wszytko z aliexpress. Tylko gniazdka w miejscach docelowych (reszta na biurku - dobrze bo już raz było reparowanie)
A teraz sedno problemu:
Po jakimś czasie (kilka, kilkanaście godzin, czasem 2 dni) następuje brak reakcji na suwak obu gniazdek w panelu sterowania ( suwak wraca na poprzednie położenie). W Ustawienia-dodatki-zigbee2mqtt-log:
|[2025-02-27 00:10:09] [32minfo [39m: |z2m:mqtt: MQTT publish: topic 'zigbee2mqtt/gniazdo2', payload '{child_lock:UNLOCK,current:0,energy:0.02,indicator_mode:off/on,linkquality:160,power:0,power_outage_memory:restore,state:OFF,update:{installed_version:268514823,latest_version:268514823,state:idle},voltage:237}'|
|---|---|
|[2025-02-27 00:10:18] [32minfo [39m: |z2m:mqtt: MQTT publish: topic 'zigbee2mqtt/Gniazdo_TV', payload '{child_lock:UNLOCK,current:0.08,energy:2.04,indicator_mode:on/off,linkquality:160,power:7,power_outage_memory:restore,state:ON,update:{installed_version:-1,latest_version:-1,state:null},voltage:238}'|
|[2025-02-27 00:10:18] [32minfo [39m: |z2m:mqtt: MQTT publish: topic 'zigbee2mqtt/Gniazdo_TV', payload '{child_lock:UNLOCK,current:0.08,energy:2.04,indicator_mode:on/off,linkquality:160,power:7,power_outage_memory:restore,state:ON,update:{installed_version:-1,latest_version:-1,state:null},voltage:238}'|
|[2025-02-27 00:11:06] [32minfo [39m: |z2m:mqtt: MQTT publish: topic 'zigbee2mqtt/Gniazdo_TV', payload '{child_lock:UNLOCK,current:0.08,energy:2.04,indicator_mode:on/off,linkquality:160,power:7,power_outage_memory:restore,state:ON,update:{installed_version:-1,latest_version:-1,state:null},voltage:238}'|
|[2025-02-27 00:11:09] [32minfo [39m: |z2m:mqtt: MQTT publish: topic 'zigbee2mqtt/gniazdo2', payload '{child_lock:UNLOCK,current:0,energy:0.02,indicator_mode:off/on,linkquality:160,power:0,power_outage_memory:restore,state:OFF,update:{installed_version:268514823,latest_version:268514823,state:idle},voltage:237}'|
|[2025-02-27 00:11:09] [32minfo [39m: |z2m:mqtt: MQTT publish: topic 'zigbee2mqtt/gniazdo2', payload '{child_lock:UNLOCK,current:0,energy:0.02,indicator_mode:off/on,linkquality:160,power:0,power_outage_memory:restore,state:OFF,update:{installed_version:268514823,latest_version:268514823,state:idle},voltage:237}'|
|[2025-02-27 00:11:18] [32minfo [39m: |z2m:mqtt: MQTT publish: topic 'zigbee2mqtt/Gniazdo_TV', payload '{child_lock:UNLOCK,current:0.07,energy:2.04,indicator_mode:on/off,linkquality:156,power:5,power_outage_memory:restore,state:ON,update:{installed_version:-1,latest_version:-1,state:null},voltage:238}'|
|[2025-02-27 00:11:18] [32minfo [39m: |z2m:mqtt: MQTT publish: topic 'zigbee2mqtt/Gniazdo_TV', payload '{child_lock:UNLOCK,current:0.07,energy:2.04,indicator_mode:on/off,linkquality:160,power:5,power_outage_memory:restore,state:ON,update:{installed_version:-1,latest_version:-1,state:null},voltage:238}'|
|[2025-02-27 00:12:09] [32minfo [39m: |z2m:mqtt: MQTT publish: topic 'zigbee2mqtt/gniazdo2', payload '{child_lock:UNLOCK,current:0,energy:0.02,indicator_mode:off/on,linkquality:160,power:1,power_outage_memory:restore,state:OFF,update:{installed_version:268514823,latest_version:268514823,state:idle},voltage:237}'|
|[2025-02-27 00:12:09] [32minfo [39m: |z2m:mqtt: MQTT publish: topic 'zigbee2mqtt/gniazdo2', payload '{child_lock:UNLOCK,current:0,energy:0.02,indicator_mode:off/on,linkquality:160,power:1,power_outage_memory:restore,state:OFF,update:{installed_version:268514823,latest_version:268514823,state:idle},voltage:237}'|
|[2025-02-27 00:12:14] [32minfo [39m: |z2m:mqtt: MQTT publish: topic 'zigbee2mqtt/gniazdo2', payload '{child_lock:UNLOCK,current:0,energy:0.02,indicator_mode:off/on,linkquality:160,power:1,power_outage_memory:restore,state:OFF,update:{installed_version:268514823,latest_version:268514823,state:idle},voltage:237}'|
|[2025-02-27 07:30:00] [31merror [39m: |z2m: Publish 'set' 'state' to 'Gniazdo_TV' failed: 'Error: ZCL command 0xa4c138d1e08cbef5/1 genOnOff.off({}, {timeout:10000,disableResponse:false,disableRecovery:false,disableDefaultResponse:false,direction:0,reservedBits:0,writeUndiv:false}) failed (--> 'SREQ: AF - dataRequest - {dstaddr:33828,destendpoint:1,srcendpoint:1,clusterid:6,transid:189,options:0,radius:30,len:3,data:{type:Buffer,data:[1,146,0]}}' failed with status '(0x02: INVALID_PARAM)' (expected '(0x00: SUCCESS)'))'|
|[2025-02-27 07:38:34] [31merror [39m: |z2m: Publish 'set' 'state' to 'Gniazdo_TV' failed: 'Error: ZCL command 0xa4c138d1e08cbef5/1 genOnOff.off({}, {timeout:10000,disableResponse:false,disableRecovery:false,disableDefaultResponse:false,direction:0,reservedBits:0,writeUndiv:false}) failed (--> 'SREQ: AF - dataRequest - {dstaddr:33828,destendpoint:1,srcendpoint:1,clusterid:6,transid:207,options:0,radius:30,len:3,data:{type:Buffer,data:[1,164,0]}}' failed with status '(0x02: INVALID_PARAM)' (expected '(0x00: SUCCESS)'))'|
12 minut po północy komunikacja zigbee się skończyła. W pracy (tailscale na telefonie) zrestartowałem Zigbee2MQTT i wyłączyłem GniazdoTV.
I tak jest od ponad 2 tygodni (automatyka domowa zrobiła sie “manualtyką”)
Początkową był wpięty dongle CC2531 z aliexpress ( wgrałem najnowszy firmware (przez arduino) z githuba Koenkk). Potem zakupiłem (też na ali) CC2652 (wgrałem najnowszy firmware tym razem przez TI flash programmer 2 korzystając z bootloadera) Potem doczytałem że trzeba (?) kasowac NVRAM ( w FP2 tego nie ma). Oba usbstick-i cały czas były widziane przez proxmox (lsusb) i HA. Dodatkowo wyłączyłem w proxmoxie USB autosuspend co radzili na stronie FAQ zigbee2mqtt.
Automatyzacja (sterowanie gniazdkiem TV) w HA (nodeRED jeszcze nie umiem).
Jakieś pomysły?
Moja konfiguracja HA:
System Information
version | core-2025.2.5 |
---|---|
installation_type | Home Assistant OS |
dev | false |
hassio | true |
docker | true |
user | root |
virtualenv | false |
python_version | 3.13.1 |
os_name | Linux |
os_version | 6.6.73-haos |
arch | x86_64 |
timezone | Europe/Warsaw |
config_dir | /config |
Home Assistant Cloud
logged_in | false |
---|---|
can_reach_cert_server | ok |
can_reach_cloud_auth | ok |
can_reach_cloud | ok |
Home Assistant Supervisor
host_os | Home Assistant OS 14.2 |
---|---|
update_channel | stable |
supervisor_version | supervisor-2025.02.1 |
agent_version | 1.6.0 |
docker_version | 27.2.0 |
disk_total | 46.5 GB |
disk_used | 7.4 GB |
healthy | true |
supported | true |
host_connectivity | true |
supervisor_connectivity | true |
ntp_synchronized | true |
virtualization | kvm |
board | ova |
supervisor_api | ok |
version_api | ok |
installed_addons | Samba share (12.5.0), File editor (5.8.0), Mosquitto broker (6.5.0), Zigbee2MQTT (2.1.1-1), Tailscale (0.25.0), Node-RED (19.0.2), Terminal & SSH (9.16.0), Studio Code Server (5.18.3), Home Assistant Google Drive Backup (0.112.1), ZigStar TI CC2652P/P7 FW Flasher (0.4.1) |
Dashboards
dashboards | 2 |
---|---|
resources | 0 |
views | 1 |
mode | storage |
Network Configuration
adapters | lo (disabled), enp0s18 (enabled, default, auto), docker0 (disabled), hassio (disabled), veth0c1f4b7 (disabled), veth4460d7a (disabled), veth37db8f8 (disabled), veth6700bf7 (disabled), veth96aeb98 (disabled), veth383ee41 (disabled), veth5bf9fbc (disabled), veth1b8b011 (disabled), vethfb7ca77 (disabled) |
---|---|
ipv4_addresses | lo (127.0.0.1/8), enp0s18 (192.168.0.7/24), docker0 (172.30.232.1/23), hassio (172.30.32.1/23), veth0c1f4b7 (), veth4460d7a (), veth37db8f8 (), veth6700bf7 (), veth96aeb98 (), veth383ee41 (), veth5bf9fbc (), veth1b8b011 (), vethfb7ca77 () |
ipv6_addresses | lo (::1/128), enp0s18 (fe80::66ff:35b7:f066:a8a0/64), docker0 (fe80::42:a7ff:febb:5aa/64), hassio (fe80::42:23ff:fe18:462d/64), veth0c1f4b7 (fe80::904d:4aff:fefb:8f7f/64), veth4460d7a (fe80::fc21:73ff:fe81:5f1/64), veth37db8f8 (fe80::14bb:21ff:fe02:66f/64), veth6700bf7 (fe80::3444:f0ff:fec0:c474/64), veth96aeb98 (fe80::74ef:5cff:fe53:b025/64), veth383ee41 (fe80::6478:47ff:febe:4e25/64), veth5bf9fbc (fe80::e41d:6aff:fe88:bb2a/64), veth1b8b011 (fe80::4f3:2dff:fec3:ad9d/64), vethfb7ca77 (fe80::14cd:3eff:fe27:743a/64) |
announce_addresses | 192.168.0.7, fe80::66ff:35b7:f066:a8a0 |
Recorder
oldest_recorder_run | 16 lutego 2025 22:13 |
---|---|
current_recorder_run | 24 lutego 2025 22:38 |
estimated_db_size | 44.43 MiB |
database_engine | sqlite |
database_version | 3.47.1 |