Zitat von: Onca am 20 Mai 2024, 20:09:53pi@rasp5BG:~ $ ls -l /dev/ttyAMA0Hallo Bernd,
crw-rw---- 1 root dialout 204, 64 May 20 19:46 /dev/ttyAMA0
# seriell-getty Dienst für ttyAMA0 dauerhaft deaktivieren
systemctl stop serial-getty@ttyAMA0.service
systemctl disable serial-getty@ttyAMA0.service
systemctl mask serial-getty@ttyAMA0.service
Zitat"Unlike previous Raspberry Pi models, where you could enable a serial console on GPIO14 and 15, enabling a serial console from raspi-config will enable a serial console on the new UART connector on /dev/ttyAMA0 on Raspberry Pi 5."
*{sunset(7200,"22:15","23:59")} set HUEDevice25 off
funktioniert korrekt*{sunset(7200,"22:15","01:00")} set HUEDevice25 off
funktioniert nicht und der Befehl wird immer um 1 Uhr ausgeführt2024.05.20 20:24:02 0: Server shutdown
Can't use an undefined value as a symbol reference at ./FHEM/51_RPI_GPIO.pm line 418.
2024.05.20 20:25:34 3: [UtilsHourCounter] Init Done with Version 1.0.1.0 - 10.12.2014 (john)
2024.05.20 20:25:34 1: Including fhem.cfg
2024.05.20 20:25:39 2: eventTypes: loaded 856 lines from ./log/eventTypes.txt
2024.05.20 20:25:45 1: PERL WARNING: Can't exec "export": Datei oder Verzeichnis nicht gefunden at ./FHEM/51_RPI_GPIO.pm line 647, <$fh> line 96.
2024.05.20 20:25:45 1: PERL WARNING: Use of uninitialized value $exp_result in pattern match (m//) at ./FHEM/51_RPI_GPIO.pm line 649, <$fh> line 96.
2024.05.20 20:25:45 1: PERL WARNING: Use of uninitialized value $exp_result in concatenation (.) or string at ./FHEM/51_RPI_GPIO.pm line 659, <$fh> line 96.
2024.05.20 20:25:45 1: Can't open file: GPIOZaehlerWasser, active_low
2024.05.20 20:25:45 1: PERL WARNING: Can't exec "export": Datei oder Verzeichnis nicht gefunden at ./FHEM/51_RPI_GPIO.pm line 647, <$fh> line 99.
2024.05.20 20:25:45 1: PERL WARNING: Use of uninitialized value $exp_result in pattern match (m//) at ./FHEM/51_RPI_GPIO.pm line 649, <$fh> line 99.
2024.05.20 20:25:45 1: PERL WARNING: Use of uninitialized value $exp_result in concatenation (.) or string at ./FHEM/51_RPI_GPIO.pm line 659, <$fh> line 99.
2024.05.20 20:25:45 1: Can't open file: GPIOZaehlerWasser, edge
2024.05.20 20:25:45 1: PERL WARNING: Can't exec "-g": Datei oder Verzeichnis nicht gefunden at ./FHEM/51_RPI_GPIO.pm line 647, <$fh> line 101.
2024.05.20 20:25:45 1: PERL WARNING: Use of uninitialized value $exp_result in pattern match (m//) at ./FHEM/51_RPI_GPIO.pm line 649, <$fh> line 101.
2024.05.20 20:25:45 1: PERL WARNING: Use of uninitialized value $exp_result in concatenation (.) or string at ./FHEM/51_RPI_GPIO.pm line 659, <$fh> line 101.
2024.05.20 20:25:51 1: PERL WARNING: Unsuccessful stat on filename containing newline at ./FHEM/51_RPI_GPIO.pm line 118, <$fh> line 511.
sh: 1: export: 539: bad variable name
2024.05.20 20:25:56 1: Can't open file: GPIOTest, active_low
sh: 1: export: 539: bad variable name
2024.05.20 20:25:56 1: Can't open file: GPIOTest, edge
2024.05.20 20:25:56 1: Including ./log/fhem.save
pi@rasp5BG:~ $ ls -l /dev/ttyAMA0
crw-rw---- 1 root dialout 204, 64 May 20 19:46 /dev/ttyAMA0
pi@rasp5BG:~ $ ls -l /dev/serial*
lrwxrwxrwx 1 root root 8 May 20 19:46 /dev/serial0 -> ttyAMA10
lrwxrwxrwx 1 root root 5 May 20 19:46 /dev/serial1 -> ttyS0
Internals:
BaseID 00000000
DEF ESP3 /dev/ttyAMA0@57600
DeviceName /dev/ttyAMA0@57600
FUUID 664b86ea-f33f-3468-8364-522b39a6c3b648d1
FVERSION 00_TCM.pm:0.277860/2023-07-21
LastID 00000000
MODEL ESP3
NAME TCM_ESP3_0
NOTIFYDEV global
NR 50
NTFY_ORDER 45-TCM_ESP3_0
PARTIAL
STATE disconnected
TYPE TCM
READINGS:
2024-05-20 19:47:23 state disconnected
helper:
telegramSentTimeLast 1716227271.11377
awaitCmdResp:
1
Attributes: