HI Ich hab das WOL Networkbinding
https://next.openhab.org/addons/bindings/network/
Und hatte eine Rule um mein NAS aufzuwecken:
Code
rule "NAS WOL"
when
Item NAS received command ON
then
val actions = getActions("network", "network:pingdevice:NAS")
if (actions === null) {
logInfo("actions", "Actions not found, check thing ID")
return
} else {
// Send via MAC address
actions.sendWakeOnLanPacketViaMac()
actions.sendWakeOnLanPacket() // deprecated
// Send via IP address
actions.sendWakeOnLanPacketViaIp()
}
end
Alles anzeigen
Seit OH 3 bekomm ich aber immer den Fehler:
Code
==> /logs/openhab.[definition='1','0']log[/definition] <==
2022-02-16 14:54:38.360 [ERROR] [internal.handler.ScriptActionHandler] - Script execution of rule with UID 'nas_status-1' failed: 'sendWakeOnLanPacketViaMac' is not a member of 'org.openhab.core.thing.binding.ThingActions'; line 11, column 5, length 35 in nas_status
Weis jemand warum ? Gibt es andere Möglichkeiten?
Grüße