Logbook shows the above warning, 2000 times .
I cannot find the origin of the error.
The automation is one of the most run automation I have: The light control of the ‘eethoek’, where I pass all day going in-/outside.
Therefore I have 2 RF PIR detectors(NodeRed mqtt), 2 zigbee PIRs, and a zigbee ‘human’ microwave detector and 2 zigbee lumi detectors, controlling 3 tuya spotlights.
The automation uses several timers and scripts.
Warning:
Eerst voorgekomen: 14 juni 2025 om 12:42:34 (2063 gebeurtenissen)
Laatst gelogd: 12:06:41
Error in 'De Enige Eethoek timer automation, 10m' trigger: In 'numeric_state' condition: entity timer.eethoek_timer_30 state '0:04:00' cannot be processed as a number
Error in 'De Enige Eethoek timer automation, 10m' trigger: In 'numeric_state' condition: entity timer.eethoek_timer_30 state '0:02:00' cannot be processed as a number
Error in 'websocket_api' trigger: In 'numeric_state' condition: entity timer.eethoek_timer_30 state '0:04:00' cannot be processed as a number
Automation:
d: '1705931657483'
alias: De Enige Eethoek timer automation, 10m
description: ''
triggers:
- entity_id:
- timer.eethoek_timer_30
attribute: remaining
to: '55'
id: minuut
trigger: state
- topic: home/node/cmnd/eethoek
payload: 'on'
id: eethoek on
trigger: mqtt
enabled: false
- topic: home/node/cmnd/eethoek
payload: 'off'
id: eethoek off
trigger: mqtt
enabled: false
- type: motion
device_id: 060a775422d3420df5b2910039e927a9
entity_id: a6bc7b0539d0ca35a12838620e5cb450
domain: binary_sensor
id: eethoek on
trigger: device
enabled: true
- entity_id:
- timer.eethoek_timer_30
to: idle
id: eethoek off
trigger: state
enabled: false
- entity_id:
- timer.eethoek_timer_30
to: idle
from: null
for:
hours: 0
minutes: 0
seconds: 6
id: eethoek off
trigger: state
- type: motion
device_id: 001e5c2528a16c947e3908ae81419e91
entity_id: 62c7a7dc1c4301112cb942c4bfc644cd
domain: binary_sensor
id: eethoek on
trigger: device
- topic: home/RF/cmnd/pir6
payload: 'on'
id: eethoek on
alias: pir 6 on
trigger: mqtt
enabled: true
- alias: pir 10 on
topic: home/RF/cmnd/pir10
payload: 'on'
id: eethoek on
trigger: mqtt
enabled: true
- trigger: state
entity_id:
- light.eethoek_1
to: 'on'
id: aangezet
for:
hours: 0
minutes: 0
seconds: 20
- trigger: state
entity_id:
- light.eethoek_2
to: 'on'
id: aangezet
for:
hours: 0
minutes: 0
seconds: 25
- trigger: state
entity_id:
- light.eethoek_3
to: 'on'
id: aangezet
for:
hours: 0
minutes: 0
seconds: 30
- trigger: numeric_state
entity_id:
- timer.eethoek_timer_30
attribute: remaining
below: 59
id: minuut
- trigger: state
entity_id:
- input_boolean.manuuit_eethoek
to: 'off'
from: 'on'
for:
hours: 0
minutes: 0
seconds: 10
id: aangezet
- type: occupied
device_id: 55f407ca96dc777a7192b1ed3e1106eb
entity_id: b8f1fd9975ba7f222b1e5d6cccc2e7b7
domain: binary_sensor
trigger: device
id: Humandetect
alias: ZbmwPir Human detected
conditions: []
actions:
- choose:
- conditions:
- condition: trigger
id:
- aangezet
- condition: not
conditions:
- condition: state
entity_id: timer.eethoek_timer_30
state: active
alias: als timer niet actief
- condition: or
conditions:
- condition: device
type: is_on
device_id: ee939c997a2841d5410531809675c463
entity_id: a9fbdfa4be41f7ef399f8f3444b85d6a
domain: light
- condition: device
type: is_on
device_id: 10a97eb0b56988c4623f7038c36e8606
entity_id: 1ecb96150826c628415e38993152efcb
domain: light
- condition: device
type: is_on
device_id: db24262f5e3061bc1463ae4a4345b1b5
entity_id: c4bf88b6ac8a0eba02b337bb3c05699f
domain: light
alias: Als er een van de lampn aan is(en/of)
- condition: state
entity_id: input_boolean.manuuit_eethoek
state: 'off'
sequence:
- action: timer.start
metadata: {}
data: {}
target:
entity_id: timer.eethoek_timer_30
- conditions:
- condition: trigger
id:
- eethoek on
sequence:
- data:
duration: '240'
target:
entity_id: timer.eethoek_timer_30
action: timer.start
- if:
- condition: or
conditions:
- condition: device
type: is_off
device_id: ee939c997a2841d5410531809675c463
entity_id: a9fbdfa4be41f7ef399f8f3444b85d6a
domain: light
- condition: device
type: is_off
device_id: 10a97eb0b56988c4623f7038c36e8606
entity_id: 1ecb96150826c628415e38993152efcb
domain: light
- condition: device
type: is_off
device_id: db24262f5e3061bc1463ae4a4345b1b5
entity_id: c4bf88b6ac8a0eba02b337bb3c05699f
domain: light
then:
- data: {}
action: script.eethoek_aan_2
alias: als er een lamp niet aan, doe die aan
- conditions:
- condition: trigger
id:
- eethoek off
sequence:
- data: {}
action: script.eethoek_aan
- action: timer.start
metadata: {}
data: {}
target:
entity_id: timer.eethoek_uit_tijd
- conditions:
- condition: trigger
id:
- minuut
sequence:
- alias: >-
Als geen human detected in laatste 10 minuten, zet lampen 1 voor 1
uit
if:
- condition: not
conditions:
- condition: state
entity_id: timer.humandetected
state: active
then:
- action: light.turn_off
metadata: {}
data: {}
target:
entity_id: light.eethoek_3
- delay:
hours: 0
minutes: 0
seconds: 30
milliseconds: 0
- if:
- condition: device
type: is_off
device_id: db24262f5e3061bc1463ae4a4345b1b5
entity_id: c4bf88b6ac8a0eba02b337bb3c05699f
domain: light
then:
- type: turn_off
device_id: 10a97eb0b56988c4623f7038c36e8606
entity_id: 1ecb96150826c628415e38993152efcb
domain: light
else:
- stop: beweging na eeth3 uit
- delay:
hours: 0
minutes: 0
seconds: 30
milliseconds: 0
- if:
- condition: device
type: is_off
device_id: 10a97eb0b56988c4623f7038c36e8606
entity_id: 1ecb96150826c628415e38993152efcb
domain: light
then:
- type: turn_off
device_id: ee939c997a2841d5410531809675c463
entity_id: a9fbdfa4be41f7ef399f8f3444b85d6a
domain: light
else:
- stop: beweging na 2 uit
alias: 'timer <1min: lamp3 uit, <30:lamp2'
- conditions:
- condition: trigger
id:
- Humandetect
sequence:
- action: timer.start
metadata: {}
data: {}
target:
entity_id:
- timer.humandetected
mode: parallel
max: 5
NodeRed handles all RF codes by comparing the mqtt codes to a list and returning a MQTT like ‘pir6 ON’ and a few seconds later "pir6 OFF’