Kein Problem, ist echt super was Du auf die Beine gestellt hast, dann probiere ich erst mal mit get...
Gruß
Thomas
Gruß
Thomas
<?php exec('stty -F /dev/ttyUSB2 2400 '); $fd = fopen('/dev/ttyUSB2', 'w+'); fputs($fd,"1507030100"); fclose($fd); ?>
apt-get install libmath-round-perl libmath-basecalc-perl libproc-pid-file-perl libproc-daemon-perl librrds-perl
cd /usr/lib/perl5/ wget http://repo.wiregate.de/trac-wiregate/export/335/wiregated/trunk/usr/share/perl5/EIBConnection.pm
/etc/init./knxd start
root@wiregate907:/etc/ebusd# perl telnet.pl Unquoted string "cfg" may clash with future reserved word at telnet.pl line 14. Unquoted string "cfg" may clash with future reserved word at telnet.pl line 34. get ci hydraulic error send ebus msg get ci language error send ebus msg get ci holiday_period error send ebus msg get ci holiday_cir2_temp error send ebus msg get ci password_pin1 error send ebus msg get ci cir2_set_temp error send ebus msg get ci cir2_flow_temp error send ebus msg . . . usw.
... get ci hydraulic error send ebus msg get ci language error send ebus msg get ci holiday_period error send ebus msg get ci holiday_cir2_temp error send ebus msg ...
root@wiregate907:/home/ebus/ebusd/src# ./ebusd -lALL -f 2013-02-16 08:25:45.923 [0x02 NOT] /etc/ebusd/vaillant_get.csv 2013-02-16 08:25:45.927 [0x02 NOT] /etc/ebusd/vaillant_get.csv success 2013-02-16 08:25:45.928 [0x01 INF] command files read. 2013-02-16 08:25:45.931 [0x01 INF] /dev/ttyUSB0 opened. 2013-02-16 08:25:45.931 [0x01 INF] port 8888 opened. 2013-02-16 08:25:45.932 [0x01 INF] msg queue initialized. 2013-02-16 08:25:46.591 [0x20 EBH] 50 b5 05 07 2b 00 01 00 00 00 00 24 2013-02-16 08:25:46.784 [0x20 EBH] 08 b5 11 02 03 00 00 2013-02-16 08:25:48.574 [0x20 EBH] 08 b5 11 01 02 8a 00 08 b5 10 09 00 02 46 00 00 00 00 00 02 00 2013-02-16 08:25:48.729 [0x20 EBH] 08 b5 09 04 d1 00 00 29 00 2013-02-16 08:25:50.623 [0x20 EBH] 10 b5 13 03 04 00 00 9f 10 b5 04 01 01 d2 00 2013-02-16 08:25:50.791 [0x20 EBH] 25 b5 04 0d 00 be 00 2013-02-16 08:25:51.126 [0x20 EBH] 25 b5 04 01 32 25 b5 04 01 31 e2 00 2013-02-16 08:25:55.002 [0x20 EBH] 10 b5 05 04 27 00 25 00 ad 2013-02-16 08:25:55.267 [0x20 EBH] 10 b5 05 03 4a 01 00 f4 2013-02-16 08:25:56.623 [0x20 EBH] 10 b5 05 07 2b 00 01 00 00 00 85 00 2013-02-16 08:25:56.859 [0x20 EBH] 08 b5 11 02 03 00 00 2013-02-16 08:25:57.022 [0x20 EBH] 08 b5 11 01 02 8a 00 2013-02-16 08:25:58.601 [0x20 EBH] 10 b5 09 03 29 01 00 23 00 2013-02-16 08:25:58.778 [0x20 EBH] 10 b5 10 09 00 02 46 00 00 00 00 02 b6 00 2013-02-16 08:25:59.328 [0x20 EBH] 10 b5 09 04 0e d1 00 00 29 00 2013-02-16 08:26:00.062 [0x20 EBH] 10 b5 13 03 04 00 00 9f 10 b5 09 03 29 b8 01 fd 00 2013-02-16 08:26:00.225 [0x20 EBH] 10 b5 09 03 29 b9 01 66 00 2013-02-16 08:26:00.396 [0x20 EBH] 08 b5 03 29 0f 00 56 00 2013-02-16 08:26:00.560 [0x20 EBH] 08 b5 09 29 bb 00 ca 00 2013-02-16 08:26:00.723 [0x20 EBH] 10 b5 09 03 29 ba 00 51 00 2013-02-16 08:26:00.903 [0x20 EBH] 23 b5 04 01 c6 00 2013-02-16 08:26:01.070 [0x20 EBH] 23 b5 04 02 0d 00 00 2013-02-16 08:26:01.404 [0x20 EBH] 10 b5 04 01 32 f5 00 10 23 b5 04 01 31 f6 00 2013-02-16 08:26:02.676 [0x20 EBH] 10 b5 09 03 29 07 00 4f 00 2013-02-16 08:26:04.661 [0x20 EBH] 10 b5 05 04 27 00 25 00 ad 2013-02-16 08:26:04.882 [0x20 EBH] fe b5 05 03 4a 00 f4 2013-02-16 08:26:06.662 [0x20 EBH] 10 23 b5 05 07 00 01 00 00 00 00 79 00 2013-02-16 08:26:06.987 [0x20 EBH] 08 b5 02 03 00 1e 00
Meins: 10 08 b5 09 04 0e d1 00 01 28 00 00 00 00 Deins: 08 b5 09 04 d1 00 00 29 00
2013-02-16 09:10:54.824 [0x20 EBH] 70 50 b5 04 01 32 13 00 0a 00 20 0a 02 01 01 70 01 00 00 dd 00 2013-02-16 09:10:54.856 [0x20 EBH] aa 2013-02-16 09:10:54.904 [0x20 EBH] aa 2013-02-16 09:10:54.920 [0x20 EBH] 70 50 b5 2013-02-16 09:10:54.936 [0x20 EBH] 05 04 2d 00 2013-02-16 09:10:54.952 [0x20 EBH] 00 00 45 00 2013-02-16 09:10:54.968 [0x20 EBH] 00 00 00 aa 2013-02-16 09:10:54.968 [0x20 EBH] 70 50 b5 05 04 2d 00 00 00 45 00 00 00 00 2013-02-16 09:10:55.016 [0x20 EBH] aa 10 2013-02-16 09:10:55.032 [0x20 EBH] 08 b5 10 2013-02-16 09:10:55.048 [0x20 EBH] 09 00 02 2013-02-16 09:10:55.064 [0x20 EBH] 36 00 00 00 2013-02-16 09:10:55.080 [0x20 EBH] 00 00 02 0c 2013-02-16 09:10:55.096 [0x20 EBH] 00 00 00 00 2013-02-16 09:10:55.112 [0x20 EBH] aa 2013-02-16 09:10:55.112 [0x20 EBH] 10 08 b5 10 09 00 02 36 00 00 00 00 00 02 0c 00 00 00 00 2013-02-16 09:10:55.144 [0x20 EBH] aa 2013-02-16 09:10:55.192 [0x20 EBH] aa 10 2013-02-16 09:10:55.208 [0x20 EBH] 08 b5 09 2013-02-16 09:10:55.224 [0x20 EBH] 04 0e d1 2013-02-16 09:10:55.240 [0x20 EBH] 00 01 28 00 2013-02-16 09:10:55.256 [0x20 EBH] 00 00 00 aa 2013-02-16 09:10:55.256 [0x20 EBH] 10 08 b5 09 04 0e d1 00 01 28 00 00 00 00 2013-02-16 09:10:55.304 [0x20 EBH] aa 2013-02-16 09:10:55.352 [0x20 EBH] aa 2013-02-16 09:10:55.400 [0x20 EBH] aa
2013-02-16 09:10:54.824 [0x20 EBH] 70 50 b5 04 01 32 13 00 0a 00 20 0a 02 01 01 70 01 00 00 dd 00 2013-02-16 09:10:54.856 [0x20 EBH] aa 2013-02-16 09:10:54.904 [0x20 EBH] aa 2013-02-16 09:10:54.920 [0x20 EBH] [B]70 50 b5[/B] 2013-02-16 09:10:54.936 [0x20 EBH] [B]05 04 2d 00[/B] 2013-02-16 09:10:54.952 [0x20 EBH] [B]00 00 45 00[/B] 2013-02-16 09:10:54.968 [0x20 EBH] [B]00 00 00[/B] aa 2013-02-16 09:10:54.968 [0x20 EBH] 70 50 b5 05 04 2d 00 00 00 45 00 00 00 00 2013-02-16 09:10:55.016 [0x20 EBH] aa 10 2013-02-16 09:10:55.032 [0x20 EBH] 08 b5 10 2013-02-16 09:10:55.048 [0x20 EBH] 09 00 02 2013-02-16 09:10:55.064 [0x20 EBH] 36 00 00 00 2013-02-16 09:10:55.080 [0x20 EBH] 00 00 02 0c 2013-02-16 09:10:55.096 [0x20 EBH] 00 00 00 00 2013-02-16 09:10:55.112 [0x20 EBH] aa 2013-02-16 09:10:55.112 [0x20 EBH] 10 08 b5 10 09 00 02 36 00 00 00 00 00 02 0c 00 00 00 00 2013-02-16 09:10:55.144 [0x20 EBH] aa 2013-02-16 09:10:55.192 [0x20 EBH] aa 10 2013-02-16 09:10:55.208 [0x20 EBH] 08 b5 09 2013-02-16 09:10:55.224 [0x20 EBH] 04 0e d1 2013-02-16 09:10:55.240 [0x20 EBH] 00 01 28 00 2013-02-16 09:10:55.256 [0x20 EBH] 00 00 00 aa 2013-02-16 09:10:55.256 [0x20 EBH] 10 08 b5 09 04 0e d1 00 01 28 00 00 00 00 2013-02-16 09:10:55.304 [0x20 EBH] aa 2013-02-16 09:10:55.352 [0x20 EBH] aa 2013-02-16 09:10:55.400 [0x20 EBH] aa
backup src # ./ebusd -s configuration file /etc/ebusd/ebusd.conf not found. local configuration file ebusd.conf used. address = FF cfgdir = /usr/src cfgfile = /etc/ebusd/ebusd.conf device = /dev/ttyUSB0 extension = .csv foreground = YES loglevel = ALL logfile = /var/log/ebusd.log pidfile = /var/run/ebusd.pid port = 8888 rawdump = NO rawfile = /tmp/ebusd.bin showraw = YES settings = YES get_retry = 3 skip_ack = 1 max_wait = 4000 send_retry = 2 2013-02-16 10:15:44.008 [0x02 NOT] /usr/src/vaillant_get.csv 2013-02-16 10:15:44.014 [0x02 NOT] /usr/src/vaillant_get.csv success 2013-02-16 10:15:44.014 [0x02 NOT] /usr/src/vaillant_set.csv 2013-02-16 10:15:44.025 [0x02 NOT] /usr/src/vaillant_set.csv success 2013-02-16 10:15:44.026 [0x01 INF] command files read. 2013-02-16 10:15:44.041 [0x01 INF] /dev/ttyUSB0 opened. 2013-02-16 10:15:44.041 [0x01 INF] port 8888 opened. 2013-02-16 10:15:44.041 [0x01 INF] msg queue initialized. 2013-02-16 10:15:44.041 [0x20 EBH] e0 00 2013-02-16 10:15:44.047 [0x20 EBH] 00 2013-02-16 10:15:44.051 [0x20 EBH] 3a 2013-02-16 10:15:44.055 [0x20 EBH] 00 2013-02-16 10:15:44.059 [0x20 EBH] aa 2013-02-16 10:15:44.059 [0x20 EBH] e0 00 00 3a 00 2013-02-16 10:15:44.103 [0x20 EBH] aa 2013-02-16 10:15:44.147 [0x20 EBH] aa 2013-02-16 10:15:44.151 [0x20 EBH] [B]10[/B] 2013-02-16 10:15:44.159 [0x20 EBH] [B]08[/B] 2013-02-16 10:15:44.164 [0x20 EBH] [B]b5[/B] 2013-02-16 10:15:44.168 [0x20 EBH] [B]11[/B] 2013-02-16 10:15:44.172 [0x20 EBH] [B]01[/B] 2013-02-16 10:15:44.176 [0x20 EBH] [B]02[/B] 2013-02-16 10:15:44.180 [0x20 EBH] [B]8a[/B] 2013-02-16 10:15:44.184 [0x20 EBH] [B]00[/B] 2013-02-16 10:15:44.189 [0x20 EBH] [B]05[/B] 2013-02-16 10:15:44.193 [0x20 EBH] [B]00[/B] 2013-02-16 10:15:44.197 [0x20 EBH] [B]00[/B] 2013-02-16 10:15:44.201 [0x20 EBH] [B]c8[/B] 2013-02-16 10:15:44.205 [0x20 EBH] [B]00[/B] 2013-02-16 10:15:44.210 [0x20 EBH] [B]c8[/B] 2013-02-16 10:15:44.214 [0x20 EBH] [B]ca[/B] 2013-02-16 10:15:44.218 [0x20 EBH] [B]00[/B] 2013-02-16 10:15:44.222 [0x20 EBH] aa 2013-02-16 10:15:44.222 [0x20 EBH] 10 08 b5 11 01 02 8a 00 05 00 00 c8 00 c8 ca 00 2013-02-16 10:15:44.266 [0x20 EBH] aa 2013-02-16 10:15:44.310 [0x20 EBH] aa 2013-02-16 10:15:44.314 [0x20 EBH] 10 2013-02-16 10:15:44.322 [0x20 EBH] ed 2013-02-16 10:15:44.327 [0x20 EBH] b5 2013-02-16 10:15:44.331 [0x20 EBH] 08 2013-02-16 10:15:44.335 [0x20 EBH] 07 2013-02-16 10:15:44.339 [0x20 EBH] 07 2013-02-16 10:15:44.343 [0x20 EBH] 00 2013-02-16 10:15:44.347 [0x20 EBH] 01 2013-02-16 10:15:44.352 [0x20 EBH] 20 2013-02-16 10:15:44.356 [0x20 EBH] 03 2013-02-16 10:15:44.360 [0x20 EBH] f0 2013-02-16 10:15:44.364 [0x20 EBH] 01 2013-02-16 10:15:44.368 [0x20 EBH] 9f 2013-02-16 10:15:44.372 [0x20 EBH] 00 2013-02-16 10:15:44.376 [0x20 EBH] 00 2013-02-16 10:15:44.381 [0x20 EBH] 00 2013-02-16 10:15:44.385 [0x20 EBH] 00 2013-02-16 10:15:44.389 [0x20 EBH] aa 2013-02-16 10:15:44.389 [0x20 EBH] 10 ed b5 08 07 07 00 01 20 03 f0 01 9f 00 00 00 00 2013-02-16 10:15:44.433 [0x20 EBH] aa 2013-02-16 10:15:44.477 [0x20 EBH] aa
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