Re: Fenstergriff betätigt Zeitstempel
Verfasst: 18. Jan 2024 19:24
...kein Problem. Ich lauf nicht weg.
Spass beiseite. Danke dass du immer gerne weiterhilfst. Das Problem ist ja auch nicht überlebenswichtig, aber trotzdem interessant.
Code: Alles auswählen
As described above, the state description "pattern" is no longer observed after the "Is Command" switch has been activated once.Code: Alles auswählen
As far as I can see it all works perfectly fine. I setup MQTT similar to your setup with the same state descriptions and with both timestamp profiles.
The only thing I noticed is that the timestamp does not update at all when "isCommand" is enabled....das hab ich jetzt leider auch nicht verstandenpauliv_de hat geschrieben: 20. Jan 2024 16:08 Aber zwischenzeitlich habe ich heraus gefunden, dass das fehlerhafte Verhalten bei items auftritt die "options" und "commandDescription" Parameter wie auch z.B. "STABLE" und "NOT STABLE" oder "CLOSED", "TILTED" und "OPEN" enthalten...
Code: Alles auswählen
{
"link": "http://192.168.178.38:8080/rest/items/HmIP_SRH_0515_1STATE_Time",
"state": "2024-01-20T16:31:58.547492921+0100",
"stateDescription": {
"pattern": "%1$td.%1$tm.%1$ty - %1$tH:%1$tM Uhr",
"readOnly": true,
"options": [
{
"value": "CLOSED",
"label": "Fensterzustand: verriegelt"
},
{
"value": "TILTED",
"label": "Fensterzustand: gekippt"
},
{
"value": "OPEN",
"label": "Fensterzustand: offen"
}
]
},
"commandDescription": {
"commandOptions": [
{
"command": "CLOSED",
"label": "Fensterzustand: verriegelt"
},
{
"command": "TILTED",
"label": "Fensterzustand: gekippt"
},
{
"command": "OPEN",
"label": "Fensterzustand: offen"
}
]
},
"metadata": {
"semantics": {
"value": "Point",
"config": {
"isPointOf": "gSen_0515"
}
},
"stateDescription": {
"value": "pattern",
"config": {
"pattern": "%1$td.%1$tm.%1$ty - %1$tH:%1$tM Uhr"
}
}
},
"editable": false,
"type": "DateTime",
"name": "HmIP_SRH_0515_1STATE_Time",
"label": "Terrassentuer Datum ",
"category": "window",
"tags": [
"Point"
],
"groupNames": [
"gSen_0515"
]
}