Hello everyone,
I have a problem with my openhab installation. It’s an old installation (2.0 if not 1.x) that I upgraded many time. In the past, it was on a dedicated hardware that I later mover onto the official docker.
The OS under is Unraid, which is an hypervisor like Proxmox and such based on slackware.
The problem I have is after a while that my docker run, I start having issue. It could be that bindings stop triggering from external update (like a tapo light switch that turn on, it’s still off in openhab while if I use openhab to trigger it, it will trigger properly the switch), notification not working, etc. Once I restart the openhab docker, it all work again properly.
For exemple, right now, notification stopped working. Looking at the log, I’m getting these kind of error.
2026-02-17 08:47:06.251 [ERROR] [.handler.AbstractScriptModuleHandler] - Script execution of rule with UID ‘nodered-1’ failed: The name ‘sendBroadcastNotification’ cannot be resolved to an item or type; line 8, column 3, length 89 in nodered
Once I restart, it start working again.
This is a simple rule that I use all the time used by nodered to send broadcast notification, nothing crazy.
rule "Send Broadcast"
when
Item vBroadcast received update
then
if (sBroadcastIcon.state.toString == ""){
sendBroadcastNotification(vBroadcast.state.toString,"","info")
}else{
sendBroadcastNotification(vBroadcast.state.toString,sBroadcastIcon.state.toString,"info")
}
end
I had the same problem with the simple notification rule
2026-02-17 08:50:39.115 [ERROR] [.handler.AbstractScriptModuleHandler] - Script execution of rule with UID ‘nodered-3’ failed: The name ‘sendNotification’ cannot be resolved to an item or type; line 30, column 3, length 98 in nodered
rule "Send Notification to "
when
Item vNotifyMe received update
then
if (sNotifyIcon.state.toString == ""){
sendNotification("####@####", vNotifyMe.state.toString,"","info")
}else{
sendNotification("####@####", vNotifyMe.state.toString,sNotifyIcon.state.toString,"info")
}
end
Out of nowhere, this stopped working. Just restarted the openhab docker and boom, it work.
How can I find what is causing this?
