[vz-users] 1Wirevz Temeraturwerte werden im Forntend nicht angezeigt

Andreas Brus andreas at brus.name
Mon Aug 5 17:11:27 CEST 2013


Am 01.08.13 21:33, schrieb Stefan Prietsch:
> Also mit Sensoren DS18s20 läuft der Daemon nicht, ohne Sensoren läuft er!
>
Das muss ich leider auch so bestätigen:

DS18S20 mag er nicht.
mit DS18B20 scheint es zu funktionieren.
Hier ein strace mit DS18S20
Leider kann ich kein C. Ich habe aber früher mal in Perl für beide 
Sensoren Funktionen angepasst, da die Werte tatsächlich anders 
ausgelesen werden müssen.
typischer DS18B20: *28-000003c3ddf6
typische DS18S20:
*10-0008025463a4
*10-000802546dd9
*10-000802548777





[pid  2904] chdir("/tmp/")              = 0
[pid  2904] open("/tmp/1wirevz.pid", O_RDWR|O_CREAT, 0600) = 0
[pid  2904] fcntl64(0, F_SETLK, {type=F_WRLCK, whence=SEEK_CUR, start=0, 
len=0}) = 0
[pid  2904] write(0, "2904\n", 5)       = 5
[pid  2904] open("/sys/bus/w1/devices/w1_bus_master1/w1_master_slaves", 
O_RDONLY) = 1
[pid  2904] fstat64(1, {st_mode=S_IFREG|0444, st_size=4096, ...}) = 0
[pid  2904] mmap2(NULL, 4096, PROT_READ|PROT_WRITE, 
MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0xb6ee2000
[pid  2904] read(1, "28-000003c3ddf6\n", 4096) = 16
[pid  2904] open("/sys/bus/w1/devices/28-000003c3ddf6/w1_slave", 
O_RDONLY) = 2
[pid  2904] fstat64(2, {st_mode=S_IFREG|0444, st_size=4096, ...}) = 0
[pid  2904] mmap2(NULL, 4096, PROT_READ|PROT_WRITE, 
MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0xb6ee1000
[pid  2904] read(2,  <unfinished ...>
[pid  2903] exit_group(0)               = ?
<... read resumed> "50 02 4b 46 7f ff 10 10 0e : crc"..., 4096) = 75
read(2, "", 4096)                       = 0
close(2)                                = 0
munmap(0xb6ee1000, 4096)                = 0
--- SIGSEGV (Segmentation fault) @ 0 (0) ---
Process 2904 detached

Gruß
A. Brus

-- 
Andreas Brus
Alexanderstr. 63
72072 Tübingen

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://demo.volkszaehler.org/pipermail/volkszaehler-users/attachments/20130805/590c6c1d/attachment-0001.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: ageeiiba.png
Type: image/png
Size: 61533 bytes
Desc: not available
URL: <http://demo.volkszaehler.org/pipermail/volkszaehler-users/attachments/20130805/590c6c1d/attachment-0002.png>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: fijfbfjb.png
Type: image/png
Size: 71279 bytes
Desc: not available
URL: <http://demo.volkszaehler.org/pipermail/volkszaehler-users/attachments/20130805/590c6c1d/attachment-0003.png>


More information about the volkszaehler-users mailing list