Hi
hat jemand eine Idee wie man die Readings
state und so anpasst.
Habe "doppelte" Informationen im State und eigenem Reading .
Dis: value
state: dist_V (aus der Vaiable )
2018-04-16_13:51:07 ESPEasy_ESP_Nmcu10_139_Dist_139 Dis: 144
2018-04-16_13:51:08 ESPEasy_ESP_Nmcu10_139_Dist_139 Dist_V: 148
2018-04-16_13:51:08 ESPEasy_ESP_Nmcu10_139_Dist_139 Dis: 148
fhem: device reading:
Readings Dist_V 146 2018-04-16 14:53:56
presence present 2018-04-16 14:53:00
state Dis: 146 2018-04-16 14:53:56
wir bei lets controll it espeasy als event getrennt erzeugt.
8857909 : SR04 : Distance: 144.31
18857911 : EVENT: Dist_139#Dist_V=144.31
18858909 : SR04 : Distance: 144.29
18858911 : EVENT: Dist_139#Dist_V=144.29
18859910 : SR04 : Distance: 143.84
18859911 : EVENT: Dist_139#Dist_V=143.84
18860910 : SR04 : Distance: 145.57
18860911 : EVENT: Dist_139#Dist_V=145.57
18861909 : SR04 : Distance: 144.28
18861911 : EVENT: Dist_139#Dist_V=144.28
18862909 : SR04 : Distance: 144.71
18862911 : EVENT: Dist_139#Dist_V=144.71
Powered by www.letscontrolit.com
eventuell kann man auch in der bridge etwas konfigurieren?
Danke für die Hilfe
T
Hi T,
ich verstehe Dein Problem nicht ganz, aber im Zweifel ist die Doku Dein Freund:
ZitatsetState
Summarize received values in state reading.
A positive number determines the number of characters used for abbreviated reading names. Only readings with an age less than interval will be considered. If your are not satisfied with format or behavior of setState then disable this attribute (set to 0) and use global attributes userReadings and/or stateFormat to get what you want.
Possible values: integer >=0
Default: 3 (enabled with 3 characters abbreviation)
Gruß Otto