Programmaticaly activate a user module

Discussions about Z-Way software and Z-Wave technology in general
Post Reply
melchoir55
Posts: 14
Joined: 13 Nov 2013 07:27

Programmaticaly activate a user module

Post 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.
jensmoes
Posts: 57
Joined: 10 Jan 2015 21:48
Location: San Diego
Contact:

Re: Programmaticaly activate a user module

Post 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 :(
pz1
Posts: 2053
Joined: 08 Apr 2012 13:44

Re: Programmaticaly activate a user module

Post 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?
jensmoes
Posts: 57
Joined: 10 Jan 2015 21:48
Location: San Diego
Contact:

Re: Programmaticaly activate a user module

Post by jensmoes »

Yes I restarted the server but not RPi
pz1
Posts: 2053
Joined: 08 Apr 2012 13:44

Re: Programmaticaly activate a user module

Post 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.
Post Reply