Closed lauhub closed 7 years ago
Writing a rule is a possible workaround to this problem.
Here is an example as I wrote it for one of the items:
rule "Initialize Philips Hue"
when
System started
then
logInfo( "Initializer", "Started Timer ...")
createTimer(now.plusSeconds(45)) [|
logInfo( "Initializer", "Initializing...")
sendCommand("Hue_Spot1","0,0,0")
logInfo( "Initializer", "")
]
end
With this item definition:
Color Hue_Spot1 "Hue 1" [ "Lighting" ]
Have the same problem and also make use of the workaround defined. Issue #2002 described the problem and has been closed as duplicate.
@lauhub can you check whether the mentioned PR resolved your problem, it is already merged so the last snapshot should work fine for you. Please reopen if that is not the case.
The problem
I installed OpenHab 2.0.0 (Release Build) on a Debian Jessie installation.
I try to pair from an iOS device using Homekit and get a NullPointerException error:
The same configuration was working with openhab2 Beta4. I test with Beta5 and I got the same error.
Re-installing the beta4 after beta5 solved the problem.
What it should do
The problem here is that we should have a comprehensive message instead of that NullPointerException: user should know what happened, why and possibly how to correct it (with a lead to documentation for instance)