Ich habe es nun endlich geschafft Influxdb zu installieren, mit Grafana sowie Fhem zu verbinden.
Mein Problem an dem ganzen ist nun: wie kann ich die zu loggenden Readings einschränken?
Ich habe es mit event-min-interval versucht:
attr Stromzaehler event-min-interval Tagesverbrauch:60,Monatsverbrauch:1200,Tageseinspeisung:360,Monatseinspeisung:900,SM_16_7_0:20
Ich war der Meinung auf diese weise nur die angegebenen Werte im angegebenen Intervall zu loggen, aber scheinbar wir alles was hier nicht angegeben wird sekündlich gelogt.
Mein ziel ist es nur bestimmte Readings, in einem gewissen Abstand zu loggen.
Stromzähler:
Internals:
CID DVES_2993A4
DEF DVES_2993A4
FUUID 64e58f3e-f33f-bfeb-6cb5-376a42e042173e2f
IODev myBroker_Mqtt2
LASTInputDev myBroker_Mqtt2
MSGCNT 364064
NAME Stromzaehler
NR 740
STATE Tagesverbrauch: 4.32 kWh Monatsverbrauch: 169.83 kWh Tageseinspeisung: 7.14 kWh Monatseinspeisung: 117.01 kWh
TYPE MQTT2_DEVICE
eventCount 289396
myBroker_Mqtt2_CONN myBroker_Mqtt2_191.168.178.8_62423
myBroker_Mqtt2_MSGCNT 364064
myBroker_Mqtt2_TIME 2024-03-28 15:11:24
READINGS:
2024-03-12 09:48:20 0
2024-03-10 12:18:47 03-10T12_18_37___SM____16_7_0__-1222.71__1_8_0__
2024-03-10 10:48:06 0___SM____76_7_0__-1906.47__0S ␚tele/tasmota_2993A4/S
2024-03-10 00:05:37 10___SM____56_7_0__189.07__0P ␚tele/tasmota_29
2024-03-10 06:14:17 13___SM____76_7_0__149.13__0Q ␚tele/tasmota_299
2024-03-12 09:48:20 15___SM____76_7_0__-315.87___ 0O␚tele/tasmota_299
2024-03-10 05:45:58 1___SM____36_7_0__100.30__0Q ␚tele/tasmota_2993A4/S
2024-03-10 04:23:28 20___SM____16_7_0__277.03__0P ␚tele/tasmota_2993
2024-03-09 20:51:24 2___SM____36_7_0__172.01__0Q ␚tele/tasmota_2993
2024-03-09 22:55:22 2___SM____56_7_0__105.61__0Q ␚tele/tasmota_2993A4/S
2024-03-10 05:02:12 4___SM____56_7_0__103.02__0Q ␚tele/tasmota_2993A
2024-03-10 00:47:02 59___SM____16_7_0__463.04__0P ␚tele/tasmota_2993A4
2024-03-10 12:42:32 6___SM____76_7_0__-1375.12__0Q ␚tele/tasmota_299
2024-03-10 00:38:49 7___SM____36_7_0__193.19__0Q ␚tele/tasmota_2993A4/SENS
2024-03-10 12:33:46 7___SM____36_7_0__30.38__0Q ␚tele/tasmota_2993A4/
2024-03-09 21:27:46 8___SM____36_7_0__21.84__0Q ␚tele/tasmota_2993A4/SENS
2024-03-10 12:18:47 9.589__36_7_0__31.64__56_7_0__259.42__76_7_0__-1513
2024-03-10 04:24:15 9___SM____36_7_0__18.28__0Q ␚tele/tasmota_2993A4/S
2024-03-28 15:11:13 Berry_HeapUsed 4
2024-03-28 15:11:13 Berry_Objects 46
2024-03-11 17:47:59 Command Error
2024-03-12 09:42:06 Eigen 3.69
2024-03-28 15:11:23 Gesamteinspeisung 117.01
2024-03-10 13:59:56 Haupt_E_in 35439.608
2024-03-28 15:11:13 Heap 125
2024-03-12 10:10:27 Hostname %s-%04d
2024-03-27 19:35:21 IODev myBroker_Mqtt2
2024-03-12 10:10:41 Info1_FallbackTopic cmnd/DVES_2993A4_fb/
2024-03-12 10:10:41 Info1_GroupTopic cmnd/tasmotas/
2024-03-12 10:10:41 Info1_Module ESP32-DevKit
2024-03-12 10:10:41 Info1_Version 13.3.0(tasmota32)
2024-03-12 10:10:41 Info2_Hostname tasmota-2993A4-5028
2024-03-12 10:10:41 Info2_IP6Global fd55:cc62:dab7::ab6:1fff:fe29:93a4
2024-03-12 10:10:41 Info2_IP6Local fe80::ab6:1fff:fe29:93a4%st2
2024-03-12 10:10:41 Info2_IPAddress 191.168.178.8
2024-03-12 10:10:41 Info2_WebServerMode Admin
2024-03-12 10:10:41 Info3_BootCount 27
2024-03-12 10:10:41 Info3_RestartReason Software reset CPU
2024-03-10 03:13:28 Info3_RestartReason_CallChain_1 4008d654
2024-03-10 03:13:28 Info3_RestartReason_CallChain_10 400f5429
2024-03-10 03:13:28 Info3_RestartReason_CallChain_11 4015e7f1
2024-03-10 03:13:28 Info3_RestartReason_CallChain_12 4010c7e3
2024-03-10 03:13:28 Info3_RestartReason_CallChain_13 40168d86
2024-03-10 03:13:28 Info3_RestartReason_CallChain_14 401714ad
2024-03-10 03:13:28 Info3_RestartReason_CallChain_15 400e6723
2024-03-10 03:13:28 Info3_RestartReason_CallChain_2 40112342
2024-03-10 03:13:28 Info3_RestartReason_CallChain_3 40114e0e
2024-03-10 03:13:28 Info3_RestartReason_CallChain_4 4010c676
2024-03-10 03:13:28 Info3_RestartReason_CallChain_5 40168d72
2024-03-10 03:13:28 Info3_RestartReason_CallChain_6 40162f53
2024-03-10 03:13:28 Info3_RestartReason_CallChain_7 401094bd
2024-03-10 03:13:28 Info3_RestartReason_CallChain_8 400f24fe
2024-03-10 03:13:28 Info3_RestartReason_CallChain_9 400f2fad
2024-03-10 03:13:28 Info3_RestartReason_EPC 4008d657
2024-03-10 03:13:28 Info3_RestartReason_EXCVADDR 00000000
2024-03-10 03:13:28 Info3_RestartReason_Exception 28
2024-03-10 03:13:28 Info3_RestartReason_Reason LoadProhibited
2024-03-27 19:35:48 LWT Online
2024-03-28 15:11:13 LoadAvg 23
2024-03-28 15:11:23 Monatseinspeisung 117.01
2024-03-28 15:11:23 Monatsverbrauch 169.83
2024-03-28 15:11:13 MqttCount 63
2024-03-09 19:18:39 OtaUrl http://ota.tasmota.com/tasmota/release/tasmota-minimal.bin.gz
2024-03-27 19:35:48 POWER
2024-03-12 10:10:27 Password1 ****
2024-03-12 10:10:27 Password2 ****
2024-03-12 10:12:55 SML_CMD restart
2024-03-28 15:11:24 SM_16_7_0 -491.42
2024-03-28 15:11:13 SM_1_8_0 35608.523
2024-03-28 15:11:13 SM_32_7_0 240.5
2024-03-28 15:11:24 SM_36_7_0 22.34
2024-03-28 15:11:13 SM_52_7_0 239.5
2024-03-28 15:11:24 SM_56_7_0 377.08
2024-03-28 15:11:13 SM_72_7_0 239.3
2024-03-28 15:11:24 SM_76_7_0 -890.84
2024-03-28 15:11:13 SM_96_1_0 xxxxx
2024-03-10 03:46:22 SM_Power_curr 288
2024-03-10 03:44:32 SM_Total_in 35.4
2024-03-12 10:10:27 SSId1 wrt
2024-03-12 10:10:27 SSId2 wrt_plus
2024-03-11 18:27:08 Script >dval2
2024-03-09 18:54:09 SetOption78 on
2024-03-28 15:11:13 Sleep 50
2024-03-28 15:11:13 SleepMode Dynamic
2024-03-11 11:39:00 StatusFWR_BuildDateTime 2023-12-17T16:14:41
2024-03-11 11:39:00 StatusFWR_CR 444/699
2024-03-11 11:39:00 StatusFWR_Core 2_0_14
2024-03-11 11:39:00 StatusFWR_CpuFrequency 160
2024-03-11 11:39:00 StatusFWR_Hardware ESP32-D0WD-V3 v3.0
2024-03-11 11:39:00 StatusFWR_SDK 4.4.6.231122
2024-03-11 11:39:00 StatusFWR_Version 13.3.0(tasmota32)
2024-03-11 11:39:00 StatusLOG_LogHost
2024-03-11 11:39:00 StatusLOG_LogPort 514
2024-03-11 11:39:00 StatusLOG_MqttLog 0
2024-03-11 11:39:00 StatusLOG_Resolution 558180C0
2024-03-11 11:39:00 StatusLOG_SSId_1 wrt_plus
2024-03-11 11:39:00 StatusLOG_SSId_2 wrt
2024-03-11 11:39:00 StatusLOG_SerialLog 2
2024-03-11 11:39:00 StatusLOG_SetOption_1 04008009
2024-03-11 11:39:00 StatusLOG_SetOption_2 2805C80001000600003C5A0A192800000000
2024-03-11 11:39:00 StatusLOG_SetOption_3 00000080
2024-03-11 11:39:00 StatusLOG_SetOption_4 00006000
2024-03-11 11:39:00 StatusLOG_SetOption_5 00004000
2024-03-11 11:39:00 StatusLOG_SetOption_6 00000000
2024-03-11 11:39:00 StatusLOG_SysLog 0
2024-03-11 11:39:00 StatusLOG_TelePeriod 300
2024-03-11 11:39:00 StatusLOG_WebLog 2
2024-03-11 11:39:00 StatusMEM_Drivers 1,2,3,4,5,7,8,10,11,12,14,16,17,20,21,24,26,27,29,34,35,38,50,52,59,60,62,63,66,67,68,82,86,87,88
2024-03-11 11:39:00 StatusMEM_Features_1 0809
2024-03-11 11:39:00 StatusMEM_Features_10 810A80B1
2024-03-11 11:39:00 StatusMEM_Features_11 00000000
2024-03-11 11:39:00 StatusMEM_Features_2 90DAD7DF
2024-03-11 11:39:00 StatusMEM_Features_3 001DA001
2024-03-11 11:39:00 StatusMEM_Features_4 B7F7BFCF
2024-03-11 11:39:00 StatusMEM_Features_5 05DA9BC4
2024-03-11 11:39:00 StatusMEM_Features_6 E0360DCF
2024-03-11 11:39:00 StatusMEM_Features_7 480840D2
2024-03-11 11:39:00 StatusMEM_Features_8 20200000
2024-03-11 11:39:00 StatusMEM_Features_9 D4BC482D
2024-03-11 11:39:00 StatusMEM_FlashChipId 16405E
2024-03-11 11:39:00 StatusMEM_FlashFrequency 40
2024-03-11 11:39:00 StatusMEM_FlashMode DIO
2024-03-11 11:39:00 StatusMEM_FlashSize 4096
2024-03-11 11:39:00 StatusMEM_Free 926
2024-03-11 11:39:00 StatusMEM_Heap 118
2024-03-11 11:39:00 StatusMEM_I2CDriver 7,8,9,10,11,12,13,14,15,17,18,20,24,29,31,36,41,42,44,46,48,58,62,65,69,76,77,82
2024-03-11 11:39:00 StatusMEM_ProgramFlashSize 4096
2024-03-11 11:39:00 StatusMEM_ProgramSize 1953
2024-03-11 11:39:00 StatusMEM_PsrFree 0
2024-03-11 11:39:00 StatusMEM_PsrMax 0
2024-03-11 11:39:00 StatusMEM_Sensors 1,2,3,5,6,7,8,9,10,11,12,13,14,15,17,18,19,20,21,22,26,31,34,37,39,40,42,43,45,51,52,53,55,56,58,59,64,66,67,74,85,92,95,98,103,105,109,127
2024-03-11 11:39:00 StatusMEM_StackLowMark 1
2024-03-11 11:39:00 StatusMQT_KEEPALIVE 30
2024-03-11 11:39:00 StatusMQT_MAX_PACKET_SIZE 1200
2024-03-11 11:39:00 StatusMQT_MqttClient DVES_2993A4
2024-03-11 11:39:00 StatusMQT_MqttClientMask DVES_%06X
2024-03-11 11:39:00 StatusMQT_MqttCount 34
2024-03-11 11:39:00 StatusMQT_MqttHost 191.168.178.34
2024-03-11 11:39:00 StatusMQT_MqttPort 1880
2024-03-11 11:39:00 StatusMQT_MqttUser coolheizer
2024-03-11 11:39:00 StatusMQT_SOCKET_TIMEOUT 4
2024-03-11 11:39:00 StatusNET_DNSServer1 253.204.201.106
2024-03-11 11:39:00 StatusNET_DNSServer2 2a04:1c40:4cb9::ca0e:14ff:feed:d077
2024-03-11 11:39:00 StatusNET_Ethernet_DNSServer1 253.204.201.106
2024-03-11 11:39:00 StatusNET_Ethernet_DNSServer2 2a04:1c40:4cb9::ca0e:14ff:feed:d077
2024-03-11 11:39:00 StatusNET_Ethernet_Gateway 0.0.0.0
2024-03-11 11:39:00 StatusNET_Ethernet_Hostname
2024-03-11 11:39:00 StatusNET_Ethernet_IP6Global
2024-03-11 11:39:00 StatusNET_Ethernet_IP6Local
2024-03-11 11:39:00 StatusNET_Ethernet_IPAddress 0.0.0.0
2024-03-11 11:39:00 StatusNET_Ethernet_Mac 00:00:00:00:00:00
2024-03-11 11:39:00 StatusNET_Ethernet_Subnetmask 0.0.0.0
2024-03-11 11:39:00 StatusNET_Gateway 191.168.178.1
2024-03-11 11:39:00 StatusNET_HTTP_API 1
2024-03-11 11:39:00 StatusNET_Hostname tasmota-2993A4-5028
2024-03-11 11:39:00 StatusNET_IP6Global fd85:3c29:e366::ab6:1fff:fe29:93a4
2024-03-11 11:39:00 StatusNET_IP6Local fe80::ab6:1fff:fe29:93a4%st2
2024-03-11 11:39:00 StatusNET_IPAddress 191.168.178.8
2024-03-11 11:39:00 StatusNET_Mac 08:B6:1F:29:93:A4
2024-03-11 11:39:00 StatusNET_Subnetmask 255.255.255.0
2024-03-11 11:39:00 StatusNET_Webserver 2
2024-03-11 11:39:00 StatusNET_WifiConfig 4
2024-03-11 11:39:00 StatusNET_WifiPower 17.0
2024-03-11 11:39:00 StatusPRM_BCResetTime 2023-01-25T07:38:03
2024-03-11 11:39:00 StatusPRM_Baudrate 115200
2024-03-11 11:39:00 StatusPRM_BootCount 20
2024-03-11 11:39:00 StatusPRM_CfgHolder 4617
2024-03-11 11:39:00 StatusPRM_GroupTopic tasmotas
2024-03-11 11:39:00 StatusPRM_OtaUrl https://ota.tasmota.com/tasmota32/release/tasmota32.bin
2024-03-11 11:39:00 StatusPRM_RestartReason Software reset CPU
2024-03-11 11:39:00 StatusPRM_SaveCount 70
2024-03-11 11:39:00 StatusPRM_SerialConfig 8N1
2024-03-11 11:39:00 StatusPRM_Sleep 50
2024-03-11 11:39:00 StatusPRM_StartupUTC 2024-03-10T02:13:21
2024-03-11 11:39:00 StatusPRM_Uptime 1T08:25:38
2024-03-10 13:59:55 StatusSNS_Haupt_E_in 35439.608
2024-03-10 13:59:55 StatusSNS_Haupt_E_out 0.000
2024-03-10 13:59:55 StatusSNS_Haupt_L1 0.00
2024-03-10 13:59:55 StatusSNS_Haupt_L2 0.00
2024-03-10 13:59:55 StatusSNS_Haupt_L3 0.00
2024-03-10 13:59:55 StatusSNS_Haupt_NetID 1
2024-03-10 13:59:55 StatusSNS_Haupt_P_in 0.00
2024-03-10 13:59:55 StatusSNS_Haupt_serial xxxxxx
2024-03-28 15:11:22 StatusSNS_SM_16_7_0 -488.00
2024-03-28 15:11:22 StatusSNS_SM_1_8_0 35608.523
2024-03-28 15:11:22 StatusSNS_SM_32_7_0 240.3
2024-03-28 15:11:22 StatusSNS_SM_36_7_0 19.80
2024-03-28 15:11:22 StatusSNS_SM_52_7_0 240.1
2024-03-28 15:11:22 StatusSNS_SM_56_7_0 377.88
2024-03-28 15:11:22 StatusSNS_SM_72_7_0 239.8
2024-03-28 15:11:22 StatusSNS_SM_76_7_0 -885.68
2024-03-28 15:11:22 StatusSNS_SM_96_1_0 xxxxx
2024-03-10 03:46:18 StatusSNS_SM_Power_curr 290
2024-03-10 03:46:18 StatusSNS_SM_Total_in 35.4
2024-03-28 15:11:22 StatusSNS_Time 2024-03-28T15:11:21
2024-03-11 11:39:00 StatusSTK_CallChain_1 4008d654
2024-03-11 11:39:00 StatusSTK_CallChain_10 400f5429
2024-03-11 11:39:00 StatusSTK_CallChain_11 4015e7f1
2024-03-11 11:39:00 StatusSTK_CallChain_12 4010c7e3
2024-03-11 11:39:00 StatusSTK_CallChain_13 40168d86
2024-03-11 11:39:00 StatusSTK_CallChain_14 401714ad
2024-03-11 11:39:00 StatusSTK_CallChain_15 400e6723
2024-03-11 11:39:00 StatusSTK_CallChain_2 40112342
2024-03-11 11:39:00 StatusSTK_CallChain_3 40114e0e
2024-03-11 11:39:00 StatusSTK_CallChain_4 4010c676
2024-03-11 11:39:00 StatusSTK_CallChain_5 40168d72
2024-03-11 11:39:00 StatusSTK_CallChain_6 40162f53
2024-03-11 11:39:00 StatusSTK_CallChain_7 401094bd
2024-03-11 11:39:00 StatusSTK_CallChain_8 400f24fe
2024-03-11 11:39:00 StatusSTK_CallChain_9 400f2fad
2024-03-11 11:39:00 StatusSTK_EPC 4008d657
2024-03-11 11:39:00 StatusSTK_EXCVADDR 00000000
2024-03-11 11:39:00 StatusSTK_Exception 28
2024-03-11 11:39:00 StatusSTK_Reason LoadProhibited
2024-03-11 11:39:00 StatusSTS_Berry_HeapUsed 4
2024-03-11 11:39:00 StatusSTS_Berry_Objects 42
2024-03-11 11:39:00 StatusSTS_Heap 118
2024-03-11 11:39:00 StatusSTS_LoadAvg 19
2024-03-11 11:39:00 StatusSTS_MqttCount 34
2024-03-11 11:39:00 StatusSTS_Sleep 50
2024-03-11 11:39:00 StatusSTS_SleepMode Dynamic
2024-03-11 11:39:00 StatusSTS_Time 2024-03-11T11:38:59
2024-03-11 11:39:00 StatusSTS_Uptime 1T08:25:38
2024-03-11 11:39:00 StatusSTS_UptimeSec 116738
2024-03-11 11:39:00 StatusSTS_Wifi_AP 2
2024-03-11 11:39:00 StatusSTS_Wifi_BSSId F4:F2:6D:FF:43:3A
2024-03-11 11:39:00 StatusSTS_Wifi_Channel 11
2024-03-11 11:39:00 StatusSTS_Wifi_Downtime 0T00:00:03
2024-03-11 11:39:00 StatusSTS_Wifi_LinkCount 1
2024-03-11 11:39:00 StatusSTS_Wifi_Mode 11n
2024-03-11 11:39:00 StatusSTS_Wifi_RSSI 40
2024-03-11 11:39:00 StatusSTS_Wifi_SSId wrt
2024-03-11 11:39:00 StatusSTS_Wifi_Signal -80
2024-03-11 11:39:00 StatusTIM_EndDST 2024-10-27T03:00:00
2024-03-11 11:39:00 StatusTIM_Local 2024-03-11T11:38:59
2024-03-11 11:39:00 StatusTIM_StartDST 2024-03-31T02:00:00
2024-03-11 11:39:00 StatusTIM_Timezone +01:00
2024-03-11 11:39:00 StatusTIM_UTC 2024-03-11T10:38:59
2024-03-11 11:39:00 Status_ButtonRetain 0
2024-03-11 11:39:00 Status_ButtonTopic 0
2024-03-11 11:39:00 Status_DeviceName Stromzähler
2024-03-11 11:39:00 Status_FriendlyName_1 Stromzähler
2024-03-11 11:39:00 Status_InfoRetain 0
2024-03-11 11:39:00 Status_LedMask FFFF
2024-03-11 11:39:00 Status_LedState 1
2024-03-11 11:39:00 Status_Module 1
2024-03-11 11:39:00 Status_Power 0
2024-03-11 11:39:00 Status_PowerOnState 3
2024-03-11 11:39:00 Status_PowerRetain 0
2024-03-11 11:39:00 Status_SaveData 1
2024-03-11 11:39:00 Status_SaveState 1
2024-03-11 11:39:00 Status_SensorRetain 0
2024-03-11 11:39:00 Status_StateRetain 0
2024-03-11 11:39:00 Status_StatusRetain 0
2024-03-11 11:39:00 Status_SwitchMode_1 0
2024-03-11 11:39:00 Status_SwitchMode_10 0
2024-03-11 11:39:00 Status_SwitchMode_11 0
2024-03-11 11:39:00 Status_SwitchMode_12 0
2024-03-11 11:39:00 Status_SwitchMode_13 0
2024-03-11 11:39:00 Status_SwitchMode_14 0
2024-03-11 11:39:00 Status_SwitchMode_15 0
2024-03-11 11:39:00 Status_SwitchMode_16 0
2024-03-11 11:39:00 Status_SwitchMode_17 0
2024-03-11 11:39:00 Status_SwitchMode_18 0
2024-03-11 11:39:00 Status_SwitchMode_19 0
2024-03-11 11:39:00 Status_SwitchMode_2 0
2024-03-11 11:39:00 Status_SwitchMode_20 0
2024-03-11 11:39:00 Status_SwitchMode_21 0
2024-03-11 11:39:00 Status_SwitchMode_22 0
2024-03-11 11:39:00 Status_SwitchMode_23 0
2024-03-11 11:39:00 Status_SwitchMode_24 0
2024-03-11 11:39:00 Status_SwitchMode_25 0
2024-03-11 11:39:00 Status_SwitchMode_26 0
2024-03-11 11:39:00 Status_SwitchMode_27 0
2024-03-11 11:39:00 Status_SwitchMode_28 0
2024-03-11 11:39:00 Status_SwitchMode_3 0
2024-03-11 11:39:00 Status_SwitchMode_4 0
2024-03-11 11:39:00 Status_SwitchMode_5 0
2024-03-11 11:39:00 Status_SwitchMode_6 0
2024-03-11 11:39:00 Status_SwitchMode_7 0
2024-03-11 11:39:00 Status_SwitchMode_8 0
2024-03-11 11:39:00 Status_SwitchMode_9 0
2024-03-11 11:39:00 Status_SwitchRetain 0
2024-03-11 11:39:00 Status_SwitchTopic 0
2024-03-11 11:39:00 Status_Topic tasmota_2993A4
2024-03-28 15:11:23 Tageseinspeisung 7.14
2024-03-28 15:11:23 Tagesverbrauch 4.32
2024-03-28 15:11:24 Time 2024-03-28T15:11:23
2024-03-09 18:25:39 TimeDst_Day 1
2024-03-09 18:25:39 TimeDst_Hemisphere 0
2024-03-09 18:25:39 TimeDst_Hour 2
2024-03-09 18:25:39 TimeDst_Month 3
2024-03-09 18:25:39 TimeDst_Offset 120
2024-03-09 18:25:39 TimeDst_Week 0
2024-03-09 18:25:39 TimeStd_Day 1
2024-03-09 18:25:39 TimeStd_Hemisphere 0
2024-03-09 18:25:39 TimeStd_Hour 3
2024-03-09 18:25:39 TimeStd_Month 10
2024-03-09 18:25:39 TimeStd_Offset 60
2024-03-09 18:25:39 TimeStd_Week 0
2024-03-09 18:25:39 Timezone 99
2024-03-09 19:18:39 Upgrade Version 12.3.1.4 from http://ota.tasmota.com/tasmota/release/tasmota-minimal.bin.gz
2024-03-28 15:11:13 Uptime 16T05:00:44
2024-03-28 15:11:13 UptimeSec 1400444
2024-03-12 09:23:31 WebSend Done
2024-03-28 15:11:13 Wifi_AP 1
2024-03-28 15:11:13 Wifi_BSSId F4:F2:6D:FF:43:3A
2024-03-28 15:11:13 Wifi_Channel 11
2024-03-28 15:11:13 Wifi_Downtime 0T00:00:07
2024-03-28 15:11:13 Wifi_LinkCount 1
2024-03-28 15:11:13 Wifi_Mode 11n
2024-03-28 15:11:13 Wifi_RSSI 46
2024-03-28 15:11:13 Wifi_SSId wrt
2024-03-28 15:11:13 Wifi_Signal -77
2024-03-10 10:37:27 __SM____36_7_0__126.94__0Q ␚tele/tasmota_2993A4/
2024-03-10 12:55:30 __SM____56_7_0__175.94__0S ␚tele/tasmota_2993A4/
2024-03-10 07:59:04 ___SM____36_7_0__51.18__0Q ␚tele/tasmota_2993A4/SENSOR{"
2024-03-09 16:41:07 attrTemplateVersion 20210515
2024-03-27 19:35:48 bat 0
2024-03-27 19:35:48 btn_1 0
2024-03-27 19:35:48 btn_10 0
2024-03-27 19:35:48 btn_11 0
2024-03-27 19:35:48 btn_12 0
2024-03-27 19:35:48 btn_13 0
2024-03-27 19:35:48 btn_14 0
2024-03-27 19:35:48 btn_15 0
2024-03-27 19:35:48 btn_16 0
2024-03-27 19:35:48 btn_17 0
2024-03-27 19:35:48 btn_18 0
2024-03-27 19:35:48 btn_19 0
2024-03-27 19:35:48 btn_2 0
2024-03-27 19:35:48 btn_20 0
2024-03-27 19:35:48 btn_21 0
2024-03-27 19:35:48 btn_22 0
2024-03-27 19:35:48 btn_23 0
2024-03-27 19:35:48 btn_24 0
2024-03-27 19:35:48 btn_25 0
2024-03-27 19:35:48 btn_26 0
2024-03-27 19:35:48 btn_27 0
2024-03-27 19:35:48 btn_28 0
2024-03-27 19:35:48 btn_29 0
2024-03-27 19:35:48 btn_3 0
2024-03-27 19:35:48 btn_30 0
2024-03-27 19:35:48 btn_31 0
2024-03-27 19:35:48 btn_32 0
2024-03-27 19:35:48 btn_4 0
2024-03-27 19:35:48 btn_5 0
2024-03-27 19:35:48 btn_6 0
2024-03-27 19:35:48 btn_7 0
2024-03-27 19:35:48 btn_8 0
2024-03-27 19:35:48 btn_9 0
2024-03-27 19:35:48 dn Stromzähler
2024-03-27 19:35:48 dslp 0
2024-03-27 19:35:48 fn_1 Stromzähler
2024-03-27 19:35:48 ft %prefix%/%topic%/
2024-03-27 19:35:48 hn tasmota-2993A4-5028
2024-03-27 19:35:48 if 0
2024-03-27 19:35:48 ip 191.168.178.8
2024-03-12 09:01:28 json2nameValueErrorText error parsing (#2) '???'
2024-03-12 09:01:28 json2nameValueInput {"Sensor.Indoor.Temperatur":???}
2024-03-27 19:35:48 lk 0
2024-03-27 19:35:48 lt_st 0
2024-03-27 19:35:48 mac 08B61F2993A4
2024-03-27 19:35:48 md ESP32-DevKit
2024-03-27 19:35:48 ofln Offline
2024-03-27 19:35:48 onln Online
2024-03-27 19:35:48 rl_1 0
2024-03-27 19:35:48 rl_10 0
2024-03-27 19:35:48 rl_11 0
2024-03-27 19:35:48 rl_12 0
2024-03-27 19:35:48 rl_13 0
2024-03-27 19:35:48 rl_14 0
2024-03-27 19:35:48 rl_15 0
2024-03-27 19:35:48 rl_16 0
2024-03-27 19:35:48 rl_17 0
2024-03-27 19:35:48 rl_18 0
2024-03-27 19:35:48 rl_19 0
2024-03-27 19:35:48 rl_2 0
2024-03-27 19:35:48 rl_20 0
2024-03-27 19:35:48 rl_21 0
2024-03-27 19:35:48 rl_22 0
2024-03-27 19:35:48 rl_23 0
2024-03-27 19:35:48 rl_24 0
2024-03-27 19:35:48 rl_25 0
2024-03-27 19:35:48 rl_26 0
2024-03-27 19:35:48 rl_27 0
2024-03-27 19:35:48 rl_28 0
2024-03-27 19:35:48 rl_29 0
2024-03-27 19:35:48 rl_3 0
2024-03-27 19:35:48 rl_30 0
2024-03-27 19:35:48 rl_31 0
2024-03-27 19:35:48 rl_32 0
2024-03-27 19:35:48 rl_4 0
2024-03-27 19:35:48 rl_5 0
2024-03-27 19:35:48 rl_6 0
2024-03-27 19:35:48 rl_7 0
2024-03-27 19:35:48 rl_8 0
2024-03-27 19:35:48 rl_9 0
2024-03-11 18:24:18 script_Arrays �
2024-03-11 18:36:34 script_EnToGrid 7.91
2024-03-11 18:35:43 script_Tageseinspeisung �␛�?
2024-03-12 08:19:07 script__EnFrGrid-dval_ 3.62
2024-03-12 08:18:52 script___EnFrGrid-dval__ �
2024-03-11 18:38:17 script_dcon_1 0
2024-03-11 18:38:17 script_dcon_10 5.81
2024-03-11 18:38:17 script_dcon_11 8.57
2024-03-11 18:38:17 script_dcon_12 0
2024-03-11 18:38:17 script_dcon_13 0
2024-03-11 18:38:17 script_dcon_14 0
2024-03-11 18:38:17 script_dcon_15 0
2024-03-11 18:38:17 script_dcon_16 0
2024-03-11 18:38:17 script_dcon_17 0
2024-03-11 18:38:17 script_dcon_18 0
2024-03-11 18:38:17 script_dcon_19 0
2024-03-11 18:38:17 script_dcon_2 0
2024-03-11 18:38:17 script_dcon_20 0
2024-03-11 18:38:17 script_dcon_21 0
2024-03-11 18:38:17 script_dcon_22 0
2024-03-11 18:38:17 script_dcon_23 0
2024-03-11 18:38:17 script_dcon_24 0
2024-03-11 18:38:17 script_dcon_25 0
2024-03-11 18:38:17 script_dcon_26 0
2024-03-11 18:38:17 script_dcon_27 0
2024-03-11 18:38:17 script_dcon_28 0
2024-03-11 18:38:17 script_dcon_29 0
2024-03-11 18:38:17 script_dcon_3 0
2024-03-11 18:38:17 script_dcon_30 0
2024-03-11 18:38:17 script_dcon_31 0
2024-03-11 18:38:17 script_dcon_4 0
2024-03-11 18:38:17 script_dcon_5 0
2024-03-11 18:38:17 script_dcon_6 0
2024-03-11 18:38:17 script_dcon_7 0
2024-03-11 18:38:17 script_dcon_8 0
2024-03-11 18:38:17 script_dcon_9 0
2024-03-11 18:22:17 script_dcon_n_ ̬�?
2024-03-11 18:40:54 script_dprod_1 0
2024-03-11 18:40:54 script_dprod_10 6.81
2024-03-11 18:40:54 script_dprod_11 1.1
2024-03-11 18:40:54 script_dprod_12 0
2024-03-11 18:40:54 script_dprod_13 0
2024-03-11 18:40:54 script_dprod_14 0
2024-03-11 18:40:54 script_dprod_15 0
2024-03-11 18:40:54 script_dprod_16 0
2024-03-11 18:40:54 script_dprod_17 0
2024-03-11 18:40:54 script_dprod_18 0
2024-03-11 18:40:54 script_dprod_19 0
2024-03-11 18:40:54 script_dprod_2 0
2024-03-11 18:40:54 script_dprod_20 0
2024-03-11 18:40:54 script_dprod_21 0
2024-03-11 18:40:54 script_dprod_22 0
2024-03-11 18:40:54 script_dprod_23 0
2024-03-11 18:40:54 script_dprod_24 0
2024-03-11 18:40:54 script_dprod_25 0
2024-03-11 18:40:54 script_dprod_26 0
2024-03-11 18:40:54 script_dprod_27 0
2024-03-11 18:40:54 script_dprod_28 0
2024-03-11 18:40:54 script_dprod_29 0
2024-03-11 18:40:54 script_dprod_3 0
2024-03-11 18:40:54 script_dprod_30 0
2024-03-11 18:40:54 script_dprod_31 0
2024-03-11 18:40:54 script_dprod_4 0
2024-03-11 18:40:54 script_dprod_5 0
2024-03-11 18:40:54 script_dprod_6 0
2024-03-11 18:40:54 script_dprod_7 0
2024-03-11 18:40:54 script_dprod_8 0
2024-03-11 18:40:54 script_dprod_9 0
2024-03-11 18:17:57 script_dval 35444.51
2024-03-11 18:42:16 script_dval2 6.81
2024-03-11 18:27:21 script_dval2_ 6.81
2024-03-11 18:41:47 script_mcon_1 0
2024-03-11 18:41:47 script_mcon_10 0
2024-03-11 18:41:47 script_mcon_11 0
2024-03-11 18:41:47 script_mcon_12 0
2024-03-11 18:41:47 script_mcon_13 0
2024-03-11 18:41:47 script_mcon_14 0
2024-03-11 18:41:47 script_mcon_15 7.91
2024-03-11 18:41:47 script_mcon_16 0
2024-03-11 18:41:47 script_mcon_17 0
2024-03-11 18:41:47 script_mcon_18 0
2024-03-11 18:41:47 script_mcon_19 0
2024-03-11 18:41:47 script_mcon_2 0
2024-03-11 18:41:47 script_mcon_20 0
2024-03-11 18:41:47 script_mcon_21 0
2024-03-11 18:41:47 script_mcon_22 0
2024-03-11 18:41:47 script_mcon_23 0
2024-03-11 18:41:47 script_mcon_24 0
2024-03-11 18:41:47 script_mcon_3 14.43
2024-03-11 18:41:47 script_mcon_4 0
2024-03-11 18:41:47 script_mcon_5 0
2024-03-11 18:41:47 script_mcon_6 0
2024-03-11 18:41:47 script_mcon_7 0
2024-03-11 18:41:47 script_mcon_8 0
2024-03-11 18:41:47 script_mcon_9 0
2024-03-11 18:17:00 script_mval 35438.69
2024-03-11 18:17:32 script_mval2 0
2024-03-11 18:16:24 script_var �
2024-03-11 15:07:22 script_var_mval_ �
2024-03-09 19:30:06 sho_1 0
2024-03-09 19:30:06 sho_2 0
2024-03-09 19:30:06 sho_3 0
2024-03-09 19:30:06 sho_4 0
2024-03-09 19:30:06 sht_1_1 0
2024-03-09 19:30:06 sht_1_2 0
2024-03-09 19:30:06 sht_1_3 0
2024-03-09 19:30:06 sht_2_1 0
2024-03-09 19:30:06 sht_2_2 0
2024-03-09 19:30:06 sht_2_3 0
2024-03-09 19:30:06 sht_3_1 0
2024-03-09 19:30:06 sht_3_2 0
2024-03-09 19:30:06 sht_3_3 0
2024-03-09 19:30:06 sht_4_1 0
2024-03-09 19:30:06 sht_4_2 0
2024-03-09 19:30:06 sht_4_3 0
2024-03-27 19:35:48 sn_SM_16_7_0 3187.37
2024-03-27 19:35:48 sn_SM_1_8_0 35601.385
2024-03-27 19:35:48 sn_SM_32_7_0 234.1
2024-03-27 19:35:48 sn_SM_36_7_0 2501.36
2024-03-27 19:35:48 sn_SM_52_7_0 235.6
2024-03-27 19:35:48 sn_SM_56_7_0 407.09
2024-03-27 19:35:48 sn_SM_72_7_0 234.1
2024-03-27 19:35:48 sn_SM_76_7_0 278.92
2024-03-27 19:35:48 sn_SM_96_1_0 xxxx
2024-03-27 19:35:48 sn_Time 2024-03-27T19:35:46
2024-03-27 19:35:48 so_11 0
2024-03-27 19:35:48 so_114 0
2024-03-27 19:35:48 so_117 0
2024-03-27 19:35:48 so_13 0
2024-03-27 19:35:48 so_17 0
2024-03-27 19:35:48 so_20 0
2024-03-27 19:35:48 so_30 0
2024-03-27 19:35:48 so_4 0
2024-03-27 19:35:48 so_68 0
2024-03-27 19:35:48 so_73 0
2024-03-27 19:35:48 so_82 0
2024-03-27 19:35:48 state_1 off
2024-03-27 19:35:48 state_2 on
2024-03-27 19:35:48 state_3 toggle
2024-03-27 19:35:48 state_4 hold
2024-03-27 19:36:18 subscriptions cmnd/DVES_2993A4_fb/# cmnd/tasmota_2993A4/# cmnd/tasmotas/#
2024-03-27 19:35:48 sw 13.3.0
2024-03-27 19:35:48 swc_1 -1
2024-03-27 19:35:48 swc_10 -1
2024-03-27 19:35:48 swc_11 -1
2024-03-27 19:35:48 swc_12 -1
2024-03-27 19:35:48 swc_13 -1
2024-03-27 19:35:48 swc_14 -1
2024-03-27 19:35:48 swc_15 -1
2024-03-27 19:35:48 swc_16 -1
2024-03-27 19:35:48 swc_17 -1
2024-03-27 19:35:48 swc_18 -1
2024-03-27 19:35:48 swc_19 -1
2024-03-27 19:35:48 swc_2 -1
2024-03-27 19:35:48 swc_20 -1
2024-03-27 19:35:48 swc_21 -1
2024-03-27 19:35:48 swc_22 -1
2024-03-27 19:35:48 swc_23 -1
2024-03-27 19:35:48 swc_24 -1
2024-03-27 19:35:48 swc_25 -1
2024-03-27 19:35:48 swc_26 -1
2024-03-27 19:35:48 swc_27 -1
2024-03-27 19:35:48 swc_28 -1
2024-03-27 19:35:48 swc_3 -1
2024-03-27 19:35:48 swc_4 -1
2024-03-27 19:35:48 swc_5 -1
2024-03-27 19:35:48 swc_6 -1
2024-03-27 19:35:48 swc_7 -1
2024-03-27 19:35:48 swc_8 -1
2024-03-27 19:35:48 swc_9 -1
2024-03-27 19:35:48 t tasmota_2993A4
2024-03-27 19:35:48 tp_1 cmnd
2024-03-27 19:35:48 tp_2 stat
2024-03-27 19:35:48 tp_3 tele
2024-03-27 19:35:48 ty 0
2024-03-27 19:35:48 ver 1
Attributes:
alias Stromzaehler
event-min-interval Tagesverbrauch:60,Monatsverbrauch:1200,Tageseinspeisung:360,Monatseinspeisung:900,SM_16_7_0:20
icon measure_power
readingList DVES_2993A4:tele/tasmota_2993A4/LWT:.* LWT
DVES_2993A4:cmnd/tasmota_2993A4/POWER:.* POWER
DVES_2993A4:tele/tasmota_2993A4/INFO1:.* { json2nameValue($EVENT) }
DVES_2993A4:tele/tasmota_2993A4/INFO2:.* { json2nameValue($EVENT) }
DVES_2993A4:tele/tasmota_2993A4/INFO3:.* { json2nameValue($EVENT) }
DVES_2993A4:tele/tasmota_2993A4/SENSOR:.* { json2nameValue($EVENT) }
DVES_2993A4:stat/tasmota_2993A4/RESULT:.* { json2nameValue($EVENT) }
DVES_2993A4:stat/tasmota_2993A4/STATUS:.* { json2nameValue($EVENT) }
DVES_2993A4:stat/tasmota_2993A4/STATUS1:.* { json2nameValue($EVENT) }
DVES_2993A4:stat/tasmota_2993A4/STATUS2:.* { json2nameValue($EVENT) }
DVES_2993A4:stat/tasmota_2993A4/STATUS3:.* { json2nameValue($EVENT) }
DVES_2993A4:stat/tasmota_2993A4/STATUS4:.* { json2nameValue($EVENT) }
DVES_2993A4:stat/tasmota_2993A4/STATUS5:.* { json2nameValue($EVENT) }
DVES_2993A4:stat/tasmota_2993A4/STATUS6:.* { json2nameValue($EVENT) }
DVES_2993A4:stat/tasmota_2993A4/STATUS7:.* { json2nameValue($EVENT) }
DVES_2993A4:stat/tasmota_2993A4/STATUS10:.* { json2nameValue($EVENT) }
DVES_2993A4:stat/tasmota_2993A4/STATUS11:.* { json2nameValue($EVENT) }
DVES_2993A4:tele/tasmota_2993A4/STATE:.* { json2nameValue($EVENT) }
DVES_2993A4:tasmota/discovery/08B61F2993A4/config:.* { json2nameValue($EVENT) }
DVES_2993A4:tasmota/discovery/08B61F2993A4/sensors:.* { json2nameValue($EVENT) }
DVES_2993A4:stat/tasmota_2993A4/STATUS8:.* { json2nameValue($EVENT) }
DVES_2993A4:2\x22\x2c\x22SM\x22_\x7b\x2216_7_0\x22_385\x2e00\x7d\x7d0P:.* 2___SM____16_7_0__385.00__0P
DVES_2993A4:1\x22\x2c\x22SM\x22_\x7b\x2236_7_0\x22_204\x2e15\x7d\x7d0Q:.* 1___SM____36_7_0__204.15__0Q
DVES_2993A4:\x22\x2c\x22SM\x22_\x7b\x2236_7_0\x22_56\x2e67\x7d\x7d0Q:.* ___SM____36_7_0__56.67__0Q
DVES_2993A4:/SENSOR\x7b\x22Time\x22_\x222023-11-19T18_55_15\x22\x2c\x22SM\x22_\x7b\x2276_7_:.* SENSOR__Time___2023-11-19T18_55_15___SM____76_7_
DVES_2993A4:8\x22\x2c\x22SM\x22_\x7b\x2256_7_0\x22_282\x2e88\x7d\x7d0Q:.* 8___SM____56_7_0__282.88__0Q
DVES_2993A4:0\x22\x2c\x22SM\x22_\x7b\x2236_7_0\x22_34\x2e53\x7d\x7d0Q:.* 0___SM____36_7_0__34.53__0Q
DVES_2993A4:9\x22\x2c\x22SM\x22_\x7b\x2236_7_0\x22_127\x2e99\x7d\x7d0Q:.* 9___SM____36_7_0__127.99__0Q
DVES_2993A4:5\x22\x2c\x22SM\x22_\x7b\x2236_7_0\x22_34\x2e75\x7d\x7d0Q:.* 5___SM____36_7_0__34.75__0Q
DVES_2993A4:1\x22\x2c\x22SM\x22_\x7b\x2256_7_0\x22_187\x2e45\x7d\x7d0Q:.* 1___SM____56_7_0__187.45__0Q
DVES_2993A4:\x22\x2c\x22SM\x22_\x7b\x2236_7_0\x22_281\x2e23\x7d\x7d0Q:.* ___SM____36_7_0__281.23__0Q
DVES_2993A4:4\x22\x2c\x22SM\x22_\x7b\x2236_7_0\x22_224\x2e89\x7d\x7d0Q:.* 4___SM____36_7_0__224.89__0Q
DVES_2993A4:5\x22\x2c\x22SM\x22_\x7b\x2276_7_0\x22_181\x2e33\x7d\x7d0\xe9\x01:.* 5___SM____76_7_0__181.33__0__
DVES_2993A4:8\x22\x2c\x22SM\x22_\x7b\x2236_7_0\x22_345\x2e54\x7d\x7d0Q:.* 8___SM____36_7_0__345.54__0Q
DVES_2993A4:6\x22\x2c\x22SM\x22_\x7b\x2256_7_0\x22_191\x2e66\x7d\x7d0Q:.* 6___SM____56_7_0__191.66__0Q
DVES_2993A4:2\x22\x2c\x22SM\x22_\x7b\x2256_7_0\x22_167\x2e60\x7d\x7d0Q:.* 2___SM____56_7_0__167.60__0Q
DVES_2993A4:8\x22\x2c\x22SM\x22_\x7b\x2276_7_0\x22_-4\x2e05\x7d\x7d\xc0:.* 8___SM____76_7_0__-4.05___
DVES_2993A4:00\x22\x2c\x22SM\x22_\x7b\x2276_7_0\x22_237\x2e31\x7d\x7d0Q:.* 00___SM____76_7_0__237.31__0Q
DVES_2993A4:51\x22\x2c\x22SM\x22_\x7b\x2256_7_0\x22_163\x2e51\x7d\x7d0P:.* 51___SM____56_7_0__163.51__0P
DVES_2993A4:1\x22\x2c\x22SM\x22_\x7b\x2216_7_0\x22_855\x2e00\x7d\x7d0Q:.* 1___SM____16_7_0__855.00__0Q
DVES_2993A4:stat/tasmota_2993A4/STATUS12:.* { json2nameValue($EVENT) }
DVES_2993A4:15\x22\x2c\x22SM\x22_\x7b\x2276_7_0\x22_-315\x2e87\x7d\x7d\xc0:.* 15___SM____76_7_0__-315.87___
room MQTT2_DEVICE
stateFormat {sprintf("Tagesverbrauch: %.2f kWh Monatsverbrauch: %.2f kWh Tageseinspeisung: %.2f kWh Monatseinspeisung: %.2f kWh", ReadingsVal($name,"Tagesverbrauch","-1"), ReadingsVal($name,"Monatsverbrauch","-1"), ReadingsVal($name,"Tageseinspeisung","-1"), ReadingsVal($name,"Monatseinspeisung","-1"))}
Influxdg:
Internals:
CFGFN
DATABASE fhem
DEF http://191.168.178.34:8086 fhem Stromzaehler
FUUID 6604781f-f33f-bfeb-3f1f-f0b94e8512440e1b
NAME InfluxDB
NOTIFYDEV Stromzaehler
NR 794
NTFY_ORDER 50-InfluxDB
STATE Statistics: t=103237 s=8740 f=94497 e=120293
TYPE InfluxDBLogger
URL http://191.168.178.34:8086
eventCount 345728
passwd saved
token saved
READINGS:
2024-03-28 14:26:29 dropped_writes 36634
2024-03-28 14:26:29 dropped_writes_last_message Stromzaehler Time 2024-03-28T14:26:28
2024-03-28 06:23:12 failed_writes 94497
2024-03-28 06:23:12 failed_writes_last_error 404 Not Found
2024-03-28 14:26:34 state Statistics: t=103237 s=8740 f=94497 e=120293
2024-03-28 14:26:34 succeeded_writes 8740
2024-03-28 14:26:34 total_events 120293
2024-03-28 14:26:34 total_writes 103237
Attributes:
alias InfluxDB
api v1
disable 1
security basic_auth
username Influxdb
Ich habe das loggen erst einmal eingestellt um mir die Datenbank nich voll zu müllen, hoffe mir kann hier jemand helfen.
Gruß
Karsten
Zitat von: coolheizer am 28 März 2024, 15:36:30hoffe mir kann hier jemand helfen.
Am besten hilfst du dir selbst, indem du die "Kette" mal von vorne bis hinten durchgehst...
Von hinten:
1. Im MQTT2_DEVICE stehen viel zu viele Topics drin, ein Teil ist Müll, der entsteht, wenn FHEM die eingehenden Daten Payloads nicht richtig auswerten kann oder wegen wackeliger Verbindung was verloren geht => sauber machen... (speziell auf "discovery" verzichten!!!!) Lesetipp: Wiki - M2D Schritt für Schritt.
2. Du suchst nicht speziell NUR passende Einstellungen für event-min-interval, sondern eigentlich (v.a.) event-on-change-reading. Auch dazu gibt es Wiki-Artikel. Dann loggt FHEM mit passenden Einstellungen (teils sehr komplex einzurichten!) auch nur, wenn es Events gibt, die es wert sind, geloggt zu werden...
(2a. Bei DbLog könnte man ggf. die Daten auch in der Nachbearbeitung noch verdichten, ob das mit influxdb auch/ähnlich der Fall ist - selber schlau machen).
3. Wenn (Zitat) sekündlich viele Infos vom Tasmota kommen, kommen vermutlich ALLE. Statt der dafür verantwortlichen sehr kurzen Teleperiode würde ich eher hergehen und das script so anpassen, dass es die Werte separat und häufiger (aber nicht sekündlich) sendet, die ich haben will (und die Teleperiode eher noch verlängern). Hatte dazu im ESP-Bereich einen Thread aufgemacht, da steht mein Ergebnis dazu.
Hallo Karsten,
ich bin der Autor vom InfluxDBLogger. Dort, am Ende der Kette, kann man die Readings namentlich mit dem Attribut "readingInclude" einschränken. Eine zeitliche Einschränkung ist nicht vorgesehen. Da muss man wirklich die Events reduzieren, ggf. mit Attributen wie event-on-change-reading oder einem entsprechenden "Filter"-Device davor.
Viele Grüße
Tim
Danke euch beiden für eure Hilfe, das Device Stromzähler habe ich etwas ausgemistet:
Stromzähler:
Internals:
CID DVES_2993A4
DEF DVES_2993A4
FUUID 64e58f3e-f33f-bfeb-6cb5-376a42e042173e2f
IODev myBroker_Mqtt2
LASTInputDev myBroker_Mqtt2
MSGCNT 491635
NAME Stromzaehler
NR 740
STATE Tagesverbrauch: 3.29 kWh Monatsverbrauch: 186.36 kWh Tageseinspeisung: 0.20 kWh Monatseinspeisung: 121.44 kWh
TYPE MQTT2_DEVICE
eventCount 410618
myBroker_Mqtt2_CONN myBroker_Mqtt2_191.168.178.8_62487
myBroker_Mqtt2_MSGCNT 491635
myBroker_Mqtt2_TIME 2024-03-30 08:42:56
OLDREADINGS:
READINGS:
2024-03-30 08:40:39 Berry_HeapUsed 4
2024-03-30 08:40:39 Berry_Objects 46
2024-03-30 08:42:54 Gesamteinspeisung 121.44
2024-03-30 08:40:39 Heap 126
2024-03-30 08:40:39 LoadAvg 19
2024-03-30 08:42:54 Monatseinspeisung 121.44
2024-03-30 08:42:54 Monatsverbrauch 186.36
2024-03-30 08:40:39 MqttCount 81
2024-03-30 08:42:56 SM_16_7_0 -104.06
2024-03-30 08:40:39 SM_1_8_0 35625.055
2024-03-30 08:40:39 SM_32_7_0 240.5
2024-03-30 08:42:56 SM_36_7_0 99.09
2024-03-30 08:40:39 SM_52_7_0 239.1
2024-03-30 08:42:56 SM_56_7_0 524.79
2024-03-30 08:40:39 SM_72_7_0 240.4
2024-03-30 08:42:56 SM_76_7_0 -727.94
2024-03-30 08:40:39 SM_96_1_0 xxxxxx
2024-03-30 08:40:39 Sleep 50
2024-03-30 08:40:39 SleepMode Dynamic
2024-03-30 08:42:51 StatusSNS_SM_16_7_0 -110.31
2024-03-30 08:42:51 StatusSNS_SM_1_8_0 35625.055
2024-03-30 08:42:51 StatusSNS_SM_32_7_0 241.2
2024-03-30 08:42:51 StatusSNS_SM_36_7_0 98.34
2024-03-30 08:42:51 StatusSNS_SM_52_7_0 240.5
2024-03-30 08:42:51 StatusSNS_SM_56_7_0 621.52
2024-03-30 08:42:51 StatusSNS_SM_72_7_0 240.4
2024-03-30 08:42:51 StatusSNS_SM_76_7_0 -732.01
2024-03-30 08:42:51 StatusSNS_SM_96_1_0 xxxxxxx
2024-03-30 08:42:51 StatusSNS_Time 2024-03-30T08:42:51
2024-03-30 08:42:54 Tageseinspeisung 0.20
2024-03-30 08:42:54 Tagesverbrauch 3.29
2024-03-30 08:42:56 Time 2024-03-30T08:42:56
2024-03-30 08:40:39 Uptime 17T22:30:10
2024-03-30 08:40:39 UptimeSec 1549810
2024-03-30 08:40:39 Wifi_AP 1
2024-03-30 08:40:39 Wifi_BSSId F4:F2:6D:FF:43:3A
2024-03-30 08:40:39 Wifi_Channel 11
2024-03-30 08:40:39 Wifi_Downtime 0T00:00:07
2024-03-30 08:40:39 Wifi_LinkCount 1
2024-03-30 08:40:39 Wifi_Mode 11n
2024-03-30 08:40:39 Wifi_RSSI 56
2024-03-30 08:40:39 Wifi_SSId wrt
2024-03-30 08:40:39 Wifi_Signal -72
Attributes:
alias Stromzaehler
event-min-interval Tagesverbrauch:600,Monatsverbrauch:1800,Tageseinspeisung:1200,Monatseinspeisung:1800,SM_16_7_0:60
icon measure_power
readingList DVES_2993A4:tele/tasmota_2993A4/SENSOR:.* { json2nameValue($EVENT) }
DVES_2993A4:stat/tasmota_2993A4/STATUS8:.* { json2nameValue($EVENT) }
DVES_2993A4:stat/tasmota_2993A4/RESULT:.* { json2nameValue($EVENT) }
DVES_2993A4:tele/tasmota_2993A4/STATE:.* { json2nameValue($EVENT) }
room MQTT2_DEVICE
stateFormat {sprintf("Tagesverbrauch: %.2f kWh Monatsverbrauch: %.2f kWh Tageseinspeisung: %.2f kWh Monatseinspeisung: %.2f kWh", ReadingsVal($name,"Tagesverbrauch","-1"), ReadingsVal($name,"Monatsverbrauch","-1"), ReadingsVal($name,"Tageseinspeisung","-1"), ReadingsVal($name,"Monatseinspeisung","-1"))}
Aber davon mal ab sollte es doch möglich sein auch ohne meine devices auf Vordermann zu bringen nur gewünschte Daten zu loggen.
Mebus_Aussentemperatur:
Internals:
CODE CUL_TCM97001_37
CUL2_DMSG s252CE08ED000
CUL2_MSGCNT 2626
CUL2_Protocol_ID 0.3
CUL2_RAWMSG MS;P0=466;P1=-8927;P3=-1965;P4=-4050;D=01030304030304030403030403040403030404040303030303040303030404040304040304;CP=0;SP=1;R=243;O;m1;
CUL2_RSSI -80.5
CUL2_TIME 2024-03-30 09:08:12
CUL868_DMSG s252CE08ED000
CUL868_MSGCNT 3102
CUL868_Protocol_ID 0.3
CUL868_RAWMSG MS;P0=-4061;P1=464;P2=-8934;P3=-1988;D=12131310131310131013131013101013131010101313131313101313131010101310101310;CP=1;SP=2;R=245;O;m2;
CUL868_RSSI -79.5
CUL868_TIME 2024-03-30 09:08:11
DEF CUL_TCM97001_37
FUUID 5c8e84b4-f33f-de02-9d27-615f1a8f73328845
LASTInputDev CUL868
MSGCNT 3169
NAME Mebus_Aussentemperatur
NR 418
STATE T: 11.5 H: 71
TYPE CUL_TCM97001
eventCount 2923
lastH 0
lastT 1711786091.80107
READINGS:
2024-03-06 20:13:17 battery ok
2024-03-06 20:13:17 batteryState ok
2024-03-06 20:13:17 channel 1
2024-03-30 09:08:11 humidity 71
2024-03-06 20:13:17 mode normal
2024-03-30 09:08:11 state T: 11.5 H: 71
2024-03-30 09:08:11 temperature 11.5
Attributes:
alexaName Schuppen
alias Mebus_Aussentemperatur
event-min-interval temperature:300,humidity:300
genericDeviceType thermometer
model W044
room 1_Wohnzimmer,4_Beregnung,7_Alexa,CUL_TCM97001
OpenDTU:
Internals:
CID OpenDTU_2675644
DEF OpenDTU_2675644
FUUID 6489d40c-f33f-bfeb-ca21-28bb172ca1dd1333
IODev myBroker_Mqtt2
LASTInputDev myBroker_Mqtt2
MSGCNT 1321249
NAME OpenDTU
NR 715
STATE aktuell: 1822W/ 245Volt Heute: 1998 Wh Gesamt: 3963.332 kWh
TYPE MQTT2_DEVICE
eventCount 1126245
myBroker_Mqtt2_CONN myBroker_Mqtt2_191.168.178.9_54861
myBroker_Mqtt2_MSGCNT 1321249
myBroker_Mqtt2_TIME 2024-03-30 09:12:02
OLDREADINGS:
READINGS:
2024-03-30 09:12:02 116170502296_0_current 3.95
2024-03-30 09:12:02 116170502296_0_efficiency 95.000
2024-03-30 09:12:02 116170502296_0_frequency 49.99
2024-03-30 09:12:02 116170502296_0_power 969.1
2024-03-30 09:12:02 116170502296_0_powerdc 1020.1
2024-03-30 09:12:02 116170502296_0_powerfactor 1.000
2024-03-30 09:12:02 116170502296_0_reactivepower 23.4
2024-03-30 09:12:02 116170502296_0_temperature 28.0
2024-03-30 09:12:02 116170502296_0_voltage 245.4
2024-03-30 09:12:02 116170502296_0_yieldday 1168
2024-03-30 09:12:02 116170502296_0_yieldtotal 3963.332
2024-03-30 09:12:02 116170502296_1_current 6.05
2024-03-30 09:12:02 116170502296_1_irradiation 0.000
2024-03-30 09:12:02 116170502296_1_name
2024-03-30 09:12:02 116170502296_1_power 262.0
2024-03-30 09:12:02 116170502296_1_voltage 43.3
2024-03-30 09:12:02 116170502296_1_yieldday 294
2024-03-30 09:12:02 116170502296_1_yieldtotal 962.664
2024-03-30 09:12:02 116170502296_2_current 6.09
2024-03-30 09:12:02 116170502296_2_irradiation 0.000
2024-03-30 09:12:02 116170502296_2_name
2024-03-30 09:12:02 116170502296_2_power 263.7
2024-03-30 09:12:02 116170502296_2_voltage 43.3
2024-03-30 09:12:02 116170502296_2_yieldday 295
2024-03-30 09:12:02 116170502296_2_yieldtotal 974.295
2024-03-30 09:12:02 116170502296_3_current 6.17
2024-03-30 09:12:02 116170502296_3_irradiation 0.000
2024-03-30 09:12:02 116170502296_3_name
2024-03-30 09:12:02 116170502296_3_power 251.4
2024-03-30 09:12:02 116170502296_3_voltage 40.8
2024-03-30 09:12:02 116170502296_3_yieldday 294
2024-03-30 09:12:02 116170502296_3_yieldtotal 1032.625
2024-03-30 09:12:02 116170502296_4_current 5.96
2024-03-30 09:12:02 116170502296_4_irradiation 0.000
2024-03-30 09:12:02 116170502296_4_name
2024-03-30 09:12:02 116170502296_4_power 243.0
2024-03-30 09:12:02 116170502296_4_voltage 40.8
2024-03-30 09:12:02 116170502296_4_yieldday 285
2024-03-30 09:12:02 116170502296_4_yieldtotal 993.748
2024-03-30 09:12:02 116480724886_0_current 3.10
2024-03-30 09:12:02 116480724886_0_efficiency 95.014
2024-03-30 09:12:02 116480724886_0_frequency 49.99
2024-03-30 09:12:02 116480724886_0_power 758.4
2024-03-30 09:12:02 116480724886_0_powerdc 798.2
2024-03-30 09:12:02 116480724886_0_powerfactor 0.001
2024-03-30 09:12:02 116480724886_0_reactivepower -0.1
2024-03-30 09:12:02 116480724886_0_temperature 19.8
2024-03-30 09:12:02 116480724886_0_voltage 244.4
2024-03-30 09:12:02 116480724886_0_yieldday 831
2024-03-30 09:12:02 116480724886_0_yieldtotal 1205.619
2024-03-30 09:12:02 116480724886_1_current 2.31
2024-03-30 09:12:02 116480724886_1_irradiation 11.422
2024-03-30 09:12:02 116480724886_1_name West-2Panels
2024-03-30 09:12:02 116480724886_1_power 94.8
2024-03-30 09:12:02 116480724886_1_voltage 40.9
2024-03-30 09:12:02 116480724886_1_yieldday 152
2024-03-30 09:12:02 116480724886_1_yieldtotal 315.770
2024-03-30 09:12:02 116480724886_2_current 10.19
2024-03-30 09:12:02 116480724886_2_irradiation 51.181
2024-03-30 09:12:02 116480724886_2_name Ost-2Panels
2024-03-30 09:12:02 116480724886_2_power 424.8
2024-03-30 09:12:02 116480724886_2_voltage 41.6
2024-03-30 09:12:02 116480724886_2_yieldday 430
2024-03-30 09:12:02 116480724886_2_yieldtotal 403.597
2024-03-30 09:12:02 116480724886_3_current 3.33
2024-03-30 09:12:02 116480724886_3_irradiation 33.711
2024-03-30 09:12:02 116480724886_3_name Süd-links
2024-03-30 09:12:02 116480724886_3_power 139.9
2024-03-30 09:12:02 116480724886_3_voltage 42.0
2024-03-30 09:12:02 116480724886_3_yieldday 127
2024-03-30 09:12:02 116480724886_3_yieldtotal 244.702
2024-03-30 09:12:02 116480724886_4_current 3.29
2024-03-30 09:12:02 116480724886_4_irradiation 33.422
2024-03-30 09:12:02 116480724886_4_name Süd-rechts
2024-03-30 09:12:02 116480724886_4_power 138.7
2024-03-30 09:12:02 116480724886_4_voltage 42.0
2024-03-30 09:12:02 116480724886_4_yieldday 122
2024-03-30 09:12:02 116480724886_4_yieldtotal 241.550
2024-03-30 09:12:02 Solar_inverter_116170502296_name Hoymiles_1500
2024-03-30 09:12:02 Solar_inverter_116480724886_name Hoymiles_HMS2000
2024-03-30 09:12:02 bootloaderversion 1
2024-03-30 09:12:02 bssid F4:F2:6D:FF:43:3A
2024-03-30 09:11:54 export 0.00
2024-03-30 09:12:02 fwbuilddatetime 2021-12-30 11:23:00
2024-03-30 09:12:02 fwbuildversion 10014
2024-03-30 09:12:01 hostname OpenDTU-28D3BC
2024-03-30 09:12:02 hwpartnumber 269644033
2024-03-30 09:12:02 hwversion 01.00
2024-03-30 09:11:54 import 0.00
2024-03-30 09:12:01 ip 191.168.178.9
2024-03-30 09:11:59 irradiation 32.056
2024-03-30 09:11:59 is_valid 1
2024-03-30 09:12:02 last_update 1711786318
2024-03-30 09:12:02 limit_absolute 2000.00
2024-03-30 09:12:02 limit_relative 100.00
2024-03-30 09:11:59 power 1821.9
2024-03-30 09:11:54 power1 -1312.18
2024-03-30 09:11:54 power2 0.00
2024-03-30 09:11:54 power3 0.00
2024-03-30 09:11:54 powertotal -1312.18
2024-03-30 09:12:02 producing 1
2024-03-30 09:12:02 reachable 1
2024-03-30 09:12:02 rssi -54
2024-03-30 09:12:01 uptime 18657
2024-03-30 09:11:54 voltage1 0.00
2024-03-30 09:11:54 voltage2 0.00
2024-03-30 09:11:54 voltage3 0.00
2024-03-30 09:11:59 yieldday 1998
2024-03-30 09:11:59 yieldtotal 5168.950
Attributes:
alias OpenDTU
event-min-interval power:600,yieldday:600,yieldtotal:3600
icon solar
readingList OpenDTU_2675644:Solar_inverter/dtu/uptime:.* uptime
OpenDTU_2675644:Solar_inverter/dtu/ip:.* ip
OpenDTU_2675644:Solar_inverter/dtu/hostname:.* hostname
OpenDTU_2675644:Solar_inverter/dtu/rssi:.* rssi
OpenDTU_2675644:Solar_inverter/dtu/bssid:.* bssid
OpenDTU_2675644:Solar_inverter/116170502296/name:.* Solar_inverter_116170502296_name
OpenDTU_2675644:Solar_inverter/116170502296/device/bootloaderversion:.* bootloaderversion
OpenDTU_2675644:Solar_inverter/116170502296/device/fwbuildversion:.* fwbuildversion
OpenDTU_2675644:Solar_inverter/116170502296/device/fwbuilddatetime:.* fwbuilddatetime
OpenDTU_2675644:Solar_inverter/116170502296/device/hwpartnumber:.* hwpartnumber
OpenDTU_2675644:Solar_inverter/116170502296/device/hwversion:.* hwversion
OpenDTU_2675644:Solar_inverter/116170502296/status/limit_relative:.* limit_relative
OpenDTU_2675644:Solar_inverter/116170502296/status/limit_absolute:.* limit_absolute
OpenDTU_2675644:Solar_inverter/116170502296/status/reachable:.* reachable
OpenDTU_2675644:Solar_inverter/116170502296/status/producing:.* producing
OpenDTU_2675644:Solar_inverter/116170502296/status/last_update:.* last_update
OpenDTU_2675644:Solar_inverter/116480724886/name:.* Solar_inverter_116480724886_name
OpenDTU_2675644:Solar_inverter/116480724886/device/bootloaderversion:.* bootloaderversion
OpenDTU_2675644:Solar_inverter/116480724886/device/fwbuildversion:.* fwbuildversion
OpenDTU_2675644:Solar_inverter/116480724886/device/fwbuilddatetime:.* fwbuilddatetime
OpenDTU_2675644:Solar_inverter/116480724886/device/hwpartnumber:.* hwpartnumber
OpenDTU_2675644:Solar_inverter/116480724886/device/hwversion:.* hwversion
OpenDTU_2675644:Solar_inverter/116480724886/status/limit_relative:.* limit_relative
OpenDTU_2675644:Solar_inverter/116480724886/status/limit_absolute:.* limit_absolute
OpenDTU_2675644:Solar_inverter/116480724886/status/reachable:.* reachable
OpenDTU_2675644:Solar_inverter/116480724886/status/producing:.* producing
OpenDTU_2675644:Solar_inverter/116480724886/status/last_update:.* last_update
OpenDTU_2675644:Solar_inverter/116480724886/0/voltage:.* 116480724886_0_voltage
OpenDTU_2675644:Solar_inverter/116480724886/0/current:.* 116480724886_0_current
OpenDTU_2675644:Solar_inverter/116480724886/0/power:.* 116480724886_0_power
OpenDTU_2675644:Solar_inverter/116480724886/0/frequency:.* 116480724886_0_frequency
OpenDTU_2675644:Solar_inverter/116480724886/0/powerfactor:.* 116480724886_0_powerfactor
OpenDTU_2675644:Solar_inverter/116480724886/0/reactivepower:.* 116480724886_0_reactivepower
OpenDTU_2675644:Solar_inverter/116480724886/1/name:.* 116480724886_1_name
OpenDTU_2675644:Solar_inverter/116480724886/1/voltage:.* 116480724886_1_voltage
OpenDTU_2675644:Solar_inverter/116480724886/1/current:.* 116480724886_1_current
OpenDTU_2675644:Solar_inverter/116480724886/1/power:.* 116480724886_1_power
OpenDTU_2675644:Solar_inverter/116480724886/1/yieldday:.* 116480724886_1_yieldday
OpenDTU_2675644:Solar_inverter/116480724886/1/yieldtotal:.* 116480724886_1_yieldtotal
OpenDTU_2675644:Solar_inverter/116480724886/1/irradiation:.* 116480724886_1_irradiation
OpenDTU_2675644:Solar_inverter/116480724886/2/name:.* 116480724886_2_name
OpenDTU_2675644:Solar_inverter/116480724886/2/voltage:.* 116480724886_2_voltage
OpenDTU_2675644:Solar_inverter/116480724886/2/current:.* 116480724886_2_current
OpenDTU_2675644:Solar_inverter/116480724886/2/power:.* 116480724886_2_power
OpenDTU_2675644:Solar_inverter/116480724886/2/yieldday:.* 116480724886_2_yieldday
OpenDTU_2675644:Solar_inverter/116480724886/2/yieldtotal:.* 116480724886_2_yieldtotal
OpenDTU_2675644:Solar_inverter/116480724886/2/irradiation:.* 116480724886_2_irradiation
OpenDTU_2675644:Solar_inverter/116480724886/3/name:.* 116480724886_3_name
OpenDTU_2675644:Solar_inverter/116480724886/3/voltage:.* 116480724886_3_voltage
OpenDTU_2675644:Solar_inverter/116480724886/3/current:.* 116480724886_3_current
OpenDTU_2675644:Solar_inverter/116480724886/3/power:.* 116480724886_3_power
OpenDTU_2675644:Solar_inverter/116480724886/3/yieldday:.* 116480724886_3_yieldday
OpenDTU_2675644:Solar_inverter/116480724886/3/yieldtotal:.* 116480724886_3_yieldtotal
OpenDTU_2675644:Solar_inverter/116480724886/3/irradiation:.* 116480724886_3_irradiation
OpenDTU_2675644:Solar_inverter/116480724886/4/name:.* 116480724886_4_name
OpenDTU_2675644:Solar_inverter/116480724886/4/voltage:.* 116480724886_4_voltage
OpenDTU_2675644:Solar_inverter/116480724886/4/current:.* 116480724886_4_current
OpenDTU_2675644:Solar_inverter/116480724886/4/power:.* 116480724886_4_power
OpenDTU_2675644:Solar_inverter/116480724886/4/yieldday:.* 116480724886_4_yieldday
OpenDTU_2675644:Solar_inverter/116480724886/4/yieldtotal:.* 116480724886_4_yieldtotal
OpenDTU_2675644:Solar_inverter/116480724886/4/irradiation:.* 116480724886_4_irradiation
OpenDTU_2675644:Solar_inverter/116480724886/0/powerdc:.* 116480724886_0_powerdc
OpenDTU_2675644:Solar_inverter/116480724886/0/yieldday:.* 116480724886_0_yieldday
OpenDTU_2675644:Solar_inverter/116480724886/0/yieldtotal:.* 116480724886_0_yieldtotal
OpenDTU_2675644:Solar_inverter/116480724886/0/temperature:.* 116480724886_0_temperature
OpenDTU_2675644:Solar_inverter/116480724886/0/efficiency:.* 116480724886_0_efficiency
OpenDTU_2675644:Solar_inverter/ac/power:.* power
OpenDTU_2675644:Solar_inverter/ac/yieldtotal:.* yieldtotal
OpenDTU_2675644:Solar_inverter/ac/yieldday:.* yieldday
OpenDTU_2675644:Solar_inverter/ac/is_valid:.* is_valid
OpenDTU_2675644:Solar_inverter/dc/power:.* power
OpenDTU_2675644:Solar_inverter/dc/irradiation:.* irradiation
OpenDTU_2675644:Solar_inverter/dc/is_valid:.* is_valid
OpenDTU_2675644:Solar_inverter/powermeter/power1:.* power1
OpenDTU_2675644:Solar_inverter/powermeter/power2:.* power2
OpenDTU_2675644:Solar_inverter/powermeter/power3:.* power3
OpenDTU_2675644:Solar_inverter/powermeter/powertotal:.* powertotal
OpenDTU_2675644:Solar_inverter/powermeter/voltage1:.* voltage1
OpenDTU_2675644:Solar_inverter/powermeter/voltage2:.* voltage2
OpenDTU_2675644:Solar_inverter/powermeter/voltage3:.* voltage3
OpenDTU_2675644:Solar_inverter/powermeter/import:.* import
OpenDTU_2675644:Solar_inverter/powermeter/export:.* export
OpenDTU_2675644:Solar_inverter/116170502296/0/voltage:.* 116170502296_0_voltage
OpenDTU_2675644:Solar_inverter/116170502296/0/current:.* 116170502296_0_current
OpenDTU_2675644:Solar_inverter/116170502296/0/power:.* 116170502296_0_power
OpenDTU_2675644:Solar_inverter/116170502296/0/frequency:.* 116170502296_0_frequency
OpenDTU_2675644:Solar_inverter/116170502296/0/powerfactor:.* 116170502296_0_powerfactor
OpenDTU_2675644:Solar_inverter/116170502296/0/reactivepower:.* 116170502296_0_reactivepower
OpenDTU_2675644:Solar_inverter/116170502296/1/name:.* 116170502296_1_name
OpenDTU_2675644:Solar_inverter/116170502296/1/voltage:.* 116170502296_1_voltage
OpenDTU_2675644:Solar_inverter/116170502296/1/current:.* 116170502296_1_current
OpenDTU_2675644:Solar_inverter/116170502296/1/power:.* 116170502296_1_power
OpenDTU_2675644:Solar_inverter/116170502296/1/yieldday:.* 116170502296_1_yieldday
OpenDTU_2675644:Solar_inverter/116170502296/1/yieldtotal:.* 116170502296_1_yieldtotal
OpenDTU_2675644:Solar_inverter/116170502296/1/irradiation:.* 116170502296_1_irradiation
OpenDTU_2675644:Solar_inverter/116170502296/2/name:.* 116170502296_2_name
OpenDTU_2675644:Solar_inverter/116170502296/2/voltage:.* 116170502296_2_voltage
OpenDTU_2675644:Solar_inverter/116170502296/2/current:.* 116170502296_2_current
OpenDTU_2675644:Solar_inverter/116170502296/2/power:.* 116170502296_2_power
OpenDTU_2675644:Solar_inverter/116170502296/2/yieldday:.* 116170502296_2_yieldday
OpenDTU_2675644:Solar_inverter/116170502296/2/yieldtotal:.* 116170502296_2_yieldtotal
OpenDTU_2675644:Solar_inverter/116170502296/2/irradiation:.* 116170502296_2_irradiation
OpenDTU_2675644:Solar_inverter/116170502296/3/name:.* 116170502296_3_name
OpenDTU_2675644:Solar_inverter/116170502296/3/voltage:.* 116170502296_3_voltage
OpenDTU_2675644:Solar_inverter/116170502296/3/current:.* 116170502296_3_current
OpenDTU_2675644:Solar_inverter/116170502296/3/power:.* 116170502296_3_power
OpenDTU_2675644:Solar_inverter/116170502296/3/yieldday:.* 116170502296_3_yieldday
OpenDTU_2675644:Solar_inverter/116170502296/3/yieldtotal:.* 116170502296_3_yieldtotal
OpenDTU_2675644:Solar_inverter/116170502296/3/irradiation:.* 116170502296_3_irradiation
OpenDTU_2675644:Solar_inverter/116170502296/4/name:.* 116170502296_4_name
OpenDTU_2675644:Solar_inverter/116170502296/4/voltage:.* 116170502296_4_voltage
OpenDTU_2675644:Solar_inverter/116170502296/4/current:.* 116170502296_4_current
OpenDTU_2675644:Solar_inverter/116170502296/4/power:.* 116170502296_4_power
OpenDTU_2675644:Solar_inverter/116170502296/4/yieldday:.* 116170502296_4_yieldday
OpenDTU_2675644:Solar_inverter/116170502296/4/yieldtotal:.* 116170502296_4_yieldtotal
OpenDTU_2675644:Solar_inverter/116170502296/4/irradiation:.* 116170502296_4_irradiation
OpenDTU_2675644:Solar_inverter/116170502296/0/powerdc:.* 116170502296_0_powerdc
OpenDTU_2675644:Solar_inverter/116170502296/0/yieldday:.* 116170502296_0_yieldday
OpenDTU_2675644:Solar_inverter/116170502296/0/yieldtotal:.* 116170502296_0_yieldtotal
OpenDTU_2675644:Solar_inverter/116170502296/0/temperature:.* 116170502296_0_temperature
OpenDTU_2675644:Solar_inverter/116170502296/0/efficiency:.* 116170502296_0_efficiency
room MQTT2_DEVICE
stateFormat {sprintf("aktuell: %.0fW/ %.0fVolt Heute: %.0f Wh Gesamt: %.3f kWh", ReadingsVal($name,"power","-1"), ReadingsVal($name,"116170502296_0_voltage","-1"), ReadingsVal($name,"yieldday","-1"), ReadingsVal($name,"116170502296_0_yieldtotal","-1"))}
InfluxDB:
Internals:
DATABASE fhem4
DEF http://191.168.178.34:8086 fhem4 Stromzaehler,Mebus_Aussentemperatur,OpenDTU
FUUID 6604781f-f33f-bfeb-3f1f-f0b94e8512440e1b
NAME InfluxDB
NOTIFYDEV Stromzaehler,Mebus_Aussentemperatur,OpenDTU
NR 794
NTFY_ORDER 50-InfluxDB
STATE Statistics: t=436496 s=341921 f=94575 e=453608
TYPE InfluxDBLogger
URL http://191.168.178.34:8086
eventCount 987039
passwd saved
READINGS:
2024-03-28 19:17:18 dropped_writes 36811
2024-03-28 19:17:18 dropped_writes_last_message Stromzaehler StatusSNS_Time 2024-03-28T19:17:17
2024-03-30 08:24:23 failed_writes 94575
2024-03-30 08:24:23 failed_writes_last_error 404 Not Found
2024-03-30 09:07:04 state Statistics: t=436496 s=341921 f=94575 e=453608
2024-03-30 09:07:04 succeeded_writes 341921
2024-03-30 09:07:04 total_events 453608
2024-03-30 09:07:04 total_writes 436496
Attributes:
alias InfluxDB
api v1
disable 0
readingInclude Tagesverbrauch|Monatsverbrauch|Tageseinspeisung|Monatseinspeisung|SM_16_7_0|temperature|humidity|power|yieldday|yieldtotal
security basic_auth
username fhem1
Von Mebus_Aussentemperatur werden auch nur die Daten geloggt die ich in readingInclude definiert habe.
Stromzähler geht auch soweit, es wird allerdings zum Reading SM_16_7_0 noch StatusSNS_SM_16_7_0 mit geloggt, hier weis ich leider nicht wie ich das ReadingInclude richtig setzen muss das ausschließlich SM_16_7_0 geloggt wird.
Umso wichtiger ist die richtige angabe von SM_16_7_0 im readingInclude sobald ich OpenDTU mit rein nehme und power loggen möchte, hier gibt es etlich Readings mit power (116170502296_0_power, 116170502296_0_powerdc, 116170502296_0_reactivepower....usw.)
Schade das ich nicht in den einzelnen Devices schon vorab angeben kann, so wie in DBlog mit DbLogExclude/DbLogInclude was ich loggen möchte.
Im jetzigen fall möchte ich vom Mebus_Aussentemperatur die temperatur geloggt bekommen, von anderen Devices interessiert mich die Temp nicht, es wird allerdings von allen Devices die Temp mit geloggt, wenn im Reading vorhanden.
Ist es richtig das ich mehrere Instanzen von InfluxDB setzen muss wenn ich dieses umgehen will?
In meinem Fall zb. eine eigene InfluxDB Instanz nur für OpenDTU in dem im readingInclude halt nur die benötigten Werte angegeben sind?
Wird das ganze nicht unnötig aufgebläht?
Richtig genommen muss ich für jedes Device, welches ich loggen möchte, eine eigene InfluxDB Instanz setzen, finde das ganze wird dann ziemlich unübersichtlich.
Eine Frage noch, damit ich mich nicht über den token sondern mit Benutzer und Pw in InfluxDB anmelden kann gebe ich über console ein(in diesem fall gleich 4 buckets auf den user "fhem":
influx v1 auth create \
--read-bucket 1xxxxxxxxxxxxxxx \
--write-bucket 1xxxxxxxxxxxxxxx \
--read-bucket 2xxxxxxxxxxxxxxx \
--write-bucket 2xxxxxxxxxxxxxxx \
--read-bucket 3xxxxxxxxxxxxxxx \
--write-bucket 3xxxxxxxxxxxxxxx \
--read-bucket 4xxxxxxxxxxxxxxx \
--write-bucket 4xxxxxxxxxxxxxxx \
--username fhem -t rFx14EwtUp5RSeKytsSMxxxxxxx4HgBGj8_DF26xxxxrKolg-YY55oxxxxxKIIH2vPmxxxxxxxzIuLOzBIKTGw==
Hiermit klappt dann eine Anmeldung mit dem Namen fhem und einem Passwort welches ich bei der Eingabe vergebe, möchte ich später noch ein weiteres bucket dem user fhem zuweisen bekomme ich mit dem obigen Befehl eine Fehlermeldung (natürlich den Befehl nur mit dem neuen bucket ID, alle anderen wurden ja bereits hinzugefügt) :
influx v1 auth create \
--read-bucket 5xxxxxxxxxxxxxxx \
--write-bucket 5xxxxxxxxxxxxxxx \
--username fhem -t rFx14EwtUp5RSeKytsSMxxxxxxx4HgBGj8_DF26xxxxrKolg-YY55oxxxxxKIIH2vPmxxxxxxxzIuLOzBIKTGw==
Error: failed to create new authorization: 422 Unprocessable Entity: token already exists
Wie lautet der befehl um ein weiteres bucket dem User fhem zuzuweisen?
Und vor allem wie ist die richtige Definition fürs readingInclude um wie schon oben gefragt nur zb. SM_16_7_0 und nicht auch noch StatusSNS_SM_16_7_0 zu loggen.
Das ganze ist nun etwas viel geschreibe geworden, hoffe ich habs so einigermaßen übersichtlich geschrieben um euch nicht zu viel Zeit zu stehlen, um meinen Beitrag zu lesen.
Gruß
Karsten
Edit:
Die eine Frage kann ich mir schon einmal selbst beantworten:
mit:
influx v1 auth list -t rFx14EwtUp5RSeKytsSMxxxxxxx4HgBGj8_DF26xxxxrKolg-YY55oxxxxxKIIH2vPmxxxxxxxzIuLOzBIKTGw==
kann ich mir die id vom usernamen anzeigen lassen, danach mit
influx v1 auth delete --id 00xX00o0X001 -t rFx14EwtUp5RSeKytsSMxxxxxxx4HgBGj8_DF26xxxxrKolg-YY55oxxxxxKIIH2vPmxxxxxxxzIuLOzBIKTGw==
alle id`s vom jeweiligen usernamen löschen, danach können alle benötigten buckets unter selbigen usernamen wieder angelegt werden.
Eine andere/elegantere Möglichkeit, weitere buckets einem user zuzuweisen, habe ich leider nicht gefunden.
Edit2:
Im Device OpenDTU habe ich event-on-change-reading mit
(?!116170502296|116480724886|power1|power2|power3).*
die angegebene readings ausgeschlossen, gibt es eine elegantere Lösung das ganze im readingInclude abzubilden?
Edit3:
Und weiter geht es in meinem Monolog.
Ja Karsten du kannst es im readingInclude eleganter lösen, dann spielt dein loggen auch nicht mehr verrückt und schreibt mehr Daten als du eigentlich möchtest, obwohl du im event-min-interval eine Zeitangabe gemacht hast und dennoch alle paar sekunden geschrieben wird:
In deinem fall gibst du:
\b(SM_16_7_0|Tagesverbrauch|Monatsverbrauch|Tageseinspeisung|Monatseinspeisung|temperature|humidity|power|yieldday|yieldtotal)\b
ein und es werden nur die Readings geschreiben die genau so heißen, dann brauchst du auch das event-on-change-reading in den einzelnen Devices nicht mehr um ähnlich klingende readings auszuschließen.
Sehr gut gelöst.
Hier nochmal der allgemeine Hinweis: Ist es überhaupt nicht schlimm oder schlecht mehrere InfluxDBLogger Devices zu definieren.
Bei dem konkreten Beispiel hier im Thread ist es aber mit dem readingInclude Attribut wunderbar gelöst und nicht nötig mehrere Devices zu machen.
Zitat von: coolheizer am 30 März 2024, 10:33:57das Device Stromzähler habe ich etwas ausgemistet:
Stromzähler:
[...]
Aber davon mal ab sollte es doch möglich sein auch ohne meine devices auf Vordermann zu bringen nur gewünschte Daten zu loggen.
Nur event-min-interval zu setzen ist m.E. ziemlich effektlos, das _erweitert_ nur die vorher durch "eocr" gesetzten Einschränkungen (die hier komplett fehlen)...
Und das "Pferd von hinten" aufzuzäumen (und nur das logging beschränken zu wollen) ist m.E. weiter kein guter Ansatz, schließlich belasten die "überzähligen" Events das gesamte System unnötig.