Autor Thema: [gelöst]keine Werte mehr im Log-file  (Gelesen 170 mal)

Offline matze1999

  • Full Member
  • ***
  • Beiträge: 242
[gelöst]keine Werte mehr im Log-file
« am: 18 August 2022, 18:57:04 »
Hallo,

ich hab folgende Devices:

defmod MQTT2_DVES_1798A6 MQTT2_DEVICE DVES_1798A6
attr MQTT2_DVES_1798A6 autocreate 0
attr MQTT2_DVES_1798A6 genericDeviceType switch
ttr MQTT2_DVES_1798A6 jsonMap POWER1:0 POWER2:0 POWER3:0 POWER4:0 Dimmer:0 Channel_0:0 Channel_1:0 Channel_2:0 Channel_3:0 Channel_4:0 Channel_5:0 HSBColor:0 Color:0
attr MQTT2_DVES_1798A6 model tasmota_4channel_split
attr MQTT2_DVES_1798A6 readingList tele/tasmota_1798A6/LWT:.* LWT\
  tele/tasmota_1798A6/STATE:.* { json2nameValue($EVENT,'',$JSONMAP) }\
  tele/tasmota_1798A6/SENSOR:.* { json2nameValue($EVENT,'',$JSONMAP) }\
  tele/tasmota_1798A6/INFO.:.* { $EVENT =~ m,^..Info[1-3]..(.+).$, ?  json2nameValue($1,'',$JSONMAP) : json2nameValue($EVENT,'',$JSONMAP) }\
  tele/tasmota_1798A6/UPTIME:.* { json2nameValue($EVENT,'',$JSONMAP) }\
  stat/tasmota_1798A6/POWER1:.* state\
  stat/tasmota_1798A6/RESULT:.* { json2nameValue($EVENT,'',$JSONMAP) }\
DVES_1798A6:tasmota/discovery/98CDAC1798A6/config:.* { json2nameValue($EVENT) }\
DVES_1798A6:tasmota/discovery/98CDAC1798A6/sensors:.* { json2nameValue($EVENT) }
attr MQTT2_DVES_1798A6 setList off:noArg    cmnd/tasmota_1798A6/POWER1 0\
  on:noArg     cmnd/tasmota_1798A6/POWER1 1\
  toggle:noArg cmnd/tasmota_1798A6/POWER1 2\
attr MQTT2_DVES_1798A6 setStateList on off toggle
attr MQTT2_DVES_1798A6 stateFormat LWT\
DHT11_Temperature °C\
state

defmod MQTT2_DVES_1798A6_CH2 MQTT2_DEVICE MQTT2_DVES_1798A6_CH2
attr MQTT2_DVES_1798A6_CH2 autocreate 0
attr MQTT2_DVES_1798A6_CH2 comment Channel 2 for MQTT2_DVES_1798A6, see also MQTT2_DVES_1798A6, MQTT2_DVES_1798A6_CH3 and MQTT2_DVES_1798A6_CH4
attr MQTT2_DVES_1798A6_CH2 genericDeviceType switch
attr MQTT2_DVES_1798A6_CH2 jsonMap POWER2:0 Dimmer:pct POWER1:0 Heap:0 LedTable:0 LoadAvg:0 MqttCount:0 SaveData:0 Scheme:0 SetOption26:0 Sleep:0 SleepMode:0 Speed:0 StateText1:0 StateText2:0 StateText3:0 StateText4:0 Time:0 Uptime:0 UptimeSec:0 Wifi_SSId:0 Wifi_RSSI:0 Wifi_LinkCount:0 Wifi_Downtime:0 Wifi_Channel:0 Wifi_BSSId:0 Wifi_AP:0 ANALOG_A0:0 SetOption26:0 Sleep:0 SleepMode:0 Speed:0 StateText1:0 StateText2:0 StateText3:0 StateText4:0 Time:0 Uptime:0 UptimeSec:0 Wifi_SSId:0 Wifi_RSSI:0 Wifi_LinkCount:0 Wifi_Downtime:0 Wifi_Channel:0 Wifi_BSSId:0 Wifi_AP:0
attr MQTT2_DVES_1798A6_CH2 model tasmota_4channel_split
attr MQTT2_DVES_1798A6_CH2 readingList stat/tasmota_1798A6/POWER2:.* state
attr MQTT2_DVES_1798A6_CH2 room MQTT2_DEVICE
attr MQTT2_DVES_1798A6_CH2 setList off:noArg    cmnd/tasmota_1798A6/POWER2 0\
  on:noArg     cmnd/tasmota_1798A6/POWER2 1\
  toggle:noArg cmnd/tasmota_1798A6/POWER2 2
