[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)
Toon onderwerp - How to?? • nodo-domotica.nl

nodo-domotica.nl

How to??

Voor hulp om je Nodo aan de praat te krijgen

How to??

Berichtdoor Naitsirhc » 08 nov 2013, 22:02

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:
Naitsirhc
 
Berichten: 232
Geregistreerd: 30 sep 2011, 14:28

Re: How to??

Berichtdoor kabouter » 09 nov 2013, 10:06

kabouter
 
Berichten: 214
Geregistreerd: 10 nov 2011, 13:57

Re: How to??

Berichtdoor Naitsirhc » 09 nov 2013, 11:02

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.
Naitsirhc
 
Berichten: 232
Geregistreerd: 30 sep 2011, 14:28

Re: How to??

Berichtdoor Naitsirhc » 09 nov 2013, 13:08

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....
Naitsirhc
 
Berichten: 232
Geregistreerd: 30 sep 2011, 14:28

Re: How to??

Berichtdoor kabouter » 10 nov 2013, 13:29

kabouter
 
Berichten: 214
Geregistreerd: 10 nov 2011, 13:57

Re: How to??

Berichtdoor Naitsirhc » 11 nov 2013, 22:08

Helaas, weinig tot nihil pizza.

Kzal nog eens alles opnieuw compileren en uploaden..... Kijken of dat de truuk is.... :(
Naitsirhc
 
Berichten: 232
Geregistreerd: 30 sep 2011, 14:28

Re: How to??

Berichtdoor avdl72 » 16 dec 2013, 14:38

Hallo,

Heb je het al werkend?
Ik loop nl. tegen hetzelve probleem aan.
Nodo-Mega V3.7 R744
Web App version: SWINWA-PROD-V099 - lokaal
Nodo Ethernet Shield v2.0.2
Nodo Small v2.0.0 - t.b.v. Gas-, Water- en Stroommeter
Nodo Small v2.0.0 - t.b.v. KAKU
Nodo Mini - t.b.v. Temperatuur (Arduino Pro Mini)
avdl72
 
Berichten: 114
Geregistreerd: 29 nov 2012, 15:50

Re: How to??

Berichtdoor Naitsirhc » 18 dec 2013, 16:19

Heb het inmiddels werkend op de mega....Door tijdgebrek heb ik nog niet kunnen experimenteren met de small.....
Naitsirhc
 
Berichten: 232
Geregistreerd: 30 sep 2011, 14:28

Re: How to??

Berichtdoor avdl72 » 18 dec 2013, 20:57

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.
Nodo-Mega V3.7 R744
Web App version: SWINWA-PROD-V099 - lokaal
Nodo Ethernet Shield v2.0.2
Nodo Small v2.0.0 - t.b.v. Gas-, Water- en Stroommeter
Nodo Small v2.0.0 - t.b.v. KAKU
Nodo Mini - t.b.v. Temperatuur (Arduino Pro Mini)
avdl72
 
Berichten: 114
Geregistreerd: 29 nov 2012, 15:50

Re: How to??

Berichtdoor Naitsirhc » 21 dec 2013, 16:09

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
Naitsirhc
 
Berichten: 232
Geregistreerd: 30 sep 2011, 14:28


Keer terug naar Nodo aan de praat krijgen

Wie is er online?

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