Hi, long time lurker here, that finally took the plunge to start my HA journey!
I have an Aqara H2 Wall Outlet. This socket is being used for my robot vacuum, so it does not need to be on 24/7. That is why I have created 2 automations for it. To turn on in the middle off the night and a second automation to turn back off in the morning.
However, sometimes I am getting up in the morning because the socket turned back off, randomly. I don’t think it is my automation but rather A. the socket itself or B. Zigbee2MQTT. But I don’t have enough knowledge to be certain of B. Hope to get some help here.
Let’s first start with my setup:
I am running HA in a VM on proxmox.
Core
2025.1.2
Supervisor
2025.02.0
Operating System
14.1
Frontend
20250109.0
My Coordinator is a SLZB-06, connect and powered through PoE.
I am using Zigbee2MQTT.
Zigbee2MQTT version
2.0.0 commit: unknown
Coordinator type
zStack3x0
Coordinator revision
20240710
Coordinator IEEE Address
0x00124b002f8e4bef
Frontend version
0.9.4
zigbee-herdsman-converters version
21.12.0
zigbee-herdsman version
3.2.1
This are my 2 (humble) automations:
alias: Turn On Living Room Socket Robot
description: ""
triggers:
- trigger: time
at: "03:30:00"
conditions: []
actions:
- type: turn_on
device_id: abaa5487c71d0745980bf91e6a23c06f
entity_id: e4a1502ea15c663a6039ca89150e9c25
domain: switch
mode: single
alias: Turn Off Living Room Socket Robot
description: ""
triggers:
- trigger: time
at: "09:00:00"
conditions: []
actions:
- type: turn_off
device_id: abaa5487c71d0745980bf91e6a23c06f
entity_id: e4a1502ea15c663a6039ca89150e9c25
domain: switch
mode: single
Regarding the logs, I still did not find how to export it, so that is why I am providing a screenshot.
As you can see, the automations are being triggered correctly, at the correct time. However it’s the other logs that are causing me problems and I don’t know where they are coming from.
As I don’t have much knowledge (yet!) I tried restarting HA and Z2M. That did not do much. Of course I also searched the community and google my issue but could not find anything related to this.
Hopefully someone can point me in the right direction with a solution or show me how to debug this.