Wenn dies dein erster Besuch hier ist, lies bitte zuerst die Hilfe - Häufig gestellte Fragen durch. Du musst dich vermutlich registrieren, bevor du Beiträge verfassen kannst. Klicke oben auf 'Registrieren', um den Registrierungsprozess zu starten. Du kannst auch jetzt schon Beiträge lesen. Suche dir einfach das Forum aus, das dich am meisten interessiert.
Hallo
Für einen Router mag das wohl sein.
Cni hat aber Probleme mit einem NAS-Laufwerk.
Da sollte mySQL auch drauf laufen.
Mein Freecom FSG3 NAS-Laufwerk hat von Hause schon mySQL 4.1.16 drauf.
Gruss NetFritz
KNX & Wago 750-849 ,Wiregate u. Cometvisu, iPad 3G 64GB.
WP Alpha-Innotec WWC130HX (RS232-Moxa-LAN),Solaranlage für Brauchwasser und Heizung.
PV-Anlage = SMA Webbox2.0 , SunnyBoy 4000TL, Sharp 4kWP
Ich habe es schon mitbekommne, dass es auch NAS Laufwerke gibt....
(*neidighinschau*)
Die Frage ist nur ob man für jedes Gerät einen eigenen Weg geht oder sich auf eine Grundanforderung einigt.
LiteSQL wäre zB Freeware und so schlank, dass es auch auf einen Router funktioniert, eine TXT Datei ist ebenfalls so klein und ressourcenschonend...
EPIX ...und möge der Saft mit euch sein... Getippt von meinen Zeigefingern auf einer QWERTZ Tastatur
Hier werden nun die Werte als Diagramm dargestellt!
Die Werte werden über ein PHP-Script per linKNX ausgelesen und in eine mySQL Datenbank geschrieben!
Dieses Script wird per Cron-Job alle 10 Minuten aufgerufen (über wget auf dem Webserver).
Diese Werte werte ich dann mit der jpgraph PHP Klasse aus, welche dann das Diagramm erstellt!
Fertig und lauft Super!
Wenn es jamenden interessiert, werde ich die PHP-Scripte mal allgemein aufbereiten und zur Verfügung stellen!
Danke
Gruß
Christian
Mein EIB-Projekte: EIB-Interface -> Siemens N148/21 IP-Schnittstelle EIBD -> FritzBox 7170 WLAN Router linKNX -> Synology DS101j NAS Visu -> eigene PHP-Seiten
Kommt noch, will erst mal alles einigermaßen fertig machen und dann die Scripte kommentieren und verallgemeinern. Dann werde ich sie auf meiner Seite zum Download mit anbieten oder auch Code-Snipsel in´s Wiki mit aufnehmen! Gibt es da bereits eine Kategorie oder so "Visualisierung mit PHP, mySQL, linKNX und eibd"???
Bzw. wo könnte das im Wiki untergebracht werden?
Danke
Gruß
Christian
Mein EIB-Projekte: EIB-Interface -> Siemens N148/21 IP-Schnittstelle EIBD -> FritzBox 7170 WLAN Router linKNX -> Synology DS101j NAS Visu -> eigene PHP-Seiten
Hallo,
ich habe eine Möglichkeit gefunden, über das (Mobil-) Telefon GAs auf den Bus zu senden. Dies geht mit einer Fritz-Box mit modifizierter Firmware Freetz (ehem. ds-mod) http://www.freetz.org/ und http://www.ip-phone-forum.de/forumdisplay.php?f=525
Hier wird das Add-On callmonitor verwendet. Mit dem Eintrag:
bei Listeners vom callmonitor wird beispielsweise beim Anruf der Nummer 0157xxxxxxx7 auf der (VOIP-) Nummer 5xxxxx3 der XML-Befehl zum Scharfschalten der Alarmanlage an Linknx auf dem Router mit der IP ..178.201 gesendet.
Da man fast beliebig viele VOIP-Nummern anlegen kann, hat man also entsprechend viele Kanäle für Schaltfunktionen. Wenn man diesen VOIP-Nummern kein Telefon zuweist, klingelt es auch nicht beim Fernbedien-Anruf. Da die Verbindung nicht aufgebaut wird, entstehen noch nicht einmal Telefongebühren!
Die Freetz-Firmware hat weiterhin das optionale Modul dtmfbox, das nach Eingabe eines Codes ein zugehöriges Script ausführt. Damit sind noch viel mehr Funktionen möglich. Habe ich aber noch nicht ausprobiert.
I already read forum several times...with google translations to English (Im Portuguese) but no luck with eibd and linknx
My configuration:
D-Link DSL-504T
KamiKaze r7273
pthsem_2.0.7-2_mipsel.ipk
eibd_0.0.2.1-9_mipsel.ipk
uclibc++_0.2.2-1_mipsel.ipk
libcurl_7.14.0-1_mipsel.ipk
libesmtp_1.0.4-2_mipsel.ipk
linknx_0.0.1.19-1_mipsel.ipk
FT1.2 connection to be used
Knxweb prefered later
I ask you for your patient so you could lead me to the right direction in the install of linknx.
No experience in linux..
No experience in .xml
Already saw all wikis available over internet
----------------
My first try:
root@OpenWrt:~# eibd -i ft12:
initialisation failed
root@OpenWrt:~# groupswrite
-ash: groupswrite: not found
root@OpenWrt:/etc/init.d# knxswrite ft12: /dev/ttyS0 1/1/1 0
Open failed: Invalid argument
root@OpenWrt:~# /usr/bin/eibd -i -e 0.1.100 -d ft12:/dev/tts/0
->Gives no errors..should it give me some signal in serial port with osciloscope?
root@OpenWrt:~# lighttpd -f /etc/knx/lighttpd-fcgi.conf
-ash: lighttpd: not found
-> do i need this? where can i find a .ipk to instal?
root@OpenWrt:~# groupswrite
-ash: groupswrite: not found
This is normal, because I didn't include the example programs from EIBD in eibd_0.0.2.1-9_mipsel.ipk (to reduce the size). I've put similar functionalities in knxtool (knxswrite, knxread, knxreadtemp, ....) and it's much smaller.
root@OpenWrt:/etc/init.d# knxswrite ft12: /dev/ttyS0 1/1/1 0
Open failed: Invalid argument
These commands need to connect to EIBD to do their job. Instead of "ft12:/dev/...", you should use "ip:/<ip_addr_of_eibd>", but as long as eibd is not running, nothing else will work.
root@OpenWrt:~# /usr/bin/eibd -i -e 0.1.100 -d ft12:/dev/tts/0
->Gives no errors..should it give me some signal in serial port with osciloscope?
It's not giving errors, because the -d options tell it to run in the background (without displaying any messages)
If you want to see all the log messages, don't use "-d" option, and use "-t1023" to enable all the traces.
Dont have router in front of me now but:
(i can make more test later at home)
- Router has only one physical serial (com1) so i beleive its ttS0
- Whats the ip of eibd? how can i check it?
- should i change setserial file to ...tts/0 instead of 1
(/usr/sbin/setserial /dev/tts/1 irq 3)?
- you say eibd is not working? How do i enable it?
-if i want to send commands to com1 and test if its working what should be the command?
I rememnber that i already done the command (i dont remenber ip) # knxswrite ip: xxx.xx.x.x 1/1/1 0 and the message was connection refused.
- Router has only one physical serial (com1) so i beleive its ttS0
Please check if it's /dev/ttS0, /dev/ttyS0, /dev/tts/0, /dev/ttyS00, or something else.
If it's /dev/ttyS0, use the following command to start EIBD
eibd -i ft12:/dev/ttyS0 -t1023
What kind of KNX interface are you trying to connect on the serial port?
It's not the ip of eibd, it's the ip address of the device where eibd is running (in your case, the router). If you are logged on the router, you can use 127.0.0.1 (it's called the loopback address, it exists on every network device and allows it to access himself without having to know it's ip address)
-if i want to send commands to com1 and test if its working what should be the command?
If you want to test, you can put a wire between RX and TX of the serial connector, so that everything that goes out of the serial interface comes back in.
Then if you start eibd You should see something like this,
but with something like "Recv(004)..." between the "Send(004): ..." lines:
root@OpenWrt:/etc/init.d# eibd -u ft12:/dev/ttyS0 -t1023
Layer 1(004DC688,386D4C00) Open
Layer 1(004DC688,386D4C00) Opened
Layer 2(004ECA18,386D4C00) Open
Layer 2(004ECA18,386D4C00) Opened
Layer 3(004FCD48,386D4C00) Open
Layer 2(004ECA18,386D4C00) OpenL2
Layer 1(004DC688,386D4C00) SendReset
Layer 1(004DC688,386D4C00) Send(007): A9 1E 12 34 56 78 9A
Layer 0(004DC688,386D4C00) Send(004): 10 40 40 16
Layer 1(004DC688,386D4C00) Send(007): A9 00 18 34 56 78 0A
Layer 0(004DC688,386D4C00) Send(004): 10 40 40 16
Layer 0(004DC688,386D4C00) Send(004): 10 40 40 16
Layer 0(004DC688,386D4C00) Send(004): 10 40 40 16
Layer 0(004DC688,386D4C00) Send(004): 10 40 40 16
Layer 0(004DC688,386D4C01) Send(004): 10 40 40 16
Layer 0(004DC688,386D4C01) Send(004): 10 40 40 16
Layer 0(004DC688,386D4C01) Send(004): 10 40 40 16
I rememnber that i already done the command (i dont remenber ip) # knxswrite ip: xxx.xx.x.x 1/1/1 0 and the message was connection refused.
If you are executing the command on the same system eibd is running on, you can use ip address 127.0.0.1 (with no space between "ip:" and the ip address)
Ill check all this later to see if EIBD is working properly.
- Port name is ttSy0
- knxswrite ip:127.0.0.1 1/1/1 0 (when i tried this yesterday i had "connection refused" message)
- I will change setserial to:
#!/bin/sh /etc/rc.common
# Copyright (C) 2006 OpenWrt.org
START=15
boot() {
/usr/sbin/setserial /dev/ttyS0/0 irq 3
}
- I will use siemens busankouppler 5wg1 114-2AB02 Version 21R1 to connect to my house bus.
- Just want to open and close lights for now. management will be for later experiences
- Acessing my house from the outside, using asus router, connected througth switch ports of a dlink504T that has eibd inside connected to bus with serial!... Is this going to be a problem? Internal loopback adress are equal in all routers...will EIBD look for that ip locally or will it look for it in the other router?
Ill post more info later..just have to arrive home to check your sugestions.
root@OpenWrt:/# knxswrite ip:127.0.0.1 1/1/1 0
Open failed: Connection refused
So...it cant acess to Loopback!! or EIBD is not running!
root@OpenWrt:/etc/init.d# ls -la
drwxr-xr-x 2 root root 0 Jan 1 01:08 .
drwxr-xr-x 7 root root 0 Jan 1 2000 ..
-rwxr-xr-x 1 root root 90 Jan 1 2000 S60ntpclient
-rwxr-xr-x 1 root root 192 Jan 1 01:09 S70linknx
-rwxr-xr-x 1 root root 1308 May 10 2007 boot
-rwxr-xr-x 1 root root 551 May 14 2007 br2684ctl
-rwxr-xr-x 1 root root 239 May 14 2007 cron
-rwxr-xr-x 1 root root 490 May 14 2007 ddns
-rwxr-xr-x 1 root root 1502 May 14 2007 dnsmasq
-rwxr-xr-x 1 root root 243 May 10 2007 done
-rwxr-xr-x 1 root root 1176 May 14 2007 dropbear
-rwxr-xr-x 1 root root 3820 May 14 2007 firewall
-rwxr-xr-x 1 root root 245 Jan 1 2000 httpd
lrwxrwxrwx 1 root root 12 Jan 1 01:08 lighttpd -> linknx-c-f-d
lrwxrwxrwx 1 root root 26 Jan 1 2000 lighttpd-f -> /usr/var/lib/linknx/linknx
-rw-r--r-- 1 root root 0 Jan 1 01:04 linknx-c-f-d
-rwxr-xr-x 1 root root 346 May 10 2007 network
-rwxr-xr-x 1 root root 166 Apr 28 2007 qos
-rwxr-xr-x 1 root root 124 Jan 1 01:01 rcS
-rwxr-xr-x 1 root root 117 Jan 1 01:09 setserial
-rwxr-xr-x 1 root root 123 May 10 2007 sysctl
-rwxr-xr-x 1 root root 297 May 14 2007 telnet
-rwxr-xr-x 1 root root 99 May 10 2007 umount
-rwxr-xr-x 1 root root 154 Apr 28 2007 usb
Like i said..i want to connect trought internet somewhere at work, connecting to my Asus router (cable provider) at home, that is also connected to Dlink DSL router (ADSL is not connected) by switch ports that have EIBD and www page inside that Dlink router.
What should i check then..EIBD is not running..right?
Wir verarbeiten personenbezogene Daten über die Nutzer unserer Website mithilfe von Cookies und anderen Technologien, um unsere Dienste bereitzustellen. Weitere Informationen findest Du in unserer Datenschutzerklärung.
Indem Du unten auf "ICH stimme zu" klickst, stimmst Du unserer Datenschutzerklärung und unseren persönlichen Datenverarbeitungs- und Cookie-Praktiken zu, wie darin beschrieben. Du erkennst außerdem an, dass dieses Forum möglicherweise außerhalb Deines Landes gehostet wird und bist damit einverstanden, dass Deine Daten in dem Land, in dem dieses Forum gehostet wird, gesammelt, gespeichert und verarbeitet werden.
Kommentar