nodo-domotica.nl

WebApp code beschikbaar

Post hier vragen en ervaringen die betrekking hebben op het gebruik en configuratie van de WebApp

Re: WebApp code beschikbaar

Berichtdoor andreo » 28 apr 2015, 22:51

Wil je de laatste Web App versie welke ik net op GIT heb gezet eens proberen.
Ik realiseer me net dat er wijzigingen in de Nodo core zijn gemaakt wat betreft het resolven van ip-adressen en er hiervoor in de Web App ook aanpassingen zijn gemaakt. Deze aanpassingen stonden nog niet op Github
mdegraaf

Berichten: 79
Geregistreerd: 18 okt 2011, 22:03


Helaas, helaas, setup van communicatie verloopt zoals het hoort... echter de melding No connection to Nodo blijft. De host naam is zichtbaar in de Nodo echter het host IP blijft uit.
Groet, Andre
mijn NES
Nodo-Mega V3.7 R744|Nodo-Mini V3.7 R744|WebApp lokaal QNAP TS-119P II (SWINWA-PROD-V099)|WS-3500|ASUN650 zonweringsmodule | diverse KAKU |
andreo
 
Berichten: 119
Geregistreerd: 17 sep 2012, 23:51
Woonplaats: Anna Paulowna

Re: WebApp code beschikbaar

Berichtdoor kabouter » 29 apr 2015, 17:36

Hallo Martin,
vandaag de laatste versie geïnstalleerd, we komen weer wat verder.
met Putty voor aanmelding zie onderstaand :
Afbeelding
op de lokale website :
Afbeelding
met Putty na aanmelding :
Afbeelding
maar helaas op de lokale website :
Afbeelding
met de notitie dat ik niet in de admin mode kom zonder eerst de .htaccess weg te laten.
Nog steeds de melding No connection to Nodo!
wat of waar gaat het fout?
kabouter
 
Berichten: 214
Geregistreerd: 10 nov 2011, 13:57

Re: WebApp code beschikbaar

Berichtdoor kabouter » 29 apr 2015, 18:15

Na upgrade van versie R788 naar versie R809 is onderstaand te zien:
Afbeelding
dus tijdens compileren fout melding Hardware not found ????
en via putty te zien dat hij nu ineens geen internet ipadres meer gekregen heeft :
Afbeelding
zie vorig bericht
kabouter
 
Berichten: 214
Geregistreerd: 10 nov 2011, 13:57

Re: WebApp code beschikbaar

Berichtdoor andreo » 29 apr 2015, 19:00

Dit is precies waar mijn nodo met webapp ook last van heeft, ben benieuwd.
Groet, Andre
mijn NES
Nodo-Mega V3.7 R744|Nodo-Mini V3.7 R744|WebApp lokaal QNAP TS-119P II (SWINWA-PROD-V099)|WS-3500|ASUN650 zonweringsmodule | diverse KAKU |
andreo
 
Berichten: 119
Geregistreerd: 17 sep 2012, 23:51
Woonplaats: Anna Paulowna

Re: WebApp code beschikbaar

Berichtdoor mdegraaf » 29 apr 2015, 22:34

kabouter schreef:Hallo Martin,
vandaag de laatste versie geïnstalleerd, we komen weer wat verder.
met Putty voor aanmelding zie onderstaand :
Afbeelding
op de lokale website :
Afbeelding
met Putty na aanmelding :
Afbeelding
maar helaas op de lokale website :
Afbeelding
met de notitie dat ik niet in de admin mode kom zonder eerst de .htaccess weg te laten.
Nog steeds de melding No connection to Nodo!
wat of waar gaat het fout?


Het lijkt er sterk op dat de variabele $NODO_URL in config.php niet correct staat ingevoerd.
In jou geval zou er $NODO_URL = "http://vanderaa.dyndns.tv/webapp/nodo.php" moeten staan klopt dit?
Wil je eens een status all uitvoeren en deze hier posten.
Tevens zou je ook een [debug on] kunnen uitvoeren wanneer de Nodo via een seriele kabel is aangesloten en events naar HTTP stuurt. Wellicht komen we er dan achter wat er fout gaat.

Verder zijn we er achter gekomen dat httphost in de Nodo alleen een host-name mag bevatten en geen IP-adres dit is in jou geval geen probleem maar wellicht lopen andere tegen dit probleem aan. De Nodo code zal worden aangepast zodat zowel een host-name als IP-adres opgegeven mag worden.

Groeten,

Martin
mdegraaf
 
Berichten: 81
Geregistreerd: 18 okt 2011, 22:03

Re: WebApp code beschikbaar

Berichtdoor kabouter » 30 apr 2015, 12:34

mdegraaf schreef:
Het lijkt er sterk op dat de variabele $NODO_URL in config.php niet correct staat ingevoerd.
In jou geval zou er $NODO_URL = "http://vanderaa.dyndns.tv/webapp/nodo.php" moeten staan klopt dit?
Wil je eens een status all uitvoeren en deze hier posten.
Tevens zou je ook een [debug on] kunnen uitvoeren wanneer de Nodo via een seriele kabel is aangesloten en events naar HTTP stuurt. Wellicht komen we er dan achter wat er fout gaat.

Verder zijn we er achter gekomen dat httphost in de Nodo alleen een host-name mag bevatten en geen IP-adres dit is in jou geval geen probleem maar wellicht lopen andere tegen dit probleem aan. De Nodo code zal worden aangepast zodat zowel een host-name als IP-adres opgegeven mag worden.

Groeten,

Martin


@Martin,
ondertussen ook geupgrade naar R815 ....

Ja het klopt dat
$NODO_URL = "http://vanderaa.dyndns.tv/webapp/nodo.php"
in de config.php staat.

en met status all krijg ik onderstaand te zien

Code: Selecteer alles
Enter your password: nodo

!******************************************************************************!
Nodo Domotica controller V3.8 BETA (Mega)
(c) Copyright 2015 P.K.Tonkes. Licensed under GNU General Public License.
Product=SWACNC-MEGA-R815, ThisUnit=1, ID=TESTEN
Date=30-04-2015 (Thu); Time=13:11 DaylightSaving
IP=192.168.1.220, PortOutput=80, PortInput=6636
Host=vanderaa.dyndns.tv
!******************************************************************************!
>status all
Input=Terminal; Unit=1; Event=Status All,0

!******************************************************************************!
Nodo Domotica controller V3.8 BETA (Mega)
(c) Copyright 2015 P.K.Tonkes. Licensed under GNU General Public License.
Product=SWACNC-MEGA-R815, ThisUnit=1, ID=TESTEN
Date=30-04-2015 (Thu); Time=13:11 DaylightSaving
IP=192.168.1.220, PortOutput=80, PortInput=6636
Host=vanderaa.dyndns.tv
!******************************************************************************!
AlarmSet 1,Off,00:00,*
AlarmSet 2,Off,00:00,*
AlarmSet 3,Off,00:00,*
AlarmSet 4,Off,00:00,*
AlarmSet 5,Off,00:00,*
AlarmSet 6,Off,00:00,*
AlarmSet 7,Off,00:00,*
AlarmSet 8,Off,00:00,*
ClockDaylight 2,0
ClockSetDate 30-04-2015
ClockSetTime 13:11
Debug Off
Plugin 1
Plugin 2
Plugin 5
Plugin 6
Plugin 20
Plugin 23
EventlistCount 5,250
FreeMem 2355
HWConfig 0x4003E737
HWStatus 0x4003E337
HTTPHost vanderaa.dyndns.tv/webapp/nodo.php
ID TESTEN
IP 0.0.0.0.255(DHCP)
Log Off
Output HTTP,On
PortInput 6636
PortOutput 80
RawSignalReceive Off,On
Temp
WiredAnalog 1,271
WiredAnalog 2,1020
WiredAnalog 3,1021
WiredAnalog 4,1021
WiredAnalog 5,1021
WiredAnalog 6,1021
WiredAnalog 7,1021
WiredAnalog 8,1021
WiredIn 1,Off
WiredIn 2,On
WiredIn 3,On
WiredIn 4,On
WiredIn 5,On
WiredIn 6,On
WiredIn 7,On
WiredIn 8,On
WiredOut 1,Off
WiredOut 2,Off
WiredOut 3,Off
WiredOut 4,Off
WiredOut 5,Off
WiredOut 6,Off
WiredOut 7,Off
WiredOut 8,Off
WiredPullup 1,On
WiredPullup 2,On
WiredPullup 3,On
WiredPullup 4,On
WiredPullup 5,On
WiredPullup 6,On
WiredPullup 7,On
WiredPullup 8,On
WiredSmittTrigger 1,10
WiredSmittTrigger 2,10
WiredSmittTrigger 3,10
WiredSmittTrigger 4,10
WiredSmittTrigger 5,10
WiredSmittTrigger 6,10
WiredSmittTrigger 7,10
WiredSmittTrigger 8,10
WiredThreshold 1,512
WiredThreshold 2,512
WiredThreshold 3,512
WiredThreshold 4,512
WiredThreshold 5,512
WiredThreshold 6,512
WiredThreshold 7,512
WiredThreshold 8,512
RawSignalSample 25
AliasShow Off
Build 815
WaitBusyNodo Off
!******************************************************************************!
>>


en debug geeft :

Code: Selecteer alles
Serial-1 port: Ok.
Nodo Mega: Ok.
Speaker: Ok.
Pulsecounter: Ok.
Infrared: Ok.
RF 433Mhz: Ok.
RGB Status led: Ok.
WiredIn port: Ok.
WiredOut port: Ok.
SDCard: Ok.
I2C: Ok.
Realtime clock: Ok.
Software SPI: Ok.
Ethernet connection:  Ok.

!******************************************************************************!
Nodo Domotica controller V3.8 BETA (Mega)
(c) Copyright 2015 P.K.Tonkes. Licensed under GNU General Public License.
Product=SWACNC-MEGA-R815, ThisUnit=1, ID=TESTEN
Date=30-04-2015 (Thu); Time=13:16 DaylightSaving
IP=192.168.1.220, PortOutput=80, PortInput=6636
Host=vanderaa.dyndns.tv
!******************************************************************************!
Input=System; Unit=1; Event=Boot 1
Output=IR; Unit=0; Event=Boot 1
Output=RF; Unit=0; Event=Boot 1
Output=I2C; Unit=0; Event=Boot 1
Output=HTTP; Unit=1; Event=Boot 1

Ready. Nodo is waiting for serial input...

debug on;
Input=Serial; Unit=1; Event=Debug On
>Input=Terminal; Unit=1; Event=Reset
Serial-1 port: Ok.
Nodo Mega: Ok.
Speaker: Ok.
Pulsecounter: Ok.
Infrared: Ok.
RF 433Mhz: Ok.
RGB Status led: Ok.
WiredIn port: Ok.
WiredOut port: Ok.
SDCard: Ok.
I2C: Ok.
Realtime clock: Ok.
Software SPI: Ok.
Ethernet connection:  Ok.

!******************************************************************************!
Nodo Domotica controller V3.8 BETA (Mega)
(c) Copyright 2015 P.K.Tonkes. Licensed under GNU General Public License.
Product=SWACNC-MEGA-R815, ThisUnit=1
Date=30-04-2015 (Thu); Time=13:17 DaylightSaving
IP=192.168.1.220, PortOutput=80, PortInput=6636
!******************************************************************************!
Input=System; Unit=1; Event=Boot 1
Output=IR; Unit=0; Event=Boot 1
Output=RF; Unit=0; Event=Boot 1
Output=I2C; Unit=0; Event=Boot 1
Output=HTTP; Unit=1; Event=Boot 1

Ready. Nodo is waiting for serial input...

Serial-1 port: Ok.
Nodo Mega: Ok.
Speaker: Ok.
Pulsecounter: Ok.
Infrared: Ok.
RF 433Mhz: Ok.
RGB Status led: Ok.
WiredIn port: Ok.
WiredOut port: Ok.
SDCard: Ok.
I2C: Ok.
Realtime clock: Ok.
Software SPI: Ok.
Ethernet connection:  Ok.

!******************************************************************************!
Nodo Domotica controller V3.8 BETA (Mega)
(c) Copyright 2015 P.K.Tonkes. Licensed under GNU General Public License.
Product=SWACNC-MEGA-R815, ThisUnit=1, ID=TESTEN
Date=30-04-2015 (Thu); Time=13:18 DaylightSaving
IP=192.168.1.220, PortOutput=80, PortInput=6636
Host=vanderaa.dyndns.tv
!******************************************************************************!
Input=System; Unit=1; Event=Boot 1
Output=IR; Unit=0; Event=Boot 1
Output=RF; Unit=0; Event=Boot 1
Output=I2C; Unit=0; Event=Boot 1
Output=HTTP; Unit=1; Event=Boot 1

Ready. Nodo is waiting for serial input...

debug on
Input=Serial; Unit=1; Event=Debug On
>Input=Terminal; Unit=1; Event=Reset
Serial-1 port: Ok.
Nodo Mega: Ok.
Speaker: Ok.
Pulsecounter: Ok.
Infrared: Ok.
RF 433Mhz: Ok.
RGB Status led: Ok.
WiredIn port: Ok.
WiredOut port: Ok.
SDCard: Ok.
I2C: Ok.
Realtime clock: Ok.
Software SPI: Ok.
Ethernet connection:  Ok.

!******************************************************************************!
Nodo Domotica controller V3.8 BETA (Mega)
(c) Copyright 2015 P.K.Tonkes. Licensed under GNU General Public License.
Product=SWACNC-MEGA-R815, ThisUnit=1
Date=30-04-2015 (Thu); Time=13:18 DaylightSaving
IP=192.168.1.220, PortOutput=80, PortInput=6636
!******************************************************************************!
Input=System; Unit=1; Event=Boot 1
Output=IR; Unit=0; Event=Boot 1
Output=RF; Unit=0; Event=Boot 1
Output=I2C; Unit=0; Event=Boot 1
Output=HTTP; Unit=1; Event=Boot 1

