[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)
Toon onderwerp - Aanwezig / afwezig knop • nodo-domotica.nl

nodo-domotica.nl

Aanwezig / afwezig knop

Met de Nodo commando's en dee Eventlist kun je vrijwel elke domotica wens realiseren. De Nodo beschikt hiervoor over een eigen script-taal waarmee u uw domotica wensen kunt realiseren. Plaats hier uw vragen en tips die hier op betrekking hebben.

Aanwezig / afwezig knop

Berichtdoor markuser » 14 jul 2012, 21:17

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
Mvg, Mark

4 Unit's met ethernet. Nodo-Mega V3.7, Product=SWACNC-MEGA-R744
Devices: Diverse Kaku's, DS18b20, DHT11, LCD, WS3500, CNY70, BPW40, LDR, Watersensor, Slimme meter kaifa MA304, RFLink, Raspberry PI, Domoticz
Gebruikers-avatar
markuser
 
Berichten: 497
Geregistreerd: 29 feb 2012, 13:19

Re: Aanwezig / afwezig knop

Berichtdoor mdegraaf » 18 jul 2012, 20:46

Hoi,

Kun je iets duidelijker omschrijven wat je precies wil?

Groeten,

Martin
mdegraaf
 
Berichten: 81
Geregistreerd: 18 okt 2011, 22:03

Re: Aanwezig / afwezig knop

Berichtdoor markuser » 19 jul 2012, 19:58

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
Mvg, Mark

4 Unit's met ethernet. Nodo-Mega V3.7, Product=SWACNC-MEGA-R744
Devices: Diverse Kaku's, DS18b20, DHT11, LCD, WS3500, CNY70, BPW40, LDR, Watersensor, Slimme meter kaifa MA304, RFLink, Raspberry PI, Domoticz
Gebruikers-avatar
markuser
 
Berichten: 497
Geregistreerd: 29 feb 2012, 13:19

Re: Aanwezig / afwezig knop

Berichtdoor henkdejonge » 20 jul 2012, 12:50

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.
henkdejonge
 
Berichten: 102
Geregistreerd: 21 maart 2012, 16:29

Re: Aanwezig / afwezig knop

Berichtdoor proza » 20 jul 2012, 13:38

@ henkdejonge Leuk zou jij je hele lijst eens willen laten zien
- Jura Impressa F50 and a Starbucks MUG makes my day complete
Gebruikers-avatar
proza
 
Berichten: 420
Geregistreerd: 03 nov 2011, 22:44

Re: Aanwezig / afwezig knop

Berichtdoor markuser » 21 jul 2012, 13:04

Dat ga ik dit weekend eens proberen.

Mark
Mvg, Mark

4 Unit's met ethernet. Nodo-Mega V3.7, Product=SWACNC-MEGA-R744
Devices: Diverse Kaku's, DS18b20, DHT11, LCD, WS3500, CNY70, BPW40, LDR, Watersensor, Slimme meter kaifa MA304, RFLink, Raspberry PI, Domoticz
Gebruikers-avatar
markuser
 
Berichten: 497
Geregistreerd: 29 feb 2012, 13:19

Re: Aanwezig / afwezig knop

Berichtdoor henkdejonge » 30 jul 2012, 12:59

henkdejonge
 
Berichten: 102
Geregistreerd: 21 maart 2012, 16:29


Keer terug naar Nodo scripts

Wie is er online?

Gebruikers in dit forum: Geen geregistreerde gebruikers. en 5 gasten