Unfortunately, it seems something has changed.
21:30:01.317 [ERROR] [.script.engine.ScriptExecutionThread] - Error during the execution of rule ‘RS_1’: The name ‘receivedCommand’ cannot be resolved to an item or type.
There should be another way. Let’s hope someone clarifies this for us.
Regarding:
One other thing to be aware of is that even though you can often send a commands like UP, DOWN, etc. to an Item that stores its state as a number, the value of receivedCommand will be the new number value, not the UP/DOWN state.
Is there any way to send the command name instead of the number value of it?
Thanks, regards.