Ready. Nodo is waiting for serial input...

debug on
Input=Serial; Unit=1; Event=Debug On
>Debug: HTTP-Input=GET /?event=status%20NodoIp HTTP/1.1
Input=HTTP; Unit=1; Event=Status -,0

!******************************************************************************!
Nodo Domotica controller V3.8 BETA (Mega)
(c) Copyright 2015 P.K.Tonkes. Licensed under GNU General Public License.
Product=SWACNC-MEGA-R815, ThisUnit=1
Date=30-04-2015 (Thu); Time=13:19 DaylightSaving
IP=192.168.1.220, PortOutput=80, PortInput=6636
!******************************************************************************!
Debug: HTTP-Input=GET /?event=eventlistwrite;WildCard%20RF,All;EventSend%20HTTP HTTP/1.1
Debug: HTTP-Input=GET /?event=eventlistwrite;WildCard%20IR,All;EventSend%20HTTP HTTP/1.1
Debug: HTTP-Input=GET /?event=eventlistwrite;WildCard%20System,Variable;EventSend%20HTTP HTTP/1.1
Debug: HTTP-Input=GET /?event=eventlistwrite;WildCard%20Wired,All;EventSend%20HTTP HTTP/1.1
Debug: HTTP-Input=GET /?event=eventlistwrite;EventListWrite;Wildcard%20HTTP,UserEvent;EventSend%20HTTP HTTP/1.1
Debug: HTTP-Input=GET /?event=HTTPHost%20vanderaa.dyndns.tv/webapp/nodo.php HTTP/1.1
Debug: HTTP-Input=GET /?event=output%20http,on HTTP/1.1
Input=HTTP; Unit=1; Event=Output HTTP,On
Debug: HTTP-Input=GET /?event=status%20HTTPHost&key=12d4ef3a65be2220e2de8f4e93394d71 HTTP/1.1
Input=HTTP; Unit=1; Event=Status HTTPHost,0
Debug: HTTP-Input=GET /?event=status%20Output%20HTTP&key=12d4ef3a65be2220e2de8f4e93394d71 HTTP/1.1
Input=HTTP; Unit=1; Event=Status Output,62
Debug: HTTP-Input=GET /?event=id%20TESTEN;password%20nodo;SettingsSave;reboot HTTP/1.1
Input=HTTP; Unit=1; Event=SettingsSave
Input=Serial-1 port: Ok.
Nodo Mega: Ok.
Speaker: Ok.
Pulsecounter: Ok.
Infrared: Ok.
RF 433Mhz: Ok.
RGB Status led: Ok.
WiredIn port: Ok.
WiredOut port: Ok.
SDCard: Ok.
I2C: Ok.
Realtime clock: Ok.
Software SPI: Ok.
Ethernet connection:  Ok.
Debug: HTTP-Request=GET /webapp/nodo.php?id=TESTEN&cookie=488A2988 HTTP/1.1
Debug: Host=vanderaa.dyndns.tv
Debug: URL=vanderaa.dyndns.tv/webapp/nodo.php
DEBUG: Response from host=HTTP/1.1 200 OK
DEBUG: Response from host=Date: Thu, 30 Apr 2015 11:18:51 GMT

!******************************************************************************!
Nodo Domotica controller V3.8 BETA (Mega)
(c) Copyright 2015 P.K.Tonkes. Licensed under GNU General Public License.
Product=SWACNC-MEGA-R815, ThisUnit=1, ID=TESTEN
Date=30-04-2015 (Thu); Time=13:19 DaylightSaving
IP=192.168.1.220, PortOutput=80, PortInput=6636
Host=vanderaa.dyndns.tv
!******************************************************************************!
Input=System; Unit=1; Event=Boot 1
Output=IR; Unit=0; Event=Boot 1
Output=RF; Unit=0; Event=Boot 1
Output=I2C; Unit=0; Event=Boot 1
Output=HTTP; Unit=1; Event=Boot 1
Debug: HTTP-Request=GET /webapp/nodo.php?id=TESTEN&unit=1&key=e01c6d8bb5282939eeef0408670f72e9&event=Boot%201 HTTP/1.1
Debug: Host=vanderaa.dyndns.tv
Debug: URL=vanderaa.dyndns.tv/webapp/nodo.php
DEBUG: Response from host=HTTP/1.1 200 OK
DEBUG: Response from host=Date: Thu, 30 Apr 2015 11:18:52 GMT

Ready. Nodo is waiting for serial input...

Debug: HTTP-Request=GET /webapp/nodo.php?id=TESTEN&cookie=405C2C87 HTTP/1.1
Debug: Host=vanderaa.dyndns.tv
Debug: URL=vanderaa.dyndns.tv/webapp/nodo.php
DEBUG: Response from host=HTTP/1.1 200 OK
DEBUG: Response from host=Date: Thu, 30 Apr 2015 11:18:52 GMT
Debug: HTTP-Request=GET /webapp/nodo.php?id=TESTEN&unit=1&key=4785b4aa9bc7d99656062a62cd22d457&event=WiredIn%201,Off HTTP/1.1
Debug: Host=vanderaa.dyndns.tv
Debug: URL=vanderaa.dyndns.tv/webapp/nodo.php
DEBUG: Response from host=HTTP/1.1 200 OK
DEBUG: Response from host=Date: Thu, 30 Apr 2015 11:18:53 GMT
Debug: HTTP-Request=GET /webapp/nodo.php?id=TESTEN&cookie=4A73492A HTTP/1.1
Debug: Host=vanderaa.dyndns.tv
Debug: URL=vanderaa.dyndns.tv/webapp/nodo.php
DEBUG: Response from host=HTTP/1.1 200 OK
DEBUG: Response from host=Date: Thu, 30 Apr 2015 11:19:55 GMT
Debug: HTTP-Request=GET /webapp/nodo.php?id=TESTEN&cookie=393BA7B2 HTTP/1.1
Debug: Host=vanderaa.dyndns.tv
Debug: URL=vanderaa.dyndns.tv/webapp/nodo.php
DEBUG: Response from host=HTTP/1.1 200 OK
DEBUG: Response from host=Date: Thu, 30 Apr 2015 11:20:58 GMT
Debug: HTTP-Request=GET /webapp/nodo.php?id=TESTEN&cookie=75344967 HTTP/1.1
Debug: Host=vanderaa.dyndns.tv
Debug: URL=vanderaa.dyndns.tv/webapp/nodo.php
DEBUG: Response from host=HTTP/1.1 200 OK
DEBUG: Response from host=Date: Thu, 30 Apr 2015 11:22:01 GMT
Debug: HTTP-Request=GET /webapp/nodo.php?id=TESTEN&cookie=2D655819 HTTP/1.1
Debug: Host=vanderaa.dyndns.tv
Debug: URL=vanderaa.dyndns.tv/webapp/nodo.php
Debug: URL=vanderaa.dyndns.tv/webapp/nodo.php
Debug: URL=vanderaa.dyndns.tv/webapp/nodo.php
DEBUG: Response from host=<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">
DEBUG: Response from host=<html><head>
DEBUG: Response from host=<title>400 Bad Request</title>
DEBUG: Response from host=</head><body>
DEBUG: Response from host=<h1>Bad Request</h1>
DEBUG: Response from host=<p>Your browser sent a request that this server could not understand.<br />
DEBUG: Response from host=</p>
DEBUG: Response from host=</body></html>
Debug: Connecting to URL [vanderaa.dyndns.tv/webapp/nodo.php] failed!
Debug: HTTP-Request=GET /webapp/nodo.php?id=TESTEN&unit=0&key=65604484db309d1c5fb05b45ee24413b&event=RawSignal%200xDB41A020 HTTP/1.1
Debug: Host=vanderaa.dyndns.tv
Debug: URL=vanderaa.dyndns.tv/webapp/nodo.php
DEBUG: Response from host=HTTP/1.1 200 OK
DEBUG: Response from host=Date: Thu, 30 Apr 2015 11:23:53 GMT
Debug: HTTP-Request=GET /webapp/nodo.php?id=TESTEN&unit=0&key=65604484db309d1c5fb05b45ee24413b&event=RawSignal%200xDB41A020 HTTP/1.1
Debug: Host=vanderaa.dyndns.tv
Debug: URL=vanderaa.dyndns.tv/webapp/nodo.php
DEBUG: Response from host=HTTP/1.1 200 OK
DEBUG: Response from host=Date: Thu, 30 Apr 2015 11:24:28 GMT
Debug: HTTP-Request=GET /webapp/nodo.php?id=TESTEN&cookie=7B8D4D59 HTTP/1.1
Debug: Host=vanderaa.dyndns.tv
Debug: URL=vanderaa.dyndns.tv/webapp/nodo.php
DEBUG: Response from host=HTTP/1.1 200 OK
DEBUG: Response from host=Date: Thu, 30 Apr 2015 11:24:37 GMT
Debug: HTTP-Request=GET /webapp/nodo.php?id=TESTEN&unit=0&key=fb119eb591eccdc536eac57d94bf9ccf&event=RawSignal%200xDB41A020 HTTP/1.1
Debug: Host=vanderaa.dyndns.tv
Debug: URL=vanderaa.dyndns.tv/webapp/nodo.php
DEBUG: Response from host=HTTP/1.1 200 OK
DEBUG: Response from host=Date: Thu, 30 Apr 2015 11:25:03 GMT
Debug: HTTP-Request=GET /webapp/nodo.php?id=TESTEN&unit=0&key=fb119eb591eccdc536eac57d94bf9ccf&event=RawSignal%200xDB41A020 HTTP/1.1
Debug: Host=vanderaa.dyndns.tv
Debug: URL=vanderaa.dyndns.tv/webapp/nodo.php
DEBUG: Response from host=HTTP/1.1 200 OK
DEBUG: Response from host=Date: Thu, 30 Apr 2015 11:25:38 GMT
Debug: HTTP-Request=GET /webapp/nodo.php?id=TESTEN&cookie=B0D719EB HTTP/1.1
Debug: Host=vanderaa.dyndns.tv
Debug: URL=vanderaa.dyndns.tv/webapp/nodo.php
DEBUG: Response from host=HTTP/1.1 200 OK
DEBUG: Response from host=Date: Thu, 30 Apr 2015 11:25:42 GMT
Debug: HTTP-Request=GET /webapp/nodo.php?id=TESTEN&cookie=DC33DD1A HTTP/1.1
Debug: Host=vanderaa.dyndns.tv
Debug: URL=vanderaa.dyndns.tv/webapp/nodo.php
DEBUG: Response from host=HTTP/1.1 200 OK
DEBUG: Response from host=Date: Thu, 30 Apr 2015 11:26:46 GMT
Debug: HTTP-Request=GET /webapp/nodo.php?id=TESTEN&unit=0&key=da082620944370112d99bfcac0a3438b&event=RawSignal%200xDB41A020 HTTP/1.1
Debug: Host=vanderaa.dyndns.tv
Debug: URL=vanderaa.dyndns.tv/webapp/nodo.php
DEBUG: Response from host=HTTP/1.1 200 OK
DEBUG: Response from host=Date: Thu, 30 Apr 2015 11:26:48 GMT
Debug: HTTP-Request=GET /webapp/nodo.php?id=TESTEN&cookie=D04865E0 HTTP/1.1
Debug: Host=vanderaa.dyndns.tv
Debug: URL=vanderaa.dyndns.tv/webapp/nodo.php
DEBUG: Response from host=HTTP/1.1 200 OK
DEBUG: Response from host=Date: Thu, 30 Apr 2015 11:27:50 GMT
Debug: HTTP-Request=GET /webapp/nodo.php?id=TESTEN&cookie=491250E6 HTTP/1.1
Debug: Host=vanderaa.dyndns.tv
Debug: URL=vanderaa.dyndns.tv/webapp/nodo.php
DEBUG: Response from host=HTTP/1.1 200 OK
DEBUG: Response from host=Date: Thu, 30 Apr 2015 11:28:53 GMT
Debug: HTTP-Request=GET /webapp/nodo.php?id=TESTEN&cookie=33857CB1 HTTP/1.1
Debug: Host=vanderaa.dyndns.tv
Debug: URL=vanderaa.dyndns.tv/webapp/nodo.php
DEBUG: Response from host=HTTP/1.1 200 OK
DEBUG: Response from host=Date: Thu, 30 Apr 2015 11:29:56 GMT
Debug: HTTP-Request=GET /webapp/nodo.php?id=TESTEN&cookie=C896CB82 HTTP/1.1
Debug: Host=vanderaa.dyndns.tv
Debug: URL=vanderaa.dyndns.tv/webapp/nodo.php
DEBUG: Response from host=HTTP/1.1 200 OK
DEBUG: Response from host=Date: Thu, 30 Apr 2015 11:30:58 GMT
Debug: HTTP-Request=GET /webapp/nodo.php?id=TESTEN&cookie=87C99EB5 HTTP/1.1
Debug: Host=vanderaa.dyndns.tv
Debug: URL=vanderaa.dyndns.tv/webapp/nodo.php
DEBUG: Response from host=HTTP/1.1 200 OK
DEBUG: Response from host=Date: Thu, 30 Apr 2015 11:32:01 GMT
Debug: HTTP-Request=GET /webapp/nodo.php?id=TESTEN&cookie=00874820 HTTP/1.1
Debug: Host=vanderaa.dyndns.tv
Debug: URL=vanderaa.dyndns.tv/webapp/nodo.php
DEBUG: Response from host=HTTP/1.1 200 OK
DEBUG: Response from host=Date: Thu, 30 Apr 2015 11:33:05 GMT
Debug: HTTP-Request=GET /webapp/nodo.php?id=TESTEN&cookie=79DA38A1 HTTP/1.1
Debug: Host=vanderaa.dyndns.tv
Debug: URL=vanderaa.dyndns.tv/webapp/nodo.php
DEBUG: Response from host=HTTP/1.1 200 OK
DEBUG: Response from host=Date: Thu, 30 Apr 2015 11:34:07 GMT
Debug: HTTP-Request=GET /webapp/nodo.php?id=TESTEN&cookie=C7A77760 HTTP/1.1
Debug: Host=vanderaa.dyndns.tv
Debug: URL=vanderaa.dyndns.tv/webapp/nodo.php
DEBUG: Response from host=HTTP/1.1 200 OK
DEBUG: Response from host=Date: Thu, 30 Apr 2015 11:35:10 GMT
Debug: HTTP-Request=GET /webapp/nodo.php?id=TESTEN&cookie=76B568C1 HTTP/1.1
Debug: Host=vanderaa.dyndns.tv
Debug: URL=vanderaa.dyndns.tv/webapp/nodo.php
DEBUG: Response from host=HTTP/1.1 200 OK
DEBUG: Response from host=Date: Thu, 30 Apr 2015 11:36:12 GMT
Debug: HTTP-Request=GET /webapp/nodo.php?id=TESTEN&cookie=554512D0 HTTP/1.1
Debug: Host=vanderaa.dyndns.tv
Debug: URL=vanderaa.dyndns.tv/webapp/nodo.php
DEBUG: Response from host=HTTP/1.1 200 OK
DEBUG: Response from host=Date: Thu, 30 Apr 2015 11:37:15 GMT
Debug: HTTP-Request=GET /webapp/nodo.php?id=TESTEN&cookie=99845A63 HTTP/1.1
Debug: Host=vanderaa.dyndns.tv
Debug: URL=vanderaa.dyndns.tv/webapp/nodo.php
Debug: URL=vanderaa.dyndns.tv/webapp/nodo.php
DEBUG: Response from host=<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">
DEBUG: Response from host=<html><head>
DEBUG: Response from host=<title>400 Bad Request</title>
DEBUG: Response from host=</head><body>
DEBUG: Response from host=<h1>Bad Request</h1>
DEBUG: Response from host=<p>Your browser sent a request that this server could not understand.<br />
DEBUG: Response from host=</p>
DEBUG: Response from host=</body></html>
Debug: Connecting to URL [vanderaa.dyndns.tv/webapp/nodo.php] failed!
Debug: HTTP-Request=GET /webapp/nodo.php?id=TESTEN&cookie=85340E14 HTTP/1.1
Debug: Host=vanderaa.dyndns.tv
Debug: Connecting to URL [vanderaa.dyndns.tv/webapp/nodo.php] failed!
Debug: HTTP-Request=GET /webapp/nodo.php?id=TESTEN&cookie=34A59DCA HTTP/1.1
Debug: Host=vanderaa.dyndns.tv
Debug: Connecting to URL [vanderaa.dyndns.tv/webapp/nodo.php] failed!
Debug: HTTP-Request=GET /webapp/nodo.php?id=TESTEN&cookie=201ADAE8 HTTP/1.1
Debug: Host=vanderaa.dyndns.tv
Debug: Connecting to URL [vanderaa.dyndns.tv/webapp/nodo.php] failed!
Debug: HTTP-Request=GET /webapp/nodo.php?id=TESTEN&cookie=E7B9C9A8 HTTP/1.1
Debug: Host=vanderaa.dyndns.tv



