Hauptmenü

Argument "" isn't numeric

Begonnen von holzwurm83, 05 Dezember 2021, 21:13:01

Vorheriges Thema - Nächstes Thema

holzwurm83

Hallo zusammen,

ich verstehe hier diese Fehlermeldung leider nicht und stehe gerade etwas auf dem Schlauch und finde den Fehler nicht.

condition c01: Argument "" isn't numeric in numeric lt (<)

Das ist der Code dazu:
([BEW_AK:occupancy] eq "true" and [Rol_AK_OST:state] ne "level_100" and [G_OST_Helligkeitssensor:luminosity] < 2100)
( set AK_Licht_Decke on-for-timer 160)
- Fhem auf einem MacMini Server
- CUL; HMLAN; CUNO2 für FS20; HM-Wired RS485 LAN Gateway
- HMW_Sen_SC_12_FM; HMW_LC_Sw2_DR; HMW_LC_Bl1_DR; HMW_IO_12_Sw7; HMW_IO_12_Sw14_DR; HMW_IO_12_FM; HBW_1W_T10
- HM-TC-IT-WM-W-EU; HM-CC-RT-DN

Damian

[G_OST_Helligkeitssensor:luminosity] ist nicht vorhanden oder es steht dort nichts drin.
Programmierte FHEM-Module: DOIF-FHEM, DOIF-Perl, DOIF-uiTable, THRESHOLD, FHEM-Befehl: IF

holzwurm83

Zitat von: Damian am 05 Dezember 2021, 21:14:17
[G_OST_Helligkeitssensor:luminosity] ist nicht vorhanden oder es steht dort nichts drin.

hier ist ein List vom Device:
Internals:
   DEF        14D88C
   FUUID      5cbf7456-f33f-283d-b880-468eae2253f4a87e
   FVERSION   10_CUL_HM.pm:0.249610/2021-09-12
   HMLAN_MSGCNT 4884
   HMLAN_RAWMSG E14D88C,0000,01168482,FF,FFB2,65A27014D88CF111347FF7002623000000060DAC
   HMLAN_RSSI -78
   HMLAN_TIME 2021-12-05 22:00:25
   IODev      HMLAN
   LASTInputDev HMLAN
   MSGCNT     4884
   NAME       G_Ost_Helligkeitssensor
   NR         880
   NTFY_ORDER 50-G_Ost_Helligkeitssensor
   STATE      0.06
   TYPE       CUL_HM
   chanNo     01
   disableNotifyFn 1
   lastMsg    No:65 - t:70 s:14D88C d:F11134 7FF7002623000000060DAC
   protCmdPend 3 CMDs_pending
   protLastRcv 2021-12-05 22:00:25
   protRcv    4789 last_at:2021-12-05 22:00:25
   protResnd  1 last_at:2021-11-26 19:35:47
   protSnd    2 last_at:2021-11-26 19:35:45
   protState  CMDs_pending
   rssi_at_HMLAN cnt:4884 min:-104 max:-74 avg:-80 lst:-78
   READINGS:
     2021-11-26 19:44:46   Activity        alive
     2020-12-05 12:46:29   D-firmware      0.15
     2020-12-05 12:46:29   D-serialNr      3A1E4U680Y
     2021-11-26 19:35:45   IODev           HMLAN
     2020-12-06 17:55:22   PairedTo        0xF11134
     2020-12-05 11:46:12   R-burstRx       off
     2020-12-05 11:46:12   R-pairCentral   0xF11134
     2021-12-05 22:00:25   batVoltage      3.50
     2021-12-05 22:00:25   battery         ok
     2021-11-26 19:35:45   cfgState        updating
     2021-11-26 19:35:47   commState       CMDs_pending
     2021-12-05 22:00:25   luminosity      0.06
     2021-08-22 10:32:06   powerOn         2021-08-22 10:32:06
     2021-12-05 22:00:25   pressure        976.3
     2021-12-05 22:00:25   pressure-nn     1007.9
     2021-10-08 12:12:55   recentStateType info
     2021-12-05 22:00:25   state           T: -0.9 L: 0.06 P: 976.3 P-NN: 1007.9
     2021-12-05 22:00:25   temperature     -0.9
- Fhem auf einem MacMini Server
- CUL; HMLAN; CUNO2 für FS20; HM-Wired RS485 LAN Gateway
- HMW_Sen_SC_12_FM; HMW_LC_Sw2_DR; HMW_LC_Bl1_DR; HMW_IO_12_Sw7; HMW_IO_12_Sw14_DR; HMW_IO_12_FM; HBW_1W_T10
- HM-TC-IT-WM-W-EU; HM-CC-RT-DN

Damian

Also nicht vorhanden :)

siehe Name des Sensors
Programmierte FHEM-Module: DOIF-FHEM, DOIF-Perl, DOIF-uiTable, THRESHOLD, FHEM-Befehl: IF

holzwurm83

Stehe immer noch auf dem Schlauch. Der Name ist richtig eingetragen?
- Fhem auf einem MacMini Server
- CUL; HMLAN; CUNO2 für FS20; HM-Wired RS485 LAN Gateway
- HMW_Sen_SC_12_FM; HMW_LC_Sw2_DR; HMW_LC_Bl1_DR; HMW_IO_12_Sw7; HMW_IO_12_Sw14_DR; HMW_IO_12_FM; HBW_1W_T10
- HM-TC-IT-WM-W-EU; HM-CC-RT-DN

MadMax-FHEM

Zitat von: holzwurm83 am 05 Dezember 2021, 23:37:27
Stehe immer noch auf dem Schlauch. Der Name ist richtig eingetragen?

G_Ost_Helligkeitssensor vs. G_OST_Helligkeitssensor

Gruß, Joachim
FHEM PI3B+ Bullseye: HM-CFG-USB, 40x HM, ZWave-USB, 13x ZWave, EnOcean-PI, 15x EnOcean, HUE/deCONZ, CO2, ESP-Multisensor, Shelly, alexa-fhem, ...
FHEM PI2 Buster: HM-CFG-USB, 25x HM, ZWave-USB, 4x ZWave, EnOcean-PI, 3x EnOcean, Shelly, ha-bridge, ...
FHEM PI3 Buster (Test)

megadodopublications

Zitat von: holzwurm83 am 05 Dezember 2021, 21:13:01
G_OST_Helligkeitssensor:luminosity

Probier mal mit (explizit numerisch auslesen)

G_OST_Helligkeitssensor:luminosity:d

VG
Ralph

holzwurm83

Hallo zusammen,

danke euch! Sorry für meine Verwirrtheit! Das war das kleine Problem....

G_Ost_Helligkeitssensor vs. G_OST_Helligkeitssensor
- Fhem auf einem MacMini Server
- CUL; HMLAN; CUNO2 für FS20; HM-Wired RS485 LAN Gateway
- HMW_Sen_SC_12_FM; HMW_LC_Sw2_DR; HMW_LC_Bl1_DR; HMW_IO_12_Sw7; HMW_IO_12_Sw14_DR; HMW_IO_12_FM; HBW_1W_T10
- HM-TC-IT-WM-W-EU; HM-CC-RT-DN