Page 1 of 1

Beginner not able to start nor Lua or Blockly demo script

Posted: Tuesday 13 September 2016 17:40
by mscory
Hello,

I'm just starting to use Domoticz so my problem is probably trivial:

My config: RaspBerry PI3 with one PIFace 2, its variable are defined in the config file and properly appears as devices
Scripts enabled

I would like to print something into the log file when I change the value of one of the variable but it seems that scripts doesn't start. I tried with:
- LUA event script in Domoticz interface
- blockly script
- example LUA script in the Lua scripts directory (double check the name)

I changed the value from Domoticz devices page and using the switch on the PiFace switches.

Nothing works and I'm short of ideas.

Could you, please, help me ?

Thanks
Kind regards

Re: Beginner not able to start nor Lua or Blockly demo script

Posted: Tuesday 13 September 2016 20:20
by mscory
I've just understood:

my devices were just located within "setup" --> "devices". I had to define them as "switches" by pushing the small edit icon on the "setup/devices" screen.