Martin wat mij wel opvalt is dat de database niet gevuld wordt met cookies ... klopt dit ??
kabouter
 
Berichten: 214
Geregistreerd: 10 nov 2011, 13:57

Re: WebApp code beschikbaar

Berichtdoor andreo » 01 mei 2015, 19:07

Hoi Martin,

Heb je mogelijk wat aan onderstaande info?, wat moet ik in een browser zien als ik qnap/webapp/nodo.php ingeef? het scherm blijft blanco. Verder lijkt de nieuwe webapp goed te werken.

Code: Selecteer alles
Serial-1 port: Ok.
Nodo Mega: Ok.
Speaker: Ok.
Pulsecounter: Ok.
Infrared: Ok.
RF 433Mhz: Ok.
RGB Status led: Ok.
WiredIn port: Ok.
WiredOut port: Ok.
SDCard: Ok.
I2C: Ok.
Realtime clock: Ok.
Software SPI: Ok.
RF 2.4Ghz: Ok.
Ethernet connection:  Ok.
Host connection: qnap/webapp/nodo.phpDebug: HTTP-Request=GET /webapp/nodo.php?id=DR8AWT1K&cookie=488A2988 HTTP/1.1
Debug: Host=qnap
Debug: IP Host=0.0.0.0.0
Debug: URL=qnap/webapp/nodo.php
Debug: IP Host=0.0.0.0.0
Debug: URL=qnap/webapp/nodo.php
Debug: IP Host=0.0.0.0.0
Debug: URL=qnap/webapp/nodo.php
Debug: Connecting to URL [qnap/webapp/nodo.php] failed!
 Failed!

!******************************************************************************!
Nodo Domotica controller V3.8 BETA (Mega)
(c) Copyright 2015 P.K.Tonkes. Licensed under GNU General Public License.
Product=SWACNC-MEGA-R817, ThisUnit=1, ID=DR8AWT1K
Date=01-05-2015 (Fri); Time=20:02 DaylightSaving
IP=192.168.1.74, PortOutput=80, PortInput=6636
!******************************************************************************!
Input=System; Unit=1; Event=Boot 1
Output=IR; Unit=0; Event=Boot 1
Output=RF; Unit=0; Event=Boot 1
Output=RF24; Unit=0; Event=Boot 1
Output=I2C; Unit=0; Event=Boot 1

Ready. Nodo is waiting for serial input...

reset
Input=Serial; Unit=1; Event=Reset
Serial-1 port: Ok.
Nodo Mega: Ok.
Speaker: Ok.
Pulsecounter: Ok.
Infrared: Ok.
RF 433Mhz: Ok.
RGB Status led: Ok.
WiredIn port: Ok.
WiredOut port: Ok.
SDCard: Ok.
I2C: Ok.
Realtime clock: Ok.
Software SPI: Ok.
RF 2.4Ghz: Ok.
Ethernet connection:  Ok.

!******************************************************************************!
Nodo Domotica controller V3.8 BETA (Mega)
(c) Copyright 2015 P.K.Tonkes. Licensed under GNU General Public License.
Product=SWACNC-MEGA-R817, ThisUnit=1
Date=01-05-2015 (Fri); Time=20:02 DaylightSaving
IP=192.168.1.74, PortOutput=80, PortInput=6636
!******************************************************************************!
Input=System; Unit=1; Event=Boot 1
Output=IR; Unit=0; Event=Boot 1
Output=RF; Unit=0; Event=Boot 1
Output=RF24; Unit=0; Event=Boot 1
Output=I2C; Unit=0; Event=Boot 1

Ready. Nodo is waiting for serial input...

debug on
Input=Serial; Unit=1; Event=Debug On
>Debug: HTTP-Input=GET /?event=status%20NodoIp HTTP/1.1
Input=HTTP; Unit=1; Event=Status -,0

!******************************************************************************!
Nodo Domotica controller V3.8 BETA (Mega)
(c) Copyright 2015 P.K.Tonkes. Licensed under GNU General Public License.
Product=SWACNC-MEGA-R817, ThisUnit=1
Date=01-05-2015 (Fri); Time=20:04 DaylightSaving
IP=192.168.1.74, PortOutput=80, PortInput=6636
!******************************************************************************!
Debug: HTTP-Input=GET /?event=eventlistwrite;WildCard%20RF,All;EventSend%20HTTP HTTP/1.1
Debug: HTTP-Input=GET /?event=eventlistwrite;WildCard%20IR,All;EventSend%20HTTP HTTP/1.1
Debug: HTTP-Input=GET /?event=eventlistwrite;WildCard%20System,Variable;EventSend%20HTTP HTTP/1.1
Debug: HTTP-Input=GET /?event=eventlistwrite;WildCard%20Wired,All;EventSend%20HTTP HTTP/1.1
Debug: HTTP-Input=GET /?event=eventlistwrite;EventListWrite;Wildcard%20HTTP,UserEvent;EventSend%20HTTP HTTP/1.1
Debug: HTTP-Input=GET /?event=HTTPHost%20qnap/webapp/nodo.php HTTP/1.1
Debug: HTTP-Input=GET /?event=output%20http,on HTTP/1.1
Input=HTTP; Unit=1; Event=Output HTTP,On
Debug: HTTP-Input=GET /?event=status%20HTTPHost&key=8b67fc1005c27604191d98e52fbcc0bb HTTP/1.1
Input=HTTP; Unit=1; Event=Status HTTPHost,0
Debug: HTTP-Input=GET /?event=status%20Output%20HTTP&key=8b67fc1005c27604191d98e52fbcc0bb HTTP/1.1
Input=HTTP; Unit=1; Event=Status Output,62
Debug: HTTP-Input=GET /?event=id%20DR8AWT1K;password%20qwe45ty;SettingsSave;reboot HTTP/1.1
Input=HTTP; Unit=1; Event=SettingsSave
InputSerial-1 port: Ok.
Nodo Mega: Ok.
Speaker: Ok.
Pulsecounter: Ok.
Infrared: Ok.
RF 433Mhz: Ok.
RGB Status led: Ok.
WiredIn port: Ok.
WiredOut port: Ok.
SDCard: Ok.
I2C: Ok.
Realtime clock: Ok.
Software SPI: Ok.
RF 2.4Ghz: Ok.
Ethernet connection:  Ok.
Host connection: qnap/webapp/nodo.phpDebug: HTTP-Request=GET /webapp/nodo.php?id=DR8AWT1K&cookie=488A2988 HTTP/1.1
Debug: Host=qnap
Debug: IP Host=0.0.0.0.0
Debug: URL=qnap/webapp/nodo.php
Debug: IP Host=0.0.0.0.0
Debug: URL=qnap/webapp/nodo.php
Debug: IP Host=0.0.0.0.0
Debug: URL=qnap/webapp/nodo.php
Debug: Connecting to URL [qnap/webapp/nodo.php] failed!
 Failed!

!******************************************************************************!
Nodo Domotica controller V3.8 BETA (Mega)
(c) Copyright 2015 P.K.Tonkes. Licensed under GNU General Public License.
Product=SWACNC-MEGA-R817, ThisUnit=1, ID=DR8AWT1K
Date=01-05-2015 (Fri); Time=20:04 DaylightSaving
IP=192.168.1.74, PortOutput=80, PortInput=6636
!******************************************************************************!
Input=System; Unit=1; Event=Boot 1
Output=IR; Unit=0; Event=Boot 1
Output=RF; Unit=0; Event=Boot 1
Output=RF24; Unit=0; Event=Boot 1
Output=I2C; Unit=0; Event=Boot 1

Ready. Nodo is waiting for serial input...




En de instellingen van de nodo
Code: Selecteer alles
status all
Input=Serial; Unit=1; Event=Status All,0

!******************************************************************************!
Nodo Domotica controller V3.8 BETA (Mega)
(c) Copyright 2015 P.K.Tonkes. Licensed under GNU General Public License.
Product=SWACNC-MEGA-R817, ThisUnit=1, ID=DR8AWT1K
Date=01-05-2015 (Fri); Time=20:11 DaylightSaving
IP=192.168.1.74, PortOutput=80, PortInput=6636
!******************************************************************************!
AlarmSet 1,Off,00:00,*
AlarmSet 2,Off,00:00,*
AlarmSet 3,Off,00:00,*
AlarmSet 4,Off,00:00,*
AlarmSet 5,Off,00:00,*
AlarmSet 6,Off,00:00,*
AlarmSet 7,Off,00:00,*
AlarmSet 8,Off,00:00,*
ClockDaylight 3,0
ClockSetDate 01-05-2015
ClockSetTime 20:11
Debug On
Plugin 1
Plugin 2
Plugin 5
Plugin 6
Plugin 20
Plugin 23
EventlistCount 5,250
FreeMem 2375
HWConfig 0x400BE737
HWStatus 0x400BE737
HTTPHost qnap/webapp/nodo.php
ID DR8AWT1K
IP 0.0.0.0.255(DHCP)
Log Off
Output HTTP,On
PortInput 6636
PortOutput 80
RawSignalReceive Off,On
Temp
WiredAnalog 1,1021
WiredAnalog 2,1021
WiredAnalog 3,1021
WiredAnalog 4,1021
WiredIn 1,On
WiredIn 2,On
WiredIn 3,On
WiredIn 4,On
WiredOut 1,Off
WiredOut 2,Off
WiredOut 3,Off
WiredOut 4,Off
WiredOut 5,Off
WiredOut 6,Off
WiredOut 7,Off
WiredOut 8,Off
WiredPullup 1,On
WiredPullup 2,On
WiredPullup 3,On
WiredPullup 4,On
WiredSmittTrigger 1,10
WiredSmittTrigger 2,10
WiredSmittTrigger 3,10
WiredSmittTrigger 4,10
WiredThreshold 1,512
WiredThreshold 2,512
WiredThreshold 3,512
WiredThreshold 4,512
RawSignalSample 25
AliasShow Off
Build 817
WaitBusyNodo Off
!******************************************************************************!
>


Zojuist de hostnaam qnap gewijzigd in een IP adres binnen de files settings.php, dit geeft het volgende.
Code: Selecteer alles
!******************************************************************************!
Nodo Domotica controller V3.8 BETA (Mega)
(c) Copyright 2015 P.K.Tonkes. Licensed under GNU General Public License.
Product=SWACNC-MEGA-R817, ThisUnit=1, ID=DR8AWT1K
Date=01-05-2015 (Fri); Time=22:47 DaylightSaving
IP=192.168.1.74, PortOutput=80, PortInput=6636
!******************************************************************************!
Input=System; Unit=1; Event=Boot 1
Output=IR; Unit=0; Event=Boot 1
Output=RF; Unit=0; Event=Boot 1
Output=RF24; Unit=0; Event=Boot 1
Output=I2C; Unit=0; Event=Boot 1
Output=HTTP; Unit=1; Event=Boot 1
Debug: HTTP-Request=GET /webapp/nodo.php?id=DR8AWT1K&unit=1&key=47451a56980396078d5bbfb0fea202f3&event=Boot%201 HTTP/1.1
Debug: Host=192.168.1.7
Debug: IP Host=192.168.1.7.0
Debug: URL=192.168.1.7/webapp/nodo.php
DEBUG: Response from host=HTTP/1.1 200 OK
DEBUG: Response from host=Date: Fri, 01 May 2015 20:46:26 GMT
DEBUG: Response from host=Server: Apache
DEBUG: Response from host=X-Powered-By: PHP/5.3.29
DEBUG: Response from host=Vary: Accept-Encoding
DEBUG: Response from host=Content-Length: 0
DEBUG: Response from host=Connection: close
DEBUG: Response from host=Content-Type: text/html
DEBUG: Response from host=

