No Error, No Function … within the things-file!
I added / edited my things-file as follows:
Things-File:
Bridge freeathome:bridge:cyyyyyy9 [
host = "xxx.xxx.xxx.xxx",
port = "5280",
login = "openhab",
password = "OpenHab",
dummy_things_enabled = "false",
log_enabled = "true",
log_dir = "/openhab/logs/log_bj",
label = "FreeAtHome Bridge"
]
{
Thing raffstore ABBxxxxxxxx1_ch0000 [
label = "UVKGO, REG_B001_ABBxxxxxxxx1_ch0000",
DeviceID = "ABBxxxxxxxx1",
ChannelId = "ch0000",
InputIdComplete = "idp0000",
InputIdStepwise = "idp0001",
InputIdPercentage = "idp0002",
OutputIdPercentage = "odp0001"
]
Thing raffstore ABBxxxxxxxx1_ch0001 [
label = "UVKGO, REG_B001_ABBxxxxxxxx1_ch0001",
DeviceID = "ABBxxxxxxxx1",
ChannelId = "ch0001",
InputIdComplete = "idp0000",
InputIdStepwise = "idp0001",
InputIdPercentage = "idp0002",
OutputIdPercentage = "odp0001"
]
Thing raffstore ABBxxxxxxxx1_ch0002 [
label = "UVKGO, REG_B001_ABBxxxxxxxx1_ch0002",
DeviceID = "ABBxxxxxxxx1",
ChannelId = "ch0002",
InputIdComplete = "idp0000",
InputIdStepwise = "idp0001",
InputIdPercentage = "idp0002",
OutputIdPercentage = "odp0001"
]
Thing raffstore ABBxxxxxxxx1_ch0003 [
label = "UVKGO, REG_B001_ABBxxxxxxxx1_ch0003",
DeviceID = "ABBxxxxxxxx1",
ChannelId = "ch0003",
InputIdComplete = "idp0000",
InputIdStepwise = "idp0001",
InputIdPercentage = "idp0002",
OutputIdPercentage = "odp0001"
]
}
Items v1
Rollershutter CH00000_preset "..." <...> (...)
{channel="freeathome:raffstore:cyyyyyy9:ABBxxxxxxxx1_ch0000:percentage", autoupdate="false"}
Dimmer CH00000_custom "..." <...> (...)
{channel="freeathome:raffstore:cyyyyyy9:ABBxxxxxxxx1_ch0000:percentage", autoupdate="false"}
Items v2
Rollershutter CH00000_preset "..." <...> (...)
{channel="freeathome:raffstore:ABBxxxxxxxx1_ch0000:percentage", autoupdate="false"}
Dimmer CH00000_custom "..." <...> (...)
{channel="freeathome:raffstore:ABBxxxxxxxx1_ch0000:percentage", autoupdate="false"}
When I go to PaperUI -> Configuration -> Things then I see the Bridge, the Raffstore Switches and the linked items correctly.
I also tried different channels in item config, both of them did not produce an error in log but only “Item v1” worked with PaperUi as described above.
LOG-File after saving .things-File
[INFO ] [del.core.internal.ModelRepositoryImpl] - Refreshing model 'freeathome.things'
[INFO ] [ome.event.ThingStatusInfoChangedEvent] - 'freeathome:bridge:cyyyyyy9' changed from UNINITIALIZED to INITIALIZING
[INFO ] [thome.handler.FreeAtHomeBridgeHandler] - SysAP Info:2.4.0
[INFO ] [thome.handler.FreeAtHomeBridgeHandler] - Login: openhab with the current jid: kk@busch-jaeger.de
[INFO ] [thome.handler.FreeAtHomeBridgeHandler] - Matching jid for login(openhab) kk@busch-jaeger.de
[INFO ] [ome.event.ThingStatusInfoChangedEvent] - 'freeathome:bridge:cyyyyyy9' changed from INITIALIZING to ONLINE
[INFO ] [ome.event.ThingStatusInfoChangedEvent] - 'freeathome:raffstore:cyyyyyy9:ABBxxxxxxxx1_ch0000' changed from UNINITIALIZED to INITIALIZING
[INFO ] [ome.event.ThingStatusInfoChangedEvent] - 'freeathome:raffstore:cyyyyyy9:ABBxxxxxxxx1_ch0000' changed from INITIALIZING to ONLINE
[INFO ] [ome.event.ThingStatusInfoChangedEvent] - 'freeathome:raffstore:cyyyyyy9:ABBxxxxxxxx1_ch0001' changed from UNINITIALIZED to INITIALIZING
[INFO ] [ome.event.ThingStatusInfoChangedEvent] - 'freeathome:raffstore:cyyyyyy9:ABBxxxxxxxx1_ch0001' changed from INITIALIZING to ONLINE
[INFO ] [ome.event.ThingStatusInfoChangedEvent] - 'freeathome:raffstore:cyyyyyy9:ABBxxxxxxxx1_ch0002' changed from UNINITIALIZED to INITIALIZING
[INFO ] [ome.event.ThingStatusInfoChangedEvent] - 'freeathome:raffstore:cyyyyyy9:ABBxxxxxxxx1_ch0002' changed from INITIALIZING to ONLINE
[INFO ] [ome.event.ThingStatusInfoChangedEvent] - 'freeathome:raffstore:cyyyyyy9:ABBxxxxxxxx1_ch0003' changed from UNINITIALIZED to INITIALIZING
[INFO ] [ome.event.ThingStatusInfoChangedEvent] - 'freeathome:raffstore:cyyyyyy9:ABBxxxxxxxx1_ch0003' changed from INITIALIZING to ONLINE
For checking if the bridge is working or not I cleared the things-File and used PaperUI to add a thing/channel and this worked without changing anything on the items/sitemap - i do not added the bridge itself only the needed test-channel (ch0002).
Interestingly, both spellings of the item variants above work with these different channel configurations.
– Additional –
Is this possible? (It does not work and throws no error!)
{channel=“freeathome:bridge:cd4aaac9:status”}
How can PaperUI display the bridge ONLINE - I want this in my Sitemap, too