Hi ich habe ein riesiges Problem:
nachdem ich meinen FHEM Container neu gestartet habe kommen folgende Fehler im LOG:
2026.07.18 23:39:50 1: PERL WARNING: Subroutine send_ping redefined at .//FHEM/00_MQTT.pm line 690, <$fh> line 45.
2026.07.18 23:39:50 1: PERL WARNING: Subroutine send_disconnect redefined at .//FHEM/00_MQTT.pm line 694, <$fh> line 45.
2026.07.18 23:39:50 1: PERL WARNING: Subroutine send_message redefined at .//FHEM/00_MQTT.pm line 701, <$fh> line 45.
2026.07.18 23:39:50 1: PERL WARNING: Subroutine topic_to_regexp redefined at .//FHEM/00_MQTT.pm line 716, <$fh> line 45.
2026.07.18 23:39:50 1: PERL WARNING: Subroutine client_subscribe_topic redefined at .//FHEM/00_MQTT.pm line 727, <$fh> line 45.
2026.07.18 23:39:50 1: PERL WARNING: Subroutine client_unsubscribe_topic redefined at .//FHEM/00_MQTT.pm line 746, <$fh> line 45.
2026.07.18 23:39:50 1: PERL WARNING: Subroutine Client_Define redefined at .//FHEM/00_MQTT.pm line 763, <$fh> line 45.
2026.07.18 23:39:50 1: PERL WARNING: Subroutine Client_Undefine redefined at .//FHEM/00_MQTT.pm line 779, <$fh> line 45.
2026.07.18 23:39:50 1: PERL WARNING: Subroutine client_attr redefined at .//FHEM/00_MQTT.pm line 784, <$fh> line 45.
2026.07.18 23:39:50 1: PERL WARNING: Subroutine notify_client_connected redefined at .//FHEM/00_MQTT.pm line 898, <$fh> line 45.
2026.07.18 23:39:50 1: PERL WARNING: Subroutine notify_client_disconnected redefined at .//FHEM/00_MQTT.pm line 903, <$fh> line 45.
2026.07.18 23:39:50 1: PERL WARNING: Subroutine notify_client_connection_timeout redefined at .//FHEM/00_MQTT.pm line 908, <$fh> line 45.
2026.07.18 23:39:50 1: PERL WARNING: Subroutine client_start redefined at .//FHEM/00_MQTT.pm line 913, <$fh> line 45.
2026.07.18 23:39:50 1: PERL WARNING: Subroutine client_stop redefined at .//FHEM/00_MQTT.pm line 945, <$fh> line 45.
Undefined subroutine &MQTT::DEVICE::client_attr called at .//FHEM/10_MQTT_DEVICE.pm line 233, <$fh> line 47.
Fhem startet nicht weiter.
Im Gegentel es rebootet:
ERROR: Fatal: No message from FHEM since 60 seconds that server has started.
INFO: Stopping container. Bye!
INFO: Preparing user environment
INFO: Creating group 'fhem' with GID 1000
INFO: Enforcing GID for group 'bluetooth' to 6001
INFO: Creating user 'fhem' with UID 1000
INFO: Creating log directory /opt/fhem/log
INFO: Creating PID directory /opt/fhem/log
INFO: Enforcing user and group ownership for /opt/fhem to fhem:fhem
INFO: Enforcing file and directory permissions for /opt/fhem
INFO: Correcting group ownership for /dev/tty*
INFO: Found GPIO: Correcting group permissions in /dev and /sys to 'gpio' with GID 6002
INFO: Found I2C: Correcting group permissions in /dev to 'i2c' with GID 6003
INFO: Updating /etc/sudoers.d/fhem-docker
INFO: Patching /etc/hosts file with DOCKER_HOST and DOCKER_GW'
INFO: Adding 172.18.0.1 host.docker.internal to /etc/hosts
172.18.0.1 host.docker.internal
INFO: Adding 172.18.0.1 gateway.docker.internal to /etc/hosts
172.18.0.1 gateway.docker.internal
INFO: Pre-authorizing SSH to Docker host for user 'fhem'
INFO: Updating SSH key pinning and SSH client permissions for user 'fhem'
INFO: Preparing user environment done
INFO: Starting FHEM
2026.07.18 23:41:00 1: PERL WARNING: given is deprecated at .//FHEM/99_myUtils.pm line 1283.
2026.07.18 23:41:00 1: PERL WARNING: when is deprecated at .//FHEM/99_myUtils.pm line 1285.
2026.07.18 23:41:00 1: PERL WARNING: when is deprecated at .//FHEM/99_myUtils.pm line 1293.
2026.07.18 23:41:00 1: PERL WARNING: when is deprecated at .//FHEM/99_myUtils.pm line 1300.
2026.07.18 23:41:00 1: PERL WARNING: when is deprecated at .//FHEM/99_myUtils.pm line 1307.
2026.07.18 23:41:00 1: Including fhem.cfg
2026.07.18 23:41:00 1: PERL WARNING: Constant subroutine MQTT::MQTT_CONNECT_REFUSED_UNACCEPTABLE_PROTOCOL_VERSION redefined at /usr/src/app/core/lib/perl5/Net/MQTT/Constants.pm line 44, <$fh> line 45.
2026.07.18 23:41:00 1: PERL WARNING: Constant subroutine MQTT::MQTT_PINGRESP redefined at /usr/src/app/core/lib/perl5/Net/MQTT/Constants.pm line 44, <$fh> line 45.
2026.07.18 23:41:00 1: PERL WARNING: Constant subroutine MQTT::MQTT_UNSUBACK redefined at /usr/src/app/core/lib/perl5/Net/MQTT/Constants.pm line 44, <$fh> line 45.
Zusätzlich kommt irgendwie:
2026.07.18 23:41:00 1: PERL WARNING: Constant subroutine MQTT::MQTT_CONNECT_REFUSED_UNACCEPTABLE_PROTOCOL_VERSION redefined at /usr/src/app/core/lib/perl5/Net/MQTT/Constants.pm line 44, <$fh> line 45.
Bitte bitte um Hilfe
OK die Empfehlung wird wohl sein auf MQTT2 umzustellen aber was ist denn der beste weg für die SubScribe und Publish Set.
Bisher sieht das bei mir so aus:
define GiEx_003 MQTT2_DEVICE zigbee2mqtt
setuuid GiEx_003 64efb41c-f33f-1829-0b37-a8bf5ae71a4215d1
attr GiEx_003 IODev mqttClient
attr GiEx_003 event-on-change-reading .*
attr GiEx_003 publishSet_INTERVAL zigbee2mqtt/0xa4c13850c1c8eacf/set/cycle_irrigation_interval
attr GiEx_003 publishSet_MODE duration,capacity zigbee2mqtt/0xa4c13850c1c8eacf/set/mode
attr GiEx_003 publishSet_NUMTIMES zigbee2mqtt/0xa4c13850c1c8eacf/set/cycle_irrigation_num_times
attr GiEx_003 publishSet_STATE ON,OFF zigbee2mqtt/0xa4c13850c1c8eacf/set
attr GiEx_003 publishSet_TARGET zigbee2mqtt/0xa4c13850c1c8eacf/set/irrigation_target
attr GiEx_003 room Haus.EG.Garten,Sys_MQTT
attr GiEx_003 subscribeReading_SENSOR zigbee2mqtt/0xa4c13850c1c8eacf-GiEx-03
attr GiEx_003 userReadings onState {ReadingsVal("GiEx_003","state","Idle")}
attr GiEx_003 webCmd STATE ON:STATE OFF
Der autocreate hat anscheinend alle attr Subscribe und publish entfernt
Wie würdet Ihr vorgehen