[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/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 - Draadloze temperatuur zender • nodo-domotica.nl

nodo-domotica.nl

Draadloze temperatuur zender

Hier alles over de hardware kant van de Nodo

Re: Draadloze temperatuur zender

Berichtdoor mvdbro » 14 sep 2012, 07:12

Paul zal een goede reden hebben gehad om de global TempString variabele af te schaffen en over te stappen naar dynamic memory allocation. Het simpel herintroduceren van de global var in de userplugin is mogelijk niet een heel goed idee. Hierdoor wordt het geheugengebruik bij elke functie call vanuit de userplugin die nu dynamic memory gebruikt in feite verdubbeld.

Je zal dus onderstaande constructie moeten introduceren in alle userplugin functies die de tempstring gebruiken:
char* StringToPrint=(char*)malloc(x);
free(StringToPrint);

De meeste functies kennen echter meerdere exit points en volgens mij wordt het dynamisch gealloceerde geheugen niet automatisch vrijgegeven indien de scope van de pointervariabele (StringToPrint) eindigt. Een goede aanpassing is dus niet zo simpel als het in eerste instantie lijkt.
mvdbro
 
Berichten: 1092
Geregistreerd: 21 okt 2011, 12:06

Re: Draadloze temperatuur zender

Berichtdoor manjh » 15 sep 2012, 12:19

in de aanbieding bi de Makro: Alecto 3950 weerstation, 47,95 incl.BTW
Is een 868MHz unit.
Gaat dit werken met dee plugin?
Hans
manjh
 
Berichten: 1173
Geregistreerd: 29 aug 2011, 14:39

Re: Draadloze temperatuur zender

Berichtdoor Markie » 15 sep 2012, 14:02

De DKW 2012 is bij de Gamma in de aanbieding 39,00 euro heb al gezien en die werkt goed met de plugin
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: Draadloze temperatuur zender

Berichtdoor mvdbro » 16 sep 2012, 17:54

mvdbro
 
Berichten: 1092
Geregistreerd: 21 okt 2011, 12:06

Re: Draadloze temperatuur zender

Berichtdoor Markie » 16 sep 2012, 21:49

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: Draadloze temperatuur zender

Berichtdoor domogijs » 18 sep 2012, 19:42

Bij kruidvat vandaag de Ekecto WSD-19 gekocht voor 15 euro. Temperatuur en regenmeter. Lijkt te werken onder ALECTO_V3.

Groeten Gijs
domogijs
 
Berichten: 134
Geregistreerd: 04 sep 2011, 20:45

Re: Draadloze temperatuur zender

Berichtdoor mvdbro » 19 sep 2012, 10:08

mvdbro
 
Berichten: 1092
Geregistreerd: 21 okt 2011, 12:06

Re: Draadloze temperatuur zender

Berichtdoor mvdbro » 19 sep 2012, 15:31

Nu ik een dedicated Nodo heb voor de weerstation ontvanger, ontvang ik meer berichten dan voorheen. Echter ook ongeveer om de 2 uur een vreemde afwijking, zie grafiek.
Afbeelding
Na enig onderzoek blijkt dit een ander RF pakket van de DKW2012 te zijn, zeer waarschijnlijk de DCF tijdinformatie, want volgens de handleiding zit die DCF ontvanger in de buitenunit. De userplugin code had tot op heden geen weet van een ander type RF pakket, dus wordt dit nu ten onrechte als geldige temperatuur/humidity/etc gedecodeerd. Ergens in de eerste paar bits zit een verschil, maar deze bits worden niet gebruikt door de huidige code.

Zijn er meer mensen die dit gedrag in hun grafiek zien (dus telkens op een heel uur)?

Ik ga de code proberen hierop aan te passen, zodat de verstorende signalen weg zijn. Daarnaast zou ik misschien ook de tijdcode nog kunnen proberen te decoderen voor de Nodo Clock. Is die meteen "atoomtijd gestuurd..." (hoewel de Nodo met Ethernet dit ook via NTP zou kunnen...)
mvdbro
 
Berichten: 1092
Geregistreerd: 21 okt 2011, 12:06

Re: Draadloze temperatuur zender

Berichtdoor OCMEROS » 19 sep 2012, 15:40

hey,

Ik heb van bovenstaande ook last gehad.

Maar ik heb de plugin al een tijdje niet meer draaien.
Ik zal er vanavond weer eens naar kijken.

Remco
OCMEROS
 
Berichten: 53
Geregistreerd: 21 nov 2011, 16:38

Re: Draadloze temperatuur zender

Berichtdoor mvdbro » 19 sep 2012, 19:35

mvdbro
 
Berichten: 1092
Geregistreerd: 21 okt 2011, 12:06

VorigeVolgende

Keer terug naar Nodo Hardware

Wie is er online?

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

cron