Ready. Nodo is waiting for serial input...

Debug: HTTP-Request=GET /webapp/nodo.php?id=DR8AWT1K&cookie=405C2C87 HTTP/1.1
Debug: Host=192.168.1.7
Debug: IP Host=192.168.1.7.0
Debug: URL=192.168.1.7/webapp/nodo.php
DEBUG: Response from host=HTTP/1.0 500 Internal Server Error
DEBUG: Response from host=Date: Fri, 01 May 2015 20:46:31 GMT
DEBUG: Response from host=Server: Apache
DEBUG: Response from host=X-Powered-By: PHP/5.3.29
DEBUG: Response from host=Vary: Accept-Encoding
DEBUG: Response from host=Content-Length: 0
DEBUG: Response from host=Connection: close
DEBUG: Response from host=Content-Type: text/html
DEBUG: Response from host=
Debug: IP Host=192.168.1.7.0
Debug: URL=192.168.1.7/webapp/nodo.php
DEBUG: Response from host=HTTP/1.1 200 OK
DEBUG: Response from host=Date: Fri, 01 May 2015 20:46:32 GMT
DEBUG: Response from host=Server: Apache
DEBUG: Response from host=X-Powered-By: PHP/5.3.29
DEBUG: Response from host=Vary: Accept-Encoding
DEBUG: Response from host=Content-Length: 317
DEBUG: Response from host=Connection: close
DEBUG: Response from host=Content-Type: text/html
DEBUG: Response from host=
DEBUG: Response from host=<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
DEBUG: Response from host=<html xmlns="http://www.w3.org/1999/xhtml">
DEBUG: Response from host=<head>
DEBUG: Response from host=<meta http-equiv="expires" content="0">
DEBUG: Response from host=<script type='text/javascript'>
DEBUG: Response from host=location.href = 'http://192.168.1.7:8080/';
DEBUG: Response from host=</script>
DEBUG: Response from host=</head>
Debug: HTTP-Request=GET /webapp/nodo.php?id=DR8AWT1K&cookie=4A73492A HTTP/1.1
Debug: Host=192.168.1.7
Debug: IP Host=192.168.1.7.0
Debug: URL=192.168.1.7/webapp/nodo.php
DEBUG: Response from host=HTTP/1.0 500 Internal Server Error
DEBUG: Response from host=Date: Fri, 01 May 2015 20:47:34 GMT
DEBUG: Response from host=Server: Apache
DEBUG: Response from host=X-Powered-By: PHP/5.3.29
DEBUG: Response from host=Vary: Accept-Encoding
DEBUG: Response from host=Content-Length: 0
DEBUG: Response from host=Connection: close
DEBUG: Response from host=Content-Type: text/html
DEBUG: Response from host=
Debug: IP Host=192.168.1.7.0
Debug: URL=192.168.1.7/webapp/nodo.php
DEBUG: Response from host=HTTP/1.1 200 OK
DEBUG: Response from host=Date: Fri, 01 May 2015 20:47:34 GMT
DEBUG: Response from host=Server: Apache
DEBUG: Response from host=X-Powered-By: PHP/5.3.29
DEBUG: Response from host=Vary: Accept-Encoding
DEBUG: Response from host=Content-Length: 317
DEBUG: Response from host=Connection: close
DEBUG: Response from host=Content-Type: text/html
DEBUG: Response from host=
DEBUG: Response from host=<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
DEBUG: Response from host=<html xmlns="http://www.w3.org/1999/xhtml">
DEBUG: Response from host=<head>
DEBUG: Response from host=<meta http-equiv="expires" content="0">
DEBUG: Response from host=<script type='text/javascript'>
DEBUG: Response from host=location.href = 'http://192.168.1.7:8080/';
DEBUG: Response from host=</script>
DEBUG: Response from host=</head>


Ik zie een 500 internal server error en een verwijzing naar poort 8080. Maar heb geen idee hoe dit op te lossen.
Groet, Andre
mijn NES
Nodo-Mega V3.7 R744|Nodo-Mini V3.7 R744|WebApp lokaal QNAP TS-119P II (SWINWA-PROD-V099)|WS-3500|ASUN650 zonweringsmodule | diverse KAKU |
andreo
 
Berichten: 119
Geregistreerd: 17 sep 2012, 23:51
Woonplaats: Anna Paulowna

Re: WebApp code beschikbaar

Berichtdoor mdegraaf » 01 mei 2015, 23:22

kabouter schreef:
mdegraaf schreef:
Het lijkt er sterk op dat de variabele $NODO_URL in config.php niet correct staat ingevoerd.
In jou geval zou er $NODO_URL = "http://vanderaa.dyndns.tv/webapp/nodo.php" moeten staan klopt dit?
Wil je eens een status all uitvoeren en deze hier posten.
Tevens zou je ook een [debug on] kunnen uitvoeren wanneer de Nodo via een seriele kabel is aangesloten en events naar HTTP stuurt. Wellicht komen we er dan achter wat er fout gaat.

Verder zijn we er achter gekomen dat httphost in de Nodo alleen een host-name mag bevatten en geen IP-adres dit is in jou geval geen probleem maar wellicht lopen andere tegen dit probleem aan. De Nodo code zal worden aangepast zodat zowel een host-name als IP-adres opgegeven mag worden.

Groeten,

Martin


@Martin,
ondertussen ook geupgrade naar R815 ....

Ja het klopt dat
$NODO_URL = "http://vanderaa.dyndns.tv/webapp/nodo.php"
in de config.php staat.

en met status all krijg ik onderstaand te zien

Code: Selecteer alles
Enter your password: nodo

!******************************************************************************!
Nodo Domotica controller V3.8 BETA (Mega)
(c) Copyright 2015 P.K.Tonkes. Licensed under GNU General Public License.
Product=SWACNC-MEGA-R815, ThisUnit=1, ID=TESTEN
Date=30-04-2015 (Thu); Time=13:11 DaylightSaving
IP=192.168.1.220, PortOutput=80, PortInput=6636
Host=vanderaa.dyndns.tv
!******************************************************************************!
>status all
Input=Terminal; Unit=1; Event=Status All,0

!******************************************************************************!
Nodo Domotica controller V3.8 BETA (Mega)
(c) Copyright 2015 P.K.Tonkes. Licensed under GNU General Public License.
Product=SWACNC-MEGA-R815, ThisUnit=1, ID=TESTEN
Date=30-04-2015 (Thu); Time=13:11 DaylightSaving
IP=192.168.1.220, PortOutput=80, PortInput=6636
Host=vanderaa.dyndns.tv
!******************************************************************************!
AlarmSet 1,Off,00:00,*
AlarmSet 2,Off,00:00,*
AlarmSet 3,Off,00:00,*
AlarmSet 4,Off,00:00,*
AlarmSet 5,Off,00:00,*
AlarmSet 6,Off,00:00,*
AlarmSet 7,Off,00:00,*
AlarmSet 8,Off,00:00,*
ClockDaylight 2,0
ClockSetDate 30-04-2015
ClockSetTime 13:11
Debug Off
Plugin 1
Plugin 2
Plugin 5
Plugin 6
Plugin 20
Plugin 23
EventlistCount 5,250
FreeMem 2355
HWConfig 0x4003E737
HWStatus 0x4003E337
HTTPHost vanderaa.dyndns.tv/webapp/nodo.php
ID TESTEN
IP 0.0.0.0.255(DHCP)
Log Off
Output HTTP,On
PortInput 6636
PortOutput 80
RawSignalReceive Off,On
Temp
WiredAnalog 1,271
WiredAnalog 2,1020
WiredAnalog 3,1021
WiredAnalog 4,1021
WiredAnalog 5,1021
WiredAnalog 6,1021
WiredAnalog 7,1021
WiredAnalog 8,1021
WiredIn 1,Off
WiredIn 2,On
WiredIn 3,On
WiredIn 4,On
WiredIn 5,On
WiredIn 6,On
WiredIn 7,On
WiredIn 8,On
WiredOut 1,Off
WiredOut 2,Off
WiredOut 3,Off
WiredOut 4,Off
WiredOut 5,Off
WiredOut 6,Off
WiredOut 7,Off
WiredOut 8,Off
WiredPullup 1,On
WiredPullup 2,On
WiredPullup 3,On
WiredPullup 4,On
WiredPullup 5,On
WiredPullup 6,On
WiredPullup 7,On
WiredPullup 8,On
WiredSmittTrigger 1,10
WiredSmittTrigger 2,10
WiredSmittTrigger 3,10
WiredSmittTrigger 4,10
WiredSmittTrigger 5,10
WiredSmittTrigger 6,10
WiredSmittTrigger 7,10
WiredSmittTrigger 8,10
WiredThreshold 1,512
WiredThreshold 2,512
WiredThreshold 3,512
WiredThreshold 4,512
WiredThreshold 5,512
WiredThreshold 6,512
WiredThreshold 7,512
WiredThreshold 8,512
RawSignalSample 25
AliasShow Off
Build 815
WaitBusyNodo Off
!******************************************************************************!
>>


en debug geeft :

Code: Selecteer alles
Serial-1 port: Ok.
Nodo Mega: Ok.
Speaker: Ok.
Pulsecounter: Ok.
Infrared: Ok.
RF 433Mhz: Ok.
RGB Status led: Ok.
WiredIn port: Ok.
WiredOut port: Ok.
SDCard: Ok.
I2C: Ok.
Realtime clock: Ok.
Software SPI: Ok.
Ethernet connection:  Ok.

!******************************************************************************!
Nodo Domotica controller V3.8 BETA (Mega)
(c) Copyright 2015 P.K.Tonkes. Licensed under GNU General Public License.
Product=SWACNC-MEGA-R815, ThisUnit=1, ID=TESTEN
Date=30-04-2015 (Thu); Time=13:16 DaylightSaving
IP=192.168.1.220, PortOutput=80, PortInput=6636
Host=vanderaa.dyndns.tv
!******************************************************************************!
Input=System; Unit=1; Event=Boot 1
Output=IR; Unit=0; Event=Boot 1
Output=RF; Unit=0; Event=Boot 1
Output=I2C; Unit=0; Event=Boot 1
Output=HTTP; Unit=1; Event=Boot 1

Ready. Nodo is waiting for serial input...

debug on;
Input=Serial; Unit=1; Event=Debug On
>Input=Terminal; Unit=1; Event=Reset
Serial-1 port: Ok.
Nodo Mega: Ok.
Speaker: Ok.
Pulsecounter: Ok.
Infrared: Ok.
RF 433Mhz: Ok.
RGB Status led: Ok.
WiredIn port: Ok.
WiredOut port: Ok.
SDCard: Ok.
I2C: Ok.
Realtime clock: Ok.
Software SPI: Ok.
Ethernet connection:  Ok.

!******************************************************************************!
Nodo Domotica controller V3.8 BETA (Mega)
(c) Copyright 2015 P.K.Tonkes. Licensed under GNU General Public License.
Product=SWACNC-MEGA-R815, ThisUnit=1
Date=30-04-2015 (Thu); Time=13:17 DaylightSaving
IP=192.168.1.220, PortOutput=80, PortInput=6636
!******************************************************************************!
Input=System; Unit=1; Event=Boot 1
Output=IR; Unit=0; Event=Boot 1
Output=RF; Unit=0; Event=Boot 1
Output=I2C; Unit=0; Event=Boot 1
Output=HTTP; Unit=1; Event=Boot 1

Ready. Nodo is waiting for serial input...

Serial-1 port: Ok.
Nodo Mega: Ok.
Speaker: Ok.
Pulsecounter: Ok.
Infrared: Ok.
RF 433Mhz: Ok.
RGB Status led: Ok.
WiredIn port: Ok.
WiredOut port: Ok.
SDCard: Ok.
I2C: Ok.
Realtime clock: Ok.
Software SPI: Ok.
Ethernet connection:  Ok.

!******************************************************************************!
Nodo Domotica controller V3.8 BETA (Mega)
(c) Copyright 2015 P.K.Tonkes. Licensed under GNU General Public License.
Product=SWACNC-MEGA-R815, ThisUnit=1, ID=TESTEN
Date=30-04-2015 (Thu); Time=13:18 DaylightSaving
IP=192.168.1.220, PortOutput=80, PortInput=6636
Host=vanderaa.dyndns.tv
!******************************************************************************!
Input=System; Unit=1; Event=Boot 1
Output=IR; Unit=0; Event=Boot 1
Output=RF; Unit=0; Event=Boot 1
Output=I2C; Unit=0; Event=Boot 1
Output=HTTP; Unit=1; Event=Boot 1

Ready. Nodo is waiting for serial input...

debug on
Input=Serial; Unit=1; Event=Debug On
>Input=Terminal; Unit=1; Event=Reset
Serial-1 port: Ok.
Nodo Mega: Ok.
Speaker: Ok.
Pulsecounter: Ok.
Infrared: Ok.
RF 433Mhz: Ok.
RGB Status led: Ok.
WiredIn port: Ok.
WiredOut port: Ok.
SDCard: Ok.
I2C: Ok.
Realtime clock: Ok.
Software SPI: Ok.
Ethernet connection:  Ok.

!******************************************************************************!
Nodo Domotica controller V3.8 BETA (Mega)
(c) Copyright 2015 P.K.Tonkes. Licensed under GNU General Public License.
Product=SWACNC-MEGA-R815, ThisUnit=1
Date=30-04-2015 (Thu); Time=13:18 DaylightSaving
IP=192.168.1.220, PortOutput=80, PortInput=6636
!******************************************************************************!
Input=System; Unit=1; Event=Boot 1
Output=IR; Unit=0; Event=Boot 1
Output=RF; Unit=0; Event=Boot 1
Output=I2C; Unit=0; Event=Boot 1
Output=HTTP; Unit=1; Event=Boot 1

Ready. Nodo is waiting for serial input...

debug on
Input=Serial; Unit=1; Event=Debug On
>Debug: HTTP-Input=GET /?event=status%20NodoIp HTTP/1.1
Input=HTTP; Unit=1; Event=Status -,0

!******************************************************************************!
Nodo Domotica controller V3.8 BETA (Mega)
(c) Copyright 2015 P.K.Tonkes. Licensed under GNU General Public License.
Product=SWACNC-MEGA-R815, ThisUnit=1
Date=30-04-2015 (Thu); Time=13:19 DaylightSaving
IP=192.168.1.220, PortOutput=80, PortInput=6636
!******************************************************************************!
Debug: HTTP-Input=GET /?event=eventlistwrite;WildCard%20RF,All;EventSend%20HTTP HTTP/1.1
Debug: HTTP-Input=GET /?event=eventlistwrite;WildCard%20IR,All;EventSend%20HTTP HTTP/1.1
Debug: HTTP-Input=GET /?event=eventlistwrite;WildCard%20System,Variable;EventSend%20HTTP HTTP/1.1
Debug: HTTP-Input=GET /?event=eventlistwrite;WildCard%20Wired,All;EventSend%20HTTP HTTP/1.1
Debug: HTTP-Input=GET /?event=eventlistwrite;EventListWrite;Wildcard%20HTTP,UserEvent;EventSend%20HTTP HTTP/1.1
Debug: HTTP-Input=GET /?event=HTTPHost%20vanderaa.dyndns.tv/webapp/nodo.php HTTP/1.1
Debug: HTTP-Input=GET /?event=output%20http,on HTTP/1.1
Input=HTTP; Unit=1; Event=Output HTTP,On
Debug: HTTP-Input=GET /?event=status%20HTTPHost&key=12d4ef3a65be2220e2de8f4e93394d71 HTTP/1.1
Input=HTTP; Unit=1; Event=Status HTTPHost,0
Debug: HTTP-Input=GET /?event=status%20Output%20HTTP&key=12d4ef3a65be2220e2de8f4e93394d71 HTTP/1.1
Input=HTTP; Unit=1; Event=Status Output,62
Debug: HTTP-Input=GET /?event=id%20TESTEN;password%20nodo;SettingsSave;reboot HTTP/1.1
Input=HTTP; Unit=1; Event=SettingsSave
Input=Serial-1 port: Ok.
Nodo Mega: Ok.
Speaker: Ok.
Pulsecounter: Ok.
Infrared: Ok.
RF 433Mhz: Ok.
RGB Status led: Ok.
WiredIn port: Ok.
WiredOut port: Ok.
SDCard: Ok.
I2C: Ok.
Realtime clock: Ok.
Software SPI: Ok.
Ethernet connection:  Ok.
Debug: HTTP-Request=GET /webapp/nodo.php?id=TESTEN&cookie=488A2988 HTTP/1.1
Debug: Host=vanderaa.dyndns.tv
Debug: URL=vanderaa.dyndns.tv/webapp/nodo.php
DEBUG: Response from host=HTTP/1.1 200 OK
DEBUG: Response from host=Date: Thu, 30 Apr 2015 11:18:51 GMT

!******************************************************************************!
Nodo Domotica controller V3.8 BETA (Mega)
(c) Copyright 2015 P.K.Tonkes. Licensed under GNU General Public License.
Product=SWACNC-MEGA-R815, ThisUnit=1, ID=TESTEN
Date=30-04-2015 (Thu); Time=13:19 DaylightSaving
IP=192.168.1.220, PortOutput=80, PortInput=6636
Host=vanderaa.dyndns.tv
!******************************************************************************!
Input=System; Unit=1; Event=Boot 1
Output=IR; Unit=0; Event=Boot 1
Output=RF; Unit=0; Event=Boot 1
Output=I2C; Unit=0; Event=Boot 1
Output=HTTP; Unit=1; Event=Boot 1
Debug: HTTP-Request=GET /webapp/nodo.php?id=TESTEN&unit=1&key=e01c6d8bb5282939eeef0408670f72e9&event=Boot%201 HTTP/1.1
Debug: Host=vanderaa.dyndns.tv
Debug: URL=vanderaa.dyndns.tv/webapp/nodo.php
DEBUG: Response from host=HTTP/1.1 200 OK
DEBUG: Response from host=Date: Thu, 30 Apr 2015 11:18:52 GMT

Ready. Nodo is waiting for serial input...

Debug: HTTP-Request=GET /webapp/nodo.php?id=TESTEN&cookie=405C2C87 HTTP/1.1
Debug: Host=vanderaa.dyndns.tv
Debug: URL=vanderaa.dyndns.tv/webapp/nodo.php
DEBUG: Response from host=HTTP/1.1 200 OK
DEBUG: Response from host=Date: Thu, 30 Apr 2015 11:18:52 GMT
Debug: HTTP-Request=GET /webapp/nodo.php?id=TESTEN&unit=1&key=4785b4aa9bc7d99656062a62cd22d457&event=WiredIn%201,Off HTTP/1.1
Debug: Host=vanderaa.dyndns.tv
Debug: URL=vanderaa.dyndns.tv/webapp/nodo.php
DEBUG: Response from host=HTTP/1.1 200 OK
DEBUG: Response from host=Date: Thu, 30 Apr 2015 11:18:53 GMT
Debug: HTTP-Request=GET /webapp/nodo.php?id=TESTEN&cookie=4A73492A HTTP/1.1
Debug: Host=vanderaa.dyndns.tv
Debug: URL=vanderaa.dyndns.tv/webapp/nodo.php
DEBUG: Response from host=HTTP/1.1 200 OK
DEBUG: Response from host=Date: Thu, 30 Apr 2015 11:19:55 GMT
Debug: HTTP-Request=GET /webapp/nodo.php?id=TESTEN&cookie=393BA7B2 HTTP/1.1
Debug: Host=vanderaa.dyndns.tv
Debug: URL=vanderaa.dyndns.tv/webapp/nodo.php
DEBUG: Response from host=HTTP/1.1 200 OK
DEBUG: Response from host=Date: Thu, 30 Apr 2015 11:20:58 GMT
Debug: HTTP-Request=GET /webapp/nodo.php?id=TESTEN&cookie=75344967 HTTP/1.1
Debug: Host=vanderaa.dyndns.tv
Debug: URL=vanderaa.dyndns.tv/webapp/nodo.php
DEBUG: Response from host=HTTP/1.1 200 OK
DEBUG: Response from host=Date: Thu, 30 Apr 2015 11:22:01 GMT
Debug: HTTP-Request=GET /webapp/nodo.php?id=TESTEN&cookie=2D655819 HTTP/1.1
Debug: Host=vanderaa.dyndns.tv
Debug: URL=vanderaa.dyndns.tv/webapp/nodo.php
Debug: URL=vanderaa.dyndns.tv/webapp/nodo.php
Debug: URL=vanderaa.dyndns.tv/webapp/nodo.php
DEBUG: Response from host=<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">
DEBUG: Response from host=<html><head>
DEBUG: Response from host=<title>400 Bad Request</title>
DEBUG: Response from host=</head><body>
DEBUG: Response from host=<h1>Bad Request</h1>
DEBUG: Response from host=<p>Your browser sent a request that this server could not understand.<br />
DEBUG: Response from host=</p>
DEBUG: Response from host=</body></html>
Debug: Connecting to URL [vanderaa.dyndns.tv/webapp/nodo.php] failed!
Debug: HTTP-Request=GET /webapp/nodo.php?id=TESTEN&unit=0&key=65604484db309d1c5fb05b45ee24413b&event=RawSignal%200xDB41A020 HTTP/1.1
Debug: Host=vanderaa.dyndns.tv
Debug: URL=vanderaa.dyndns.tv/webapp/nodo.php
DEBUG: Response from host=HTTP/1.1 200 OK
DEBUG: Response from host=Date: Thu, 30 Apr 2015 11:23:53 GMT
Debug: HTTP-Request=GET /webapp/nodo.php?id=TESTEN&unit=0&key=65604484db309d1c5fb05b45ee24413b&event=RawSignal%200xDB41A020 HTTP/1.1
Debug: Host=vanderaa.dyndns.tv
Debug: URL=vanderaa.dyndns.tv/webapp/nodo.php
DEBUG: Response from host=HTTP/1.1 200 OK
DEBUG: Response from host=Date: Thu, 30 Apr 2015 11:24:28 GMT
Debug: HTTP-Request=GET /webapp/nodo.php?id=TESTEN&cookie=7B8D4D59 HTTP/1.1
Debug: Host=vanderaa.dyndns.tv
Debug: URL=vanderaa.dyndns.tv/webapp/nodo.php
DEBUG: Response from host=HTTP/1.1 200 OK
DEBUG: Response from host=Date: Thu, 30 Apr 2015 11:24:37 GMT
Debug: HTTP-Request=GET /webapp/nodo.php?id=TESTEN&unit=0&key=fb119eb591eccdc536eac57d94bf9ccf&event=RawSignal%200xDB41A020 HTTP/1.1
Debug: Host=vanderaa.dyndns.tv
Debug: URL=vanderaa.dyndns.tv/webapp/nodo.php
DEBUG: Response from host=HTTP/1.1 200 OK
DEBUG: Response from host=Date: Thu, 30 Apr 2015 11:25:03 GMT
Debug: HTTP-Request=GET /webapp/nodo.php?id=TESTEN&unit=0&key=fb119eb591eccdc536eac57d94bf9ccf&event=RawSignal%200xDB41A020 HTTP/1.1
Debug: Host=vanderaa.dyndns.tv
Debug: URL=vanderaa.dyndns.tv/webapp/nodo.php
DEBUG: Response from host=HTTP/1.1 200 OK
DEBUG: Response from host=Date: Thu, 30 Apr 2015 11:25:38 GMT
Debug: HTTP-Request=GET /webapp/nodo.php?id=TESTEN&cookie=B0D719EB HTTP/1.1
Debug: Host=vanderaa.dyndns.tv
Debug: URL=vanderaa.dyndns.tv/webapp/nodo.php
DEBUG: Response from host=HTTP/1.1 200 OK
DEBUG: Response from host=Date: Thu, 30 Apr 2015 11:25:42 GMT
Debug: HTTP-Request=GET /webapp/nodo.php?id=TESTEN&cookie=DC33DD1A HTTP/1.1
Debug: Host=vanderaa.dyndns.tv
Debug: URL=vanderaa.dyndns.tv/webapp/nodo.php
DEBUG: Response from host=HTTP/1.1 200 OK
DEBUG: Response from host=Date: Thu, 30 Apr 2015 11:26:46 GMT
Debug: HTTP-Request=GET /webapp/nodo.php?id=TESTEN&unit=0&key=da082620944370112d99bfcac0a3438b&event=RawSignal%200xDB41A020 HTTP/1.1
Debug: Host=vanderaa.dyndns.tv
Debug: URL=vanderaa.dyndns.tv/webapp/nodo.php
DEBUG: Response from host=HTTP/1.1 200 OK
DEBUG: Response from host=Date: Thu, 30 Apr 2015 11:26:48 GMT
Debug: HTTP-Request=GET /webapp/nodo.php?id=TESTEN&cookie=D04865E0 HTTP/1.1
Debug: Host=vanderaa.dyndns.tv
Debug: URL=vanderaa.dyndns.tv/webapp/nodo.php
DEBUG: Response from host=HTTP/1.1 200 OK
DEBUG: Response from host=Date: Thu, 30 Apr 2015 11:27:50 GMT
Debug: HTTP-Request=GET /webapp/nodo.php?id=TESTEN&cookie=491250E6 HTTP/1.1
Debug: Host=vanderaa.dyndns.tv
Debug: URL=vanderaa.dyndns.tv/webapp/nodo.php
DEBUG: Response from host=HTTP/1.1 200 OK
DEBUG: Response from host=Date: Thu, 30 Apr 2015 11:28:53 GMT
Debug: HTTP-Request=GET /webapp/nodo.php?id=TESTEN&cookie=33857CB1 HTTP/1.1
Debug: Host=vanderaa.dyndns.tv
Debug: URL=vanderaa.dyndns.tv/webapp/nodo.php
DEBUG: Response from host=HTTP/1.1 200 OK
DEBUG: Response from host=Date: Thu, 30 Apr 2015 11:29:56 GMT
Debug: HTTP-Request=GET /webapp/nodo.php?id=TESTEN&cookie=C896CB82 HTTP/1.1
Debug: Host=vanderaa.dyndns.tv
Debug: URL=vanderaa.dyndns.tv/webapp/nodo.php
DEBUG: Response from host=HTTP/1.1 200 OK
DEBUG: Response from host=Date: Thu, 30 Apr 2015 11:30:58 GMT
Debug: HTTP-Request=GET /webapp/nodo.php?id=TESTEN&cookie=87C99EB5 HTTP/1.1
Debug: Host=vanderaa.dyndns.tv
Debug: URL=vanderaa.dyndns.tv/webapp/nodo.php
DEBUG: Response from host=HTTP/1.1 200 OK
DEBUG: Response from host=Date: Thu, 30 Apr 2015 11:32:01 GMT
Debug: HTTP-Request=GET /webapp/nodo.php?id=TESTEN&cookie=00874820 HTTP/1.1
Debug: Host=vanderaa.dyndns.tv
Debug: URL=vanderaa.dyndns.tv/webapp/nodo.php
DEBUG: Response from host=HTTP/1.1 200 OK
DEBUG: Response from host=Date: Thu, 30 Apr 2015 11:33:05 GMT
Debug: HTTP-Request=GET /webapp/nodo.php?id=TESTEN&cookie=79DA38A1 HTTP/1.1
Debug: Host=vanderaa.dyndns.tv
Debug: URL=vanderaa.dyndns.tv/webapp/nodo.php
DEBUG: Response from host=HTTP/1.1 200 OK
DEBUG: Response from host=Date: Thu, 30 Apr 2015 11:34:07 GMT
Debug: HTTP-Request=GET /webapp/nodo.php?id=TESTEN&cookie=C7A77760 HTTP/1.1
Debug: Host=vanderaa.dyndns.tv
Debug: URL=vanderaa.dyndns.tv/webapp/nodo.php
DEBUG: Response from host=HTTP/1.1 200 OK
DEBUG: Response from host=Date: Thu, 30 Apr 2015 11:35:10 GMT
Debug: HTTP-Request=GET /webapp/nodo.php?id=TESTEN&cookie=76B568C1 HTTP/1.1
Debug: Host=vanderaa.dyndns.tv
Debug: URL=vanderaa.dyndns.tv/webapp/nodo.php
DEBUG: Response from host=HTTP/1.1 200 OK
DEBUG: Response from host=Date: Thu, 30 Apr 2015 11:36:12 GMT
Debug: HTTP-Request=GET /webapp/nodo.php?id=TESTEN&cookie=554512D0 HTTP/1.1
Debug: Host=vanderaa.dyndns.tv
Debug: URL=vanderaa.dyndns.tv/webapp/nodo.php
DEBUG: Response from host=HTTP/1.1 200 OK
DEBUG: Response from host=Date: Thu, 30 Apr 2015 11:37:15 GMT
Debug: HTTP-Request=GET /webapp/nodo.php?id=TESTEN&cookie=99845A63 HTTP/1.1
Debug: Host=vanderaa.dyndns.tv
Debug: URL=vanderaa.dyndns.tv/webapp/nodo.php
Debug: URL=vanderaa.dyndns.tv/webapp/nodo.php
DEBUG: Response from host=<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">
DEBUG: Response from host=<html><head>
DEBUG: Response from host=<title>400 Bad Request</title>
DEBUG: Response from host=</head><body>
DEBUG: Response from host=<h1>Bad Request</h1>
DEBUG: Response from host=<p>Your browser sent a request that this server could not understand.<br />
DEBUG: Response from host=</p>
DEBUG: Response from host=</body></html>
Debug: Connecting to URL [vanderaa.dyndns.tv/webapp/nodo.php] failed!
Debug: HTTP-Request=GET /webapp/nodo.php?id=TESTEN&cookie=85340E14 HTTP/1.1
Debug: Host=vanderaa.dyndns.tv
Debug: Connecting to URL [vanderaa.dyndns.tv/webapp/nodo.php] failed!
Debug: HTTP-Request=GET /webapp/nodo.php?id=TESTEN&cookie=34A59DCA HTTP/1.1
Debug: Host=vanderaa.dyndns.tv
Debug: Connecting to URL [vanderaa.dyndns.tv/webapp/nodo.php] failed!
Debug: HTTP-Request=GET /webapp/nodo.php?id=TESTEN&cookie=201ADAE8 HTTP/1.1
Debug: Host=vanderaa.dyndns.tv
Debug: Connecting to URL [vanderaa.dyndns.tv/webapp/nodo.php] failed!
Debug: HTTP-Request=GET /webapp/nodo.php?id=TESTEN&cookie=E7B9C9A8 HTTP/1.1
Debug: Host=vanderaa.dyndns.tv



Martin wat mij wel opvalt is dat de database niet gevuld wordt met cookies ... klopt dit ??[/quote]

Eea Is opgelost in de laatste build 101 van de web app.

Ik heb net de webapp build 101 lokaal geinstalleerd en succesvol met de laatste nodo build laten communiceren. eerdere builds van de webapp gaven problemen.
mdegraaf
 
Berichten: 81
Geregistreerd: 18 okt 2011, 22:03

Re: WebApp code beschikbaar

Berichtdoor kabouter » 02 mei 2015, 08:15

mdegraaf schreef:
kabouter schreef:
mdegraaf schreef:
Het lijkt er sterk op dat de variabele $NODO_URL in config.php niet correct staat ingevoerd.
In jou geval zou er $NODO_URL = "http://vanderaa.dyndns.tv/webapp/nodo.php" moeten staan klopt dit?
Wil je eens een status all uitvoeren en deze hier posten.
Tevens zou je ook een [debug on] kunnen uitvoeren wanneer de Nodo via een seriele kabel is aangesloten en events naar HTTP stuurt. Wellicht komen we er dan achter wat er fout gaat.

Verder zijn we er achter gekomen dat httphost in de Nodo alleen een host-name mag bevatten en geen IP-adres dit is in jou geval geen probleem maar wellicht lopen andere tegen dit probleem aan. De Nodo code zal worden aangepast zodat zowel een host-name als IP-adres opgegeven mag worden.

Groeten,

Martin


@Martin,
ondertussen ook geupgrade naar R815 ....

Ja het klopt dat
$NODO_URL = "http://vanderaa.dyndns.tv/webapp/nodo.php"
in de config.php staat.

en met status all krijg ik onderstaand te zien

Code: Selecteer alles
Enter your password: nodo

!******************************************************************************!
Nodo Domotica controller V3.8 BETA (Mega)
(c) Copyright 2015 P.K.Tonkes. Licensed under GNU General Public License.
Product=SWACNC-MEGA-R815, ThisUnit=1, ID=TESTEN
Date=30-04-2015 (Thu); Time=13:11 DaylightSaving
IP=192.168.1.220, PortOutput=80, PortInput=6636
Host=vanderaa.dyndns.tv
!******************************************************************************!
>status all
Input=Terminal; Unit=1; Event=Status All,0

!******************************************************************************!
Nodo Domotica controller V3.8 BETA (Mega)
(c) Copyright 2015 P.K.Tonkes. Licensed under GNU General Public License.
Product=SWACNC-MEGA-R815, ThisUnit=1, ID=TESTEN
Date=30-04-2015 (Thu); Time=13:11 DaylightSaving
IP=192.168.1.220, PortOutput=80, PortInput=6636
Host=vanderaa.dyndns.tv
!******************************************************************************!
AlarmSet 1,Off,00:00,*
AlarmSet 2,Off,00:00,*
AlarmSet 3,Off,00:00,*
AlarmSet 4,Off,00:00,*
AlarmSet 5,Off,00:00,*
AlarmSet 6,Off,00:00,*
AlarmSet 7,Off,00:00,*
AlarmSet 8,Off,00:00,*
ClockDaylight 2,0
ClockSetDate 30-04-2015
ClockSetTime 13:11
Debug Off
Plugin 1
Plugin 2
Plugin 5
Plugin 6
Plugin 20
Plugin 23
EventlistCount 5,250
FreeMem 2355
HWConfig 0x4003E737
HWStatus 0x4003E337
HTTPHost vanderaa.dyndns.tv/webapp/nodo.php
ID TESTEN
IP 0.0.0.0.255(DHCP)
Log Off
Output HTTP,On
PortInput 6636
PortOutput 80
RawSignalReceive Off,On
Temp
WiredAnalog 1,271
WiredAnalog 2,1020
WiredAnalog 3,1021
WiredAnalog 4,1021
WiredAnalog 5,1021
WiredAnalog 6,1021
WiredAnalog 7,1021
WiredAnalog 8,1021
WiredIn 1,Off
WiredIn 2,On
WiredIn 3,On
WiredIn 4,On
WiredIn 5,On
WiredIn 6,On
WiredIn 7,On
WiredIn 8,On
WiredOut 1,Off
WiredOut 2,Off
WiredOut 3,Off
WiredOut 4,Off
WiredOut 5,Off
WiredOut 6,Off
WiredOut 7,Off
WiredOut 8,Off
WiredPullup 1,On
WiredPullup 2,On
WiredPullup 3,On
WiredPullup 4,On
WiredPullup 5,On
WiredPullup 6,On
WiredPullup 7,On
WiredPullup 8,On
WiredSmittTrigger 1,10
WiredSmittTrigger 2,10
WiredSmittTrigger 3,10
WiredSmittTrigger 4,10
WiredSmittTrigger 5,10
WiredSmittTrigger 6,10
WiredSmittTrigger 7,10
WiredSmittTrigger 8,10
WiredThreshold 1,512
WiredThreshold 2,512
WiredThreshold 3,512
WiredThreshold 4,512
WiredThreshold 5,512
WiredThreshold 6,512
WiredThreshold 7,512
WiredThreshold 8,512
RawSignalSample 25
AliasShow Off
Build 815
WaitBusyNodo Off
!******************************************************************************!
>>


en debug geeft :

Code: Selecteer alles
Serial-1 port: Ok.
Nodo Mega: Ok.
Speaker: Ok.
Pulsecounter: Ok.
Infrared: Ok.
RF 433Mhz: Ok.
RGB Status led: Ok.
WiredIn port: Ok.
WiredOut port: Ok.
SDCard: Ok.
I2C: Ok.
Realtime clock: Ok.
Software SPI: Ok.
Ethernet connection:  Ok.

!******************************************************************************!
Nodo Domotica controller V3.8 BETA (Mega)
(c) Copyright 2015 P.K.Tonkes. Licensed under GNU General Public License.
Product=SWACNC-MEGA-R815, ThisUnit=1, ID=TESTEN
Date=30-04-2015 (Thu); Time=13:16 DaylightSaving
IP=192.168.1.220, PortOutput=80, PortInput=6636
Host=vanderaa.dyndns.tv
!******************************************************************************!
Input=System; Unit=1; Event=Boot 1
Output=IR; Unit=0; Event=Boot 1
Output=RF; Unit=0; Event=Boot 1
Output=I2C; Unit=0; Event=Boot 1
Output=HTTP; Unit=1; Event=Boot 1

Ready. Nodo is waiting for serial input...

debug on;
Input=Serial; Unit=1; Event=Debug On
>Input=Terminal; Unit=1; Event=Reset
Serial-1 port: Ok.
Nodo Mega: Ok.
Speaker: Ok.
Pulsecounter: Ok.
Infrared: Ok.
RF 433Mhz: Ok.
RGB Status led: Ok.
WiredIn port: Ok.
WiredOut port: Ok.
SDCard: Ok.
I2C: Ok.
Realtime clock: Ok.
Software SPI: Ok.
Ethernet connection:  Ok.

!******************************************************************************!
Nodo Domotica controller V3.8 BETA (Mega)
(c) Copyright 2015 P.K.Tonkes. Licensed under GNU General Public License.
Product=SWACNC-MEGA-R815, ThisUnit=1
Date=30-04-2015 (Thu); Time=13:17 DaylightSaving
IP=192.168.1.220, PortOutput=80, PortInput=6636
!******************************************************************************!
Input=System; Unit=1; Event=Boot 1
Output=IR; Unit=0; Event=Boot 1
Output=RF; Unit=0; Event=Boot 1
Output=I2C; Unit=0; Event=Boot 1
Output=HTTP; Unit=1; Event=Boot 1

Ready. Nodo is waiting for serial input...

Serial-1 port: Ok.
Nodo Mega: Ok.
Speaker: Ok.
Pulsecounter: Ok.
Infrared: Ok.
RF 433Mhz: Ok.
RGB Status led: Ok.
WiredIn port: Ok.
WiredOut port: Ok.
SDCard: Ok.
I2C: Ok.
Realtime clock: Ok.
Software SPI: Ok.
Ethernet connection:  Ok.

!******************************************************************************!
Nodo Domotica controller V3.8 BETA (Mega)
(c) Copyright 2015 P.K.Tonkes. Licensed under GNU General Public License.
Product=SWACNC-MEGA-R815, ThisUnit=1, ID=TESTEN
Date=30-04-2015 (Thu); Time=13:18 DaylightSaving
IP=192.168.1.220, PortOutput=80, PortInput=6636
Host=vanderaa.dyndns.tv
!******************************************************************************!
Input=System; Unit=1; Event=Boot 1
Output=IR; Unit=0; Event=Boot 1
Output=RF; Unit=0; Event=Boot 1
Output=I2C; Unit=0; Event=Boot 1
Output=HTTP; Unit=1; Event=Boot 1

Ready. Nodo is waiting for serial input...

debug on
Input=Serial; Unit=1; Event=Debug On
>Input=Terminal; Unit=1; Event=Reset
Serial-1 port: Ok.
Nodo Mega: Ok.
Speaker: Ok.
Pulsecounter: Ok.
Infrared: Ok.
RF 433Mhz: Ok.
RGB Status led: Ok.
WiredIn port: Ok.
WiredOut port: Ok.
SDCard: Ok.
I2C: Ok.
Realtime clock: Ok.
Software SPI: Ok.
Ethernet connection:  Ok.

!******************************************************************************!
Nodo Domotica controller V3.8 BETA (Mega)
(c) Copyright 2015 P.K.Tonkes. Licensed under GNU General Public License.
Product=SWACNC-MEGA-R815, ThisUnit=1
Date=30-04-2015 (Thu); Time=13:18 DaylightSaving
IP=192.168.1.220, PortOutput=80, PortInput=6636
!******************************************************************************!
Input=System; Unit=1; Event=Boot 1
Output=IR; Unit=0; Event=Boot 1
Output=RF; Unit=0; Event=Boot 1
Output=I2C; Unit=0; Event=Boot 1
Output=HTTP; Unit=1; Event=Boot 1

Ready. Nodo is waiting for serial input...

debug on
Input=Serial; Unit=1; Event=Debug On
>Debug: HTTP-Input=GET /?event=status%20NodoIp HTTP/1.1
Input=HTTP; Unit=1; Event=Status -,0

