Search found 8 matches

by Nhzz
Tuesday 04 April 2017 10:30
Forum: Other questions and discussions
Topic: domoticz, influxdb and grafana
Replies: 12
Views: 6560

Re: domoticz, influxdb and grafana

No one? :idea: :oops:
by Nhzz
Monday 06 March 2017 11:13
Forum: Other questions and discussions
Topic: domoticz, influxdb and grafana
Replies: 12
Views: 6560

Re: domoticz, influxdb and grafana

I'm also playing with Grafana, already got some graphs in it. Real neat. :-) What I am trying to do is to make the graph for cumulative usage start at zero for every time-interval I select. Currently I have the following query for a single metric: SELECT mean("value") FROM "youless" WHERE ...
by Nhzz
Monday 21 November 2016 12:09
Forum: PHP and all others
Topic: Pass2PHP
Replies: 1509
Views: 807383

Re: LUA Pass2php

Either you put the script in the database under the menu Setup -> More Options -> Events as device script. Or you put it as file in the scripts/lua folder with the name script_device_pass2php.lua Tests showed that file based scripts are executed before the ones in the database resulting in a few ...
by Nhzz
Saturday 19 November 2016 7:44
Forum: PHP and all others
Topic: Pass2PHP
Replies: 1509
Views: 807383

Re: LUA Pass2php

You make a event for each device. Not sure what you mean by this. I only have one script in domoticz under scripts/lua/script_device_pass2php.lua A script_device script is called by any device update you get. There fore, in the script you have to catch witch device triggered. That's done in the ...
by Nhzz
Saturday 19 November 2016 1:07
Forum: PHP and all others
Topic: Pass2PHP
Replies: 1509
Views: 807383

Re: LUA Pass2php

Great work! Got this kind of scripted myself, but I have Domoticz start a script on each device-input. This might be a good upgrade to my own code. :) Just to be sure I got this correct: You make a event for each device. That event fires the LUA script, that on its turn runs the PHP code through ...
by Nhzz
Saturday 23 January 2016 1:52
Forum: Suggestions
Topic: Group de-activation device
Replies: 2
Views: 1137

Group de-activation device

Currently you can create a group (scene) and within that group you can assign a button to activate the group. It would be nice if there was an option to de-activate the group as well. Just like the software buttons on the dashboard.
by Nhzz
Tuesday 22 December 2015 11:42
Forum: Suggestions
Topic: Scripts for switches some default variables
Replies: 0
Views: 533

Scripts for switches some default variables

It would be very nice if the actionscripts (http:// and script://), who get started when a switch is (de)activated, are getting a few default variables. I am currently thinking of two: switch id and new switch status. I know you can add these variables for every switch manually, but as we all know ...
by Nhzz
Monday 21 December 2015 18:01
Forum: Suggestions
Topic: New Hardware support
Replies: 12
Views: 4366

Re: New Hardware support

Hello Arki, I am new to the hole domoticz scene but I would like to have a look at the API. I have over 10 years experience of (web)developing, so I might just get some things done.

Dont have the Heatmiser(s) yet, would like to see the API first.