Search found 6 matches

by Inso
Friday 29 December 2017 1:15
Forum: MySensors
Topic: How to send text to sensor
Replies: 8
Views: 2722

Re: How to send text to sensor

Maybe I´m totally wrong (new to all of this^^), just an idea: DZvents has a trigger for the device status. (https://www.domoticz.com/wiki/DzVents:_next_generation_LUA_scripting#Device_changes) And you are able to send all kind of stuff to the devices using JSON (https://www.domoticz.com/wiki/Domotic...
by Inso
Sunday 26 November 2017 12:35
Forum: dzVents
Topic: dzVents global variables
Replies: 1
Views: 622

dzVents global variables

Hi, my lua script had some IP adresses as local variables, f.e. local IPR1 = {'192.168.178.44', '192.168.178.49', '192.168.178.50', '192.168.178.48'} PORT = '55443' for n, IP in pairs(IPR1) do runcommandoff = "sudo echo -ne '{\"id\":1,\"method\":\"set_scene\", \"params\":[\"cf\",4,1,\"500,1,16711680...
by Inso
Sunday 26 November 2017 12:15
Forum: dzVents
Topic: dzVents timer issue regarding day
Replies: 2
Views: 402

dzVents timer issue regarding day

Hi,

I have an active script, triggered by

Code: Select all

	on = {
	    timer = {'at 4:45 on mon, tue, wed, thu, fri'}
	},
	
this morning (Sunday), the script was triggered. Not sure if it also triggered on Saturday.

Checked time and date in domotics, all correct.
by Inso
Friday 13 October 2017 18:17
Forum: LUA
Topic: Delay of 2+ os.execute >1 second
Replies: 2
Views: 516

Re: Delay of 2+ os.execute >1 second

Works like a charm, thank you very much!
by Inso
Friday 13 October 2017 17:23
Forum: LUA
Topic: Delay of 2+ os.execute >1 second
Replies: 2
Views: 516

Delay of 2+ os.execute >1 second

Hi I have a few Yeelight lamps and a cube. Idea is to execute commands on all lamps simultaniously. At the moment, I have a very small script, which only puts the lamps on and off. commandArray = {} SwitchDevice = 'Xiaomi Cube weiss'; IP1 = '192.168.178.54'; IP2 = '192.168.178.50'; PORT = '55443' if...
by Inso
Thursday 12 October 2017 23:49
Forum: Blockly
Topic: Dim / Brightness
Replies: 0
Views: 461

Dim / Brightness

Hi,

I have a Xiaomi Cube working properly. Now I´d like to change the brightness: turn clockwise +5%, turn anti clockwise -5%.
Is domotics able to read the actual dim level, and then add / remove a certain percentage? And is there a way getting it running in blocky?