[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)
Toon onderwerp - Hardwired schakelaars • nodo-domotica.nl

nodo-domotica.nl

Hardwired schakelaars

Hier kun je discussieren over hoe je je Nodo inzet voor taken in en rondom je woning of waar dan ook. Leuke tips, deel ze dan hier.

Hardwired schakelaars

Berichtdoor DMeekelenkamp » 24 maart 2014, 11:08

DMeekelenkamp
 
Berichten: 87
Geregistreerd: 20 dec 2013, 19:25

Re: Hardwired schakelaars

Berichtdoor Markie » 24 maart 2014, 21:59

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

Mark
Arduino Ethernet W5100-netwerk shield
Arduino Mega 2560 ATmega2560-16AU
Nodo Ethernetshield
Software Nodo Mega SWACNC-MEGA-R739
4 x Slave Small SWACNC-SMALL-R739
Lichtslave,Weerstationslave,Meterkastslave,ketelslave.
Gebruikers-avatar
Markie
 
Berichten: 419
Geregistreerd: 11 jan 2012, 11:41

Re: Hardwired schakelaars

Berichtdoor DMeekelenkamp » 25 maart 2014, 14:52

DMeekelenkamp
 
Berichten: 87
Geregistreerd: 20 dec 2013, 19:25

Re: Hardwired schakelaars

Berichtdoor DMeekelenkamp » 26 maart 2014, 12:56

DMeekelenkamp
 
Berichten: 87
Geregistreerd: 20 dec 2013, 19:25

Re: Hardwired schakelaars

Berichtdoor DMeekelenkamp » 27 maart 2014, 21:20

Niemand van de knappe koppen een idee :roll:
DMeekelenkamp
 
Berichten: 87
Geregistreerd: 20 dec 2013, 19:25

Re: Hardwired schakelaars

Berichtdoor Annie » 01 apr 2014, 18:37

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




:?:
Annie
 
Berichten: 92
Geregistreerd: 23 jun 2013, 09:56

Re: Hardwired schakelaars

Berichtdoor DMeekelenkamp » 01 apr 2014, 19:39

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!
DMeekelenkamp
 
Berichten: 87
Geregistreerd: 20 dec 2013, 19:25

Re: Hardwired schakelaars

Berichtdoor Annie » 01 apr 2014, 19:45

Ja werkt het?

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

:shock:
Annie
 
Berichten: 92
Geregistreerd: 23 jun 2013, 09:56

Re: Hardwired schakelaars

Berichtdoor DMeekelenkamp » 01 apr 2014, 20:59

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
DMeekelenkamp
 
Berichten: 87
Geregistreerd: 20 dec 2013, 19:25

Re: Hardwired schakelaars

Berichtdoor Annie » 01 apr 2014, 21:30

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:
Annie
 
Berichten: 92
Geregistreerd: 23 jun 2013, 09:56

Volgende

Keer terug naar Nodo toepassingen

Wie is er online?

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

cron