-
-
Notifications
You must be signed in to change notification settings - Fork 413
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Selection and visibility are not refreshed in Basic UI - Similar to closed issue #165 #3186
Comments
Is this still an issue @lolodomo? |
That is very annoying as we have made no changes regarding that since ages.
I have not yet investigated as it is probably very difficult to reproduce. |
Thanks for your comment! If someone tells me, how to trace or debug the behavior, I could provide some more details. May the MariaDB, I am using for persistence, have influence to the live update? Regards Christoph |
Is one of your item linked to a channel having dynamic state options updated at a certain time? |
All items in the sitemap vclient above (vclient.sitemap) are not linked to any channel and are only updated by the UI and the defined visibility and selection mappings. The result of a Selection e.g. item=vclient_commandType switched to "get" to does not display the depending Selection item=vclient_commandGet. After UI refresh the update is done. I now created a small testing environment with different items as test_3186.sitemap: See these two screenshots of the sitemap, the mqtt update and the item update: FYI: I am running OH 3.4.2 in docker on a Synology NAS. Mosquitto is running also on the NAS in docker, while MariaDB is running as a Synology application. Thanks for your assistance! Regards Christoph |
As I previously commented, the live update will not work if your sitemap filename and the sitemap name in the file are not the same. I know it is strange but it is like that since the beginning (more than 10 years). |
This new test_3186.sitemap was the only one with unequal naming. All others are correct but show the issue. |
Finally with your last and simplified example, there is no question of selection or visibility, this is a pure problem of live update. |
I also see that you used "%s" as format on the item, I am not fully sure that it is appropriate. |
The test_3168 sitemap is only one example to describe the behavior. The
problem occurs overall in all sitemaps.
Just a few minutes ago, I faced it live: I just had closed the bedroom
window, which has a Zigbee window contact. Looking on my main sitemap still
showed the contact switch as OPEN. After manual refresh, the contact
disappeared as configured in the visibility keyword.
Looking on the model based location page, all updates to equipment points
appear immediately.
Regards Christoph
Gruß Christoph
Am 13. März 2023 10:21:53 schrieb lolodomo ***@***.***>:
…
Finally with your last and simplified example, there is no question of
visibility, this is a pure problem of live update.
If I correctly understand, the MQTT binding updates an item named
Gas_ZaehlerSensor_time and you don't see any update in BasicUI.
Is the value correct when you re-open your sitemap ?
Is it something you can reproduce only for a DateTime item ? I am asking
myself if the problem could be the time format provided by MQTT with
microseconds (6 digits).—
Reply to this email directly, view it on GitHub, or unsubscribe.
You are receiving this because you authored the thread.Message ID:
***@***.***>
|
Probably something specific to your setup. |
Very unusual server setup. Sorry, I will not investigate more, the problem is probably the infrastructure used to run your OH server. |
You could rather ask help on the community forum for other users running OH server in docker on a Synology NAS. |
In Chrome it's easy to debug if/what events are received in by the browser.
You'll start seeing something like this and new events get added to the view: So you could check if the event is received. You'll also want to keep an eye on the "Console" to see if any errors occur. |
I don't know what we can do with this issue as I can't reproduce it. Is it specific to docker or Synology context, I don't know. |
@openhab/core-maintainers : please add the tag "awaiting feedback", I would like to know if the issue persists in OH 4.2. Then the issue will be closed in few months automatically if we have no feedback. |
Hello all, some time last year, nudged by reading that I ran a "very unusual setup", I decided to switch to Openhabian on a Pi 4b with 4 GB RAM, while Mosquitto (Docker) and MariaDB (native) keep running on my Synology NAS. Since then, this issue did not occur anymore. Right now I'm running OH 4.1.1. You may close this issue. Regards |
Thanks, @riegelbrau, for the feedback. |
I am running openHAB latest (3.3.0) in Docker on a Synology NAS.
My sitemap "vclient" has three selection items with mappings and two setpoint items that are displayed depending on visibility parameters. Until around 2 weeks ago this sitemap was running like a charm in Firefox and in the Android App. A few days ago suddenly the selection entries and the visibility were not shown as expected. After waiting for some time the changed values appeared, may be related to a sitemap refresh from other items? At first I stripped down the number of mappings entries with no success. Then I isolated the desired frame into a separate sitemap but the issue persists. I checked several configurations like double quotes vs. no double quotes in the visibility and mapping entries, but nothing changed.
While searching for similar issues I found this closed issue #165, that describes exactly what I am facing. As written there I restarted openHAB and the issue was gone, the changed values appeared immediately. But only a few seconds or minutes later the same effects re-ocurred. This is the reason I open this issue.
Please see my vclient.sitemap here:
Thanks for any help!
Regards Christoph
The text was updated successfully, but these errors were encountered: