Hallo
Bin mir nicht ganz sicher ob das hier am richtigen Ort ist, da ich nicht 100%ig sagen kann, ob das Problem nur mie ESPEasy devices im Zusammenhang mit ReadingsProxy auftritt. Bei anderen Devices hatte ich das jedoch bisher nicht.
Ich habe ein ESPEasy Device (Switch) mit 1-8 Realais, dazu pro Kanal ein ReadingsProxy dazu definiert. Der ReadingsProxy wird jedoch nicht upgedated wenn der Wert im ESPEasy device ändert. Evtl. stimmt auch was in der Config nicht (s. Anhang), jedoch komm ich jetzt nach mehrern Tagen Suchen nicht weiter... evtl. hat jemand eine Idee?
ESPEasy Device:
Internals:
CFGFN /etc/fhem/espeasy.cfg
DEF sonoff-basic-2.clumsy.ch 80 espeasy sonoff_basic_02_switch
ESP_BUILD 20102
ESP_BUILD_GIT SMY_1.69 Aug 5 2018 18:31:19
ESP_BUILD_NOTES - Mega
ESP_NODE_TYPE_ID 17: ESP Easy Mega
ESP_SLEEP 0
ESP_UNIT 32
ESP_VERSION 2
HOST sonoff-basic-2.clumsy.ch
IDENT sonoff_basic_02_switch
INTERVAL 300
IODev espeasy
LASTInputDev espeasy
MSGCNT 15
NAME sonoff_basic_02_switch
NOTIFYDEV global
NR 497
NTFY_ORDER 50-sonoff_basic_02_switch
PORT 80
STATE re1: off
SUBTYPE device
TYPE ESPEasy
VERSION 1.39
espeasy_MSGCNT 15
espeasy_TIME 2018-08-06 07:58:55
READINGS:
2018-08-06 07:56:21 presence present
2018-08-06 07:58:55 re1 off
2018-08-06 07:58:55 state re1: off
helper:
fpc 1533534374
pm:
Encode 1
JSON 1
received:
re1 1533535135
Attributes:
IODev espeasy
Interval 300
alias Gartenbewaesserung
comment 2 Port Relais Switch
devStateIcon .*on:sani_sprinkling@E50005:off .*off:sani_sprinkling@002AE0:on
eventMap { usr=>{ 're1 off' => 'event re1=0', 're1 on' => 'event re1=1', 'on' => 'event re1=1', 'off' => 'event re1=0'}}
fp_EG 396,642,0,sonoff_basic_02_switch,
group ESPEasy Device
presenceCheck 1
readingSwitchText 1
room Garten
setState 3
userattr structexclude wemos wemos_map
wemos all_wemos
wemos_map presence
ReadingsProxy:
Internals:
CFGFN /etc/fhem/espeasy.cfg
DEF sonoff_basic_02_switch:re1
DEVICE sonoff_basic_02_switch
NAME sonoff_basic_02_ch1
NOTIFYDEV global,sonoff_basic_02_switch
NR 498
NTFY_ORDER 50-sonoff_basic_02_ch1
READING re1
STATE on
TYPE readingsProxy
CONTENT:
sonoff_basic_02_switch 1
READINGS:
2018-08-06 07:54:16 lastCmd off
2018-08-06 07:46:05 state on
Attributes:
alias Gartenbewaesserung
comment 1 Port Relais Switch
devStateIcon on:sani_sprinkling@E50005:off off:sani_sprinkling@002AE0:on
room Garten
setFn {($CMD eq "on")?"re1 on":"re1 off"}
setList on off
valueFn {$VALUE}
webCmd on:off
Bereits an den Timestamps ist zu sehen dass der Readingsproxy auch die alle 60 sek. vom ESP gesendeten Werte nicht übernimmt...
VIelen Dank für jegliche Hilfe ;)
STefan