Rules Requirements
- Place Ruby rules files in
ruby/personal/
subdirectory for OpenHAB scripted automation. See OpenHAB documentation for parent directory location. - Put
require 'openhab'
at the top of any Ruby based rules file.
ruby/personal/
subdirectory for OpenHAB scripted automation. See OpenHAB documentation for parent directory location.require 'openhab'
at the top of any Ruby based rules file.