[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/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 - How to?? - Afdrukweergave
nodo-domotica.nl
http://www.nodo-domotica.nl/forum/

How to??
http://www.nodo-domotica.nl/forum/viewtopic.php?f=9&t=1778
Pagina 1 van 1
Auteur:  Naitsirhc [ 08 nov 2013, 22:02 ]
Titel:  How to??

Hallo,

Ik wil graag een LDR op de small aansluiten en deze values naar de webapp laten sturen.
ALs ik de stappen op de wiki volg, dan werkt het niet. Kan dat komen omdat het voorbeeld geschreven is, voor een andere versie als 3.6???
Ik heb dus een mega en een small. Beide kunnen communiceren. (sendto 15; sound, 1 werkt).
Wie kan me het script geven, waarmee een klein stapje kan zetten in de goede richting.
Unit Mega = 1
Unit small = 15
Ik heb het gevoel, dat als ik het script eenmaal heb uitgevoerd, dat het een stukje bij beetje terug zal komen.
Wie strijkt over zijn hart en giet me de eerste stap met de paplepel in.... :oops:
Auteur:  kabouter [ 09 nov 2013, 10:06 ]
Titel:  Re: How to??

Auteur:  Naitsirhc [ 09 nov 2013, 11:02 ]
Titel:  Re: How to??

Super bedankt.

Heb nog niet geprobeerd, maar ga het vanavond testen.
Ik hoop dat ik mijn eventlist dan weer kan uitbreiden met de gewenste events....
Zo wil ik bijvoorbeeld de lampen schakelen met mijn logitech. De rolluiken wil ik weer besturen enz. enz. enz.

Genoeg te doen dus.
Auteur:  Naitsirhc [ 09 nov 2013, 13:08 ]
Titel:  Re: How to??

Natuurlijk niet gewacht tot vanavond :D

Ik heb het script uitgekleed, omdat ik de temp sensor niet nodig ben...

sendto 15, Boot 15; sound 1;
sendto 15, Boot 15; Timer 1,1;
sendto 15,EventlistWrite; WildCard Wired,All,0; EventSend RF
sendto 15,EventlistWrite; WildCard All,Variable,15; EventSend RF
sendto 15,EventlistWrite; WildCard RF,All,0;
sendto 15,EventlistWrite; Timer 1; TimerSet 1,20;
sendto 15,EventlistWrite; Timer 1; Status WiredAnalog,1;
sendto 15,EventlistWrite; Timer 1; VariableWiredAnalog 5,1;!waarde WiredAnanlog 1 naar variable 5
sendto 15,EventlistWrite; Timer 1; VariableSend 5,15;
sendto 15; sound, 3;

(geknipt uit scripts)
Sound, 3 heb ik erin gezet om te laten horen of het script verstuurd is en dat de small alles heeft ontvangen.
Het geluid klinkt, dus de mega heeft alles verstuurd (neem ik aan)

Values heb ik goed gezet en ook heb ik ter controle de variables aangemaakt op de value pagina

Alles wat ik zie is 0 en geen data.
Moet ik ook nog wat in de mega aanpassen?
Als ik namelijk het commando
Sendto 15; status wiredanalog 1;
geef, zie ik wel een resultaat (Input=RF; Unit=15; Event=WiredAnalog 1,54). Echter komt die niet terug in de values.

Ik snap het even niet meer....Het is net of de mega niets ontvangt
PS de statusled zie ik ook niet flitsen als de timer afloopt....
Auteur:  kabouter [ 10 nov 2013, 13:29 ]
Titel:  Re: How to??

Auteur:  Naitsirhc [ 11 nov 2013, 22:08 ]
Titel:  Re: How to??

Helaas, weinig tot nihil pizza.

Kzal nog eens alles opnieuw compileren en uploaden..... Kijken of dat de truuk is.... :(
Auteur:  avdl72 [ 16 dec 2013, 14:38 ]
Titel:  Re: How to??

Hallo,

Heb je het al werkend?
Ik loop nl. tegen hetzelve probleem aan.
Auteur:  Naitsirhc [ 18 dec 2013, 16:19 ]
Titel:  Re: How to??

Heb het inmiddels werkend op de mega....Door tijdgebrek heb ik nog niet kunnen experimenteren met de small.....
Auteur:  avdl72 [ 18 dec 2013, 20:57 ]
Titel:  Re: How to??

Wil je het ook delen met ons, hoe je het nu werkend heb gekregen?
Wellicht dat het voor mij dan ook de oplossing is.

Alvast bedankt.
Auteur:  Naitsirhc [ 21 dec 2013, 16:09 ]
Titel:  Re: How to??

Bij deze mijn eerste script voor de Mega :D

EventlistWrite; Boot 1; TimerSet 1,10; !Timer starten
EventlistWrite; Timer 1; TimerSet 1,10 !Timer van 10 sec eventueel aanpassen
EventlistWrite; Timer 1; Status WiredAnalog,1 !Timer afgelopen, dan status wiredanalog doorgeven
EventlistWrite; WildCard Wired,All,0; EventSend RF
EventlistWrite; WildCard All,Variable,0: EventSend RF
EventlistWrite; WildCard RF,All,0;

De waardes bij value goed instellen en hoera er ontstaat een lijn
Pagina 1 van 1 Alle tijden zijn GMT + 1 uur