openHAB 4.3 Release Discussion

npm i frontail -g

so i did with older OpenHAB Installation in Debian - works as expected

Aaah, I understand.
Just a silly question:
I have rules which are running several times a day and I want to know if they were executed. Is there a way to get the information that those rules are still running ? Or do I have to have a permanently open window (as admin) with the log-viewer to see such information ?
Here a rule-example, which gives me every four hours information that itā€™s still running

var countNTP = 0
var vCount = 0

rule "Zeit mit Zeitzone"
  when
    Item Dummy_4 changed to ON or
    Item Current_DateTime received update
  then
//    logInfo("ntp","Zeit hat sich geƤndert")
    var vTimeZoneOffsetString = "MEZ"
    val vTimeZoneOffset = Current_DateTime.state.format("%1$tZ")
    if (vTimeZoneOffset == "+02:00") vTimeZoneOffsetString = "MESZ"
    CurrentTime2.postUpdate(Current_DateTime.state.format("%1$tA, %1$td.%1$tm %1$tH:%1$tM ").toString + vTimeZoneOffsetString)
    TimeType.postUpdate(vTimeZoneOffsetString)
    CurrentTime4.postUpdate(actualTime_gmt.state.format("%1$tH:%1$tM "))

    if (countNTP < 479) {
       countNTP = countNTP +1 
    }
    else {
        logInfo("ntp","Zeit hat sich geƤndert {} schon wieder 4 Stunden vorbei", countNTP)
        countNTP = 0
    }

end

Any idea to see such logs ?

Cheers Peter

If you want to check the log automatically, take a look on the LogReader binding. It allows you to define custom pattern and trigger some rule or update DateTime item.

2 Likes

A simpler approach might be to create a DateTime Item ā€žLast run of rule xyā€œ and update it to the current time when running rule xy.

1 Like

You could also add an expire= timer to an item that causes you to get a message when the rule didnā€™t run in time.

Upgraded to 4.3 the other day. Tried viewing the new UI Log viewer, but itā€™s always blank. Tried setting a few more parameters to INFO, but still nothing. Is there another setting I need to change?

Thanks

Originally installed openhabian.

image

thx for info. I will give it a try
Cheers Peter

Do you have a reverse proxy in place?
Do you access openHAB through openHAB Cloud?

I also can confirm this. All sliders of dimmer items linked to an mqtt:dimmer channel are stuck at position 0 after upgrading to 4.3.

A workaround for me was setting a state description ā€œstepā€ of 1.

2 Likes

I wrote exactly the same yesterday - temporaty solution is to use 2 browsers, anyway I see slower performance, in the previous version of OH everything worked instantly just click-view, click-item, etc. just quickly

Lots of good recommendations have been provided here. Iā€™ll only add that you can change the logging level of openhab.events.RuleStatusInfoEvent to INFO and that will add a line to events.log (and to log viewer) every time the rule runs and another when it returns to idle. This could be used with @djalā€™s suggestion to use the LogReader binding or to trigger a rule using the Generic trigger (caution, very advanced stuff).

Hi Rich, thx for your help and the hints. When reading here I found another thread where thereā€™s an ongoing discussion about the ā€œfrontail-problemā€, and where you are posting too. So I can follow there what*s the next steps.
BTW: I found out that the web-socket problem

2024-12-20 14:52:47.155 [INFO ] [b.core.io.websocket.log.LogWebSocket] - WebSocket error: java.util.concurrent.TimeoutException: Idle timeout expired: 10000/10000 ms
2024-12-20 14:58:07.198 [INFO ] [b.core.io.websocket.log.LogWebSocket] - WebSocket error: java.util.concurrent.TimeoutException: Idle timeout expired: 10000/10000 ms
2024-12-20 15:04:27.120 [INFO ] [b.core.io.websocket.log.LogWebSocket] - WebSocket error: java.util.concurrent.TimeoutException: Idle timeout expired: 10000/10000 ms

was (is) initiated by the new log-viewer, which closes/stopped the connection, so one have to push the start-button (top-right) again.

