[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/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/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 - Hardwired schakelaars - Afdrukweergave
nodo-domotica.nl
http://www.nodo-domotica.nl/forum/

Hardwired schakelaars
http://www.nodo-domotica.nl/forum/viewtopic.php?f=35&t=2060
Pagina 1 van 2  Volgende »
Auteur:  DMeekelenkamp [ 24 maart 2014, 11:08 ]
Titel:  Hardwired schakelaars

Auteur:  Markie [ 24 maart 2014, 21:59 ]
Titel:  Re: Hardwired schakelaars

Ik denk dat je hier gebruik moet maken van het commando variabletoggle zie de wiki voor de juiste werking hiervan.

Mark
Auteur:  DMeekelenkamp [ 25 maart 2014, 14:52 ]
Titel:  Re: Hardwired schakelaars

Auteur:  DMeekelenkamp [ 26 maart 2014, 12:56 ]
Titel:  Re: Hardwired schakelaars

Auteur:  DMeekelenkamp [ 27 maart 2014, 21:20 ]
Titel:  Re: Hardwired schakelaars

Niemand van de knappe koppen een idee :roll:
Auteur:  Annie [ 01 apr 2014, 18:37 ]
Titel:  Re: Hardwired schakelaars

Is dit wat of is het niks?

was niks even denken pffft.............

Is dit het???

EventlistWrite; WiredIn 1,On; VariableToggle 1 ! variabele 1 van 1 naar 0 of van 0 naar 1
EventlistWrite; WiredIn 1,Off; VariableToggle 1 ! variabele 1 van 1 naar 0 of van 0 naar 1
EventlistWrite; UserEvent 30,1; VariableSet 1,1 ! variabele 1 op 1 zetten
EventlistWrite; UserEvent 30,1; VariableSet 2,1 ! variabele 2 op 1 zetten
EventlistWrite; UserEvent 30,2; VariableSet 1,0 ! variabele 1 op 0 zetten
EventlistWrite; UserEvent 30,2; VariableSet 2,0 ! variabele 2 op 0 zetten
EventlistWrite; Variable 1,1; WiredOut 1,On ! Wiredout 1 op on zetten als var. 1 waarde 1 krijgt
EventlistWrite; Variable 1,1; NewKakuSend 8,On ! NewKaku 8 op on zetten als var. 1 waarde 1 krijgt
EventlistWrite; Variable 1,1; BreakOnVarEqu 2,1 ! verder niets doen als var. 2 waarde 1 heeft
EventlistWrite; Variable 1,1; Userevent 30,1 ! userevent 30 aan zetten -> bolletje groen
EventlistWrite; Variable 1,0; WiredOut 1,Off ! wiredout 1 op off zetten als var. 1 waarde 0 krijgt
EventlistWrite; Variable 1,0; NewKakuSend 8,Off ! NewKaku 8 op off zetten als var. 1 waarde 0 krijgt
EventlistWrite; Variable 1,0; BreakOnVarEqu 2,0 ! verder niets doen als var. 2 waarde 0 heeft
EventlistWrite; Variable 1,0; Userevent 30,2 ! userevent 30 uit zetten -> bolletje grijs




:?:
Auteur:  DMeekelenkamp [ 01 apr 2014, 19:39 ]
Titel:  Re: Hardwired schakelaars

Andre je bent n held! Dit is ie.
Zo klopt idd altijd de status van het bolletje.
Het is een flinke code geworden.
En volgens mij lost dit ook de problemen voor de awmt 003 gebruikers op die eerst nog een keer de schakelaar aan uit aan moeten zetten. Dankjewel!
Auteur:  Annie [ 01 apr 2014, 19:45 ]
Titel:  Re: Hardwired schakelaars

Ja werkt het?

Leuk om ook een 's iemand te kunnen helpen zeg! Toppie!

:shock:
Auteur:  DMeekelenkamp [ 01 apr 2014, 20:59 ]
Titel:  Re: Hardwired schakelaars

Hmm kijk zojuist in mijn script blijkt dat er diverse regels niet opgeslagen zijn.
Alle regels die met variable 2 te maken hebben zijn niet mee in het script opgenomen. Maar t werkt wel!


EventlistWrite; WiredIn 1,On; VariableToggle 1
EventlistWrite; WiredIn 1,Off; VariableToggle 1
EventlistWrite; UserEvent 30,1; BreakOnVarEqu 1,1
EventlistWrite; UserEvent 30,1; VariableSet 1,1
EventlistWrite; UserEvent 30,2; BreakOnVarEqu 1,0
EventlistWrite; UserEvent 30,2; VariableSet 1,0
EventlistWrite; Variable 1,1; WiredOut 1,On
EventlistWrite; Variable 1,1; NewKAKUSend 8,On
EventlistWrite; Variable 1,1; UserEvent 30,1
EventlistWrite; Variable 1,0; WiredOut 1,Off
EventlistWrite; Variable 1,0; NewKAKUSend 8,Off
EventlistWrite; Variable 1,0; UserEvent 30,2
Auteur:  Annie [ 01 apr 2014, 21:30 ]
Titel:  Re: Hardwired schakelaars

In eerste instantie had ik het met één variabele gedaan, maar dacht dat het niet ging werken. Toen zei ik: was niks even denken pffft............. en heb de zooi weer weggehaald.

Nou ja i.i.g. hoe simpeler hoe beter!!! :shock:
Pagina 1 van 2 Alle tijden zijn GMT + 1 uur