Search found 6 matches

by ugge
Thursday 15 July 2021 20:05
Forum: dzVents
Topic: How to reference devices table from within execute function [Solved]
Replies: 2
Views: 638

How to reference devices table from within execute function [Solved]

I want to calculate the average barometer pressure whenever any of my barometers change. The script triggers via the devices table inside on. How can I reference the list/table of devices in the on section? This is my code so far, but it tells me bad argument #1 to 'pairs' (table expected, got nil ...
by ugge
Sunday 03 January 2021 11:01
Forum: dzVents
Topic: dzVents uses http instead of https and wrong port [Solved]
Replies: 3
Views: 947

Re: dzVent uses http instead of https and wrong port [Solved]

Thanks

Works like a charm.
by ugge
Saturday 02 January 2021 19:34
Forum: dzVents
Topic: dzVents uses http instead of https and wrong port [Solved]
Replies: 3
Views: 947

dzVents uses http instead of https and wrong port [Solved]

Hi I ran into problem when trying to get setColor to work with my Philips Hue (idx = 767). Everything works from GUI but when trying to set color temperature using dzVent I get an error in the log. This is the script return { on = { devices = { 'Testswitch' } }, execute = function(domoticz, device ...
by ugge
Tuesday 16 July 2019 12:21
Forum: Other questions and discussions
Topic: Chosen color doesn't match light color (calibration? cheap LEDs?)
Replies: 1
Views: 652

Re: Chosen color doesn't match light color (calibration? cheap LEDs?)

I have noticed this as well and have been thinking of possible causes. A few days ago I was reading through the configuration for the RGBW controller as well as the code in open z-wave and found that this particular controller suffers from a kind of bug for which there is some kind of workaround ...
by ugge
Friday 20 July 2018 22:09
Forum: Blockly
Topic: Doorbell ---> Hallway
Replies: 4
Views: 1039

Re: Doorbell ---> Hallway

I had a similar problem with my doorbell. My push button sends "group on" state every time the button is pressed so I had to change the if expression to check for "group on" state instead of on. This lead to my next problem as my bell only reacted to the "group on" transmission the button never ...