The openHAB rule system is not very helpful by pointing out when it’s missing something, or when there is an error to actually point to the problem.
Was debugging an error message for a while and couldn’t figure out what is wrong:
|
|
The line number specified was somewhere else in the file, and had nothing to do with the rule in question. After removing almost everything from the rule, except a logInfo()
message, the error still happened - and then it occured to me: I forgot to specify Item
.
My faulty code was:
|
|
where it should have been:
|
|
Error message totally not helpful …
Categories:
[Openhab]