OK, I got it working. I had the bridge from some old version of binding and it was (as in my dump above): plclogo:device:plc01_my_domain_net. I removed this, re-added and it got some random ID: plclogo:device:fb062d28. Now the rtc channel shows fine and everything (regarding RTC) seems to work correctly.
One weird thing still happening in my setup is that the old plclogo:device:plc01_my_domain_net keeps popping up in the inbox. Can this be related to the fact that I have DNS entry for the IP of my LOGO?
Your problem with item linking don’t leave me in peace… It’s really strange with PaperUI.
I’ve create now thing via PaperUI and read it out via rest API. Channel is here. Seems to be configured properly, but I’m not able to connect a link to. It’s really strange. Have really no idea, what’s going wrong here
I’ve one smal request: Can you, please, write down feature requests and bugs within my github/issues. There are a lot of discussion stuff here. And i am loosing last time what was done and what not.
2017-05-18 10:51:19.606 [INFO ] [el.core.internal.ModelRepositoryImpl] - Loading model 'Logo.things'
2017-05-18 10:51:19.756 [INFO ] [el.core.internal.ModelRepositoryImpl] - Refreshing model 'Logo.things'
2017-05-18 10:51:19.785 [INFO ] [ing.plclogo.handler.PLCBridgeHandler] - Destroy RTC job for 192.168.0.160.
events.log:
2017-05-18 10:51:19.718 [ThingAddedEvent ] - Thing 'plclogo:device:Logo1' has been added.
2017-05-18 10:51:19.732 [hingStatusInfoChangedEvent] - 'plclogo:device:Logo1' changed from UNINITIALIZED to INITIALIZING
2017-05-18 10:51:19.739 [ThingAddedEvent ] - Thing 'plclogo:analog:Hladina_NA' has been added.
2017-05-18 10:51:19.744 [hingStatusInfoChangedEvent] - 'plclogo:device:Logo1' changed from INITIALIZING to OFFLINE (CONFIGURATION_ERROR): Can not initialize LOGO!. Please, check parameter.
2017-05-18 10:51:19.756 [hingStatusInfoChangedEvent] - 'plclogo:analog:Hladina_NA' changed from UNINITIALIZED to INITIALIZING
2017-05-18 10:51:19.759 [ThingUpdatedEvent ] - Thing 'plclogo:analog:Hladina_NA' has been updated.
2017-05-18 10:51:19.763 [hingStatusInfoChangedEvent] - 'plclogo:analog:Hladina_NA' changed from INITIALIZING to ONLINE
2017-05-18 10:51:19.792 [ThingUpdatedEvent ] - Thing 'plclogo:device:Logo1' has been updated.
2017-05-18 10:51:19.797 [ThingUpdatedEvent ] - Thing 'plclogo:analog:Hladina_NA' has been updated.
2017-05-18 10:51:19.809 [ThingUpdatedEvent ] - Thing 'plclogo:analog:Hladina_NA' has been updated.
Bridge offlline errors comes normally from wrong localTSAP/remoteTSAP settings. Please take a look what is configured in LogoSoft Comfort. And try to run thing discovery. If your Logo is available via network, it should be shown in PaperUI. You can leave it discovered without configuration.
Please use
Thing analog Hladina_NA [ block="AM1" ]
instead of
Thing plclogo:analog:Hladina_NA [ block="AM1" ]
It was an copy/paste error in documentation before.
Ok. The problem is, that your Logo can not be connected. Analog output will not work without valid Logo connection. Means the bridge must be online. Can you connect LOGO! with LOGO!Soft comfort?
Hi @falkena,
Logo works good and I can connect. I had working config via discovery, but i need more (grouping, rename things and items) and i trying to config Logo manualy.
Kind Regards
Petr
Hi @falkena,
i understand. I cleared every items and things via PaperUI and started to use config files. Can i check if i deleted it all?
I used Karaf for clear.
Kind Regards
Petr
Hi @falkena,
i cleared all. Sitemaps, Items and things. Files and via Karaf too. Next i reboot whole RPI. First i did copy Logo.things.
Bridge plclogo:device:Logo1 [ address="192.168.0.160", family="0BA8", localTSAP="0x0300", remoteTSAP="0x0200", refresh=200 ]
{
Thing analog Hladina_NA [ block="AM1" ]
Thing analog Hladina_KS [ block="AM2" ]
Thing analog Hladina_VS [ block="AM3" ]
}
And still it doesn`t works good.
2017-05-19 08:41:22.217 [INFO ] [el.core.internal.ModelRepositoryImpl] - Refreshing model 'Logo.things'
2017-05-19 08:41:22.228 [WARN ] [el.core.internal.ModelRepositoryImpl] - Configuration model 'Logo.things' is either empty or cannot be parsed correctly!
2017-05-19 08:41:22.257 [ERROR] [.core.internal.folder.FolderObserver] - Error handling update of file '/etc/openhab2/things/Logo.things': null.
java.lang.NullPointerException
at org.eclipse.smarthome.model.thing.internal.GenericThingProvider.getAllThingUIDs(GenericThingProvider.java:929)[133:org.eclipse.smarthome.model.thing:0.9.0.b4]
at org.eclipse.smarthome.model.thing.internal.GenericThingProvider.modelChanged(GenericThingProvider.java:884)[133:org.eclipse.smarthome.model.thing:0.9.0.b4]
at org.eclipse.smarthome.model.core.internal.ModelRepositoryImpl.notifyListeners(ModelRepositoryImpl.java:207)[122:org.eclipse.smarthome.model.core:0.9.0.b4]
at org.eclipse.smarthome.model.core.internal.ModelRepositoryImpl.addOrRefreshModel(ModelRepositoryImpl.java:120)[122:org.eclipse.smarthome.model.core:0.9.0.b4]
at org.eclipse.smarthome.model.core.internal.folder.FolderObserver.checkFile(FolderObserver.java:272)[122:org.eclipse.smarthome.model.core:0.9.0.b4]
at org.eclipse.smarthome.model.core.internal.folder.FolderObserver.access$1(FolderObserver.java:265)[122:org.eclipse.smarthome.model.core:0.9.0.b4]
at org.eclipse.smarthome.model.core.internal.folder.FolderObserver$WatchQueueReader.processWatchEvent(FolderObserver.java:146)[122:org.eclipse.smarthome.model.core:0.9.0.b4]
at org.eclipse.smarthome.core.service.AbstractWatchQueueReader.run(AbstractWatchQueueReader.java:122)[98:org.eclipse.smarthome.core:0.9.0.b4]
at java.lang.Thread.run(Thread.java:745)[:1.8.0_121]
2017-05-19 08:41:22.283 [INFO ] [el.core.internal.ModelRepositoryImpl] - Loading model 'Logo.things'
2017-05-19 08:41:22.357 [INFO ] [ing.plclogo.handler.PLCBridgeHandler] - Destroy RTC job for 192.168.0.160.