Cheer and thx, Peter

1 Like

Donā€™t have a reverse proxy setup and itā€™s not something I specifically setup in OH. Iā€™ve installed the openHAB Cloud service, but I havenā€™t configured it yet. I have my email address tied to a cloud account that Iā€™ve been using for my 2.5.x setup. I suspect I canā€™t use the same email address, so Iā€™ll have to open another email account. Iā€™d like to keep the 2.5.x setup running until I can port over what I can and recreate what I canā€™t port over. So at the moment, only accessing the UI on the local network.

Just an fyi. I am having the same issue with mqqt dimmers being stuck at 0. I have no reverse proxy setup and I am running local only. My solution was to migrate back to M5. This seems to have fixed the issue for me for now.

UPDATE: This fix was short lived. It seems to only fix the sliders when viewed from my MacOS computer using Safari, but not Chrome. When I use iOS on my iPad the sliders are stuck at 0 and the sliders show no tick marks in M5 or the GA. Dropping all the way back to M4 does seem to correct this issue on all devices (MacOS or iOS) and Chrome and Safari.

1 Like

The way how I can solve it: I compare the DOM step by step and set the CSS settings where there are differences changing the design into what I donā€™t want.
As an example: var(ā€“f7-list-item-title-font-size) was 14px in the desktop design and 17px in the iOS-design. So setting it manually for the list items make the design as it should.

1 Like

I just would like to link the discussion below about the problem with profiles with this one, as I think itā€™s an important regression. Weā€™ve got this problem with any channel.

2 Likes

Many thanks for this new version!!!

I did the upgrade and the update.log file ends with

SUCCESS: openHAB updated from 4.2.0.M3 to 4.3.0

In the GUI I see that most things are online but nothing is working. To check was is happening I open visual studio and load I get errors
image
and in the output window

Usage of deprecated config => openhab.host <= detected.
Usage of deprecated config => openhab.host <= detected.
openHAB vscode extension has been activated
[Error - 3:07:40 PM] Connection to server is erroring. Shutting down server.
[Error - 3:07:40 PM] Connection to server is erroring. Shutting down server.
Could not reload items for HoverProvider

What is wrong?

Check your log files after a restart. They will probably give some leads to the cause.

In section for breaking changes:
++++++++++

MQTT Binding (Home Assistant)

  • Thing types and channel IDs have been significantly restructured and simplified. Delete and re-create your things to opt in to the new style. In a subsequent openHAB release, existing things will also convert to the new style.
    ++++++++++

It would be great to have that release very soon to convert the affected things automatically and avoid re-creating all of them.

What is the timing of that ā€œsubsequent releaseā€?
Will that release come in a month or two?
I hope itā€™s not going to be OH5ā€¦

Thank you.

I repeated the process with the same result. See logfile below
I find this line

