Page 1 of 1
Programmaticaly activate a user module
Posted: 18 May 2015 23:05
by melchoir55
We have a user module we want to automatically be active when a user brings the zway server online. I.E, we don't want the user to have to go manually activate the module. This already happens with the built in cron module. Does anyone know how to customize which modules get this behavior?
Edit:
I forgot to mention I did try "autoload": true in module.json of the module, but this had no effect.
Re: Programmaticaly activate a user module
Posted: 19 May 2015 06:46
by jensmoes
I have also been trying to use autoload = true and it does not work for me either on 2.0.1rc21
I think it is broken

Re: Programmaticaly activate a user module
Posted: 19 May 2015 12:45
by pz1
jensmoes wrote:I have also been trying to use autoload = true and it does not work for me either on 2.0.1rc21
I think it is broken

Did you restart after changing autoload setting?
Re: Programmaticaly activate a user module
Posted: 19 May 2015 17:25
by jensmoes
Yes I restarted the server but not RPi
Re: Programmaticaly activate a user module
Posted: 19 May 2015 20:49
by pz1
IIRC in the past I had to restart Pi, but more recently I did not have to do that with my own userModules.