Changing log4j2.xml
also works on the OSX release
I have upgraded the docker from M5 to RC1: no problem with log levels.
Instead, I report the following exception:
[org.openhab.binding.miio ] - bundle org.openhab.binding.miio:3.0.0.RC1 (235)[org.openhab.binding.miio.internal.discovery.MiIoDiscovery(285)] : The activate method has thrown an exception java.lang.NullPointerException: null
Hello since RC1 I get this error
2020-12-15 17:28:20.050 [WARN ] [.core.io.rest.internal.DTOMapperImpl] - Field 'firmwareStatus' could not be eliminated: Can not set final org.openhab.core.thing.firmware.dto.FirmwareStatusDTO field org.openhab.core.io.rest.core.thing.EnrichedThingDTO.firmwareStatus to null value
I found also a bug that not all *thing files are loaded at the beginning even if there is an entry in the log that it was loaded
Hi all
Trying to use MODBUS serial binding on OH3 on a Debian 10.7 PC.
I get the Things: Modbus Serial Slave and Regular Poll working āonlineā
My question is how to link to an Item . I canāt find any channels ??
a bit confused
Thank you
Stephen
Me too.
Iām using Modbus/TCP and discovered that I cannot add Things !?
Those I had migrated keep working, but now I cannot add any Things any more.
ā+ā in Things UI does not offer me to choose the Modbus binding.
Iād say thatās a rather critical issue. I donāt know, however, if itās in the GUI or the binding so which repo to open a bug against.
With the Update from M5 to RC1 no problems.
But HomeKit isnāt running properly. In Apples Home-App I can see the Openhab Bridge as accessories. (One Item - Not in The Bridge Overview) Someone have the same fault?
I tried already to re-add Openhab with Apples HomeKit.
Ok sorry.
Found out on my own how to do it
I needed the 3Ā° pass with āModbus Dataā
I tried both upgrading from M5 to RC1 using the runtime/bin/update script and a fresh install. In both cases events.log
didnāt have anything logged to it on first start. Hereās how I resolved both:
- upgrade: edited
userdata/etc/log4j2.xml
and changing all occurrences ofsmarthome.event
toopenhab.event
, stopped and started openHAB. - fresh install: stopped and started openHAB.
Log issue is identified and will be fixed soon, see https://github.com/openhab/openhab-distro/pull/1206#issuecomment-745427684.
Wrt very first startup see discussion at https://github.com/openhab/openhab-core/issues/1937. For me it never worked in the past and I always did two starts after an upgrade. But Iāll look into it nonetheless, but cannot promise anything. But workaround is easy - just do another restart and all is fine.
I canāt find info on this topic in previous MS threads but Iāve been unable to add a rule through the GUI.
98% of my config is files based and all of my rules are in .rules files so there might be an incompatibility between file and UI based rule creation.
Iām getting Bad Request when trying to save the rule and see following in the log:
[WARN ] [utomation.rest.internal.RuleResource] - Creation of the rule is refused: null
not much else is logged due to the bug mentioned above but this part is
It looks like the System started rules are running twice at startup. Once after reaching start level 40, and again after reaching start level 100. I have a very simple rule that simply logs that its running. If this has been reported somewhere already, I apologize.
2020-12-15 18:57:19.687 [INFO ] [.core.internal.i18n.I18nProviderImpl] - Time zone set to 'US/Eastern'.
2020-12-15 18:57:19.745 [INFO ] [.core.internal.i18n.I18nProviderImpl] - Location set to 'XXXXX,YYYYY'.
2020-12-15 18:57:19.749 [INFO ] [.core.internal.i18n.I18nProviderImpl] - Locale set to 'en_US'.
2020-12-15 18:57:20.061 [DEBUG] [enhab.core.service.StartLevelService] - Reached start level 10
2020-12-15 18:57:28.385 [INFO ] [el.core.internal.ModelRepositoryImpl] - Loading model 'zoneminder.items'
2020-12-15 18:57:29.234 [INFO ] [el.core.internal.ModelRepositoryImpl] - Loading model 'ambientweather.items'
2020-12-15 18:57:29.573 [INFO ] [el.core.internal.ModelRepositoryImpl] - Loading model 'globalcache.items'
2020-12-15 18:57:29.587 [INFO ] [el.core.internal.ModelRepositoryImpl] - Loading model 'zwave.items'
2020-12-15 18:57:29.628 [INFO ] [el.core.internal.ModelRepositoryImpl] - Loading model 'main.items'
2020-12-15 18:57:29.782 [INFO ] [el.core.internal.ModelRepositoryImpl] - Loading model 'squeezebox.items'
2020-12-15 18:57:29.846 [INFO ] [el.core.internal.ModelRepositoryImpl] - Loading model 'ecobee-upstairs.items'
2020-12-15 18:57:30.985 [INFO ] [el.core.internal.ModelRepositoryImpl] - Loading model 'ecobee-main.items'
2020-12-15 18:57:31.950 [INFO ] [el.core.internal.ModelRepositoryImpl] - Loading model 'bhyve.items'
2020-12-15 18:57:31.998 [INFO ] [el.core.internal.ModelRepositoryImpl] - Loading model 'doorbird.items'
2020-12-15 18:57:32.048 [INFO ] [el.core.internal.ModelRepositoryImpl] - Loading model 'weathercompany.items'
2020-12-15 18:57:32.143 [INFO ] [el.core.internal.ModelRepositoryImpl] - Loading model 'bigassfan.items'
2020-12-15 18:57:32.191 [INFO ] [el.core.internal.ModelRepositoryImpl] - Loading model 'sunsetwx.items'
2020-12-15 18:57:32.473 [INFO ] [el.core.internal.ModelRepositoryImpl] - Loading model 'jdbc.persist'
2020-12-15 18:57:32.579 [INFO ] [el.core.internal.ModelRepositoryImpl] - Loading model 'mapdb.persist'
2020-12-15 18:57:32.920 [INFO ] [el.core.internal.ModelRepositoryImpl] - Loading model 'default.sitemap'
2020-12-15 18:57:33.076 [INFO ] [el.core.internal.ModelRepositoryImpl] - Loading model 'loadgen.sitemap'
2020-12-15 18:57:33.716 [INFO ] [el.core.internal.ModelRepositoryImpl] - Loading model 'all-things.things'
2020-12-15 18:57:36.544 [INFO ] [el.core.internal.ModelRepositoryImpl] - Loading model 'test.rules'
2020-12-15 18:57:38.298 [INFO ] [.core.model.lsp.internal.ModelServer] - Started Language Server Protocol (LSP) service on port 5007
2020-12-15 18:57:45.057 [DEBUG] [enhab.core.service.StartLevelService] - Reached start level 20
2020-12-15 18:57:45.304 [INFO ] [org.openhab.ui.internal.UIService ] - Started UI on port 8080
2020-12-15 18:57:46.775 [INFO ] [g.discovery.internal.PersistentInbox] - Added new thing 'astro:sun:local' to inbox.
2020-12-15 18:57:46.786 [INFO ] [g.discovery.internal.PersistentInbox] - Added new thing 'astro:moon:local' to inbox.
2020-12-15 18:57:48.337 [INFO ] [persistence.jdbc.internal.JdbcMapper] - JDBC::openConnection: Driver is available::Yank setupDataSource
2020-12-15 18:57:48.449 [WARN ] [.zaxxer.hikari.util.DriverDataSource] - Registered driver with driverClassName=com.mysql.jdbc.Driver was not found, trying direct instantiation.
2020-12-15 18:57:50.065 [DEBUG] [enhab.core.service.StartLevelService] - Reached start level 30
2020-12-15 18:57:50.069 [DEBUG] [enhab.core.service.StartLevelService] - Reached start level 40
2020-12-15 18:57:50.286 [INFO ] [openhab.core.model.script.test.rules] - Test "System started" rule is running
2020-12-15 18:57:50.289 [INFO ] [e.automation.internal.RuleEngineImpl] - Rule engine started.
2020-12-15 18:57:55.065 [DEBUG] [enhab.core.service.StartLevelService] - Reached start level 50
2020-12-15 18:57:55.068 [DEBUG] [enhab.core.service.StartLevelService] - Reached start level 70
2020-12-15 18:57:55.069 [DEBUG] [enhab.core.service.StartLevelService] - Reached start level 100
2020-12-15 18:57:55.839 [INFO ] [openhab.core.model.script.test.rules] - Test "System started" rule is running
2020-12-15 18:57:57.720 [INFO ] [ab.ui.habpanel.internal.HABPanelTile] - Started HABPanel at /habpanel
Iām running build 2077.
I get this as well with my rules that use āwolā from the network binding. If I go in and save the rule after booting it works fine.
not sure if this is the right place, but will give it a shot
3.0.0.RC1
in Model UI Item is shown only in ONE location, even if it is part of couple. Same applies to other Location-Groups.
Itās not very handy, should be displayed in every group where Item is member of.
But Iām not sure if it is feature or bug tho.
I have the same problem, I have one item in multiple groups (to be able to show status of group with aggregated value). But it only shows in one group now which means the Locations Tab is not showing all my items