pi@raspi3b:/opt/fhem/FHEM $ perl -v
perl: warning: Setting locale failed.
perl: warning: Please check that your locale settings:
LANGUAGE = (unset),
LC_ALL = (unset),
LC_CTYPE = (unset),
LC_NUMERIC = "de_DE.UTF-8",
LC_COLLATE = (unset),
LC_TIME = "de_DE.UTF-8",
LC_MESSAGES = (unset),
LC_MONETARY = "de_DE.UTF-8",
LC_ADDRESS = "de_DE.UTF-8",
LC_IDENTIFICATION = "de_DE.UTF-8",
LC_MEASUREMENT = "de_DE.UTF-8",
LC_PAPER = "de_DE.UTF-8",
LC_TELEPHONE = "de_DE.UTF-8",
LC_NAME = "de_DE.UTF-8",
LANG = "en_GB.UTF-8"
are supported and installed on your system.
perl: warning: Falling back to a fallback locale ("en_GB.UTF-8").
This is perl 5, version 40, subversion 1 (v5.40.1) built for aarch64-linux-gnu-thread-multi
(with 48 registered patches, see perl -V for more detail)
Copyright 1987-2025, Larry Wall
Perl may be copied only under the terms of either the Artistic License or the
GNU General Public License, which may be found in the Perl 5 source kit.
Complete documentation for Perl, including FAQ lists, should be found on
this system using "man perl" or "perldoc perl". If you have access to the
Internet, point your browser at https://www.perl.org/, the Perl Home Page.pi@fhempi:/opt/fhem/FHEM $ perl -v
This is perl 5, version 36, subversion 0 (v5.36.0) built for aarch64-linux-gnu-thread-multi
(with 53 registered patches, see perl -V for more detail)
Copyright 1987-2022, Larry Wall
Perl may be copied only under the terms of either the Artistic License or the
GNU General Public License, which may be found in the Perl 5 source kit.
Complete documentation for Perl, including FAQ lists, should be found on
this system using "man perl" or "perldoc perl". If you have access to the
Internet, point your browser at https://www.perl.org/, the Perl Home Page.
Internals:
DEF tuya xx xx 192.168.0.50 3.3 xx
DEVICEID xx
FHEMPYTYPE tuya
FUUID 6974c5eb-f33f-8771-ebe9-3da36e05351ece92
IODev fhempy_local
NAME tuya_local_bf984ab5d1501b6f13xecf
NR 319
PYTHONTYPE tuya
STATE ready
TYPE fhempy
eventCount 12
READINGS:
2026-01-24 14:24:41 active_time 1768993958
2026-01-24 14:24:41 biz_type 18
2026-01-24 14:24:41 category msp
2026-01-24 14:24:41 create_time 1768993958
2026-01-24 14:24:41 icon smart/icon/bay1627386467137Cb6K/08bca26e14c7f1ebd8e5ea27ed656783.png
2026-01-24 14:24:41 id xx
2026-01-24 14:24:41 ip 109.250.28.239
2026-01-24 14:24:41 lat 49.0664
2026-01-24 14:24:41 local_key xxx
2026-01-24 14:24:41 lon 8.5154
2026-01-24 14:24:41 name Smart Cat Litter Box
2026-01-24 14:35:04 online 1
2026-01-24 14:24:41 owner_id xx
2026-01-24 14:24:41 product_id xx
2026-01-24 14:24:41 product_name Smart Cat Litter Box
2026-01-24 14:35:04 state ready
2026-01-24 14:24:41 sub 0
2026-01-24 14:24:41 time_zone +01:00
2026-01-24 14:24:41 uid xx
2026-01-24 14:24:41 update_time 1769256876
2026-01-24 14:24:41 uuid e45f2dfe61e4c30b
args:
tuya_local_xxx
fhempy
tuya
xx
3.3
xx
argsh:
Attributes:
alias KatzenKlo
dp_06 cat_weight
dp_07 excretion_times_day
dp_08 excretion_time_day
dp_17 deodorization
dp_22 fault
group tuya
localkey xx
room fhempy
tuya_spec_functions [{'code': 'deodorization', 'dp_id': 17, 'type': 'Boolean', 'values': {}, 'desc': 'deodorization'}]
tuya_spec_status [{'code': 'dp1', 'dp_id': 1, 'type': 'Integer', 'values': {'unit': 'x', 'min': 0, 'max': 10000, 'scale': 0, 'step': 1}},{'code': 'dp2', 'dp_id': 2, 'type': 'Integer', 'values': {'unit': 'x', 'min': 0, 'max': 10000, 'scale': 0, 'step': 1}},{'code': 'dp3', 'dp_id': 3, 'type': 'Integer', 'values': {'unit': 'x', 'min': 0, 'max': 10000, 'scale': 0, 'step': 1}},{'code': 'dp4', 'dp_id': 4, 'type': 'Integer', 'values': {'unit': 'x', 'min': 0, 'max': 10000, 'scale': 0, 'step': 1}},{'code': dp5', 'dp_id': 5, 'type': 'Integer', 'values': {'unit': 'x', 'min': 0, 'max': 10000, 'scale': 0, 'step': 1}},{'code': 'cat_weight', 'dp_id': 6, 'type': 'Integer', 'values': {'unit': 'g', 'min': 600, 'max': 10000, 'scale': 0, 'step': 1}}, {'code': 'excretion_times_day', 'dp_id': 7, 'type': 'Integer', 'values': {'unit': 'times', 'min': 0, 'max': 60, 'scale': 0, 'step': 1}}, {'code': 'excretion_time_day', 'dp_id': 8, 'type': 'Integer', 'values': {'unit': 's', 'min': 0, 'max': 1800, 'scale': 0, 'step': 1}}, {'code': 'deodorization', 'dp_id': 17, 'type': 'Boolean', 'values': {}}, {'code': 'fault', 'dp_id': 22, 'type': 'Bitmap', 'values': {'label': ['motor_fault', 'program_fault', 'g_sensor_fault']}}]
Zitat von: DerD am 24 Januar 2026, 09:01:18Zitat von: Ralf9 am 23 Januar 2026, 22:33:09da es z.Zt. recht schwierig ist einen Maple Mini zu bekommen, habe ich angefangen den Raspi Pico in die V 4.2.3 einzubauen.Wäre denn die Bluepill nicht als 1:1 Ersatz verwendbar? Die ist ja gut verfügbar.
pi@fhempi:/opt/fhem/FHEM $ sudo -u fhem grep -nri 'Sys::Hostname' /opt/fhem
/opt/fhem/configDB.pm:196:use Sys::Hostname;
/opt/fhem/contrib/ble2mqttd:53:use Sys::Hostname;
/opt/fhem/FHEM/70_STV.pm:19:use Sys::Hostname;
/opt/fhem/FHEM/37_fakeRoku.pm:8:use Sys::Hostname;
/opt/fhem/FHEM/37_plex.pm:12:use Sys::Hostname;
/opt/fhem/FHEM/70_SamsungAV.pm:21:use Sys::Hostname;
/opt/fhem/FHEM/Meta.pm:528: Sys::HostnameZitat von: betateilchen am 24 Januar 2026, 08:57:17Elektronik rausschmeissen und die Steuerung mit ESP nachbauen?Gewichtssensoren, Zeitsteuerung der Bewegung => sehr hoher Aufwand...
ZitatDas dürfte auf deinem neuen System auch funktionieren:{use Sys::Hostname;; hostname;;}
pi@raspi3b:/opt/fhem/FHEM $ grep -nHi "use Sys" 99*
99_myUtils.pm:11:use Sys::Hostname;sudo -u fhem grep -nri 'Sys::Hostname' /opt/fhem/opt/fhem/configDB.pm:196:use Sys::Hostname;
/opt/fhem/FHEM/70_STV.pm:19:use Sys::Hostname;
/opt/fhem/FHEM/Meta.pm:528: Sys::Hostname
/opt/fhem/FHEM/37_plex.pm:12:use Sys::Hostname;
/opt/fhem/FHEM/37_fakeRoku.pm:8:use Sys::Hostname;
/opt/fhem/FHEM/70_SamsungAV.pm:21:use Sys::Hostname;#
# This file MUST be edited with the 'visudo' command as root.
#
# Please consider adding local content in /etc/sudoers.d/ instead of
# directly modifying this file.
#
# See the man page for details on how to write a sudoers file.
#
Defaults env_reset
Defaults mail_badpass
Defaults secure_path="/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin"
# This fixes CVE-2005-4890 and possibly breaks some versions of kdesu
# (#1011624, https://bugs.kde.org/show_bug.cgi?id=452532)
Defaults use_pty
# This preserves proxy settings from user environments of root
# equivalent users (group sudo)
#Defaults:%sudo env_keep += "http_proxy https_proxy ftp_proxy all_proxy no_proxy"
# This allows running arbitrary commands, but so does ALL, and it means
# different sudoers have their choice of editor respected.
#Defaults:%sudo env_keep += "EDITOR"
# Completely harmless preservation of a user preference.
#Defaults:%sudo env_keep += "GREP_COLOR"
# While you shouldn't normally run git as root, you need to with etckeeper
#Defaults:%sudo env_keep += "GIT_AUTHOR_* GIT_COMMITTER_*"
# Per-user preferences; root won't have sensible values for them.
#Defaults:%sudo env_keep += "EMAIL DEBEMAIL DEBFULLNAME"
# "sudo scp" or "sudo rsync" should be able to use your SSH agent.
#Defaults:%sudo env_keep += "SSH_AGENT_PID SSH_AUTH_SOCK"
# Ditto for GPG agent
#Defaults:%sudo env_keep += "GPG_AGENT_INFO"
# Host alias specification
# User alias specification
# Cmnd alias specification
# User privilege specification
root ALL=(ALL:ALL) ALL
# Allow members of group sudo to execute any command
%sudo ALL=(ALL:ALL) ALL
# See sudoers(5) for more information on "@include" directives:
@includedir /etc/sudoers.d