attr MQTT2_DVES_1798A6_CH2 setStateList on off toggle

defmod MQTT2_DVES_1798A6_CH3 MQTT2_DEVICE MQTT2_DVES_1798A6_CH2
attr MQTT2_DVES_1798A6_CH3 autocreate 0
attr MQTT2_DVES_1798A6_CH3 comment Channel 3 for MQTT2_DVES_1798A6, see also MQTT2_DVES_1798A6, MQTT2_DVES_1798A6_CH2 and MQTT2_DVES_1798A6_CH4
attr MQTT2_DVES_1798A6_CH3 genericDeviceType switch
attr MQTT2_DVES_1798A6_CH3 jsonMap POWER2:0 Dimmer:pct POWER1:0 Heap:0 LedTable:0 LoadAvg:0 MqttCount:0 SaveData:0 Scheme:0 SetOption26:0 Sleep:0 SleepMode:0 Speed:0 StateText1:0 StateText2:0 StateText3:0 StateText4:0 Time:0 Uptime:0 UptimeSec:0 Wifi_SSId:0 Wifi_RSSI:0 Wifi_LinkCount:0 Wifi_Downtime:0 Wifi_Channel:0 Wifi_BSSId:0 Wifi_AP:0 ANALOG_A0:0 SetOption26:0 Sleep:0 SleepMode:0 Speed:0 StateText1:0 StateText2:0 StateText3:0 StateText4:0 Time:0 Uptime:0 UptimeSec:0 Wifi_SSId:0 Wifi_RSSI:0 Wifi_LinkCount:0 Wifi_Downtime:0 Wifi_Channel:0 Wifi_BSSId:0 Wifi_AP:0
attr MQTT2_DVES_1798A6_CH3 model tasmota_4channel_split
attr MQTT2_DVES_1798A6_CH3 readingList stat/tasmota_1798A6/POWER3:.* state
attr MQTT2_DVES_1798A6_CH3 room MQTT2_DEVICE
attr MQTT2_DVES_1798A6_CH3 setList off:noArg    cmnd/tasmota_1798A6/POWER3 0\
  on:noArg     cmnd/tasmota_1798A6/POWER3 1\
  toggle:noArg cmnd/tasmota_1798A6/POWER3 2
attr MQTT2_DVES_1798A6_CH3 setStateList on off toggle

defmod MQTT2_DVES_1798A6_CH4 MQTT2_DEVICE MQTT2_DVES_1798A6_CH2
attr MQTT2_DVES_1798A6_CH4 autocreate 0
attr MQTT2_DVES_1798A6_CH4 comment Channel 4 for MQTT2_DVES_1798A6, see also MQTT2_DVES_1798A6, MQTT2_DVES_1798A6_CH2 and MQTT2_DVES_1798A6_CH3
attr MQTT2_DVES_1798A6_CH4 genericDeviceType switch
attr MQTT2_DVES_1798A6_CH4 jsonMap POWER2:0 Dimmer:pct POWER1:0 Heap:0 LedTable:0 LoadAvg:0 MqttCount:0 SaveData:0 Scheme:0 SetOption26:0 Sleep:0 SleepMode:0 Speed:0 StateText1:0 StateText2:0 StateText3:0 StateText4:0 Time:0 Uptime:0 UptimeSec:0 Wifi_SSId:0 Wifi_RSSI:0 Wifi_LinkCount:0 Wifi_Downtime:0 Wifi_Channel:0 Wifi_BSSId:0 Wifi_AP:0 ANALOG_A0:0 SetOption26:0 Sleep:0 SleepMode:0 Speed:0 StateText1:0 StateText2:0 StateText3:0 StateText4:0 Time:0 Uptime:0 UptimeSec:0 Wifi_SSId:0 Wifi_RSSI:0 Wifi_LinkCount:0 Wifi_Downtime:0 Wifi_Channel:0 Wifi_BSSId:0 Wifi_AP:0
attr MQTT2_DVES_1798A6_CH4 model tasmota_4channel_split
attr MQTT2_DVES_1798A6_CH4 readingList stat/tasmota_1798A6/POWER4:.* state
attr MQTT2_DVES_1798A6_CH4 room MQTT2_DEVICE
attr MQTT2_DVES_1798A6_CH4 setList off:noArg    cmnd/tasmota_1798A6/POWER4 0\
  on:noArg     cmnd/tasmota_1798A6/POWER4 1\
  toggle:noArg cmnd/tasmota_1798A6/POWER4 2
