Zitat von: BOFH am 21 Mai 2024, 10:33:34So kleines patch fix
- disable bridge sobald meldung von ratelimit erreicht wurde. meldung sollte unter lastrequesterror stehen
- api "fix".update add https://git.cooltux.net/FHEM/mod-GardenaSmart/raw/branch/patch_login_autodisable_api/controls_GardenaSmartDevice.txt
achtet bitte daruf, dass ihr keine anderen controls_GardenaSmartDevice.txt in eurem update pfad habt.
natürlich TESTING !! weiß noch nicht ob das disable eventuell falsch gesetzt wird, oder gar den fhem restart auslöst.
GardenaSmartBridge (GardenaBridge) - no Match for processing data
lastError Timeout in sendMessage
set SignalDevice contact delete +49xxxxxxxxxx
<struct_type>_map
With this attribute, which has to specified for the structure- member, you can redefine the value reported by a specific structure-member for the structure value. The attribute has three variants:
readingName
take the value from readingName instead of state.
attr statuscode_stru statuscodestatus_map statuscode
# CID dev01
# DEF dev01
# FUUID 66334ee3-f33f-fed1-27c4-254a5bcdea9abb50
# IODev mqtt01
# LASTInputDev mqtt01
# MSGCNT 8748
# NAME statuscodesensor01
# NR 603
# STATE 100 %
# TYPE MQTT2_DEVICE
# mqtt01_CONN mqtt01_10.0.0.2_51392
# mqtt01_MSGCNT 8748
# mqtt01_TIME 2024-05-21 14:15:45
# READINGS:
# 2024-05-21 14:15:45 statuscode 100
# 2024-05-21 14:15:45 state 2
# 2024-05-21 14:15:39 temperature 18
define statuscode_stru structure status dev01 dev02 dev03 dev04
attr statuscode_stru clientstate_behavior relative
attr statuscode_stru clientstate_priority 100 50 0
# CFGFN
# CHANGEDCNT 330
# DEF struct_statuscodestatus_map
# FUUID 664c71fc-f33f-fed1-9175-93ce1e21b1af51b2
# NAME statuscode_stru
# NTFY_ORDER 50-statuscode_stru
# STATE 2
# TYPE structure
#