Ich würde gerne für FHEM einen Geigerzähler in das FHEM aufnehmen.
Grunddaten hätte ich hierfür, nur weiß ich nicht wie ich das in FHEM am Besten aufnehmen kann.
Anbei habe ich für die Schnittstelle und Aufbereitung einer eigenen ABlage eine Beschreibung.
Vielleicht kann mir hier jemand ein wenig behilflich sein damit ich dieses in FHEM umsetzten kann.
Serielle Schnittstelle + CSV: ich wuerde zunaechst ECMD (http://fhem.de/commandref.html#ECMD)/ECMDDevice (http://fhem.de/commandref.html#ECMDDevice) probieren.
Bin aber nicht sicher, ob es auch ohne request funktioniert.
Habe es mit ECMD/ECMDDevice probiert.
Bekomme aber kein Verbindung zusammen.
define gmz ECMD serial /dev/serial/by-id/usb-FTDI_FT232R_USB_UART_A50285BI-if00-port0@9600
Satus ist immer disconnected.
Muss ich hier noch etwas für FHEM ergänzen damit die Daten ausgelesen werden?
Das Gerät funktioniert zumindest mit einem Schnittstellenreader unter Windows.
Disconnected klingt nach keine Rechte/falsche Dateiname/etc. Die genaue Ursache sollte im Log zu sehen sein. Sonst ein restart mit "attr global verbose 5".
Folgender Eintrag im LOG.2016.04.27 14:31:05 3: Opening gz device /dev/serial/by-id/usb-FTDI_FT232R_USB_UART_A50285BI-if00-port0
2016.04.27 14:31:05 3: Can't open /dev/serial/by-id/usb-FTDI_FT232R_USB_UART_A50285BI-if00-port0: Keine Berechtigung
2016.04.27 14:31:05 1: Including /media/hdd/fhem/log04/fhem.save
2016.04.27 14:31:05 1: usb create starting
2016.04.27 14:31:05 3: Probing CUL device /dev/ttyAMA0
2016.04.27 14:31:05 3: Can't open /dev/ttyAMA0: Keine Berechtigung
2016.04.27 14:31:05 1: usb create end
Nur wieso habe ich hier keine Berechtigungen.
FHEM Wurde auf diesem Gerät installiert wie immer!
Dann mach doch mal ein ls -lah auf
/dev/serial/by-id/usb-FTDI_*
/dev/ttyAMA0
sowie ein "id" und "whoami".
@Morgennebel
Zitatsowie ein "id" und "whoami".
Was meinst du damit?
Ein
ls -lah /dev/serial/by-id/usb-FTDI_*
bzw.
ls -lah /dev/ttyAMA0
hat leider noch nichts gebracht.
Bringen tut das noch nichts 8)
Aber man würde etwas über die notwendigen Berechtigungen erfahren, wenn wir hier den Output sehen würden.
Welchen Output.
Es hat sich gegen vorhin im LOG nichts geändert!
2016.04.27 17:02:32 1: Perl version: 5.020002
2016.04.27 17:02:32 1: OS version: linux
2016.04.27 17:02:32 1: Loading Unix modules
2016.04.27 17:02:32 1: Including fhem.cfg
2016.04.27 17:02:33 3: telnetPort: port 7072 opened
2016.04.27 17:02:33 3: WEB: port 8083 opened
2016.04.27 17:02:33 3: WEBphone: port 8084 opened
2016.04.27 17:02:33 3: WEBtablet: port 8085 opened
2016.04.27 17:02:33 2: eventTypes: loaded 0 events from /media/hdd/fhem/log04/eventTypes.txt
2016.04.27 17:02:33 1: Including /media/hdd/fhem/zeitplaene/zeitplaene.cfg
2016.04.27 17:02:33 1: Including /media/hdd/fhem/mycfg/Allgemein04.cfg
2016.04.27 17:02:33 1: Including /media/hdd/fhem/mycfg/Geigerzaehler/Geigerzaehler.cfg
2016.04.27 17:02:34 3: Opening gmz device /dev/serial/by-id/usb-FTDI_FT232R_USB_UART_A50285BI-if00-port0
2016.04.27 17:02:34 3: Can't open /dev/serial/by-id/usb-FTDI_FT232R_USB_UART_A50285BI-if00-port0: Keine Berechtigung
2016.04.27 17:02:34 1: usb create starting
2016.04.27 17:02:34 3: Probing CUL device /dev/ttyAMA0
2016.04.27 17:02:34 3: Can't open /dev/ttyAMA0: Keine Berechtigung
2016.04.27 17:02:34 1: usb create end
2016.04.27 17:02:34 0: Featurelevel: 5.7
2016.04.27 17:02:34 0: Server started with 16 defined entities (fhem.pl:11308/2016-04-25 perl:5.020002 os:linux user:fhem pid:2312)
Den Output von den folgenden Befehlen:
Zitat von: Morgennebel am 27 April 2016, 16:56:01
Dann mach doch mal ein ls -lah auf
/dev/serial/by-id/usb-FTDI_*
/dev/ttyAMA0
sowie ein "id" und "whoami".
Linux/Unix-Basiswissen ;)
Ich möchte hier keine Rätsel lösen.
Mit ls -lah /dev/serial/by-id/usb-FTDI_*
bzw.
ls -lah /dev/ttyAMA0
gibt es keine Ausgabe in der Konsole.
Folgende Ausgaben:
pi@ccs-ht-rasp04:~ $ id
uid=1000(pi) gid=1000(pi) Gruppen=1000(pi),4(adm),5(tty),20(dialout),24(cdrom),27(sudo),29(audio),44(video),46(plugdev),60(games),100(users),101(input),108(netdev),997(gpio),998(i2c),999(spi),1001(rasp)
pi@ccs-ht-rasp04:~ $
pi@ccs-ht-rasp04:~ $ whoami
pi
pi@ccs-ht-rasp04:~ $
Prima.
Du bist als non-root User eingeloggt, Gruppen sehen gut aus. Daß Du keine Ausgabe auf beide ls-Befehle erhälst, ist seltsam.
Gibt es das Verzeichnis überhaupt, d.h. kannst Du bitte die Ausgaben von
ls -lah /dev
und
mount
posten?
Danke, -MN
Anbei die Infos:
pi@ccs-ht-rasp04:~ $ ls -lah /dev
insgesamt 4,0K
drwxrwxrwx 15 root root 3,3K Apr 27 13:00 .
drwxr-xr-x 22 root root 4,0K Apr 13 10:03 ..
crw--w--w- 1 root root 10, 235 Apr 27 13:00 autofs
drwxrwxrwx 2 root root 580 Apr 27 13:00 block
crw--w--w- 1 root root 10, 234 Apr 27 13:00 btrfs-control
drwxrwxrwx 3 root root 60 Jan 1 1970 bus
crw--w--w- 1 root root 10, 63 Apr 27 13:00 cachefiles
drwxrwxrwx 2 root root 2,4K Apr 27 13:00 char
crw--w--w- 1 root root 5, 1 Apr 27 13:00 console
crw--w--w- 1 root root 10, 62 Apr 27 13:00 cpu_dma_latency
crw--w--w- 1 root root 10, 203 Apr 27 13:00 cuse
drwxrwxrwx 6 root root 120 Apr 27 13:00 disk
crw-rw--w- 1 root video 29, 0 Apr 27 13:00 fb0
lrwxrwxrwx 1 root root 13 Jan 1 1970 fd -> /proc/self/fd
crw-rw-rw- 1 root root 1, 7 Apr 27 13:00 full
crw-rw-rw- 1 root root 10, 229 Apr 27 13:00 fuse
crw-rw--w- 1 root gpio 244, 0 Apr 27 13:00 gpiomem
crw--w--w- 1 root root 10, 183 Apr 27 13:00 hwrng
lrwxrwxrwx 1 root root 25 Jan 1 1970 initctl -> /run/systemd/initctl/fifo
drwxrwxrwx 2 root root 60 Jan 1 1970 input
crw-rw-rw- 1 root root 1, 11 Apr 27 13:00 kmsg
lrwxrwxrwx 1 root root 28 Jan 1 1970 log -> /run/systemd/journal/dev-log
brw-rw--w- 1 root disk 7, 0 Apr 27 13:00 loop0
brw-rw--w- 1 root disk 7, 1 Apr 27 13:00 loop1
brw-rw--w- 1 root disk 7, 2 Apr 27 13:00 loop2
brw-rw--w- 1 root disk 7, 3 Apr 27 13:00 loop3
brw-rw--w- 1 root disk 7, 4 Apr 27 13:00 loop4
brw-rw--w- 1 root disk 7, 5 Apr 27 13:00 loop5
brw-rw--w- 1 root disk 7, 6 Apr 27 13:00 loop6
brw-rw--w- 1 root disk 7, 7 Apr 27 13:00 loop7
crw-rw--w- 1 root disk 10, 237 Apr 27 13:00 loop-control
drwxrwxrwx 2 root root 60 Apr 27 13:00 mapper
crw-rw--w- 1 root kmem 1, 1 Apr 27 13:00 mem
crw--w--w- 1 root root 10, 59 Apr 27 13:00 memory_bandwidth
brw-rw--w- 1 root disk 179, 0 Apr 27 13:00 mmcblk0
brw-rw--w- 1 root disk 179, 1 Apr 27 13:00 mmcblk0p1
brw-rw--w- 1 root disk 179, 2 Apr 27 13:00 mmcblk0p2
drwxrwxrwt 2 root root 40 Jan 1 1970 mqueue
drwxrwxrwx 2 root root 60 Apr 27 13:00 net
crw--w--w- 1 root root 10, 61 Apr 27 13:00 network_latency
crw--w--w- 1 root root 10, 60 Apr 27 13:00 network_throughput
crw-rw-rw- 1 root root 1, 3 Apr 27 13:00 null
crw--w--w- 1 root root 108, 0 Apr 27 13:00 ppp
crw-rw-rw- 1 root tty 5, 2 Apr 27 19:52 ptmx
drwxrwxrwx 2 root root 0 Jan 1 1970 pts
brw-rw--w- 1 root disk 1, 0 Apr 27 13:00 ram0
brw-rw--w- 1 root disk 1, 1 Apr 27 13:00 ram1
brw-rw--w- 1 root disk 1, 10 Apr 27 13:00 ram10
brw-rw--w- 1 root disk 1, 11 Apr 27 13:00 ram11
brw-rw--w- 1 root disk 1, 12 Apr 27 13:00 ram12
brw-rw--w- 1 root disk 1, 13 Apr 27 13:00 ram13
brw-rw--w- 1 root disk 1, 14 Apr 27 13:00 ram14
brw-rw--w- 1 root disk 1, 15 Apr 27 13:00 ram15
brw-rw--w- 1 root disk 1, 2 Apr 27 13:00 ram2
brw-rw--w- 1 root disk 1, 3 Apr 27 13:00 ram3
brw-rw--w- 1 root disk 1, 4 Apr 27 13:00 ram4
brw-rw--w- 1 root disk 1, 5 Apr 27 13:00 ram5
brw-rw--w- 1 root disk 1, 6 Apr 27 13:00 ram6
brw-rw--w- 1 root disk 1, 7 Apr 27 13:00 ram7
brw-rw--w- 1 root disk 1, 8 Apr 27 13:00 ram8
brw-rw--w- 1 root disk 1, 9 Apr 27 13:00 ram9
crw-rw-rw- 1 root root 1, 8 Apr 27 13:00 random
drwxrwxrwx 2 root root 60 Jan 1 1970 raw
crw-rw-rw- 1 root root 10, 58 Apr 27 13:00 rfkill
drwxrwxrwx 4 root root 80 Apr 27 13:00 serial
lrwxrwxrwx 1 root root 7 Apr 27 13:00 serial0 -> ttyAMA0
drwxrwxrwt 2 root root 40 Jan 1 1970 shm
drwxrwxrwx 2 root root 140 Apr 27 13:00 snd
lrwxrwxrwx 1 root root 15 Jan 1 1970 stderr -> /proc/self/fd/2
lrwxrwxrwx 1 root root 15 Jan 1 1970 stdin -> /proc/self/fd/0
lrwxrwxrwx 1 root root 15 Jan 1 1970 stdout -> /proc/self/fd/1
crw-rw-rw- 1 root tty 5, 0 Apr 27 13:00 tty
crw--w--w- 1 root tty 4, 0 Apr 27 13:00 tty0
crw--w--w- 1 root tty 4, 1 Apr 27 13:00 tty1
crw--w--w- 1 root tty 4, 10 Apr 27 13:00 tty10
crw--w--w- 1 root tty 4, 11 Apr 27 13:00 tty11
crw--w--w- 1 root tty 4, 12 Apr 27 13:00 tty12
crw--w--w- 1 root tty 4, 13 Apr 27 13:00 tty13
crw--w--w- 1 root tty 4, 14 Apr 27 13:00 tty14
crw--w--w- 1 root tty 4, 15 Apr 27 13:00 tty15
crw--w--w- 1 root tty 4, 16 Apr 27 13:00 tty16
crw--w--w- 1 root tty 4, 17 Apr 27 13:00 tty17
crw--w--w- 1 root tty 4, 18 Apr 27 13:00 tty18
crw--w--w- 1 root tty 4, 19 Apr 27 13:00 tty19
crw--w--w- 1 root tty 4, 2 Apr 27 13:00 tty2
crw--w--w- 1 root tty 4, 20 Apr 27 13:00 tty20
crw--w--w- 1 root tty 4, 21 Apr 27 13:00 tty21
crw--w--w- 1 root tty 4, 22 Apr 27 13:00 tty22
crw--w--w- 1 root tty 4, 23 Apr 27 13:00 tty23
crw--w--w- 1 root tty 4, 24 Apr 27 13:00 tty24
crw--w--w- 1 root tty 4, 25 Apr 27 13:00 tty25
crw--w--w- 1 root tty 4, 26 Apr 27 13:00 tty26
crw--w--w- 1 root tty 4, 27 Apr 27 13:00 tty27
crw--w--w- 1 root tty 4, 28 Apr 27 13:00 tty28
crw--w--w- 1 root tty 4, 29 Apr 27 13:00 tty29
crw--w--w- 1 root tty 4, 3 Apr 27 13:00 tty3
crw--w--w- 1 root tty 4, 30 Apr 27 13:00 tty30
crw--w--w- 1 root tty 4, 31 Apr 27 13:00 tty31
crw--w--w- 1 root tty 4, 32 Apr 27 13:00 tty32
crw--w--w- 1 root tty 4, 33 Apr 27 13:00 tty33
crw--w--w- 1 root tty 4, 34 Apr 27 13:00 tty34
crw--w--w- 1 root tty 4, 35 Apr 27 13:00 tty35
crw--w--w- 1 root tty 4, 36 Apr 27 13:00 tty36
crw--w--w- 1 root tty 4, 37 Apr 27 13:00 tty37
crw--w--w- 1 root tty 4, 38 Apr 27 13:00 tty38
crw--w--w- 1 root tty 4, 39 Apr 27 13:00 tty39
crw--w--w- 1 root tty 4, 4 Apr 27 13:00 tty4
crw--w--w- 1 root tty 4, 40 Apr 27 13:00 tty40
crw--w--w- 1 root tty 4, 41 Apr 27 13:00 tty41
crw--w--w- 1 root tty 4, 42 Apr 27 13:00 tty42
crw--w--w- 1 root tty 4, 43 Apr 27 13:00 tty43
crw--w--w- 1 root tty 4, 44 Apr 27 13:00 tty44
crw--w--w- 1 root tty 4, 45 Apr 27 13:00 tty45
crw--w--w- 1 root tty 4, 46 Apr 27 13:00 tty46
crw--w--w- 1 root tty 4, 47 Apr 27 13:00 tty47
crw--w--w- 1 root tty 4, 48 Apr 27 13:00 tty48
crw--w--w- 1 root tty 4, 49 Apr 27 13:00 tty49
crw--w--w- 1 root tty 4, 5 Apr 27 13:00 tty5
crw--w--w- 1 root tty 4, 50 Apr 27 13:00 tty50
crw--w--w- 1 root tty 4, 51 Apr 27 13:00 tty51
crw--w--w- 1 root tty 4, 52 Apr 27 13:00 tty52
crw--w--w- 1 root tty 4, 53 Apr 27 13:00 tty53
crw--w--w- 1 root tty 4, 54 Apr 27 13:00 tty54
crw--w--w- 1 root tty 4, 55 Apr 27 13:00 tty55
crw--w--w- 1 root tty 4, 56 Apr 27 13:00 tty56
crw--w--w- 1 root tty 4, 57 Apr 27 13:00 tty57
crw--w--w- 1 root tty 4, 58 Apr 27 13:00 tty58
crw--w--w- 1 root tty 4, 59 Apr 27 13:00 tty59
crw--w--w- 1 root tty 4, 6 Apr 27 13:00 tty6
crw--w--w- 1 root tty 4, 60 Apr 27 13:00 tty60
crw--w--w- 1 root tty 4, 61 Apr 27 13:00 tty61
crw--w--w- 1 root tty 4, 62 Apr 27 13:00 tty62
crw--w--w- 1 root tty 4, 63 Apr 27 13:00 tty63
crw--w--w- 1 root tty 4, 7 Apr 27 13:00 tty7
crw--w--w- 1 root tty 4, 8 Apr 27 13:00 tty8
crw--w--w- 1 root tty 4, 9 Apr 27 13:00 tty9
crw--w--w- 1 root tty 204, 64 Apr 27 13:00 ttyAMA0
crw--w--w- 1 root root 5, 3 Apr 27 13:00 ttyprintk
crw-rw--w- 1 root dialout 188, 0 Apr 27 13:00 ttyUSB0
crw--w--w- 1 root root 10, 239 Apr 27 13:00 uhid
crw--w--w- 1 root root 10, 223 Apr 27 13:00 uinput
crw-rw-rw- 1 root root 1, 9 Apr 27 13:00 urandom
crw--w--w- 1 root root 251, 0 Apr 27 13:00 vc-cma
crw-rw--w- 1 root video 248, 0 Apr 27 13:00 vchiq
crw-rw--w- 1 root video 249, 0 Apr 27 13:00 vcio
crw--w--w- 1 root root 250, 0 Apr 27 13:00 vc-mem
crw-rw--w- 1 root tty 7, 0 Apr 27 13:00 vcs
crw-rw--w- 1 root tty 7, 1 Apr 27 13:00 vcs1
crw-rw--w- 1 root tty 7, 2 Apr 27 13:00 vcs2
crw-rw--w- 1 root tty 7, 3 Apr 27 13:00 vcs3
crw-rw--w- 1 root tty 7, 4 Apr 27 13:00 vcs4
crw-rw--w- 1 root tty 7, 5 Apr 27 13:00 vcs5
crw-rw--w- 1 root tty 7, 6 Apr 27 13:00 vcs6
crw-rw--w- 1 root tty 7, 128 Apr 27 13:00 vcsa
crw-rw--w- 1 root tty 7, 129 Apr 27 13:00 vcsa1
crw-rw--w- 1 root tty 7, 130 Apr 27 13:00 vcsa2
crw-rw--w- 1 root tty 7, 131 Apr 27 13:00 vcsa3
crw-rw--w- 1 root tty 7, 132 Apr 27 13:00 vcsa4
crw-rw--w- 1 root tty 7, 133 Apr 27 13:00 vcsa5
crw-rw--w- 1 root tty 7, 134 Apr 27 13:00 vcsa6
crw-rw--w- 1 root video 246, 0 Apr 27 13:00 vcsm
crw--w--w- 1 root root 10, 137 Apr 27 13:00 vhci
crw--w--w- 1 root root 10, 130 Apr 27 13:00 watchdog
crw--w--w- 1 root root 253, 0 Apr 27 13:00 watchdog0
prw-rw--w- 1 root adm 0 Apr 27 14:18 xconsole
crw-rw-rw- 1 root root 1, 5 Apr 27 13:00 zero
pi@ccs-ht-rasp04:~ $
pi@ccs-ht-rasp04:~ $ mount
/dev/mmcblk0p2 on / type ext4 (rw,noatime,data=ordered)
devtmpfs on /dev type devtmpfs (rw,relatime,size=469588k,nr_inodes=117397,mode=755)
sysfs on /sys type sysfs (rw,nosuid,nodev,noexec,relatime)
proc on /proc type proc (rw,relatime)
tmpfs on /dev/shm type tmpfs (rw,nosuid,nodev)
devpts on /dev/pts type devpts (rw,nosuid,noexec,relatime,gid=5,mode=620,ptmxmode=000)
tmpfs on /run type tmpfs (rw,nosuid,nodev,mode=755)
tmpfs on /run/lock type tmpfs (rw,nosuid,nodev,noexec,relatime,size=5120k)
tmpfs on /sys/fs/cgroup type tmpfs (ro,nosuid,nodev,noexec,mode=755)
cgroup on /sys/fs/cgroup/systemd type cgroup (rw,nosuid,nodev,noexec,relatime,xattr,release_agent=/lib/systemd/systemd-cgroups-agent,name=systemd)
cgroup on /sys/fs/cgroup/cpu,cpuacct type cgroup (rw,nosuid,nodev,noexec,relatime,cpu,cpuacct)
cgroup on /sys/fs/cgroup/blkio type cgroup (rw,nosuid,nodev,noexec,relatime,blkio)
cgroup on /sys/fs/cgroup/memory type cgroup (rw,nosuid,nodev,noexec,relatime,memory)
cgroup on /sys/fs/cgroup/devices type cgroup (rw,nosuid,nodev,noexec,relatime,devices)
cgroup on /sys/fs/cgroup/freezer type cgroup (rw,nosuid,nodev,noexec,relatime,freezer)
cgroup on /sys/fs/cgroup/net_cls type cgroup (rw,nosuid,nodev,noexec,relatime,net_cls)
systemd-1 on /media/hdd type autofs (rw,relatime,fd=22,pgrp=1,timeout=300,minproto=5,maxproto=5,direct)
systemd-1 on /proc/sys/fs/binfmt_misc type autofs (rw,relatime,fd=23,pgrp=1,timeout=300,minproto=5,maxproto=5,direct)
mqueue on /dev/mqueue type mqueue (rw,relatime)
debugfs on /sys/kernel/debug type debugfs (rw,relatime)
configfs on /sys/kernel/config type configfs (rw,relatime)
fusectl on /sys/fs/fuse/connections type fusectl (rw,relatime)
/dev/mmcblk0p1 on /boot type vfat (rw,relatime,fmask=0022,dmask=0022,codepage=437,iocharset=ascii,shortname=mixed,errors=remount-ro)
tmpfs on /run/user/1000 type tmpfs (rw,nosuid,nodev,relatime,size=94788k,mode=700,uid=1000,gid=1000)
//192.168.17.1/fhem$ on /media/hdd type cifs (rw,relatime,vers=1.0,cache=strict,username=root,domain=ccs-media,uid=1000,forceuid,gid=1000,forcegid,addr=192.168.17.1,file_mode=0666,dir_mode=0777,nounix,mapposix,rsize=61440,wsize=16580,actimeo=1)
pi@ccs-ht-rasp04:~ $
Da hab ich wohl etwas vergessen.
Es gibt schon eine Ausgabe bei diesen Befehlen.
pi@ccs-ht-rasp04:~ $ ls -lah /dev/serial/by-id/usb-FTDI*
lrwxrwxrwx 1 root root 13 Apr 27 13:00 /dev/serial/by-id/usb-FTDI_FT232R_USB_UART_A50285BI-if00-port0 -> ../../ttyUSB0
pi@ccs-ht-rasp04:~ $
pi@ccs-ht-rasp04:~ $ ls -lah /dev/ttyAMA0
crw--w--w- 1 root tty 204, 64 Apr 27 13:00 /dev/ttyAMA0
pi@ccs-ht-rasp04:~ $
Danke,
Also dein /dev ist da und arbeitet, aber die Zugriffsrechte von
crw--w--w- 1 root tty 204, 64 Apr 27 13:00 /dev/ttyAMA0
sind falsch. Hier kann nur root lesen, aber alle in der Welt schreiben. Das macht nicht viel Sinn, wenn Dein fhem als User läuft. Das kannst Du korrigieren mit:
chmod g+r /dev/ttyAMA0
d.h. Gruppen-Leserechte hinzufügen. Dein pi-User ist in der Gruppe tty und sollte danach auf das Device zugreifen.
Analog dazu das andere Device anschauen, daß auf /dev/ttyUSB0 verweist. Dort kannst Du mit
chown :tty /dev/ttyUSB0
die Gruppe auf tty ändern.
Ciao, -MN
Danke für die Infos.
Jetzt habe ich zumindest eine Verbindung zum GMZ.
Wie kann ich jetzt die Daten sinnvoll für eine Anzeige bzw. plot aufbereiten?
Folgende Einträge sind im Log. (siehe Anhang)
Soll sollte eigentlich die Ausgabe aussehen.
CPS, #####, CPM, #####, uSv/hr, ###.##, <Modus> bzw. Bildanhang.
Was das denn für ein Thema hier ;-) Wohnt da jemand neben einem AKW oder wie?
Aber irgendwie auch interessant, sollte ich im Kühlschrank einbauen wenn es mal wieder Pilze gibt ;-)
Was kostet so ein Adapter? Das Teil läuft über ein RPi wenn ich das richtig gesehen habe?!?
/Daniel
Ja dem ist so.
Möchte meine Wetterstation mit diversen Sensoren noch ergänzen.
Infos gibt es über http://myscope.net/geigerzaehler/
Wenn ich das richtig sehe, ist das ein Bausatz.
Gibt es das für Lötlegastheniker auch fertig montiert?
Hat wirklich keiner eine Idee wie ich die Daten an der Schnittstelle aufbereiten kann, damit FHEM diese übernimmt?
https://forum.fhem.de/index.php/topic,52471.msg445227.html#msg445227
Wie kann ich die Daten der Schnittstelle aufbereiten, um diese weiter in FHEM verwenden zu können.
Auch habe ich das Problem das ich nach einem Neustart des Raspi erneut alles freigeben muß damit ich die Schnittstelle wieder verwenden kann.
pi@ccs-ht-rasp04:~ $ sudo chmod g+r /dev/ttyAMA0
pi@ccs-ht-rasp04:~ $ sudo chown :tty /dev/ttyUSB0
pi@ccs-ht-rasp04:~ $ sudo /etc/init.d/fhem start
Starting fhem...
pi@ccs-ht-rasp04:~ $