[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/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 - LCD 2004 display • nodo-domotica.nl

nodo-domotica.nl

LCD 2004 display

Hier alles over de hardware kant van de Nodo

LCD 2004 display

Berichtdoor jack » 25 feb 2015, 11:13

Aan mijn Nodo master (unit 1) zit een DHT22 sensor en BMP180 sensor.
Op mijn LCD 2004 display verbonden met deze Nodo master krijg ik keurig de binnen temperatuur / binnen luchtvochtigheid en de luchtdruk te zien.
In mijn schuur staat een mega met 433Mhz aurel zender en een DHT22 sensor die de buiten temperatuur en buiten luchtvochtigheid meet en naar de Nodo stuurt.
Op deze mega zit alleen een 433Mhz zender en geen 433Mhz ontvanger, dus het commando “send to” gaat niet werken.
Hoe krijg ik de buiten temperatuur en de buiten luchtvochtigheid van de mega in mijn schuur (unit3) op de LCD display van de Nodo master in beeld?

Jack
jack
 
Berichten: 59
Geregistreerd: 31 jul 2012, 13:02

Re: LCD 2004 display

Berichtdoor rtenklooster » 01 maart 2015, 16:06

rtenklooster
 
Berichten: 377
Geregistreerd: 04 aug 2012, 12:10
Woonplaats: Aduard

Re: LCD 2004 display

Berichtdoor jack » 02 maart 2015, 19:28

Hoi Richard,

In de Mega buiten met de DHT22 sensor (Unit 3) zit het volgende script:
EventlistWrite; Boot 3; TimerSet 1,120;
EventlistWrite; Timer 1; TimerSet 1,120;
EventlistWrite; Timer 1; DHTRead 1,1;
EventlistWrite; Timer 1; delay 3;
EventlistWrite; Timer 1; VariableSend 1, RF;
EventlistWrite; Timer 1; delay 3;
EventlistWrite; Timer 1; VariableSend 2, RF;
EventlistWrite; Timer 1; delay 3;

In de Nodo master met LCD display (Unit 1) met de DHT22 sensor en de BMP180 sensor zit het volgende script:
EventlistWrite; Boot 1; TimerSet 1,120
EventlistWrite; Boot 1; TimerSet 2,300
EventlistWrite; Timer 1; TimerSet 1,120
EventlistWrite; Timer 1; TimerSet 2,300
EventlistWrite; Timer 1; DHTRead 1,1
EventlistWrite; Timer 2; BMP085Read 3
EventlistWrite; Timer 1; LCDWrite 1,1,Message,14
EventlistWrite; Timer 1; LCDWrite 1,4,Variable,1
EventlistWrite; Timer 1; LCDWrite 1,8,Message,11
EventlistWrite; Timer 1; LCDWrite 1,9,Message,13
EventlistWrite; Timer 1; LCDWrite 1,12,Message,16
EventlistWrite; Timer 1; LCDWrite 1,16,Variable,2
EventlistWrite; Timer 1; LCDWrite 1,20,Message,12
EventlistWrite; Timer 1; LCDWrite 3,1,Message,18
EventlistWrite; Timer 1; LCDWrite 3,4,Variable,4
EventlistWrite; Timer 1; LCDWrite 3,8,Message,19
EventlistWrite; Timer 1; VariableSend 1,HTTP
EventlistWrite; Timer 1; VariableSend 2,HTTP
EventlistWrite; Timer 2; VariableSend 4,HTTP
EventlistWrite; WildCard All,Variable,0; EventSend HTTP

Hoe krijg ik nu de variable 1 en de variable 2 van unit 3 op de LCD display te zien?

Mvg,
Jack
jack
 
Berichten: 59
Geregistreerd: 31 jul 2012, 13:02

Re: LCD 2004 display

Berichtdoor rtenklooster » 02 maart 2015, 22:43

Juist Jack,
Ik begrijp je probleem.
Je kan dit op een, mogelijk twee manieren aanpakken.

Je kan zelf een plug-in schrijven, of de lcd plug-in aanpassen en dan de inkomende events oppakken, if sourceunit=3 en cmd= het variabele commando en par1 = x dan lcd write.

Als je zelf een plug-in schrijft zou ik bij inkomende variabele een nes variabele overschrijven. Deze weer gebruiken in je Eventlist. Doe dit vanaf mijn telefoon dus kan zo geen voorbeeldje maken, maar je gebruikt twee variabelen op je lcd mega. Je plug-in kijkt puur of je bron variabelen binnenkomen, en je doet dan uservar[x] = event.par2 binnen je gewenste if statement.

Hoop dat je het nog volgt.

Wat misschien kan, maar weet niet of het werkt is de methode die Paul omschrijft in het binary flat topic. Bij een variabele van unit 3 file execute -, waarin je de lcd write actie uitvoert en #par2# gebruikt. Nogmaals, dit heb ik totaal niet getest.
rtenklooster
 
Berichten: 377
Geregistreerd: 04 aug 2012, 12:10
Woonplaats: Aduard

Re: LCD 2004 display

Berichtdoor jack » 04 maart 2015, 11:56

Hoi Richard,

Dit gaat boven mijn pet. "Programmeren" is niet mijn sterkste punt.
Het liefst zou ik het geregeld zien in de nieuwe WebApp onder Notifications.
Volgens mij moet dit mogelijk zijn.
Ik zal mijn vraag eens aan Paul voorleggen.

Jack
jack
 
Berichten: 59
Geregistreerd: 31 jul 2012, 13:02

Re: LCD 2004 display

Berichtdoor mvdbro » 05 maart 2015, 16:48

Volgens mij gaat dit in de volgende Nodo release worden opgelost (variableput commando)
mvdbro
 
Berichten: 1092
Geregistreerd: 21 okt 2011, 12:06


Keer terug naar Nodo Hardware

Wie is er online?

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

cron