!******************************************************************************!
Nodo Domotica controller V3.8 BETA (Mega)
(c) Copyright 2015 P.K.Tonkes. Licensed under GNU General Public License.
Product=SWACNC-MEGA-R815, ThisUnit=1
Date=30-04-2015 (Thu); Time=13:19 DaylightSaving
IP=192.168.1.220, PortOutput=80, PortInput=6636
!******************************************************************************!
Debug: HTTP-Input=GET /?event=eventlistwrite;WildCard%20RF,All;EventSend%20HTTP HTTP/1.1
Debug: HTTP-Input=GET /?event=eventlistwrite;WildCard%20IR,All;EventSend%20HTTP HTTP/1.1
Debug: HTTP-Input=GET /?event=eventlistwrite;WildCard%20System,Variable;EventSend%20HTTP HTTP/1.1
Debug: HTTP-Input=GET /?event=eventlistwrite;WildCard%20Wired,All;EventSend%20HTTP HTTP/1.1
Debug: HTTP-Input=GET /?event=eventlistwrite;EventListWrite;Wildcard%20HTTP,UserEvent;EventSend%20HTTP HTTP/1.1
Debug: HTTP-Input=GET /?event=HTTPHost%20vanderaa.dyndns.tv/webapp/nodo.php HTTP/1.1
Debug: HTTP-Input=GET /?event=output%20http,on HTTP/1.1
Input=HTTP; Unit=1; Event=Output HTTP,On
Debug: HTTP-Input=GET /?event=status%20HTTPHost&key=12d4ef3a65be2220e2de8f4e93394d71 HTTP/1.1
Input=HTTP; Unit=1; Event=Status HTTPHost,0
Debug: HTTP-Input=GET /?event=status%20Output%20HTTP&key=12d4ef3a65be2220e2de8f4e93394d71 HTTP/1.1
Input=HTTP; Unit=1; Event=Status Output,62
Debug: HTTP-Input=GET /?event=id%20TESTEN;password%20nodo;SettingsSave;reboot HTTP/1.1
Input=HTTP; Unit=1; Event=SettingsSave
Input=Serial-1 port: Ok.
Nodo Mega: Ok.
Speaker: Ok.
Pulsecounter: Ok.
Infrared: Ok.
RF 433Mhz: Ok.
RGB Status led: Ok.
WiredIn port: Ok.
WiredOut port: Ok.
SDCard: Ok.
I2C: Ok.
Realtime clock: Ok.
Software SPI: Ok.
Ethernet connection:  Ok.
Debug: HTTP-Request=GET /webapp/nodo.php?id=TESTEN&cookie=488A2988 HTTP/1.1
Debug: Host=vanderaa.dyndns.tv
Debug: URL=vanderaa.dyndns.tv/webapp/nodo.php
DEBUG: Response from host=HTTP/1.1 200 OK
DEBUG: Response from host=Date: Thu, 30 Apr 2015 11:18:51 GMT

!******************************************************************************!
Nodo Domotica controller V3.8 BETA (Mega)
(c) Copyright 2015 P.K.Tonkes. Licensed under GNU General Public License.
Product=SWACNC-MEGA-R815, ThisUnit=1, ID=TESTEN
Date=30-04-2015 (Thu); Time=13:19 DaylightSaving
IP=192.168.1.220, PortOutput=80, PortInput=6636
Host=vanderaa.dyndns.tv
!******************************************************************************!
Input=System; Unit=1; Event=Boot 1
Output=IR; Unit=0; Event=Boot 1
Output=RF; Unit=0; Event=Boot 1
Output=I2C; Unit=0; Event=Boot 1
Output=HTTP; Unit=1; Event=Boot 1
Debug: HTTP-Request=GET /webapp/nodo.php?id=TESTEN&unit=1&key=e01c6d8bb5282939eeef0408670f72e9&event=Boot%201 HTTP/1.1
Debug: Host=vanderaa.dyndns.tv
Debug: URL=vanderaa.dyndns.tv/webapp/nodo.php
DEBUG: Response from host=HTTP/1.1 200 OK
DEBUG: Response from host=Date: Thu, 30 Apr 2015 11:18:52 GMT

Ready. Nodo is waiting for serial input...

Debug: HTTP-Request=GET /webapp/nodo.php?id=TESTEN&cookie=405C2C87 HTTP/1.1
Debug: Host=vanderaa.dyndns.tv
Debug: URL=vanderaa.dyndns.tv/webapp/nodo.php
DEBUG: Response from host=HTTP/1.1 200 OK
DEBUG: Response from host=Date: Thu, 30 Apr 2015 11:18:52 GMT
Debug: HTTP-Request=GET /webapp/nodo.php?id=TESTEN&unit=1&key=4785b4aa9bc7d99656062a62cd22d457&event=WiredIn%201,Off HTTP/1.1
Debug: Host=vanderaa.dyndns.tv
Debug: URL=vanderaa.dyndns.tv/webapp/nodo.php
DEBUG: Response from host=HTTP/1.1 200 OK
DEBUG: Response from host=Date: Thu, 30 Apr 2015 11:18:53 GMT
Debug: HTTP-Request=GET /webapp/nodo.php?id=TESTEN&cookie=4A73492A HTTP/1.1
Debug: Host=vanderaa.dyndns.tv
Debug: URL=vanderaa.dyndns.tv/webapp/nodo.php
DEBUG: Response from host=HTTP/1.1 200 OK
DEBUG: Response from host=Date: Thu, 30 Apr 2015 11:19:55 GMT
Debug: HTTP-Request=GET /webapp/nodo.php?id=TESTEN&cookie=393BA7B2 HTTP/1.1
Debug: Host=vanderaa.dyndns.tv
Debug: URL=vanderaa.dyndns.tv/webapp/nodo.php
DEBUG: Response from host=HTTP/1.1 200 OK
DEBUG: Response from host=Date: Thu, 30 Apr 2015 11:20:58 GMT
Debug: HTTP-Request=GET /webapp/nodo.php?id=TESTEN&cookie=75344967 HTTP/1.1
Debug: Host=vanderaa.dyndns.tv
Debug: URL=vanderaa.dyndns.tv/webapp/nodo.php
DEBUG: Response from host=HTTP/1.1 200 OK
DEBUG: Response from host=Date: Thu, 30 Apr 2015 11:22:01 GMT
Debug: HTTP-Request=GET /webapp/nodo.php?id=TESTEN&cookie=2D655819 HTTP/1.1
Debug: Host=vanderaa.dyndns.tv
Debug: URL=vanderaa.dyndns.tv/webapp/nodo.php
Debug: URL=vanderaa.dyndns.tv/webapp/nodo.php
Debug: URL=vanderaa.dyndns.tv/webapp/nodo.php
DEBUG: Response from host=<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">
DEBUG: Response from host=<html><head>
DEBUG: Response from host=<title>400 Bad Request</title>
DEBUG: Response from host=</head><body>
DEBUG: Response from host=<h1>Bad Request</h1>
DEBUG: Response from host=<p>Your browser sent a request that this server could not understand.<br />
DEBUG: Response from host=</p>
DEBUG: Response from host=</body></html>
Debug: Connecting to URL [vanderaa.dyndns.tv/webapp/nodo.php] failed!
Debug: HTTP-Request=GET /webapp/nodo.php?id=TESTEN&unit=0&key=65604484db309d1c5fb05b45ee24413b&event=RawSignal%200xDB41A020 HTTP/1.1
Debug: Host=vanderaa.dyndns.tv
Debug: URL=vanderaa.dyndns.tv/webapp/nodo.php
DEBUG: Response from host=HTTP/1.1 200 OK
DEBUG: Response from host=Date: Thu, 30 Apr 2015 11:23:53 GMT
Debug: HTTP-Request=GET /webapp/nodo.php?id=TESTEN&unit=0&key=65604484db309d1c5fb05b45ee24413b&event=RawSignal%200xDB41A020 HTTP/1.1
Debug: Host=vanderaa.dyndns.tv
Debug: URL=vanderaa.dyndns.tv/webapp/nodo.php
DEBUG: Response from host=HTTP/1.1 200 OK
DEBUG: Response from host=Date: Thu, 30 Apr 2015 11:24:28 GMT
Debug: HTTP-Request=GET /webapp/nodo.php?id=TESTEN&cookie=7B8D4D59 HTTP/1.1
Debug: Host=vanderaa.dyndns.tv
Debug: URL=vanderaa.dyndns.tv/webapp/nodo.php
DEBUG: Response from host=HTTP/1.1 200 OK
DEBUG: Response from host=Date: Thu, 30 Apr 2015 11:24:37 GMT
Debug: HTTP-Request=GET /webapp/nodo.php?id=TESTEN&unit=0&key=fb119eb591eccdc536eac57d94bf9ccf&event=RawSignal%200xDB41A020 HTTP/1.1
Debug: Host=vanderaa.dyndns.tv
Debug: URL=vanderaa.dyndns.tv/webapp/nodo.php
DEBUG: Response from host=HTTP/1.1 200 OK
DEBUG: Response from host=Date: Thu, 30 Apr 2015 11:25:03 GMT
Debug: HTTP-Request=GET /webapp/nodo.php?id=TESTEN&unit=0&key=fb119eb591eccdc536eac57d94bf9ccf&event=RawSignal%200xDB41A020 HTTP/1.1
Debug: Host=vanderaa.dyndns.tv
Debug: URL=vanderaa.dyndns.tv/webapp/nodo.php
DEBUG: Response from host=HTTP/1.1 200 OK
DEBUG: Response from host=Date: Thu, 30 Apr 2015 11:25:38 GMT
Debug: HTTP-Request=GET /webapp/nodo.php?id=TESTEN&cookie=B0D719EB HTTP/1.1
Debug: Host=vanderaa.dyndns.tv
Debug: URL=vanderaa.dyndns.tv/webapp/nodo.php
DEBUG: Response from host=HTTP/1.1 200 OK
DEBUG: Response from host=Date: Thu, 30 Apr 2015 11:25:42 GMT
Debug: HTTP-Request=GET /webapp/nodo.php?id=TESTEN&cookie=DC33DD1A HTTP/1.1
Debug: Host=vanderaa.dyndns.tv
Debug: URL=vanderaa.dyndns.tv/webapp/nodo.php
DEBUG: Response from host=HTTP/1.1 200 OK
DEBUG: Response from host=Date: Thu, 30 Apr 2015 11:26:46 GMT
Debug: HTTP-Request=GET /webapp/nodo.php?id=TESTEN&unit=0&key=da082620944370112d99bfcac0a3438b&event=RawSignal%200xDB41A020 HTTP/1.1
Debug: Host=vanderaa.dyndns.tv
Debug: URL=vanderaa.dyndns.tv/webapp/nodo.php
DEBUG: Response from host=HTTP/1.1 200 OK
DEBUG: Response from host=Date: Thu, 30 Apr 2015 11:26:48 GMT
Debug: HTTP-Request=GET /webapp/nodo.php?id=TESTEN&cookie=D04865E0 HTTP/1.1
Debug: Host=vanderaa.dyndns.tv
Debug: URL=vanderaa.dyndns.tv/webapp/nodo.php
DEBUG: Response from host=HTTP/1.1 200 OK
DEBUG: Response from host=Date: Thu, 30 Apr 2015 11:27:50 GMT
Debug: HTTP-Request=GET /webapp/nodo.php?id=TESTEN&cookie=491250E6 HTTP/1.1
Debug: Host=vanderaa.dyndns.tv
Debug: URL=vanderaa.dyndns.tv/webapp/nodo.php
DEBUG: Response from host=HTTP/1.1 200 OK
DEBUG: Response from host=Date: Thu, 30 Apr 2015 11:28:53 GMT
Debug: HTTP-Request=GET /webapp/nodo.php?id=TESTEN&cookie=33857CB1 HTTP/1.1
Debug: Host=vanderaa.dyndns.tv
Debug: URL=vanderaa.dyndns.tv/webapp/nodo.php
DEBUG: Response from host=HTTP/1.1 200 OK
DEBUG: Response from host=Date: Thu, 30 Apr 2015 11:29:56 GMT
Debug: HTTP-Request=GET /webapp/nodo.php?id=TESTEN&cookie=C896CB82 HTTP/1.1
Debug: Host=vanderaa.dyndns.tv
Debug: URL=vanderaa.dyndns.tv/webapp/nodo.php
DEBUG: Response from host=HTTP/1.1 200 OK
DEBUG: Response from host=Date: Thu, 30 Apr 2015 11:30:58 GMT
Debug: HTTP-Request=GET /webapp/nodo.php?id=TESTEN&cookie=87C99EB5 HTTP/1.1
Debug: Host=vanderaa.dyndns.tv
Debug: URL=vanderaa.dyndns.tv/webapp/nodo.php
DEBUG: Response from host=HTTP/1.1 200 OK
DEBUG: Response from host=Date: Thu, 30 Apr 2015 11:32:01 GMT
Debug: HTTP-Request=GET /webapp/nodo.php?id=TESTEN&cookie=00874820 HTTP/1.1
Debug: Host=vanderaa.dyndns.tv
Debug: URL=vanderaa.dyndns.tv/webapp/nodo.php
DEBUG: Response from host=HTTP/1.1 200 OK
DEBUG: Response from host=Date: Thu, 30 Apr 2015 11:33:05 GMT
Debug: HTTP-Request=GET /webapp/nodo.php?id=TESTEN&cookie=79DA38A1 HTTP/1.1
Debug: Host=vanderaa.dyndns.tv
Debug: URL=vanderaa.dyndns.tv/webapp/nodo.php
DEBUG: Response from host=HTTP/1.1 200 OK
DEBUG: Response from host=Date: Thu, 30 Apr 2015 11:34:07 GMT
Debug: HTTP-Request=GET /webapp/nodo.php?id=TESTEN&cookie=C7A77760 HTTP/1.1
Debug: Host=vanderaa.dyndns.tv
Debug: URL=vanderaa.dyndns.tv/webapp/nodo.php
DEBUG: Response from host=HTTP/1.1 200 OK
DEBUG: Response from host=Date: Thu, 30 Apr 2015 11:35:10 GMT
Debug: HTTP-Request=GET /webapp/nodo.php?id=TESTEN&cookie=76B568C1 HTTP/1.1
Debug: Host=vanderaa.dyndns.tv
Debug: URL=vanderaa.dyndns.tv/webapp/nodo.php
DEBUG: Response from host=HTTP/1.1 200 OK
DEBUG: Response from host=Date: Thu, 30 Apr 2015 11:36:12 GMT
Debug: HTTP-Request=GET /webapp/nodo.php?id=TESTEN&cookie=554512D0 HTTP/1.1
Debug: Host=vanderaa.dyndns.tv
Debug: URL=vanderaa.dyndns.tv/webapp/nodo.php
DEBUG: Response from host=HTTP/1.1 200 OK
DEBUG: Response from host=Date: Thu, 30 Apr 2015 11:37:15 GMT
Debug: HTTP-Request=GET /webapp/nodo.php?id=TESTEN&cookie=99845A63 HTTP/1.1
Debug: Host=vanderaa.dyndns.tv
Debug: URL=vanderaa.dyndns.tv/webapp/nodo.php
Debug: URL=vanderaa.dyndns.tv/webapp/nodo.php
DEBUG: Response from host=<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">
DEBUG: Response from host=<html><head>
DEBUG: Response from host=<title>400 Bad Request</title>
DEBUG: Response from host=</head><body>
DEBUG: Response from host=<h1>Bad Request</h1>
DEBUG: Response from host=<p>Your browser sent a request that this server could not understand.<br />
DEBUG: Response from host=</p>
DEBUG: Response from host=</body></html>
Debug: Connecting to URL [vanderaa.dyndns.tv/webapp/nodo.php] failed!
Debug: HTTP-Request=GET /webapp/nodo.php?id=TESTEN&cookie=85340E14 HTTP/1.1
Debug: Host=vanderaa.dyndns.tv
Debug: Connecting to URL [vanderaa.dyndns.tv/webapp/nodo.php] failed!
Debug: HTTP-Request=GET /webapp/nodo.php?id=TESTEN&cookie=34A59DCA HTTP/1.1
Debug: Host=vanderaa.dyndns.tv
Debug: Connecting to URL [vanderaa.dyndns.tv/webapp/nodo.php] failed!
Debug: HTTP-Request=GET /webapp/nodo.php?id=TESTEN&cookie=201ADAE8 HTTP/1.1
Debug: Host=vanderaa.dyndns.tv
Debug: Connecting to URL [vanderaa.dyndns.tv/webapp/nodo.php] failed!
Debug: HTTP-Request=GET /webapp/nodo.php?id=TESTEN&cookie=E7B9C9A8 HTTP/1.1
Debug: Host=vanderaa.dyndns.tv



