Hi, so i'm Kassu and in a desperate need of help to get my setup running. I have Raspberry Pi 3 B with EnOcean Pi (TCM 301) attatched to it. The Rasp is running bullseye. I configured the config.txt by adding "enable_uart = 1" and "dtoverlay=disable-bt". I also deleted the row including ttyAMA0 in cmdline.txt, updated the Raspberry etc. I also set the baud rate with "sudo stty -f /dev/ttyAMA0 57600". However when trying to do hexdump < /dev/ttyAMA0 it just stays and returns nothing and i have to stop it with CTRL+C. I don't even know if it is supposed to return something at this point. And this is what ls -l /dev gives me in which serial0 = ttyAMA0 and serial1 = ttyS0:
total 0
crw-r--r-- 1 root root 10, 235 Jan 13 14:34 autofs
drwxr-xr-x 2 root root 580 Jan 13 14:34 block
crw------- 1 root root 10, 234 Jan 13 14:34 btrfs-control
drwxr-xr-x 3 root root 60 Jan 1 1970 bus
crw------- 1 root root 10, 63 Jan 13 14:34 cachefiles
crw-rw---- 1 root video 240, 0 Jan 13 14:34 cec0
drwxr-xr-x 2 root root 3220 Jan 13 14:34 char
crw--w---- 1 root tty 5, 1 Jan 13 14:34 console
crw------- 1 root root 10, 203 Jan 13 14:34 cuse
drwxr-xr-x 7 root root 140 Jan 13 14:34 disk
drwxr-xr-x 2 root root 80 Jan 1 1970 dma_heap
drwxr-xr-x 3 root root 100 Jan 13 14:34 dri
crw-rw---- 1 root video 29, 0 Jan 13 14:34 fb0
lrwxrwxrwx 1 root root 13 Aug 7 06:58 fd -> /proc/self/fd
crw-rw-rw- 1 root root 1, 7 Jan 13 14:34 full
crw-rw-rw- 1 root root 10, 229 Jan 13 14:34 fuse
crw-rw---- 1 root gpio 254, 0 Jan 13 14:34 gpiochip0
crw-rw---- 1 root gpio 254, 1 Jan 13 14:34 gpiochip1
crw-rw---- 1 root gpio 254, 2 Jan 13 14:34 gpiochip2
crw-rw---- 1 root gpio 246, 0 Jan 13 14:34 gpiomem
crw------- 1 root root 244, 0 Jan 13 14:34 hidraw0
crw------- 1 root root 244, 1 Jan 13 14:34 hidraw1
crw------- 1 root root 244, 2 Jan 13 14:34 hidraw2
crw------- 1 root root 244, 3 Jan 13 14:34 hidraw3
crw------- 1 root root 10, 183 Jan 13 14:34 hwrng
crw-rw---- 1 root i2c 89, 2 Jan 13 14:34 i2c-2
lrwxrwxrwx 1 root root 12 Aug 7 06:58 initctl -> /run/initctl
drwxr-xr-x 4 root root 260 Jan 13 14:34 input
crw-r--r-- 1 root root 1, 11 Jan 13 14:34 kmsg
lrwxrwxrwx 1 root root 28 Aug 7 06:58 log -> /run/systemd/journal/dev-log
brw-rw---- 1 root disk 7, 0 Jan 13 14:34 loop0
brw-rw---- 1 root disk 7, 1 Jan 13 14:34 loop1
brw-rw---- 1 root disk 7, 2 Jan 13 14:34 loop2
brw-rw---- 1 root disk 7, 3 Jan 13 14:34 loop3
brw-rw---- 1 root disk 7, 4 Jan 13 14:34 loop4
brw-rw---- 1 root disk 7, 5 Jan 13 14:34 loop5
brw-rw---- 1 root disk 7, 6 Jan 13 14:34 loop6
brw-rw---- 1 root disk 7, 7 Jan 13 14:34 loop7
crw-rw---- 1 root disk 10, 237 Jan 13 14:34 loop-control
drwxr-xr-x 2 root root 60 Jan 13 14:34 mapper
crw-rw---- 1 root video 241, 0 Jan 13 14:34 media0
crw-rw---- 1 root video 241, 1 Jan 13 14:34 media1
crw-r----- 1 root kmem 1, 1 Jan 13 14:34 mem
brw-rw---- 1 root disk 179, 0 Jan 13 14:34 mmcblk0
brw-rw---- 1 root disk 179, 1 Jan 13 14:34 mmcblk0p1
brw-rw---- 1 root disk 179, 2 Jan 13 14:34 mmcblk0p2
drwxrwxrwt 2 root root 40 Jan 1 1970 mqueue
drwxr-xr-x 2 root root 60 Jan 13 14:34 net
crw-rw-rw- 1 root root 1, 3 Jan 13 14:34 null
crw------- 1 root root 108, 0 Jan 13 14:34 ppp
crw-rw-rw- 1 root tty 5, 2 Jan 13 16:22 ptmx
drwxr-xr-x 2 root root 0 Aug 7 06:58 pts
brw-rw---- 1 root disk 1, 0 Jan 13 14:34 ram0
brw-rw---- 1 root disk 1, 1 Jan 13 14:34 ram1
brw-rw---- 1 root disk 1, 10 Jan 13 14:34 ram10
brw-rw---- 1 root disk 1, 11 Jan 13 14:34 ram11
brw-rw---- 1 root disk 1, 12 Jan 13 14:34 ram12
brw-rw---- 1 root disk 1, 13 Jan 13 14:34 ram13
brw-rw---- 1 root disk 1, 14 Jan 13 14:34 ram14
brw-rw---- 1 root disk 1, 15 Jan 13 14:34 ram15
brw-rw---- 1 root disk 1, 2 Jan 13 14:34 ram2
brw-rw---- 1 root disk 1, 3 Jan 13 14:34 ram3
brw-rw---- 1 root disk 1, 4 Jan 13 14:34 ram4
brw-rw---- 1 root disk 1, 5 Jan 13 14:34 ram5
brw-rw---- 1 root disk 1, 6 Jan 13 14:34 ram6
brw-rw---- 1 root disk 1, 7 Jan 13 14:34 ram7
brw-rw---- 1 root disk 1, 8 Jan 13 14:34 ram8
brw-rw---- 1 root disk 1, 9 Jan 13 14:34 ram9
crw-rw-rw- 1 root root 1, 8 Jan 13 14:34 random
drwxr-xr-x 2 root root 60 Jan 1 1970 raw
crw-rw-r--+ 1 root netdev 10, 242 Jan 13 14:34 rfkill
lrwxrwxrwx 1 root root 7 Jan 13 14:34 serial0 -> ttyAMA0
lrwxrwxrwx 1 root root 5 Jan 13 14:34 serial1 -> ttyS0
drwxrwxrwt 2 root root 40 Jan 13 16:22 shm
drwxr-xr-x 3 root root 180 Jan 13 14:34 snd
lrwxrwxrwx 1 root root 15 Aug 7 06:58 stderr -> /proc/self/fd/2
lrwxrwxrwx 1 root root 15 Aug 7 06:58 stdin -> /proc/self/fd/0
lrwxrwxrwx 1 root root 15 Aug 7 06:58 stdout -> /proc/self/fd/1
crw-rw-rw- 1 root tty 5, 0 Jan 13 14:34 tty
crw--w---- 1 root tty 4, 0 Jan 13 14:34 tty0
crw------- 1 pi tty 4, 1 Jan 13 14:34 tty1
crw--w---- 1 root tty 4, 10 Jan 13 14:34 tty10
crw--w---- 1 root tty 4, 11 Jan 13 14:34 tty11
crw--w---- 1 root tty 4, 12 Jan 13 14:34 tty12
crw--w---- 1 root tty 4, 13 Jan 13 14:34 tty13
crw--w---- 1 root tty 4, 14 Jan 13 14:34 tty14
crw--w---- 1 root tty 4, 15 Jan 13 14:34 tty15
crw--w---- 1 root tty 4, 16 Jan 13 14:34 tty16
crw--w---- 1 root tty 4, 17 Jan 13 14:34 tty17
crw--w---- 1 root tty 4, 18 Jan 13 14:34 tty18
crw--w---- 1 root tty 4, 19 Jan 13 14:34 tty19
crw--w---- 1 root tty 4, 2 Jan 13 14:34 tty2
crw--w---- 1 root tty 4, 20 Jan 13 14:34 tty20
crw--w---- 1 root tty 4, 21 Jan 13 14:34 tty21
crw--w---- 1 root tty 4, 22 Jan 13 14:34 tty22
crw--w---- 1 root tty 4, 23 Jan 13 14:34 tty23
crw--w---- 1 root tty 4, 24 Jan 13 14:34 tty24
crw--w---- 1 root tty 4, 25 Jan 13 14:34 tty25
crw--w---- 1 root tty 4, 26 Jan 13 14:34 tty26
crw--w---- 1 root tty 4, 27 Jan 13 14:34 tty27
crw--w---- 1 root tty 4, 28 Jan 13 14:34 tty28
crw--w---- 1 root tty 4, 29 Jan 13 14:34 tty29
crw--w---- 1 root tty 4, 3 Jan 13 14:34 tty3
crw--w---- 1 root tty 4, 30 Jan 13 14:34 tty30
crw--w---- 1 root tty 4, 31 Jan 13 14:34 tty31
crw--w---- 1 root tty 4, 32 Jan 13 14:34 tty32
crw--w---- 1 root tty 4, 33 Jan 13 14:34 tty33
crw--w---- 1 root tty 4, 34 Jan 13 14:34 tty34
crw--w---- 1 root tty 4, 35 Jan 13 14:34 tty35
crw--w---- 1 root tty 4, 36 Jan 13 14:34 tty36
crw--w---- 1 root tty 4, 37 Jan 13 14:34 tty37
crw--w---- 1 root tty 4, 38 Jan 13 14:34 tty38
crw--w---- 1 root tty 4, 39 Jan 13 14:34 tty39
crw--w---- 1 root tty 4, 4 Jan 13 14:34 tty4
crw--w---- 1 root tty 4, 40 Jan 13 14:34 tty40
crw--w---- 1 root tty 4, 41 Jan 13 14:34 tty41
crw--w---- 1 root tty 4, 42 Jan 13 14:34 tty42
crw--w---- 1 root tty 4, 43 Jan 13 14:34 tty43
crw--w---- 1 root tty 4, 44 Jan 13 14:34 tty44
crw--w---- 1 root tty 4, 45 Jan 13 14:34 tty45
crw--w---- 1 root tty 4, 46 Jan 13 14:34 tty46
crw--w---- 1 root tty 4, 47 Jan 13 14:34 tty47
crw--w---- 1 root tty 4, 48 Jan 13 14:34 tty48
crw--w---- 1 root tty 4, 49 Jan 13 14:34 tty49
crw--w---- 1 root tty 4, 5 Jan 13 14:34 tty5
crw--w---- 1 root tty 4, 50 Jan 13 14:34 tty50
crw--w---- 1 root tty 4, 51 Jan 13 14:34 tty51
crw--w---- 1 root tty 4, 52 Jan 13 14:34 tty52
crw--w---- 1 root tty 4, 53 Jan 13 14:34 tty53
crw--w---- 1 root tty 4, 54 Jan 13 14:34 tty54
crw--w---- 1 root tty 4, 55 Jan 13 14:34 tty55
crw--w---- 1 root tty 4, 56 Jan 13 14:34 tty56
crw--w---- 1 root tty 4, 57 Jan 13 14:34 tty57
crw--w---- 1 root tty 4, 58 Jan 13 14:34 tty58
crw--w---- 1 root tty 4, 59 Jan 13 14:34 tty59
crw--w---- 1 root tty 4, 6 Jan 13 14:34 tty6
crw--w---- 1 root tty 4, 60 Jan 13 14:34 tty60
crw--w---- 1 root tty 4, 61 Jan 13 14:34 tty61
crw--w---- 1 root tty 4, 62 Jan 13 14:34 tty62
crw--w---- 1 root tty 4, 63 Jan 13 14:34 tty63
crw--w---- 1 root tty 4, 7 Jan 13 14:34 tty7
crw--w---- 1 root tty 4, 8 Jan 13 14:34 tty8
crw--w---- 1 root tty 4, 9 Jan 13 14:34 tty9
crw-rw---- 1 root dialout 204, 64 Jan 13 15:41 ttyAMA0
crw------- 1 root root 5, 3 Jan 13 14:34 ttyprintk
crw-rw---- 1 root dialout 4, 64 Jan 13 14:34 ttyS0
crw------- 1 root root 10, 239 Jan 13 14:34 uhid
crw------- 1 root root 10, 223 Jan 13 14:34 uinput
crw-rw-rw- 1 root root 1, 9 Jan 13 14:34 urandom
drwxr-xr-x 2 root root 60 Aug 7 06:58 usb
drwxr-xr-x 3 root root 60 Jan 13 14:34 v4l
crw-rw---- 1 root video 243, 0 Jan 13 14:34 vchiq
crw-rw---- 1 root video 247, 0 Jan 13 14:34 vcio
crw------- 1 root root 248, 0 Jan 13 14:34 vc-mem
crw-rw---- 1 root tty 7, 0 Jan 13 14:34 vcs
crw-rw---- 1 root tty 7, 1 Jan 13 14:34 vcs1
crw-rw---- 1 root tty 7, 2 Jan 13 14:34 vcs2
crw-rw---- 1 root tty 7, 3 Jan 13 14:34 vcs3
crw-rw---- 1 root tty 7, 4 Jan 13 14:34 vcs4
crw-rw---- 1 root tty 7, 5 Jan 13 14:34 vcs5
crw-rw---- 1 root tty 7, 6 Jan 13 14:34 vcs6
crw-rw---- 1 root tty 7, 7 Jan 13 14:34 vcs7
crw-rw---- 1 root tty 7, 128 Jan 13 14:34 vcsa
crw-rw---- 1 root tty 7, 129 Jan 13 14:34 vcsa1
crw-rw---- 1 root tty 7, 130 Jan 13 14:34 vcsa2
crw-rw---- 1 root tty 7, 131 Jan 13 14:34 vcsa3
crw-rw---- 1 root tty 7, 132 Jan 13 14:34 vcsa4
crw-rw---- 1 root tty 7, 133 Jan 13 14:34 vcsa5
crw-rw---- 1 root tty 7, 134 Jan 13 14:34 vcsa6
crw-rw---- 1 root tty 7, 135 Jan 13 14:34 vcsa7
crw-rw---- 1 root video 10, 62 Jan 13 14:34 vcsm-cma
crw-rw---- 1 root tty 7, 64 Jan 13 14:34 vcsu
crw-rw---- 1 root tty 7, 65 Jan 13 14:34 vcsu1
crw-rw---- 1 root tty 7, 66 Jan 13 14:34 vcsu2
crw-rw---- 1 root tty 7, 67 Jan 13 14:34 vcsu3
crw-rw---- 1 root tty 7, 68 Jan 13 14:34 vcsu4
crw-rw---- 1 root tty 7, 69 Jan 13 14:34 vcsu5
crw-rw---- 1 root tty 7, 70 Jan 13 14:34 vcsu6
crw-rw---- 1 root tty 7, 71 Jan 13 14:34 vcsu7
crw------- 1 root root 10, 137 Jan 13 14:34 vhci
crw-rw----+ 1 root video 81, 4 Jan 13 14:34 video10
crw-rw----+ 1 root video 81, 5 Jan 13 14:34 video11
crw-rw----+ 1 root video 81, 6 Jan 13 14:34 video12
crw-rw----+ 1 root video 81, 0 Jan 13 14:34 video13
crw-rw----+ 1 root video 81, 1 Jan 13 14:34 video14
crw-rw----+ 1 root video 81, 2 Jan 13 14:34 video15
crw-rw----+ 1 root video 81, 3 Jan 13 14:34 video16
crw-rw----+ 1 root video 81, 7 Jan 13 14:34 video18
crw------- 1 root root 10, 130 Jan 13 14:34 watchdog
crw------- 1 root root 250, 0 Jan 13 14:34 watchdog0
crw-rw-rw- 1 root root 1, 5 Jan 13 14:34 zero
After this i thought that let's just try to install FHEM and i did. The EnOcean in the left did not come but after adding one it did. First i added TF100L by eltako (A5-38-08) with these (i took the outlet off and put it back in and the teach is supposed to be on then?):
define Swit EnOcean <id behind the outlet> A5-38-08
set Swit teach
And here is also the log file in the FHEM (in fhem config the TCM_ESP.. is defined with baud rate of 57600) :
2022.01.13 16:34:48 1: Including fhem.cfg
2022.01.13 16:34:49 3: WEB: port 8083 opened
2022.01.13 16:34:49 2: eventTypes: loaded 7 lines from ./log/eventTypes.txt
2022.01.13 16:34:49 3: Opening TCM_ESP3_0 device /dev/ttyAMA0
2022.01.13 16:34:49 3: Setting TCM_ESP3_0 serial parameters to 57600,8,N,1
2022.01.13 16:34:49 3: TCM_ESP3_0 device opened
2022.01.13 16:34:50 2: EnOcean Cryptographic functions are not available.
2022.01.13 16:34:53 2: EnOcean XML functions are not available.
2022.01.13 16:34:53 1: Including ./log/fhem.save
2022.01.13 16:34:53 3: TCM TCM_ESP3_0 set reset
2022.01.13 16:34:54 3: TCM TCM_ESP3_0 get baseID
2022.01.13 16:34:54 2: TCM TCM_ESP3_0 RESPONSE: BaseID: FFF79600 RemainingWriteCycles: 0A
2022.01.13 16:34:54 3: TCM TCM_ESP3_0 get version
2022.01.13 16:34:54 2: TCM TCM_ESP3_0 RESPONSE: APIVersion: 02060900 APPVersion: 020F0000 ChipID: 051AEF2C ChipVersion: 454F0103 Desc: GATEWAYCTRL
2022.01.13 16:34:54 3: TCM TCM_ESP3_0 set repeater 0000
2022.01.13 16:34:54 2: TCM TCM_ESP3_0 repeater 0000 restored
2022.01.13 16:34:54 3: TCM TCM_ESP3_0 set smartAckMailboxMax 0
2022.01.13 16:34:54 2: TCM TCM_ESP3_0 smartAckMailboxMax 0 restored
2022.01.13 16:34:54 3: TCM TCM_ESP3_0 set mode 00
2022.01.13 16:34:54 2: TCM TCM_ESP3_0 RESPONSE: NOT_SUPPORTED
2022.01.13 16:34:54 3: TCM TCM_ESP3_0 set maturity 01
2022.01.13 16:34:54 2: TCM TCM_ESP3_0 maturity 01 restored
2022.01.13 16:34:54 2: TCM TCM_ESP3_0 initialized
2022.01.13 16:34:54 2: TCM registered transceiver BaseID: FFF79600 ChipID: 051AEF2C
2022.01.13 16:34:54 1: usb create starting
2022.01.13 16:34:54 3: Probing ZWDongle device /dev/serial1
2022.01.13 16:34:54 3: Probing CUL device /dev/ttyS0
2022.01.13 16:34:54 1: usb create end
2022.01.13 16:34:54 2: EnOcean swit XML functions are not available
2022.01.13 16:34:54 0: Featurelevel: 6.1
2022.01.13 16:34:54 0: Server started with 9 defined entities (fhem.pl:25193/2021-11-07 perl:5.032001 os:linux user:fhem pid:2523)
2022.01.13 16:35:26 2: AttrTemplates: got 230 entries
The Swit did came and it could be found under the EnOcean of the left side. However the on/off did not change the light etc it did not work and i don't know if the EnOcean even sends anything, does it work, because i can't test because the hexdump doesn't return anything. I hope someone can tell me if the EnOcean Pi is even working?