[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 488: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 488: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 488: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 488: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 488: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 488: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 488: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 488: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 488: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 488: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 488: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 488: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 488: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 488: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 488: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 488: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 488: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 488: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 488: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 488: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 488: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 488: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 488: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 488: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 488: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 488: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 112: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/functions.php on line 4762: Cannot modify header information - headers already sent by (output started at [ROOT]/includes/functions.php:3897)
[phpBB Debug] PHP Warning: in file [ROOT]/includes/functions.php on line 4764: Cannot modify header information - headers already sent by (output started at [ROOT]/includes/functions.php:3897)
[phpBB Debug] PHP Warning: in file [ROOT]/includes/functions.php on line 4765: Cannot modify header information - headers already sent by (output started at [ROOT]/includes/functions.php:3897)
[phpBB Debug] PHP Warning: in file [ROOT]/includes/functions.php on line 4766: Cannot modify header information - headers already sent by (output started at [ROOT]/includes/functions.php:3897)
nodo-domotica.nl • Toon onderwerp - Aanwezig / afwezig knop - Afdrukweergave
nodo-domotica.nl
http://www.nodo-domotica.nl/forum/

Aanwezig / afwezig knop
http://www.nodo-domotica.nl/forum/viewtopic.php?f=24&t=613
Pagina 1 van 1
Auteur:  markuser [ 14 jul 2012, 21:17 ]
Titel:  Aanwezig / afwezig knop

Hallo,

Via de activiteit heb ik een knop afwezig en aanwezig, dat werkt prima.
Echter ik wil deze activiteit random laten werken, dan wil me niet lukken, kan iemand me helpen :?:

EventlistWrite; ClockDaylight 3,0; UserEvent 9
EventlistWrite; UserEvent 9; BreakOnVarEqu 2,1 ! afbreken 2,1
EventlistWrite; UserEvent 9; SendNewKAKU 7,5
Eventlistwrite; ClockAll 23,00; SendNewKaku 7,off


Mark
Auteur:  mdegraaf [ 18 jul 2012, 20:46 ]
Titel:  Re: Aanwezig / afwezig knop

Hoi,

Kun je iets duidelijker omschrijven wat je precies wil?

Groeten,

Martin
Auteur:  markuser [ 19 jul 2012, 19:58 ]
Titel:  Re: Aanwezig / afwezig knop

Sorry voor mijn late reactie.

Ik wil de lampen random aan laten gaan, dus niet altijd op dezelfde tijd.

Bovenstaand werkt perfect, alleen random lukt me niet.

Mark
Auteur:  henkdejonge [ 20 jul 2012, 12:50 ]
Titel:  Re: Aanwezig / afwezig knop

Mark,

Ik maak gebruik van de volgende eventlist. Hier zit een actie in die na een bepaalde (random) tijd de lamp uit zet. Maar ik kan me voorstellen dat je het aanzetten op dezelfde manier zou kunnen doen. Je kunt een vast gegeven nemen bv clockdaylight,3 en hiermee de randomtimer starten en als deze afloopt dat je dan het licht aan laat zetten.

# Variabele 6 = 0 Dan status "Niet Thuis" Variabele wordt gezet door EventGhost event webserver
# Variabele 6 = 1 Dan status "Thuis" Variabele wordt gezet door EventGhost event webserver
# Variabele 7 = 0 Dan status "Reset Zonsopgang"
# Variabele 7 = 1 Dan status "Zonsopgang"

Eventlistwrite; userEvent 6,1; BreakOnVarEqu 6,1; Status Thuis, lampen hoeven niet automatisch uit
Eventlistwrite; userEvent 6,1; TimerRandom 1,35; Timer random 35 minuten voor Thuis simulatie
EventlistWrite; Timer 1,0; UserEvent 4,2;
EventlistWrite; UserEvent 4,2; sendkaku H1,off; Lamp naast bank bij ingang
EventlistWrite; UserEvent 4,2; sendkaku H2,off; Lamp naast bank bij kast
EventlistWrite; UserEvent 4,2; sendkaku H3,off; Lamp in hoek spiegelkast
EventlistWrite; UserEvent 4,2; sendkaku H4,off; Lamp in hoek lage kast
EventlistWrite; UserEvent 4,2; sendkaku H5,off; Lamp achter stoel henk

Suc6

Henk.
Auteur:  proza [ 20 jul 2012, 13:38 ]
Titel:  Re: Aanwezig / afwezig knop

@ henkdejonge Leuk zou jij je hele lijst eens willen laten zien
Auteur:  markuser [ 21 jul 2012, 13:04 ]
Titel:  Re: Aanwezig / afwezig knop

Dat ga ik dit weekend eens proberen.

Mark
Auteur:  henkdejonge [ 30 jul 2012, 12:59 ]
Titel:  Re: Aanwezig / afwezig knop

Pagina 1 van 1 Alle tijden zijn GMT + 1 uur