Martin wat mij wel opvalt is dat de database niet gevuld wordt met cookies ... klopt dit ??


Eea Is opgelost in de laatste build 101 van de web app.

Ik heb net de webapp build 101 lokaal geinstalleerd en succesvol met de laatste nodo build laten communiceren. eerdere builds van de webapp gaven problemen.[/quote]

Mooi om te horen dat er toch nog bugs getackeld zijn :D
maar helaas ben ik niet meer in staat om hiermee verder te testen, Ziggo heeft namelijk mijn modem eergisteren vervangen een Ubee EVW3226 en die ondersteund deze optie niet.
Ik kan hierdoor dus niet meer van binnen naar buiten de modem testen grrrr. :oops:
hopelijk is dit van tijdelijke aard want hierdoor vervallen bij mij veel mogelijkheden. :evil:
kabouter
 
Berichten: 214
Geregistreerd: 10 nov 2011, 13:57

Re: WebApp code beschikbaar

Berichtdoor andreo » 04 mei 2015, 22:48

Hoi Martin.

Ik heb de webapp versie 101 en de nodo build 818 geinstalleerd maar nog steeds blijft een setup van de comminucatie voor problemen zorgen. Wil jij eens kijken of je een mogelijk probleem kan vinden tussen de debug informatie ?? ik blijf met een internal server error en een verwijzing naar poort 8080 zitten. Overigens het ingeven van de servernaam in de settings.php werkt niet alleen het ingeven van het IP nummer zorgt ervoor dat de communicatie tussen webapp en nodo enigszins een output genereerd. De webapp geeft wel aan dat de setup is geslaagd maar de tekst No connection to Nodo blijft ongewijzigd.

Code: Selecteer alles
Serial-1 port: Ok.
Nodo Mega: Ok.
Speaker: Ok.
Pulsecounter: Ok.
Infrared: Ok.
RF 433Mhz: Ok.
RGB Status led: Ok.
WiredIn port: Ok.
WiredOut port: Ok.
SDCard: Ok.
I2C: Ok.
Realtime clock: Ok.
Software SPI: Ok.
RF 2.4Ghz: Ok.
Ethernet connection:  Ok.

!******************************************************************************!
Nodo Domotica controller V3.8 BETA (Mega)
(c) Copyright 2015 P.K.Tonkes. Licensed under GNU General Public License.
Product=SWACNC-MEGA-R817, ThisUnit=1
Date=04-05-2015 (Mon); Time=23:40 DaylightSaving
IP=192.168.1.74, PortOutput=80, PortInput=6636
!******************************************************************************!
Input=System; Unit=1; Event=Boot 1
Output=IR; Unit=0; Event=Boot 1
Output=RF; Unit=0; Event=Boot 1
Output=RF24; Unit=0; Event=Boot 1
Output=I2C; Unit=0; Event=Boot 1

Ready. Nodo is waiting for serial input...

debug on
Input=Serial; Unit=1; Event=Debug On
>Debug: HTTP-Input=GET /?event=status%20NodoIp HTTP/1.1
Input=HTTP; Unit=1; Event=Status -,0

!******************************************************************************!
Nodo Domotica controller V3.8 BETA (Mega)
(c) Copyright 2015 P.K.Tonkes. Licensed under GNU General Public License.
Product=SWACNC-MEGA-R817, ThisUnit=1
Date=04-05-2015 (Mon); Time=23:40 DaylightSaving
IP=192.168.1.74, PortOutput=80, PortInput=6636
!******************************************************************************!
Debug: HTTP-Input=GET /?event=eventlistwrite;WildCard%20RF,All;EventSend%20HTTP HTTP/1.1
Debug: HTTP-Input=GET /?event=eventlistwrite;WildCard%20IR,All;EventSend%20HTTP HTTP/1.1
Debug: HTTP-Input=GET /?event=eventlistwrite;WildCard%20System,Variable;EventSend%20HTTP HTTP/1.1
Debug: HTTP-Input=GET /?event=eventlistwrite;WildCard%20Wired,All;EventSend%20HTTP HTTP/1.1
Debug: HTTP-Input=GET /?event=eventlistwrite;EventListWrite;Wildcard%20HTTP,UserEvent;EventSend%20HTTP HTTP/1.1
Debug: HTTP-Input=GET /?event=HTTPHost%20192.168.1.7/webapp/nodo.php HTTP/1.1
Debug: HTTP-Input=GET /?event=output%20http,on HTTP/1.1
Input=HTTP; Unit=1; Event=Output HTTP,On
Debug: HTTP-Input=GET /?event=status%20HTTPHost&key=8b67fc1005c27604191d98e52fbcc0bb HTTP/1.1
Input=HTTP; Unit=1; Event=Status HTTPHost,0
Debug: HTTP-Input=GET /?event=status%20Output%20HTTP&key=8b67fc1005c27604191d98e52fbcc0bb HTTP/1.1
Input=HTTP; Unit=1; Event=Status Output,62
Debug: HTTP-Input=GET /?event=id%20LOCNODO;password%20qwe45ty;SettingsSave;reboot HTTP/1.1
Input=HTTP; Unit=1; Event=SettingsSave
InputSerial-1 port: Ok.
Nodo Mega: Ok.
Speaker: Ok.
Pulsecounter: Ok.
Infrared: Ok.
RF 433Mhz: Ok.
RGB Status led: Ok.
WiredIn port: Ok.
WiredOut port: Ok.
SDCard: Ok.
I2C: Ok.
Realtime clock: Ok.
Software SPI: Ok.
RF 2.4Ghz: Ok.
Ethernet connection:  Ok.
Host connection: 192.168.1.7/webapp/nodo.phpDebug: HTTP-Request=GET /webapp/nodo.php?id=LOCNODO&cookie=488A2988 HTTP/1.1
Debug: Host=192.168.1.7
Debug: IP Host=192.168.1.7.0
Debug: URL=192.168.1.7/webapp/nodo.php
DEBUG: Response from host=HTTP/1.0 500 Internal Server Error
DEBUG: Response from host=Date: Mon, 04 May 2015 21:40:15 GMT
DEBUG: Response from host=Server: Apache
DEBUG: Response from host=X-Powered-By: PHP/5.3.29
DEBUG: Response from host=Vary: Accept-Encoding
DEBUG: Response from host=Content-Length: 0
DEBUG: Response from host=Connection: close
DEBUG: Response from host=Content-Type: text/html
DEBUG: Response from host=
Debug: IP Host=192.168.1.7.0
Debug: URL=192.168.1.7/webapp/nodo.php
DEBUG: Response from host=HTTP/1.1 200 OK
DEBUG: Response from host=Date: Mon, 04 May 2015 21:40:15 GMT
DEBUG: Response from host=Server: Apache
DEBUG: Response from host=X-Powered-By: PHP/5.3.29
DEBUG: Response from host=Vary: Accept-Encoding
DEBUG: Response from host=Content-Length: 317
DEBUG: Response from host=Connection: close
DEBUG: Response from host=Content-Type: text/html
DEBUG: Response from host=
DEBUG: Response from host=<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
DEBUG: Response from host=<html xmlns="http://www.w3.org/1999/xhtml">
DEBUG: Response from host=<head>
DEBUG: Response from host=<meta http-equiv="expires" content="0">
DEBUG: Response from host=<script type='text/javascript'>
DEBUG: Response from host=location.href = 'http://192.168.1.7:8080/';
DEBUG: Response from host=</script>
DEBUG: Response from host=</head>
 Ok.

!******************************************************************************!
Nodo Domotica controller V3.8 BETA (Mega)
(c) Copyright 2015 P.K.Tonkes. Licensed under GNU General Public License.
Product=SWACNC-MEGA-R817, ThisUnit=1, ID=LOCNODO
Date=04-05-2015 (Mon); Time=23:40 DaylightSaving
IP=192.168.1.74, PortOutput=80, PortInput=6636
!******************************************************************************!
Input=System; Unit=1; Event=Boot 1
Output=IR; Unit=0; Event=Boot 1
Output=RF; Unit=0; Event=Boot 1
Output=RF24; Unit=0; Event=Boot 1
Output=I2C; Unit=0; Event=Boot 1
Output=HTTP; Unit=1; Event=Boot 1
Debug: HTTP-Request=GET /webapp/nodo.php?id=LOCNODO&unit=1&key=47451a56980396078d5bbfb0fea202f3&event=Boot%201 HTTP/1.1
Debug: Host=192.168.1.7
Debug: IP Host=192.168.1.7.0
Debug: URL=192.168.1.7/webapp/nodo.php
DEBUG: Response from host=HTTP/1.1 200 OK
DEBUG: Response from host=Date: Mon, 04 May 2015 21:40:19 GMT
DEBUG: Response from host=Server: Apache
DEBUG: Response from host=X-Powered-By: PHP/5.3.29
DEBUG: Response from host=Vary: Accept-Encoding
DEBUG: Response from host=Content-Length: 0
DEBUG: Response from host=Connection: close
DEBUG: Response from host=Content-Type: text/html
DEBUG: Response from host=

Ready. Nodo is waiting for serial input...

Debug: HTTP-Request=GET /webapp/nodo.php?id=LOCNODO&cookie=405C2C87 HTTP/1.1
Debug: Host=192.168.1.7
Debug: IP Host=192.168.1.7.0
Debug: URL=192.168.1.7/webapp/nodo.php
DEBUG: Response from host=HTTP/1.0 500 Internal Server Error
DEBUG: Response from host=Date: Mon, 04 May 2015 21:40:24 GMT
DEBUG: Response from host=Server: Apache
DEBUG: Response from host=X-Powered-By: PHP/5.3.29
DEBUG: Response from host=Vary: Accept-Encoding
DEBUG: Response from host=Content-Length: 0
DEBUG: Response from host=Connection: close
DEBUG: Response from host=Content-Type: text/html
DEBUG: Response from host=
Debug: IP Host=192.168.1.7.0
Debug: URL=192.168.1.7/webapp/nodo.php
DEBUG: Response from host=HTTP/1.1 200 OK
DEBUG: Response from host=Date: Mon, 04 May 2015 21:40:24 GMT
DEBUG: Response from host=Server: Apache
DEBUG: Response from host=X-Powered-By: PHP/5.3.29
DEBUG: Response from host=Vary: Accept-Encoding
DEBUG: Response from host=Content-Length: 317
DEBUG: Response from host=Connection: close
DEBUG: Response from host=Content-Type: text/html
DEBUG: Response from host=
DEBUG: Response from host=<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
DEBUG: Response from host=<html xmlns="http://www.w3.org/1999/xhtml">
DEBUG: Response from host=<head>
DEBUG: Response from host=<meta http-equiv="expires" content="0">
DEBUG: Response from host=<script type='text/javascript'>
DEBUG: Response from host=location.href = 'http://192.168.1.7:8080/';
DEBUG: Response from host=</script>
DEBUG: Response from host=</head>
Groet, Andre
mijn NES
Nodo-Mega V3.7 R744|Nodo-Mini V3.7 R744|WebApp lokaal QNAP TS-119P II (SWINWA-PROD-V099)|WS-3500|ASUN650 zonweringsmodule | diverse KAKU |
andreo
 
Berichten: 119
Geregistreerd: 17 sep 2012, 23:51
Woonplaats: Anna Paulowna

VorigeVolgende

Keer terug naar Nodo WebApp

Wie is er online?

Gebruikers in dit forum: Geen geregistreerde gebruikers. en 1 gast

cron