a few days ago I updated my openHABian from version 2.1 to 2.5.9. Happily I discovered that the LCN binding hast been updated and be enhanced with a lot of further features.
In my system, I have some HUE lights and an LCN bus system. With some rules I “connect” the HUE lamps with LCN actions. For this a had to convert some “things” and “items” and “rules” … but this part will work now again.
But there ist still one problem within one rule. One HUE presence detector should switch an LCN output. With the LCN Binding 1.x I use the follwoing command, while LCN_HWR_Kellerflurlicht_SW was defined as a switch:
LCN_HWR_Kellerflurlicht_SW.sendCommand(ON)
But with the actual LCN Binding 2.x this won’t work. The log tells me
2020-10-31 14:43:00.067 [ome.event.ItemCommandEvent] - Item ‘LCN_HWR_Kellerflurlicht_SW’ received command ON
2020-10-31 14:43:00.072 [nt.ItemStatePredictedEvent] - LCN_HWR_Kellerflurlicht_SW predicted to become NULL
The description of the LCN Binding didn’t face this part of configuration, so iI hope, that someone can help me to fix my problem.
The NULL prediction means the binding knows it isn’t going to work too, and has vetoed autoupdate.
I suppose you need to find out if that channel actually supports ON/OFF commands, and if so, where yours is misconfigured.
When it is fixed, you won’t need a separate Switch type Item linked to same channel.
Do you have a suggestion hove to configure the LCN output in a correct way? May be I’m to supid to find this information inside the LCN biding documentation, but I can’t there no discription or example.
Have you tried using it just as an ordinary channel, without the weird profile?
The LCN profile has some special multi-channel application that I don’t understand, but perhaps you do as you selected it.
I don’t see any particular error. Are you sure the Channel UID is correct? If you discovered the Thing, the module ID has three digits: lcn:module:xxxxxxxx:S000M010:output#1. Yours has two.