Hi, since Openhab 3 i cant use the Windows App anymore.
If i Open the App i get the Message: “Not able to parse runtime verion from openHAB server”
The App Log is:
time;level;callsite;message;exception;stacktrace
13:50:57;INFO;OpenHAB.Windows.App+<OnLaunched>d__3.MoveNext;=== Start Application ===;;
13:50:57;INFO;OpenHAB.Core.Services.SettingsService.Load;Load settings from disk;;
13:50:57;INFO;OpenHAB.Windows.ViewModel.MainViewModel+<LoadData>d__52.MoveNext;Load available sitemap's and their items;;
13:50:57;INFO;OpenHAB.Core.Services.SettingsService.Load;Load settings from disk;;
13:50:57;INFO;OpenHAB.Core.Services.SettingsService.Load;Load settings from disk;;
13:50:57;INFO;OpenHAB.Core.SDK.OpenHABClient+<SetValidUrl>d__14.MoveNext;Validate Url;;
13:50:57;INFO;OpenHAB.Core.SDK.OpenHABClient+<SetValidUrl>d__14.MoveNext;App is running in demo mode: False;;
13:50:58;INFO;OpenHAB.Core.SDK.OpenHABClient+<SetValidUrl>d__14.MoveNext;Metered Connection Type: False;;
13:50:58;INFO;OpenHAB.Core.Services.SettingsService.Load;Load settings from disk;;
13:50:58;INFO;OpenHAB.Core.Common.OpenHABHttpClient.InitClient;Initialize http client for connection type 'Local';;
13:50:58;INFO;OpenHAB.Core.SDK.OpenHABClient+<SetValidUrl>d__14.MoveNext;OpenHab server is reachable: True;;
13:50:58;INFO;OpenHAB.Core.Services.SettingsService.Load;Load settings from disk;;
13:50:58;INFO;OpenHAB.Core.Common.OpenHABHttpClient.InitClient;Initialize http client for connection type 'Local';;
13:50:59;ERROR;OpenHAB.Core.SDK.OpenHABClient+<GetOpenHABVersion>d__7.MoveNext;Not able to parse runtime verion from openHAB server;;
13:50:59;ERROR;OpenHAB.Windows.ViewModel.MainViewModel+<LoadData>d__52.MoveNext;Load data failed.;"OpenHAB.Core.Model.OpenHABException: Not able to parse runtime verion from openHAB server
at OpenHAB.Core.SDK.OpenHABClient.<GetOpenHABVersion>d__7.MoveNext() + 0x310
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() + 0x21
at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task) + 0x70
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task) + 0x38
at System.Runtime.CompilerServices.TaskAwaiter.ValidateEnd(Task) + 0x17
at System.Runtime.CompilerServices.TaskAwaiter`1.GetResult() + 0x10
at OpenHAB.Windows.ViewModel.MainViewModel.<LoadData>d__52.MoveNext() + 0x359
";Action.Invoke => => ExecutionContext.Run => => Action`1.Invoke => => => => <LoadData>d__52.MoveNext
I use openHAB 3.1.0.M3 and the latest Windows Openhab Beta App 2021.2.23.0
Is there some Setting in Openhab i miss to set?
There was a certification issue with the update 2021.2.26.0 and so I published the same update with minor changes as a new build (2021.7.7.0), which is now available in store.
Hi guys!
Found another bug, the app is not showing the correct settings that are currently applied for the things I have (in this case “Color ambiente”). That worked on previous versions, only the color was reset, but now the brightness is also reseted.
Changing a value from the app as it is in the image (with wrong values) makes them the new values so if I touch the brightness on the app now as shown in the screenshot, the color would be reset to white and 0% brightness.
Not something that breaks functionality but just to let you know.
The color picker seems to be broken somehow, to update the values I have to move the brightness bar so it updates to the new values I set.
It is also interfering with the “fader dimmer” rule: Rule to slowly fading in or out any given item based on variables
(It causes the script to always think the last value is %100)
None of these problems happen if I use the sitemap panel in the browser.
In the last update I implemented a value check for a valid RGB within the SetState function of the ColorWidget control to avoid app crashes. Maybe this could be the reason why the value for the controls are not set.
@elcosomalo Can you check the app log (Settings->View Log) if there is warning entry with the following text: “Item state ‘{rgbString}’ is not a valid RGB value”. It would be good to know what kind of values ({rgbString} is the placeholder for the value) the control tries to parse.
I’m not shure if this is the right regex for this.
Doesn’t work if i thow it into an regex debugger.
But in fact i’m not that keen on regex but this might be better?
^([0-9]{1,3}[.][0-9]{1,6}[,])([0-9]{1,3}[.][0-9]{1,6}[,])([0-9]{1,3}[.][0-9]{1,6})
Just an update… the error that I was having in the app’s log is gone. I found a rule conflicting with the values… but the problem on the app is still there, it doesn’t update the correct color value on the color picker.