attr MQTT2_DVES_1798A6_CH4 setStateList on off toggle

Die Temperatur und die state möchte ich in ein filelog schreiben:

defmod MQTT2_DVES_1798A6_FileLog_1 FileLog ./log/MQTT2_DVES_1798A6_FileLog_1.log MQTT2_DVES_1798A6:DHT11_Temperature:.*|MQTT2_DVES_1798A6_CH2:ON|MQTT2_DVES_1798A6_CH3:ON|MQTT2_DVES_1798A6_CH4:ON|MQTT2_DVES_1798A6_CH2:OFF|MQTT2_DVES_1798A6_CH3:OFF|MQTT2_DVES_1798A6_CH4:OFF
Aber es wird nur die Temperatur geschrieben. Wo liegt mein Fehler?

2022-08-18_09:54:36 MQTT2_DVES_1798A6 DHT11_Temperature: 28.4
2022-08-18_09:55:00 MQTT2_DVES_1798A6 DHT11_Temperature: 28.4
2022-08-18_10:00:00 MQTT2_DVES_1798A6 DHT11_Temperature: 28.9
2022-08-18_10:08:29 MQTT2_DVES_1798A6 DHT11_Temperature: 28.6
2022-08-18_10:12:39 MQTT2_DVES_1798A6 DHT11_Temperature: 28.8
2022-08-18_10:17:39 MQTT2_DVES_1798A6 DHT11_Temperature: 28.5
2022-08-18_10:22:39 MQTT2_DVES_1798A6 DHT11_Temperature: 27.6
2022-08-18_10:27:39 MQTT2_DVES_1798A6 DHT11_Temperature: 27.9
2022-08-18_10:32:39 MQTT2_DVES_1798A6 DHT11_Temperature: 27.3
2022-08-18_10:37:39 MQTT2_DVES_1798A6 DHT11_Temperature: 26.9
2022-08-18_10:42:39 MQTT2_DVES_1798A6 DHT11_Temperature: 26.7
2022-08-18_10:47:39 MQTT2_DVES_1798A6 DHT11_Temperature: 26.6
2022-08-18_10:52:39 MQTT2_DVES_1798A6 DHT11_Temperature: 26.6
2022-08-18_10:57:39 MQTT2_DVES_1798A6 DHT11_Temperature: 26.6
2022-08-18_11:02:39 MQTT2_DVES_1798A6 DHT11_Temperature: 26.6
2022-08-18_11:07:39 MQTT2_DVES_1798A6 DHT11_Temperature: 26.5
2022-08-18_11:12:40 MQTT2_DVES_1798A6 DHT11_Temperature: 26.5
2022-08-18_11:17:39 MQTT2_DVES_1798A6 DHT11_Temperature: 26.5
2022-08-18_11:22:39 MQTT2_DVES_1798A6 DHT11_Temperature: 26.5
2022-08-18_11:27:39 MQTT2_DVES_1798A6 DHT11_Temperature: 26.4
2022-08-18_11:32:39 MQTT2_DVES_1798A6 DHT11_Temperature: 26.4
2022-08-18_11:37:39 MQTT2_DVES_1798A6 DHT11_Temperature: 26.4
2022-08-18_11:42:39 MQTT2_DVES_1798A6 DHT11_Temperature: 26.5
2022-08-18_11:47:39 MQTT2_DVES_1798A6 DHT11_Temperature: 26.5
2022-08-18_11:52:39 MQTT2_DVES_1798A6 DHT11_Temperature: 26.5
2022-08-18_11:57:39 MQTT2_DVES_1798A6 DHT11_Temperature: 26.5
2022-08-18_12:02:39 MQTT2_DVES_1798A6 DHT11_Temperature: 26.5
2022-08-18_12:07:39 MQTT2_DVES_1798A6 DHT11_Temperature: 26.5
2022-08-18_12:12:39 MQTT2_DVES_1798A6 DHT11_Temperature: 26.5
2022-08-18_12:17:39 MQTT2_DVES_1798A6 DHT11_Temperature: 26.5
2022-08-18_12:22:39 MQTT2_DVES_1798A6 DHT11_Temperature: 26.5
2022-08-18_12:27:39 MQTT2_DVES_1798A6 DHT11_Temperature: 26.5
2022-08-18_12:32:39 MQTT2_DVES_1798A6 DHT11_Temperature: 26.6
2022-08-18_12:37:39 MQTT2_DVES_1798A6 DHT11_Temperature: 26.6
2022-08-18_12:42:39 MQTT2_DVES_1798A6 DHT11_Temperature: 26.6
2022-08-18_12:47:39 MQTT2_DVES_1798A6 DHT11_Temperature: 26.6
2022-08-18_12:52:39 MQTT2_DVES_1798A6 DHT11_Temperature: 26.6
2022-08-18_12:57:39 MQTT2_DVES_1798A6 DHT11_Temperature: 26.7
2022-08-18_13:02:39 MQTT2_DVES_1798A6 DHT11_Temperature: 26.7
2022-08-18_13:07:39 MQTT2_DVES_1798A6 DHT11_Temperature: 26.7
2022-08-18_13:12:39 MQTT2_DVES_1798A6 DHT11_Temperature: 26.7
2022-08-18_13:17:39 MQTT2_DVES_1798A6 DHT11_Temperature: 26.8
2022-08-18_13:22:39 MQTT2_DVES_1798A6 DHT11_Temperature: 26.9
2022-08-18_13:27:39 MQTT2_DVES_1798A6 DHT11_Temperature: 27.0
2022-08-18_13:32:39 MQTT2_DVES_1798A6 DHT11_Temperature: 27.0
2022-08-18_13:37:39 MQTT2_DVES_1798A6 DHT11_Temperature: 26.9
2022-08-18_13:42:39 MQTT2_DVES_1798A6 DHT11_Temperature: 26.9
2022-08-18_13:47:39 MQTT2_DVES_1798A6 DHT11_Temperature: 26.9
2022-08-18_13:52:39 MQTT2_DVES_1798A6 DHT11_Temperature: 26.9
2022-08-18_13:57:39 MQTT2_DVES_1798A6 DHT11_Temperature: 26.9
2022-08-18_14:02:39 MQTT2_DVES_1798A6 DHT11_Temperature: 26.9
2022-08-18_14:07:39 MQTT2_DVES_1798A6 DHT11_Temperature: 26.9
2022-08-18_14:12:39 MQTT2_DVES_1798A6 DHT11_Temperature: 26.9
2022-08-18_14:17:39 MQTT2_DVES_1798A6 DHT11_Temperature: 26.9
2022-08-18_14:22:39 MQTT2_DVES_1798A6 DHT11_Temperature: 26.9
2022-08-18_14:27:39 MQTT2_DVES_1798A6 DHT11_Temperature: 26.9
2022-08-18_14:32:39 MQTT2_DVES_1798A6 DHT11_Temperature: 27.0
2022-08-18_14:37:39 MQTT2_DVES_1798A6 DHT11_Temperature: 27.0
2022-08-18_14:42:39 MQTT2_DVES_1798A6 DHT11_Temperature: 27.0
2022-08-18_14:47:39 MQTT2_DVES_1798A6 DHT11_Temperature: 27.0
2022-08-18_14:52:39 MQTT2_DVES_1798A6 DHT11_Temperature: 27.0
2022-08-18_14:57:39 MQTT2_DVES_1798A6 DHT11_Temperature: 27.0
2022-08-18_15:02:39 MQTT2_DVES_1798A6 DHT11_Temperature: 27.0
2022-08-18_15:07:39 MQTT2_DVES_1798A6 DHT11_Temperature: 27.0
2022-08-18_15:12:39 MQTT2_DVES_1798A6 DHT11_Temperature: 27.0
2022-08-18_15:17:39 MQTT2_DVES_1798A6 DHT11_Temperature: 27.0
2022-08-18_15:22:39 MQTT2_DVES_1798A6 DHT11_Temperature: 27.0
2022-08-18_15:27:39 MQTT2_DVES_1798A6 DHT11_Temperature: 27.0
2022-08-18_15:32:39 MQTT2_DVES_1798A6 DHT11_Temperature: 27.1
2022-08-18_15:37:39 MQTT2_DVES_1798A6 DHT11_Temperature: 27.1
2022-08-18_15:42:39 MQTT2_DVES_1798A6 DHT11_Temperature: 27.1
2022-08-18_15:47:39 MQTT2_DVES_1798A6 DHT11_Temperature: 27.1
2022-08-18_15:52:39 MQTT2_DVES_1798A6 DHT11_Temperature: 27.1
2022-08-18_15:57:39 MQTT2_DVES_1798A6 DHT11_Temperature: 27.1
2022-08-18_16:02:39 MQTT2_DVES_1798A6 DHT11_Temperature: 27.2
2022-08-18_16:07:39 MQTT2_DVES_1798A6 DHT11_Temperature: 27.2
2022-08-18_16:12:39 MQTT2_DVES_1798A6 DHT11_Temperature: 27.3
2022-08-18_16:17:39 MQTT2_DVES_1798A6 DHT11_Temperature: 27.4
2022-08-18_16:22:40 MQTT2_DVES_1798A6 DHT11_Temperature: 27.4
2022-08-18_16:27:39 MQTT2_DVES_1798A6 DHT11_Temperature: 27.4
2022-08-18_16:32:39 MQTT2_DVES_1798A6 DHT11_Temperature: 27.3
2022-08-18_16:37:39 MQTT2_DVES_1798A6 DHT11_Temperature: 27.3
2022-08-18_16:42:39 MQTT2_DVES_1798A6 DHT11_Temperature: 27.3
2022-08-18_16:47:39 MQTT2_DVES_1798A6 DHT11_Temperature: 27.3
2022-08-18_16:52:39 MQTT2_DVES_1798A6 DHT11_Temperature: 27.3
2022-08-18_16:57:39 MQTT2_DVES_1798A6 DHT11_Temperature: 27.3
2022-08-18_17:02:39 MQTT2_DVES_1798A6 DHT11_Temperature: 27.3
2022-08-18_17:07:39 MQTT2_DVES_1798A6 DHT11_Temperature: 27.3
2022-08-18_17:12:39 MQTT2_DVES_1798A6 DHT11_Temperature: 27.3
2022-08-18_17:17:39 MQTT2_DVES_1798A6 DHT11_Temperature: 27.3
2022-08-18_17:22:39 MQTT2_DVES_1798A6 DHT11_Temperature: 27.3
2022-08-18_17:27:39 MQTT2_DVES_1798A6 DHT11_Temperature: 27.3
2022-08-18_17:32:39 MQTT2_DVES_1798A6 DHT11_Temperature: 27.3
2022-08-18_17:37:39 MQTT2_DVES_1798A6 DHT11_Temperature: 27.3
2022-08-18_17:42:39 MQTT2_DVES_1798A6 DHT11_Temperature: 27.3
2022-08-18_17:47:39 MQTT2_DVES_1798A6 DHT11_Temperature: 27.3
2022-08-18_17:52:39 MQTT2_DVES_1798A6 DHT11_Temperature: 27.3
2022-08-18_17:57:39 MQTT2_DVES_1798A6 DHT11_Temperature: 27.3
2022-08-18_18:02:39 MQTT2_DVES_1798A6 DHT11_Temperature: 27.4
2022-08-18_18:07:39 MQTT2_DVES_1798A6 DHT11_Temperature: 27.4
2022-08-18_18:12:39 MQTT2_DVES_1798A6 DHT11_Temperature: 27.4
2022-08-18_18:17:39 MQTT2_DVES_1798A6 DHT11_Temperature: 27.4
2022-08-18_18:22:39 MQTT2_DVES_1798A6 DHT11_Temperature: 27.4
2022-08-18_18:27:39 MQTT2_DVES_1798A6 DHT11_Temperature: 27.4
2022-08-18_18:32:39 MQTT2_DVES_1798A6 DHT11_Temperature: 27.4
2022-08-18_18:37:39 MQTT2_DVES_1798A6 DHT11_Temperature: 27.4
2022-08-18_18:42:40 MQTT2_DVES_1798A6 DHT11_Temperature: 27.5
2022-08-18_18:47:39 MQTT2_DVES_1798A6 DHT11_Temperature: 27.6
2022-08-18_18:52:39 MQTT2_DVES_1798A6 DHT11_Temperature: 27.7

im filelog Device:

Probably associated with
MQTT2_DVES_1798A6 (Schrankklima_Türöffner_Kanal1)
Online 27.7 °C off
MQTT2_DEVICE
MQTT2_DVES_1798A6_CH2 (Schrankklima_Türöffner_Kanal2)
off
MQTT2_DEVICE
MQTT2_DVES_1798A6_CH3 (Schrankklima_Lüfter)
on
MQTT2_DEVICE
MQTT2_DVES_1798A6_CH4 (Schrankklima_Querlüfter)
off

matze1999
« Letzte Änderung: 18 August 2022, 19:07:00 von matze1999 »

Offline matze1999

  • Full Member
  • ***
  • Beiträge: 242
Antw:keine Werte mehr im Log-file
« Antwort #1 am: 18 August 2022, 19:06:48 »
ist case sensitiv mit "on" und "off" gehts

 

decade-submarginal