Search found 49 matches

by Provo
16 Oct 2017 11:34
Forum: Discussions in English
Topic: Reloading usermodules
Replies: 1
Views: 42

Re: Reloading usermodules

Never mind, I found that according to the documentation on apiary , the API supports the following API call: /v1/modules/reinitialize/{module-id} - stops all instances of module, reloads JS and meta data and starts instances again - useful for module development. I've yet to try, but I'm sure it wor...
by Provo
16 Oct 2017 07:18
Forum: Discussions in English
Topic: Reloading usermodules
Replies: 1
Views: 42

Reloading usermodules

When working on a usermodule, it's frequently necessary to reload the module. Is there a better and easier way of doing that than restarting the whole z-way-server service?
by Provo
13 Oct 2017 07:18
Forum: Todo for the software
Topic: Widgets and Tasker support in Android app
Replies: 6
Views: 192

Re: Widgets and Tasker support in Android app

PoltoS wrote:
09 Oct 2017 01:29
You can use a scene to dim lights to some specific levels. And then activate the scene
That's true, but what about getting values?
by Provo
08 Oct 2017 15:37
Forum: Discussions in English
Topic: Programatically generate elements for field in module.json?
Replies: 4
Views: 93

Re: Programatically generate elements for field in module.json?

According to the Alpaca documentation, the postRender function is called when the form has rendered in the client. So I searched the home-automation repo and found a couple of instances where it has been used. Except instead of feeding the function definition directly in the module.json, like the Al...
by Provo
06 Oct 2017 06:57
Forum: RaZberry
Topic: Full interviewed sensative strip disappeared
Replies: 4
Views: 187

Re: Full interviewed sensative strip disappeared

Have you tried to exclude the device and reinclude it?
by Provo
05 Oct 2017 15:15
Forum: RaZberry
Topic: Remote access problem
Replies: 2
Views: 114

Re: Remote access problem

It turns out that if I click the browser's Stop button at just the right time – after the home login screen has started loading, but before it's done, which is a very small time window – I'm able to log in. This usually takes a few tries before it succeeds, as the home login screen barely flashes be...
by Provo
05 Oct 2017 12:48
Forum: Discussions in English
Topic: Programatically generate elements for field in module.json?
Replies: 4
Views: 93

Re: Programatically generate elements for field in module.json?

Ok. I tried to do this the other way around, by creating a postrender script that will hopefully be able to populate the select field when the form has rendered, but I'm having trouble getting the postrender script to execute. For now, I'm keeping it as simple as possible, and have basically copied ...
by Provo
04 Oct 2017 09:30
Forum: Discussions in English
Topic: Programatically generate elements for field in module.json?
Replies: 4
Views: 93

Programatically generate elements for field in module.json?

I'm working on a user module which needs to programatically generate a list of elements in a select field in the module's config. According to the Alpaca js documentation, this is perfectly possible, but when I try, the z-wave-server fails to load the module with the following error message: [core] ...
by Provo
03 Oct 2017 10:22
Forum: Todo for the software
Topic: Widgets and Tasker support in Android app
Replies: 6
Views: 192

Re: Widgets and Tasker support in Android app

I got your approach working for turning things on and off, but how do I set for instance the level of a multilevel switch? And how do I read a device value?
by Provo
30 Sep 2017 00:08
Forum: Todo for the software
Topic: Widgets and Tasker support in Android app
Replies: 6
Views: 192

Re: Widgets and Tasker support in Android app

Nice, are both widget support and Tasker support planned? I actually have something halfway similar to what you're describing, only it's through Tasker (because I'm also automating the api calls) and I'm using the ZAutomation api, which in my current setup only works locally. Changing to your approa...