Wie bekomme ich den Fehler heraus wie diese ständigen Fehlermeldungen produziert werden?
2019.07.05 07:27:17.021 1 : PERL WARNING: Argument "off" isn't numeric in sprintf at (eval 205057) line 1.
2019.07.05 07:27:17.021 1 : stacktrace:
2019.07.05 07:27:17.021 1 : main::__ANON__ called by (eval 205057) (1)
2019.07.05 07:27:17.022 1 : (eval) called by fhem.pl (4626)
2019.07.05 07:27:17.022 1 : main::evalStateFormat called by fhem.pl (4727)
2019.07.05 07:27:17.022 1 : main::readingsEndUpdate called by ./FHEM/10_CUL_HM.pm (9448)
2019.07.05 07:27:17.022 1 : main::CUL_HM_UpdtReadBulk called by ./FHEM/10_CUL_HM.pm (3794)
2019.07.05 07:27:17.022 1 : main::CUL_HM_pushEvnts called by ./FHEM/10_CUL_HM.pm (3042)
2019.07.05 07:27:17.022 1 : main::CUL_HM_Parse called by fhem.pl (3950)
2019.07.05 07:27:17.022 1 : main::Dispatch called by ./FHEM/00_HMUARTLGW.pm (1463)
2019.07.05 07:27:17.023 1 : main::HMUARTLGW_Parse called by ./FHEM/00_HMUARTLGW.pm (1566)
2019.07.05 07:27:17.023 1 : main::HMUARTLGW_Read called by fhem.pl (3754)
2019.07.05 07:27:17.023 1 : main::CallFn called by fhem.pl (748)
2019.07.05 07:27:17.026 4 : CUL_HM OG1_SL_HZG_TC dupe: dont process
2019.07.05 07:27:17.028 5 : Starting notify loop for OG1_SL_HZG_TC, 1 event(s), first is rssi_at_HmUART_OG1: -68
2019.07.05 07:27:17.044 5 : Heizung: not on any display, ignoring notify
2019.07.05 07:27:17.055 5 : SabStatus: not on any display, ignoring notify
2019.07.05 07:27:17.056 5 : SenRSSI: not on any display, ignoring notify
2019.07.05 07:27:17.057 5 : battStatus: not on any display, ignoring notify
2019-07-05 07:27:17.058 CUL_HM OG1_SL_HZG_TC rssi_at_HmUART_OG1: -68
2019.07.05 07:27:17.058 5 : End notify loop for OG1_SL_HZG_TC
Internals:
CFGFN /media/hdd/fhem/mycfg/HM/hm_rasp01.cfg
DEF 634116
FUUID 5c45b04e-f33f-f4d2-590d-a99320a19c6ef89b
HmUART_AB_GTO_MSGCNT 170
HmUART_AB_GTO_RAWMSG 050000554F84106341160000000B24F33340
HmUART_AB_GTO_RSSI -85
HmUART_AB_GTO_TIME 2019-07-05 06:48:22
HmUART_EG_MSGCNT 440
HmUART_EG_RAWMSG 0500005B68847063411600000000F02D
HmUART_EG_RSSI -91
HmUART_EG_TIME 2019-07-05 06:58:51
HmUART_OG1_MSGCNT 578
HmUART_OG1_RAWMSG 0500004474847063411600000000EE2E
HmUART_OG1_RSSI -68
HmUART_OG1_TIME 2019-07-05 07:30:08
HmUART_OG2_MSGCNT 578
HmUART_OG2_RAWMSG 0500004A74847063411600000000EE2E
HmUART_OG2_RSSI -74
HmUART_OG2_TIME 2019-07-05 07:30:08
IODev HmUART_OG1
LASTInputDev HmUART_OG1
MSGCNT 1766
NAME OG1_SL_HZG_TC
NOTIFYDEV global
NR 3432
NTFY_ORDER 50-OG1_SL_HZG_TC
STATE CMDs_done
TYPE CUL_HM
channel_01 OG1_SL_HZG_TC_Weather
channel_02 OG1_SL_HZG_TC_Climate
channel_03 OG1_SL_HZG_TC_WindowRec
channel_06 OG1_SL_HZG_TC_remote
channel_07 OG1_SL_HZG_TC_SwitchTr
lastMsg No:74 - t:70 s:634116 d:000000 00EE2E
protCondBurst unknown
protLastRcv 2019-07-05 07:30:08
protRcv 581 last_at:2019-07-05 07:30:08
rssi_at_HmUART_AB_GTO cnt:170 min:-86 max:-80 avg:-83.15 lst:-85
rssi_at_HmUART_EG cnt:440 min:-93 max:-82 avg:-85.12 lst:-91
rssi_at_HmUART_OG1 cnt:578 min:-72 max:-66 avg:-69.03 lst:-68
rssi_at_HmUART_OG2 cnt:578 min:-78 max:-74 avg:-75.7 lst:-74
READINGS:
2019-07-04 19:54:11 Activity alive
2019-07-04 22:34:02 CommandAccepted yes
2019-01-21 12:43:31 D-firmware 1.3
2019-01-21 12:43:31 D-serialNr OEQ1675526
2019-05-23 12:50:51 PairedTo 0xF12347
2019-01-21 13:29:57 R-btnLock on
2019-01-21 13:29:57 R-burstRx on
2019-01-21 13:29:57 R-cyclicInfoMsg on
2019-01-21 13:29:57 R-cyclicInfoMsgDis 0
2019-01-21 13:29:57 R-globalBtnLock off
2019-01-21 13:29:57 R-localResDis off
2019-01-21 13:29:57 R-lowBatLimitRT 2.2 V
2019-01-21 13:29:57 R-modusBtnLock off
2019-01-21 13:29:57 R-pairCentral 0xF12347
2019-05-23 12:50:51 RegL_00. 00:00 01:01 02:01 09:01 0A:F1 0B:23 0C:47 0F:01 11:00 12:16 16:01 18:00 19:00 1A:00
2019-05-23 13:05:34 RegL_07.
2019-07-05 07:07:05 battery ok
2019-07-05 07:07:05 batteryLevel 3.4
2019-07-05 07:07:05 desired-temp off
2019-07-05 07:07:05 measured-temp 23.8
2019-06-04 21:41:38 rssi_HmUART_AB_GTO -68
2019-06-05 10:28:51 rssi_HmUART_OG1 -65
2019-05-29 21:41:58 rssi_HmUART_OG2 -68
2019-07-05 06:48:22 rssi_at_HmUART_AB_GTO -85
2019-07-05 06:58:51 rssi_at_HmUART_EG -91
2019-07-05 07:30:08 rssi_at_HmUART_OG1 -68
2019-07-05 07:30:08 rssi_at_HmUART_OG2 -74
2019-05-22 19:21:02 sabotageAttack_ErrIoAttack cnt 1
2019-06-30 03:30:02 state CMDs_done
2019-02-23 12:51:49 time-request -
helper:
HM_CMDNR 116
mId 00AD
peerFriend
peerOpt -:thermostat
regLst 0
rxType 6
supp_Pair_Rep 0
expert:
def 1
det 1
raw 1
tpl 1
io:
newChn +634116,00,03,00
nextSend 1562304608.90135
prefIO
rxt 0
vccu VCCU
p:
634116
00
03
00
mRssi:
mNo 74
io:
HmUART_AB_GTO:
HmUART_EG:
HmUART_OG1:
-64
-64
HmUART_OG2:
-74
-74
prt:
bErr 0
sProc 0
rspWait:
q:
qReqConf
qReqStat
role:
dev 1
prs 1
rssi:
at_HmUART_AB_GTO:
avg -83.1588235294118
cnt 170
lst -85
max -80
min -86
at_HmUART_EG:
avg -85.1295454545455
cnt 440
lst -91
max -82
min -93
at_HmUART_OG1:
avg -69.0328719723183
cnt 578
lst -68
max -66
min -72
at_HmUART_OG2:
avg -75.7006920415224
cnt 578
lst -74
max -74
min -78
shRegW:
07 02
shadowReg:
tmpl:
Attributes:
IODev HmUART_OG1
IOgrp VCCU
actCycle 000:10
actStatus alive
alias OG1 Schlafzimmer - Heizung - Temperaturcontroller
autoReadReg 4_reqStatus
burstAccess 1_auto
devStateStyle style="text-align:left;;font-weight:bold;;"
event-on-change-reading .*
expert 251_anything
firmware 1.3
group OG1 Schlafzimmer - Heizung
icon hm-tc-it-wm-w-eu
model HM-TC-IT-WM-W-EU
msgRepeat 1
room Heizung,OG1-Schlafzimmer,_HM
rssiLog 1
serialNr OEQ1675526
sortby 02.01
subType thermostat
userReadings rssi_dB:CUL_Master_RSSI.* {(ReadingsVal("$name","CUL_Master_RSSI",0))}
webCmd getConfig:clear msgEvents
Dein Device hat kein Reading CUL_Master_RSSI. Wie soll das funktionieren?
userReadings rssi_dB:CUL_Master_RSSI.* {(ReadingsVal("$name","CUL_Master_RSSI",0))}
Das stimmt. Das war ein Copy Fehler.
Dennoch habe ich immer noch diesen Fehler mit
Antw:PERL WARNING: Argument "off" isn't numeric in sprintf at
den ich nicht feststellen kann woher er kommt.
2019.07.06 21:16:16.933 1 : PERL WARNING: Argument "off" isn't numeric in sprintf at (eval 23312) line 1.
2019.07.06 21:16:16.934 1 : stacktrace:
2019.07.06 21:16:16.935 1 : main::__ANON__ called by (eval 23312) (1)
2019.07.06 21:16:16.936 1 : (eval) called by fhem.pl (4626)
2019.07.06 21:16:16.936 1 : main::evalStateFormat called by fhem.pl (4727)
2019.07.06 21:16:16.937 1 : main::readingsEndUpdate called by ./FHEM/10_CUL_HM.pm (9448)
2019.07.06 21:16:16.937 1 : main::CUL_HM_UpdtReadBulk called by ./FHEM/10_CUL_HM.pm (3787)
2019.07.06 21:16:16.938 1 : main::CUL_HM_pushEvnts called by ./FHEM/10_CUL_HM.pm (3042)
2019.07.06 21:16:16.939 1 : main::CUL_HM_Parse called by fhem.pl (3950)
2019.07.06 21:16:16.940 1 : main::Dispatch called by ./FHEM/00_HMUARTLGW.pm (1463)
2019.07.06 21:16:16.941 1 : main::HMUARTLGW_Parse called by ./FHEM/00_HMUARTLGW.pm (1566)
2019.07.06 21:16:16.942 1 : main::HMUARTLGW_Read called by fhem.pl (3754)
2019.07.06 21:16:16.942 1 : main::CallFn called by fhem.pl (748)
Mach bitte ein list stateFormat=.*{.*
list stateFormat=.*{.* habe ich gemacht.
list stateFormat=.*{.*
AB_MB_PS
AB_P_ST_DT09T04D
AB_WST_ReMDayD
AB_WST_ReMDayZD
APCUSVL
APCUSVL_bc
APCUSVL_bcl
APCUSVL_bcw
APCUSVL_br
APCUSVL_brl
APCUSVL_bt
APCUSVL_iv
APCUSVL_rbr
APCUSVL_rp
APCUSVL_rul
APCUSVL_udsh
APCUSVL_udst
APCUSVL_ul
DL2_CS10
DL2_T01
DL2_T02
DL2_T03
DL2_T04
DL2_T05
DL2_T06
DL2_T07
DL2_T08
DL2_T09
DL2_T10
DL2_T11
DL2_T12
DL2_WMZ1RT
DL2_WMZ1VT
DL2_WMZ2RT
DL2_WMZ2VT
EG_BA_HZG_RT_Clima
EG_BA_HZG_RT_Weather
EG_BA_HZG_TC_Climate
EG_BA_HZG_TC_Weather
EG_KU_HZG_RT_Clima
EG_KU_HZG_RT_Weather
EG_KU_HZG_TC_Climate
EG_KU_HZG_TC_Weather
EG_SL_HZG_RT_Clima
EG_SL_HZG_RT_Weather
EG_SL_HZG_TC_Climate
EG_SL_HZG_TC_Weather
EG_STH_HZG_RT_Clima
EG_STH_HZG_RT_Weather
EG_WC_HZG_RT_Clima
EG_WC_HZG_RT_Weather
EG_WI_HZG_RT_Clima
EG_WI_HZG_RT_Weather
EG_WZ_HZG_RT_Clima
EG_WZ_HZG_RT_Weather
EG_WZ_HZG_TC_Climate
EG_WZ_HZG_TC_Weather
EV_SDM630M
EnergieAB
EnergieEG
EnergieGas
EnergieOG1
EnergieOG2
HZG_EKF_STR
KAL_WEEK
KG_WE_WV
LUX_SRD
NG_SDM630M
OG1_KI_HZG_RT_Clima
OG1_KI_HZG_RT_Weather
OG1_KI_HZG_TC_Climate
OG1_KI_HZG_TC_Weather
OG1_KU_HZG_RT_Clima
OG1_KU_HZG_RT_Weather
OG1_KU_HZG_TC_Climate
OG1_KU_HZG_TC_Weather
OG1_SL_HZG_RT_Clima
OG1_SL_HZG_RT_Weather
OG1_SL_HZG_TC_Climate
OG1_SL_HZG_TC_Weather
OG1_STH_HZG_RT_Clima
OG1_STH_HZG_RT_Weather
OG1_STH_HZG_TC_Weather_vT_S
OG1_WC_HZG_RT_Clima
OG1_WC_HZG_RT_Weather
OG1_WC_HZG_TC_Weather_vT_S
OG1_WZ_HZG_RT_Clima
OG1_WZ_HZG_RT_Weather
OG1_WZ_HZG_TC_Climate
OG1_WZ_HZG_TC_Weather
OG2_BU1_HZG_RT_Clima
OG2_BU1_HZG_RT_Weather
OG2_BU1_HZG_TC_Climate
OG2_BU1_HZG_TC_Weather
OG2_BU2_HZG_RT1_Clima
OG2_BU2_HZG_RT1_Weather
OG2_BU2_HZG_RT2_Clima
OG2_BU2_HZG_RT2_Weather
OG2_BU2_HZG_TC_Climate
OG2_BU2_HZG_TC_Weather
OG2_EDV_R_EDVVT
OG2_EDV_R_RT
OG2_HZR_ST_DT07T08D
OG2_HZR_ST_DT12T08D
OG2_WC_HZG_RT_Clima
OG2_WC_HZG_RT_Weather
PCR800
PV_Anlage_1
PV_Anlage_1_PAC
RGB_AB_FR_Dim
RGB_OG1_WZ_Dim
SUSV
THGR810_1
THGR810_2
THGR810_2D
THGR810_6
THGR810_7
THWR800_3
UVN800
WGR800
ab_d_sstg
ab_fr_rt
ab_sa_rt
bmp180
eq3
myAstro
myTwilight
og1_ba_rt
sds011
tek603
tsl2561
veml6070
Nur wie mir das bei dieser Perl Warning weiterhelfen kann habe ich noch nicht verstanden.
Zudem sind hier auch nicht HM Geräte vorhanden.
Ich denke ich habe den Fehler gefunden.
list EG_BA_HZG_TC_Climate
Internals:
CFGFN /media/hdd/fhem/mycfg/HM/hm_rasp01.cfg
DEF 633B6D02
FUUID 5c45b04d-f33f-f4d2-63c7-2ba0f6b5682afe03
NAME EG_BA_HZG_TC_Climate
NOTIFYDEV global
NR 3201
NTFY_ORDER 50-EG_BA_HZG_TC_Climate
STATE Raumtemperatur: 24.0 °C <br>Luftfeuchte: 63.0 % <br>Sollwert: 0.0 °C
TYPE CUL_HM
chanNo 02
device EG_BA_HZG_TC
peerList EG_BA_HZG_RT_Climate,
READINGS:
2019-07-07 13:47:38 CommandAccepted yes
2019-01-25 22:23:16 R-boostPeriod 5 min
2019-01-25 22:23:16 R-dayTemp 21 C
2019-01-25 22:23:16 R-daylightSaveTime on
2019-01-25 22:23:16 R-heatCool heating
2019-01-25 22:23:16 R-modePrioManu all
2019-01-25 22:23:16 R-modePrioParty all
2019-01-25 22:23:16 R-nightTemp 17 C
2019-01-25 22:23:16 R-noMinMax4Manu off
2019-01-25 22:23:16 R-sendWeatherData on
2019-01-25 22:23:16 R-showHumidity temp
2019-01-25 22:23:16 R-showInfo time
2019-01-25 22:23:16 R-showSetTemp actTemp
2019-01-25 22:23:16 R-showWeekday off
2019-01-21 13:28:35 R-sign off
2019-05-22 18:22:40 R-tempMax 30.5 C
2019-05-22 18:22:40 R-tempMin 4.5 C
2019-01-25 22:23:16 R-tempOffset 0.0K
2019-01-25 22:23:16 R-weekPrgSel prog1
2019-01-25 22:23:16 R-winOpnBoost off
2019-05-23 07:16:47 R_P1_0_tempListSat 06:00 18.0 10:00 21.0 18:00 19.0 20:00 21.0 24:00 18.0
2019-05-23 07:16:47 R_P1_1_tempListSun 06:00 18.0 10:00 21.0 18:00 19.0 20:00 21.0 24:00 18.0
2019-05-23 07:16:47 R_P1_2_tempListMon 06:00 18.0 10:00 21.0 18:00 19.0 20:00 21.0 24:00 18.0
2019-05-23 07:16:47 R_P1_3_tempListTue 06:00 18.0 10:00 21.0 18:00 19.0 20:00 21.0 24:00 18.0
2019-05-23 07:16:47 R_P1_4_tempListWed 06:00 18.0 10:00 21.0 17:00 19.0 20:00 21.0 24:00 18.0
2019-05-23 07:16:47 R_P1_5_tempListThu 06:00 18.0 10:00 21.0 18:00 19.0 20:00 21.0 24:00 18.0
2019-05-23 07:16:47 R_P1_6_tempListFri 06:00 18.0 10:00 21.0 17:00 19.0 20:00 21.0 24:00 18.0
2019-05-23 07:16:47 R_P1_tempList_State verified
2019-05-23 07:16:51 R_P2_0_tempListSat 24:00 17.0
2019-05-23 07:16:51 R_P2_1_tempListSun 24:00 17.0
2019-05-23 07:16:51 R_P2_2_tempListMon 24:00 17.0
2019-05-23 07:16:51 R_P2_3_tempListTue 24:00 17.0
2019-05-23 07:16:51 R_P2_4_tempListWed 24:00 17.0
2019-05-23 07:16:51 R_P2_5_tempListThu 24:00 17.0
2019-05-23 07:16:51 R_P2_6_tempListFri 24:00 17.0
2019-05-23 07:16:51 R_P2_tempList_State verified
2019-05-23 07:16:55 R_P3_0_tempListSat 24:00 17.0
2019-05-23 07:16:55 R_P3_1_tempListSun 24:00 17.0
2019-05-23 07:16:55 R_P3_2_tempListMon 24:00 17.0
2019-05-23 07:16:55 R_P3_3_tempListTue 24:00 17.0
2019-05-23 07:16:55 R_P3_4_tempListWed 24:00 17.0
2019-05-23 07:16:55 R_P3_5_tempListThu 24:00 17.0
2019-05-23 07:16:55 R_P3_6_tempListFri 24:00 17.0
2019-05-23 07:16:55 R_P3_tempList_State verified
2019-05-23 07:16:42 RegL_01. 00:00 08:00
2019-05-23 07:16:47 RegL_07. 00:00 01:2A 02:22 03:09 04:3D 05:00 06:00 07:00 08:00 09:87 0A:30 0B:00 0C:00 0D:00 0E:01 0F:04 10:00 11:00 12:09 13:00 14:48 15:48 16:54 17:78 18:4C 19:D8 1A:54 1B:F0 1C:49 1D:20 1E:45 1F:20 20:45 21:20 22:45 23:20 24:45 25:20 26:45 27:20 28:45 29:20 2A:45 2B:20 2C:45 2D:20 2E:48 2F:48 30:54 31:78 32:4C 33:D8 34:54 35:F0 36:49 37:20 38:45 39:20 3A:45 3B:20 3C:45 3D:20 3E:45 3F:20 40:45 41:20 42:45 43:20 44:45 45:20 46:45 47:20 48:48 49:48 4A:54 4B:78 4C:4C 4D:D8 4E:54 4F:F0 50:49 51:20 52:45 53:20 54:45 55:20 56:45 57:20 58:45 59:20 5A:45 5B:20 5C:45 5D:20 5E:45 5F:20 60:45 61:20 62:48 63:48 64:54 65:78 66:4C 67:D8 68:54 69:F0 6A:49 6B:20 6C:45 6D:20 6E:45 6F:20 70:45 71:20 72:45 73:20 74:45 75:20 76:45 77:20 78:45 79:20 7A:45 7B:20 7C:48 7D:48 7E:54 7F:78 80:4C 81:CC 82:54 83:F0 84:49 85:20 86:45 87:20 88:45 89:20 8A:45 8B:20 8C:45 8D:20 8E:45 8F:20 90:45 91:20 92:45 93:20 94:45 95:20 96:48 97:48 98:54 99:78 9A:4C 9B:D8 9C:54 9D:F0 9E:49 9F:20 A0:45 A1:20 A2:45 A3:20 A4:45 A5:20 A6:45 A7:20 A8:45 A9:20 AA:45 AB:20 AC:45 AD:20 AE:45 AF:20 B0:48 B1:48 B2:54 B3:78 B4:4C B5:CC B6:54 B7:F0 B8:49 B9:20 BA:45 BB:20 BC:45 BD:20 BE:45 BF:20 C0:45 C1:20 C2:45 C3:20 C4:45 C5:20 C6:45 C7:20 C8:45 C9:20 CA:00 CB:00 CC:00 CD:00 CE:00 CF:00
2019-05-23 07:16:51 RegL_08. 00:00 01:00 02:00 03:00 04:00 05:00 06:00 07:00 08:00 09:00 0A:00 0B:00 0C:00 0D:00 0E:00 0F:00 10:00 11:00 12:00 13:00 14:45 15:20 16:45 17:20 18:45 19:20 1A:45 1B:20 1C:45 1D:20 1E:45 1F:20 20:45 21:20 22:45 23:20 24:45 25:20 26:45 27:20 28:45 29:20 2A:45 2B:20 2C:45 2D:20 2E:45 2F:20 30:45 31:20 32:45 33:20 34:45 35:20 36:45 37:20 38:45 39:20 3A:45 3B:20 3C:45 3D:20 3E:45 3F:20 40:45 41:20 42:45 43:20 44:45 45:20 46:45 47:20 48:45 49:20 4A:45 4B:20 4C:45 4D:20 4E:45 4F:20 50:45 51:20 52:45 53:20 54:45 55:20 56:45 57:20 58:45 59:20 5A:45 5B:20 5C:45 5D:20 5E:45 5F:20 60:45 61:20 62:45 63:20 64:45 65:20 66:45 67:20 68:45 69:20 6A:45 6B:20 6C:45 6D:20 6E:45 6F:20 70:45 71:20 72:45 73:20 74:45 75:20 76:45 77:20 78:45 79:20 7A:45 7B:20 7C:45 7D:20 7E:45 7F:20 80:45 81:20 82:45 83:20 84:45 85:20 86:45 87:20 88:45 89:20 8A:45 8B:20 8C:45 8D:20 8E:45 8F:20 90:45 91:20 92:45 93:20 94:45 95:20 96:45 97:20 98:45 99:20 9A:45 9B:20 9C:45 9D:20 9E:45 9F:20 A0:45 A1:20 A2:45 A3:20 A4:45 A5:20 A6:45 A7:20 A8:45 A9:20 AA:45 AB:20 AC:45 AD:20 AE:45 AF:20 B0:45 B1:20 B2:45 B3:20 B4:45 B5:20 B6:45 B7:20 B8:45 B9:20 BA:45 BB:20 BC:45 BD:20 BE:45 BF:20 C0:45 C1:20 C2:45 C3:20 C4:45 C5:20 C6:45 C7:20 C8:45 C9:20 CA:00 CB:00 CC:00 CD:00 CE:00 CF:00
2019-05-23 07:16:55 RegL_09. 00:00 01:00 02:00 03:00 04:00 05:00 06:00 07:00 08:00 09:00 0A:00 0B:00 0C:00 0D:00 0E:00 0F:00 10:00 11:00 12:00 13:00 14:45 15:20 16:45 17:20 18:45 19:20 1A:45 1B:20 1C:45 1D:20 1E:45 1F:20 20:45 21:20 22:45 23:20 24:45 25:20 26:45 27:20 28:45 29:20 2A:45 2B:20 2C:45 2D:20 2E:45 2F:20 30:45 31:20 32:45 33:20 34:45 35:20 36:45 37:20 38:45 39:20 3A:45 3B:20 3C:45 3D:20 3E:45 3F:20 40:45 41:20 42:45 43:20 44:45 45:20 46:45 47:20 48:45 49:20 4A:45 4B:20 4C:45 4D:20 4E:45 4F:20 50:45 51:20 52:45 53:20 54:45 55:20 56:45 57:20 58:45 59:20 5A:45 5B:20 5C:45 5D:20 5E:45 5F:20 60:45 61:20 62:45 63:20 64:45 65:20 66:45 67:20 68:45 69:20 6A:45 6B:20 6C:45 6D:20 6E:45 6F:20 70:45 71:20 72:45 73:20 74:45 75:20 76:45 77:20 78:45 79:20 7A:45 7B:20 7C:45 7D:20 7E:45 7F:20 80:45 81:20 82:45 83:20 84:45 85:20 86:45 87:20 88:45 89:20 8A:45 8B:20 8C:45 8D:20 8E:45 8F:20 90:45 91:20 92:45 93:20 94:45 95:20 96:45 97:20 98:45 99:20 9A:45 9B:20 9C:45 9D:20 9E:45 9F:20 A0:45 A1:20 A2:45 A3:20 A4:45 A5:20 A6:45 A7:20 A8:45 A9:20 AA:45 AB:20 AC:45 AD:20 AE:45 AF:20 B0:45 B1:20 B2:45 B3:20 B4:45 B5:20 B6:45 B7:20 B8:45 B9:20 BA:45 BB:20 BC:45 BD:20 BE:45 BF:20 C0:45 C1:20 C2:45 C3:20 C4:45 C5:20 C6:45 C7:20 C8:45 C9:20 CA:00 CB:00 CC:00 CD:00 CE:00 CF:00
2019-07-07 14:40:09 boostTime -
2019-07-07 14:40:09 commReporting off
2019-07-07 14:40:09 controlMode manual
2019-07-07 14:55:15 desired-temp off
2019-07-07 14:55:15 humidity 63
2019-07-07 14:55:15 measured-temp 24.0
2019-07-06 20:35:17 peerList EG_BA_HZG_RT_Climate,
2019-07-07 13:47:38 recentStateType ack
2019-07-07 14:55:15 state T: 24.0 desired: off
2019-07-06 20:34:26 tempTmplSet EgBad
2019-07-07 13:47:38 trigLast fhem:81
2019-07-07 14:40:09 winOpenReporting on
helper:
peerFriend peerRtTc
peerOpt p:thermostat
regLst 1,7,8,9
expert:
def 1
det 1
raw 1
tpl 1
role:
chn 1
shRegR:
07 00
shadowReg:
tmpl:
Attributes:
alias EG Bad - Heizung - Temperaturcontroller Climate
devStateStyle style="text-align:left;;font-weight:bold;;"
group EG Bad - Heizung
icon hm-tc-it-wm-w-eu
model HM-TC-IT-WM-W-EU
peerIDs 00000000,5FA4CA02,
room EG-Bad,Heizung,_HM
sortby 04.02
stateFormat {sprintf(
"Raumtemperatur: %.1f °C <br>Luftfeuchte: %.1f %% <br>Sollwert: %.1f °C",
ReadingsVal("$name","measured-temp",0),
ReadingsVal("$name","humidity",0),
ReadingsVal("$name","desired-temp",0))}
tempListTmpl EgBad
Bei dem HM TC Geräten wird beim Ausschalten der Heizung set EG_BA_HZG_TC_Climate controlManu off ausgeführt.
Dadurch wird desired-temp mit off definiert.
Nachdem die desired-temp aber bei anderen Programmschritten weiter verwendet wird kommt unweigerlich zur Meldung Argument "off" isn't numeric.
Da muss ich mir noch etwas einfallen lassen.
Zitatlist stateFormat=.*{.*
Das war dafür gedacht, die Devices zu finden, die ein stateFormat auf Perl haben, da die Fehlermeldung darauf deutet. Ich weiss nicht, warum es bei dir so viele Ergebnisse bringt. Bei mir hat es funktioniert.
ZitatstateFormat {sprintf(
"Raumtemperatur: %.1f °C <br>Luftfeuchte: %.1f %% <br>Sollwert: %.1f °C",
ReadingsVal("$name","measured-temp",0),
ReadingsVal("$name","humidity",0),
ReadingsVal("$name","desired-temp",0))}
Genau sowas habe ich gesucht.
Du könntest ReadingsVal durch ReadingsNum ersetzen. Damit solltest Du nur numerische Werte kriegen (und vermutlich 0 bei off)
Ansonsten mach nur eine String Konkatenierung.
attr <Device> stateFormat Raumtemperatur: measured-temp °C<br>Luftfeuchte: humidity %<br>Sollwert: desired-temp
oder auf Perl:
stateFormat { "Raumtemperatur: ".ReadingsVal("$name","measured-temp",0)." Luftfeuchte: ".ReadingsVal...}
Alles klar.
Danke für die Tipps.
Das werde ich in den nächsten Tagen gleich einmal abändern.