Search found 13 matches

by royson
Tuesday 30 October 2018 19:30
Forum: Blockly
Topic: Event that acts depending on last status
Replies: 12
Views: 1207

Re: Event that acts depending on last status

... I would like my event to check if the last state of the switch is the same or not. If it is, it shouldnt do anything. The event should only continue if the state is changed, that way I wouldnt get the notifications every hour.... A possible solution using dzVents persistent data (as suggested ...
by royson
Saturday 27 October 2018 10:39
Forum: Blockly
Topic: Event that acts depending on last status
Replies: 12
Views: 1207

Re: Event that acts depending on last status

... I would like my event to check if the last state of the switch is the same or not. If it is, it shouldnt do anything. The event should only continue if the state is changed, that way I wouldnt get the notifications every hour.... A possible solution using dzVents persistent data (as suggested ...
by royson
Saturday 27 October 2018 10:37
Forum: Blockly
Topic: Event that acts depending on last status
Replies: 12
Views: 1207

Re: Event that acts depending on last status

Do you have re-notification set? Setup->Settings->Notification->Notification Intervals (sensor) i guess 1 hour? I have set that to 12 hours.. Hmm weird, where is the 1 hour (re)notification coming from then!!! Waaren already send you a script that uses 'persistent data', maybe you can build from ...
by royson
Saturday 27 October 2018 7:57
Forum: Blockly
Topic: Event that acts depending on last status
Replies: 12
Views: 1207

Re: Event that acts depending on last status

SweetPants wrote: Friday 26 October 2018 18:50 Do you have re-notification set? Setup->Settings->Notification->Notification Intervals (sensor) i guess 1 hour?
I have set that to 12 hours..
by royson
Friday 26 October 2018 18:40
Forum: Blockly
Topic: Event that acts depending on last status
Replies: 12
Views: 1207

Re: Event that acts depending on last status

Ok, this is what i've got: return { on = { devices = { 'vSwitch_till_Larmet' } }, execute = function(domoticz, vSwitch_till_Larmet) local Larmet = domoticz.devices('vSwitch_till_Larmet') local HomeAway = domoticz.devices('vLARM_HomeAway') if (Larmet.state == 'On') then HomeAway.switchOff() domoticz ...
by royson
Thursday 25 October 2018 22:40
Forum: Blockly
Topic: Event that acts depending on last status
Replies: 12
Views: 1207

Re: Event that acts depending on last status

Im just having some problems getting my logic right as there doesnt seems to be any "last state" command to use. Take a look at the persistent data part. That can give you state info of a previous script run (https://www.domoticz.com/wiki/DzVents:_next_generation_LUA_scripting#Persistent_data ...
by royson
Thursday 25 October 2018 22:09
Forum: Blockly
Topic: Event that acts depending on last status
Replies: 12
Views: 1207

Re: Event that acts depending on last status

Take a look at dz_Ventz (https://www.domoticz.com/wiki/DzVents:_next_generation_LUA_scripting). It has a steep learning curve, but once you master it you will see the advantage over plain LUA and Blockly and the integration with Domoticz. I have converted all my LUA scripts to dz_Ventz and must say ...
by royson
Monday 22 October 2018 21:10
Forum: Blockly
Topic: Event that acts depending on last status
Replies: 12
Views: 1207

Event that acts depending on last status

Hi! Im currently running an event that checks the wattage of a wall plug and uses the value to determine if the house is armed or disarmed. I know its an pretty ugly solution but its the easiest way since I cannot get status directly from my security provider =) Anyway, the event works just fine ...
by royson
Sunday 21 October 2018 12:44
Forum: Blockly
Topic: Event to stop/start Zoneminder
Replies: 3
Views: 1178

Re: Event to stop/start Zoneminder

You don't really need to stop zoneminder completely, just change the camera status to "monitor" instead of "modect". Not that you where asking, just thought I might point that out if you'd missed it. Have you managed to somehow get pictures from zoneminder to be presented in Domoticz? Skickat från ...
by royson
Monday 20 August 2018 21:26
Forum: Switches and Scenes
Topic: Motion activation depending on lux
Replies: 2
Views: 832

Re: Motion activation depending on lux

With parameter 8 you can enable this functionality directly on the Fibaro motion sensor, no Blockly required Manual: https://manuals.fibaro.com/content/manuals/en/FGMS-001/FGMS-001-EN-T-v2.1.pdf Lux value... really dependend on your situation.... when you know at which time you want to switch you ...
by royson
Monday 20 August 2018 12:51
Forum: Switches and Scenes
Topic: Motion activation depending on lux
Replies: 2
Views: 832

Motion activation depending on lux

Hello everyone! Im planning on starting to use my old Fibaro motion sensors a bit more efficient and i'm looking for advice. The plan is to use a sensor on the top floor to activate the lights (big surprise eh?). But since there is alot of windows the light doesnt need to come on all the time, its ...
by royson
Saturday 11 November 2017 9:23
Forum: Show your projects
Topic: Step by step guide: Sonos integration
Replies: 125
Views: 79321

Re: Step by step guide: Sonos integration

Hi guys. Im new here and have tried this great solution, but I have wierd problem. Im running my domoticz installation with https and the switch sends commands in http. Not sure if this is the problem but it doesnt work. If I send the command directly in the browser with http it works, so the api ...
by royson
Friday 10 November 2017 21:46
Forum: Show your projects
Topic: Step by step guide: Sonos integration
Replies: 125
Views: 79321

Re: Step by step guide: Sonos integration

Hi guys. Im new here and have tried this great solution, but I have wierd problem. Im running my domoticz installation with https and the switch sends commands in http. Not sure if this is the problem but it doesnt work. If I send the command directly in the browser with http it works, so the api is ...