Failed to compile rule ā€˜ae8a316039ā€™ with status ā€˜UNINITIALIZEDā€™`

2024-12-21 16:09:17.007 [INFO ] [org.openhab.core.Activator          ] - Starting openHAB 4.3.0 (Release Build)
2024-12-21 16:09:17.607 [INFO ] [.core.internal.i18n.I18nProviderImpl] - Time zone set to 'Europe/Amsterdam'.
2024-12-21 16:09:17.620 [INFO ] [.core.internal.i18n.I18nProviderImpl] - Locale set to 'nl'.
2024-12-21 16:09:17.621 [INFO ] [.core.internal.i18n.I18nProviderImpl] - Measurement system set to 'SI'.
2024-12-21 16:09:35.346 [INFO ] [.core.model.lsp.internal.ModelServer] - Started Language Server Protocol (LSP) service on port 5007
2024-12-21 16:09:36.553 [WARN ] [.transport.servlet.ServletController] - Can't find the request for http://192.168.100.50:8080/shelly/wsevent's Observer 
2024-12-21 16:09:40.418 [INFO ] [g.discovery.internal.PersistentInbox] - Added new thing 'hue:bridge-api2:001788fffe49a466' to inbox.
2024-12-21 16:09:47.077 [INFO ] [io.openhabcloud.internal.CloudClient] - Connected to the openHAB Cloud service (UUID = 4c...b9, base URL = http://localhost:8080)
2024-12-21 16:09:47.845 [INFO ] [.influxdb.InfluxDBPersistenceService] - InfluxDB persistence service started.
2024-12-21 16:09:48.404 [INFO ] [internal.ModuleHandlerFactoryStarter] - WebPushNotificationModuleHandlerFactory started by ModuleHandlerFactoryStarter
2024-12-21 16:09:48.626 [INFO ] [hab.ui.habot.tile.internal.HABotTile] - Started HABot at /habot
2024-12-21 16:09:48.644 [INFO ] [ab.ui.habpanel.internal.HABPanelTile] - Started HABPanel at /habpanel
2024-12-21 16:09:48.818 [WARN ] [.googletts.internal.GoogleTTSService] - Missing client id configuration to access Google Cloud TTS API.
2024-12-21 16:09:48.819 [WARN ] [.googletts.internal.GoogleTTSService] - Missing client secret configuration to access Google Cloud TTS API.
2024-12-21 16:09:52.888 [ERROR] [e.automation.internal.RuleEngineImpl] - Failed to compile rule ā€˜ae8a316039' with status 'UNINITIALIZED'
2024-12-21 16:09:52.890 [INFO ] [e.automation.internal.RuleEngineImpl] - Rule engine started.
2024-12-21 16:09:57.765 [INFO ] [.transport.mqtt.MqttBrokerConnection] - Starting MQTT broker connection to '192.168.100.89' with clientid 553cd2e9-881a-4419-b28f-b26e7758be29
2024-12-21 16:10:11.613 [WARN ] [network.InMemoryMessageExchangeStore] - coap Exchange[L45] with manual token overrides existing Exchange[L44] with open request: KeyToken[192.168.100.13:5683-]
2024-12-21 16:11:06.498 [WARN ] [e.internal.SseItemStatesEventBuilder] - Attempting to send a state update of an item which doesn't exist: OneCallAPIweatherandforecast_ForecastToday_Sunrise
2024-12-21 16:11:06.500 [WARN ] [e.internal.SseItemStatesEventBuilder] - Attempting to send a state update of an item which doesn't exist: OneCallAPIweatherandforecast_ForecastToday_Sunset
2024-12-21 16:11:06.500 [WARN ] [e.internal.SseItemStatesEventBuilder] - Attempting to send a state update of an item which doesn't exist: OneCallAPIweatherandforecast_Current_Temperature
2024-12-21 16:11:06.501 [WARN ] [e.internal.SseItemStatesEventBuilder] - Attempting to send a state update of an item which doesn't exist: OneCallAPIweatherandforecast_Current_Iconid
2024-12-21 16:11:06.502 [WARN ] [e.internal.SseItemStatesEventBuilder] - Attempting to send a state update of an item which doesn't exist: OneCallAPIweatherandforecast_Current_Condition
2024-12-21 16:11:06.503 [WARN ] [e.internal.SseItemStatesEventBuilder] - Attempting to send a state update of an item which doesn't exist: OneCallAPIweatherandforecast_Current_Apparenttemperature
2024-12-21 16:11:06.504 [WARN ] [e.internal.SseItemStatesEventBuilder] - Attempting to send a state update of an item which doesn't exist: OneCallAPIweatherandforecast_ForecastToday_Humidity
2024-12-21 16:11:06.505 [WARN ] [e.internal.SseItemStatesEventBuilder] - Attempting to send a state update of an item which doesn't exist: OneCallAPIweatherandforecast_ForecastToday_Maxtemperature
2024-12-21 16:11:06.506 [WARN ] [e.internal.SseItemStatesEventBuilder] - Attempting to send a state update of an item which doesn't exist: OneCallAPIweatherandforecast_ForecastToday_Mintemperature
2024-12-21 16:11:06.507 [WARN ] [e.internal.SseItemStatesEventBuilder] - Attempting to send a state update of an item which doesn't exist: OneCallAPIweatherandforecast_ForecastToday_Windspeed
2024-12-21 16:11:06.507 [WARN ] [e.internal.SseItemStatesEventBuilder] - Attempting to send a state update of an item which doesn't exist: OneCallAPIweatherandforecast_ObservationTime
2024-12-21 16:11:06.568 [WARN ] [e.internal.SseItemStatesEventBuilder] - Attempting to send a state update of an item which doesn't exist: OneCallAPIweatherandforecast_ForecastToday_Sunrise
2024-12-21 16:11:06.569 [WARN ] [e.internal.SseItemStatesEventBuilder] - Attempting to send a state update of an item which doesn't exist: OneCallAPIweatherandforecast_ForecastToday_Sunset
2024-12-21 16:11:06.570 [WARN ] [e.internal.SseItemStatesEventBuilder] - Attempting to send a state update of an item which doesn't exist: OneCallAPIweatherandforecast_Current_Temperature
2024-12-21 16:11:06.570 [WARN ] [e.internal.SseItemStatesEventBuilder] - Attempting to send a state update of an item which doesn't exist: OneCallAPIweatherandforecast_Current_Iconid
2024-12-21 16:11:06.571 [WARN ] [e.internal.SseItemStatesEventBuilder] - Attempting to send a state update of an item which doesn't exist: OneCallAPIweatherandforecast_Current_Condition
2024-12-21 16:11:06.571 [WARN ] [e.internal.SseItemStatesEventBuilder] - Attempting to send a state update of an item which doesn't exist: OneCallAPIweatherandforecast_Current_Apparenttemperature
2024-12-21 16:11:06.572 [WARN ] [e.internal.SseItemStatesEventBuilder] - Attempting to send a state update of an item which doesn't exist: OneCallAPIweatherandforecast_ForecastToday_Humidity
2024-12-21 16:11:06.574 [WARN ] [e.internal.SseItemStatesEventBuilder] - Attempting to send a state update of an item which doesn't exist: OneCallAPIweatherandforecast_ForecastToday_Maxtemperature
2024-12-21 16:11:06.578 [WARN ] [e.internal.SseItemStatesEventBuilder] - Attempting to send a state update of an item which doesn't exist: OneCallAPIweatherandforecast_ForecastToday_Mintemperature
2024-12-21 16:11:06.579 [WARN ] [e.internal.SseItemStatesEventBuilder] - Attempting to send a state update of an item which doesn't exist: OneCallAPIweatherandforecast_ForecastToday_Windspeed
2024-12-21 16:11:06.581 [WARN ] [e.internal.SseItemStatesEventBuilder] - Attempting to send a state update of an item which doesn't exist: OneCallAPIweatherandforecast_ObservationTime
2024-12-21 16:11:06.581 [WARN ] [e.internal.SseItemStatesEventBuilder] - Attempting to send a state update of an item which doesn't exist: OneCallAPIweatherandforecast_ForecastTomorrow_Iconid
2024-12-21 16:11:06.582 [WARN ] [e.internal.SseItemStatesEventBuilder] - Attempting to send a state update of an item which doesn't exist: OneCallAPIweatherandforecast_ForecastTomorrow_Maxtemperature
2024-12-21 16:11:06.583 [WARN ] [e.internal.SseItemStatesEventBuilder] - Attempting to send a state update of an item which doesn't exist: OneCallAPIweatherandforecast_ForecastTomorrow_Mintemperature
2024-12-21 16:11:06.584 [WARN ] [e.internal.SseItemStatesEventBuilder] - Attempting to send a state update of an item which doesn't exist: OneCallAPIweatherandforecast_ForecastDay2_Iconid
2024-12-21 16:11:06.584 [WARN ] [e.internal.SseItemStatesEventBuilder] - Attempting to send a state update of an item which doesn't exist: OneCallAPIweatherandforecast_ForecastDay2_Maxtemperature
2024-12-21 16:11:06.585 [WARN ] [e.internal.SseItemStatesEventBuilder] - Attempting to send a state update of an item which doesn't exist: OneCallAPIweatherandforecast_ForecastDay2_Mintemperature
2024-12-21 16:11:06.586 [WARN ] [e.internal.SseItemStatesEventBuilder] - Attempting to send a state update of an item which doesn't exist: OneCallAPIweatherandforecast_ForecastDay3_Iconid
2024-12-21 16:11:06.586 [WARN ] [e.internal.SseItemStatesEventBuilder] - Attempting to send a state update of an item which doesn't exist: OneCallAPIweatherandforecast_ForecastDay3_Maxtemperature
2024-12-21 16:11:06.587 [WARN ] [e.internal.SseItemStatesEventBuilder] - Attempting to send a state update of an item which doesn't exist: OneCallAPIweatherandforecast_ForecastDay3_Mintemperature
2024-12-21 16:11:06.588 [WARN ] [e.internal.SseItemStatesEventBuilder] - Attempting to send a state update of an item which doesn't exist: OneCallAPIweatherandforecast_ForecastDay4_Iconid
2024-12-21 16:11:06.588 [WARN ] [e.internal.SseItemStatesEventBuilder] - Attempting to send a state update of an item which doesn't exist: OneCallAPIweatherandforecast_ForecastDay4_Maxtemperature
2024-12-21 16:11:06.589 [WARN ] [e.internal.SseItemStatesEventBuilder] - Attempting to send a state update of an item which doesn't exist: OneCallAPIweatherandforecast_ForecastDay4_Mintemperature
2024-12-21 16:11:06.590 [WARN ] [e.internal.SseItemStatesEventBuilder] - Attempting to send a state update of an item which doesn't exist: OneCallAPIweatherandforecast_ForecastDay5_Iconid
2024-12-21 16:11:06.591 [WARN ] [e.internal.SseItemStatesEventBuilder] - Attempting to send a state update of an item which doesn't exist: OneCallAPIweatherandforecast_ForecastDay5_Maxtemperature
2024-12-21 16:11:06.591 [WARN ] [e.internal.SseItemStatesEventBuilder] - Attempting to send a state update of an item which doesn't exist: OneCallAPIweatherandforecast_ForecastDay5_Mintemperature
2024-12-21 16:11:13.407 [WARN ] [network.InMemoryMessageExchangeStore] - coap Exchange[L179] with manual token overrides existing Exchange[L46] with open request: KeyToken[192.168.100.31:5683-]
2024-12-21 16:11:13.499 [INFO ] [g.discovery.internal.PersistentInbox] - Added new thing 'shelly:shellyht:701605' to inbox.
2024-12-21 16:11:18.730 [INFO ] [ab.ui.habpanel.internal.HABPanelTile] - Stopped HABPanel
2024-12-21 16:11:18.954 [WARN ] [ROOT                                ] - bundle org.openhab.ui.habot:4.3.0 (335) BundleComponentActivator is not active; not scheduling Async Deactivate: org.openhab.ui.habot.notification.internal.WebPushNotificationModuleHandlerFactory id: 2
2024-12-21 16:11:18.964 [INFO ] [hab.ui.habot.tile.internal.HABotTile] - Stopped HABot
2024-12-21 16:11:19.020 [INFO ] [basic.internal.servlet.WebAppServlet] - Stopped Basic UI
2024-12-21 16:11:19.091 [INFO ] [.influxdb.InfluxDBPersistenceService] - InfluxDB persistence service stopped.
2024-12-21 16:11:19.105 [INFO ] [io.openhabcloud.internal.CloudClient] - Shutting down openHAB Cloud service connection
2024-12-21 16:11:19.111 [WARN ] [io.openhabcloud.internal.CloudClient] - Socket.IO disconnected: io client disconnect
2024-12-21 16:11:19.111 [INFO ] [io.openhabcloud.internal.CloudClient] - Disconnected from the openHAB Cloud service (UUID = 4c...b9, base URL = http://localhost:8080)