HMCCU 5.0 im SVN verfügbar

Begonnen von zap, 26 Oktober 2021, 19:01:00

Vorheriges Thema - Nächstes Thema

OiledAmoeba

Moin,

ich mal wieder ;-)
Nachdem meine FS20-Schalter alle nicht liefen (als Gerät angelegt), habe ich sie jeweils als Kanal angelegt. Nach dem nächsten Neustart gingen auch die alten HMCCUDEV wieder und ich konnte die HMCCUCHN löschen. Das überlebt jetzt schon mehere Neustarts. Komisch, aber ist so...

Der einzige, der nicht arbeiten mag, ist der FS20-Dimmer. Weder als HMCCUDEV noch als HMCCUCHN.

Zwischenzeitlich habe ich einen FHT80b per "get <device> update" abfragen wollen und FHEM ist abgestürzt.
Hier mal das Log, vom Zeitpunkt des Absturzes bis zum global:INITIALIZED (allerdings alles, was nicht offensichtlich mit HMCCU zu tun hat, rausgeschmissen):

Muss ich mir um diese Fehlermeldungen während des Starts Sorgen machen?
2022.01.26 16:04:15.429 2: HMCCURPCPROC [d_rpc103089CUxD] Error while reading response for command getParamset:
Can't use string ("") as a HASH ref while "strict refs" in use at ./FHEM/88_HMCCU.pm line 7848.
2022.01.26 16:05:47.779 1: HMCCU [ccu] CCU port 8181 is reachable
2022.01.26 16:05:47.798 1: HMCCU [ccu] Initialized version 5.0 220061807
2022.01.26 16:05:47.798 1: HMCCU [ccu] Initializing device
2022.01.26 16:05:50.142 2: HMCCU [ccu] Deleting old CCU configuration data
2022.01.26 16:05:50.146 2: HMCCU [ccu] Updating device table
2022.01.26 16:05:52.182 1: HMCCU [ccu] Read 39 devices with 242 channels from CCU 10.23.103.89
2022.01.26 16:05:52.183 1: HMCCU [ccu] Read 16 programs from CCU 10.23.103.89
2022.01.26 16:05:52.183 1: HMCCU [ccu] Read 0 virtual groups from CCU 10.23.103.89
2022.01.26 16:05:52.187 2: HMCCU [ccu] HMCCU: [ccu] Updating CCU system variables every 15 seconds
2022.01.26 16:06:31.285 0: HMCCU [ccu] Scheduling post FHEM initialization tasks in 12 seconds
2022.01.26 16:06:51.264 0: Featurelevel: 6.1
2022.01.26 16:06:51.264 0: Server started with 460 defined entities (fhem.pl:25544/2022-01-22 perl:5.028001 os:linux user:fhem pid:15520)
2022.01.26 16:06:53.188 1: HMCCU [ccu] Reading device config from CCU. This may take a couple of seconds ...
2022.01.26 16:06:53.190 2: HMCCU [ccu] Reading Device Descriptions for interface VirtualDevices
2022.01.26 16:06:53.659 2: HMCCU [ccu] Read 18 Device Descriptions for interface VirtualDevices
2022.01.26 16:06:53.659 2: HMCCU [ccu] Reading Paramset Descriptions for interface VirtualDevices
2022.01.26 16:06:53.661 2: HMCCU [ccu] Read 0 Paramset Descriptions for interface VirtualDevices
2022.01.26 16:06:53.662 2: HMCCU [ccu] Reading Peer Descriptions for interface VirtualDevices
2022.01.26 16:06:53.742 2: HMCCU [ccu] Read 0 Peer Descriptions for interface VirtualDevices
2022.01.26 16:06:53.742 2: HMCCU [ccu] Reading Device Descriptions for interface BidCos-RF
2022.01.26 16:06:54.257 2: HMCCU [ccu] Read 87 Device Descriptions for interface BidCos-RF
2022.01.26 16:06:54.258 2: HMCCU [ccu] Reading Paramset Descriptions for interface BidCos-RF
2022.01.26 16:07:07.216 2: HMCCU [ccu] Read 63 Paramset Descriptions for interface BidCos-RF
2022.01.26 16:07:07.216 2: HMCCU [ccu] Reading Peer Descriptions for interface BidCos-RF
2022.01.26 16:07:07.257 2: HMCCU [ccu] Read 14 Peer Descriptions for interface BidCos-RF
2022.01.26 16:07:07.257 2: HMCCU [ccu] Reading Device Descriptions for interface CUxD
2022.01.26 16:07:07.333 2: HMCCU [ccu] Read 111 Device Descriptions for interface CUxD
2022.01.26 16:07:07.334 2: HMCCU [ccu] Reading Paramset Descriptions for interface CUxD
2022.01.26 16:07:07.544 2: HMCCURPCPROC [d_rpc103089CUxD] Error while decoding binary response
2022.01.26 16:07:07.544 2: HMCCURPCPROC [d_rpc103089CUxD] Can't get description of paramset MASTER for address CUX2801001
2022.01.26 16:07:07.649 2: HMCCURPCPROC [d_rpc103089CUxD] Error while decoding binary response
2022.01.26 16:07:07.649 2: HMCCURPCPROC [d_rpc103089CUxD] Can't get description of paramset MASTER for address CUX2801001:1
2022.01.26 16:07:07.688 2: HMCCURPCPROC [d_rpc103089CUxD] Error while decoding binary response
2022.01.26 16:07:07.688 2: HMCCURPCPROC [d_rpc103089CUxD] Can't get description of paramset VALUES for address CUX2801001:1
2022.01.26 16:07:07.724 2: HMCCURPCPROC [d_rpc103089CUxD] Error while decoding binary response
2022.01.26 16:07:07.725 2: HMCCURPCPROC [d_rpc103089CUxD] Can't get description of paramset MASTER for address CUX2801001:2
2022.01.26 16:07:07.801 2: HMCCURPCPROC [d_rpc103089CUxD] Error while decoding binary response
2022.01.26 16:07:07.802 2: HMCCURPCPROC [d_rpc103089CUxD] Can't get description of paramset MASTER for address CUX2801001:3
2022.01.26 16:07:07.841 2: HMCCURPCPROC [d_rpc103089CUxD] Error while decoding binary response
2022.01.26 16:07:07.841 2: HMCCURPCPROC [d_rpc103089CUxD] Can't get description of paramset VALUES for address CUX2801001:3
2022.01.26 16:07:07.955 2: HMCCURPCPROC [d_rpc103089CUxD] Error while decoding binary response
2022.01.26 16:07:07.955 2: HMCCURPCPROC [d_rpc103089CUxD] Can't get description of paramset MASTER for address CUX2801001:5
2022.01.26 16:07:08.030 2: HMCCURPCPROC [d_rpc103089CUxD] Error while decoding binary response
2022.01.26 16:07:08.031 2: HMCCURPCPROC [d_rpc103089CUxD] Can't get description of paramset MASTER for address CUX2801001:6
2022.01.26 16:07:08.107 2: HMCCURPCPROC [d_rpc103089CUxD] Error while decoding binary response
2022.01.26 16:07:08.107 2: HMCCURPCPROC [d_rpc103089CUxD] Can't get description of paramset MASTER for address CUX2801001:7
2022.01.26 16:07:08.183 2: HMCCURPCPROC [d_rpc103089CUxD] Error while decoding binary response
2022.01.26 16:07:08.184 2: HMCCURPCPROC [d_rpc103089CUxD] Can't get description of paramset MASTER for address CUX2801001:8
2022.01.26 16:07:08.223 2: HMCCURPCPROC [d_rpc103089CUxD] Error while decoding binary response
2022.01.26 16:07:08.223 2: HMCCURPCPROC [d_rpc103089CUxD] Can't get description of paramset VALUES for address CUX2801001:8
2022.01.26 16:07:08.260 2: HMCCURPCPROC [d_rpc103089CUxD] Error while decoding binary response
2022.01.26 16:07:08.261 2: HMCCURPCPROC [d_rpc103089CUxD] Can't get description of paramset MASTER for address CUX2801001:9
2022.01.26 16:07:08.300 2: HMCCURPCPROC [d_rpc103089CUxD] Error while decoding binary response
2022.01.26 16:07:08.301 2: HMCCURPCPROC [d_rpc103089CUxD] Can't get description of paramset VALUES for address CUX2801001:9
2022.01.26 16:07:08.414 2: HMCCURPCPROC [d_rpc103089CUxD] Error while decoding binary response
2022.01.26 16:07:08.415 2: HMCCURPCPROC [d_rpc103089CUxD] Can't get description of paramset MASTER for address CUX2801001:11
2022.01.26 16:07:08.458 2: HMCCURPCPROC [d_rpc103089CUxD] Error while decoding binary response
2022.01.26 16:07:08.459 2: HMCCURPCPROC [d_rpc103089CUxD] Can't get description of paramset VALUES for address CUX2801001:11
2022.01.26 16:07:08.495 2: HMCCURPCPROC [d_rpc103089CUxD] Error while decoding binary response
2022.01.26 16:07:08.495 2: HMCCURPCPROC [d_rpc103089CUxD] Can't get description of paramset MASTER for address CUX2801001:12
2022.01.26 16:07:08.571 2: HMCCURPCPROC [d_rpc103089CUxD] Error while decoding binary response
2022.01.26 16:07:08.572 2: HMCCURPCPROC [d_rpc103089CUxD] Can't get description of paramset MASTER for address CUX2801001:13
2022.01.26 16:07:08.723 2: HMCCURPCPROC [d_rpc103089CUxD] Error while decoding binary response
2022.01.26 16:07:08.724 2: HMCCURPCPROC [d_rpc103089CUxD] Can't get description of paramset MASTER for address CUX2801001:15
2022.01.26 16:07:08.800 2: HMCCURPCPROC [d_rpc103089CUxD] Error while decoding binary response
2022.01.26 16:07:08.800 2: HMCCURPCPROC [d_rpc103089CUxD] Can't get description of paramset MASTER for address CUX2801001:16
2022.01.26 16:07:08.839 2: HMCCURPCPROC [d_rpc103089CUxD] Error while decoding binary response
2022.01.26 16:07:08.840 2: HMCCURPCPROC [d_rpc103089CUxD] Can't get description of paramset VALUES for address CUX2801001:16
2022.01.26 16:07:09.493 2: HMCCURPCPROC [d_rpc103089CUxD] Error while decoding binary response
2022.01.26 16:07:09.494 2: HMCCURPCPROC [d_rpc103089CUxD] Can't get description of paramset VALUES for address CUX0800003:2
2022.01.26 16:07:10.049 2: HMCCURPCPROC [d_rpc103089CUxD] Error while decoding binary response
2022.01.26 16:07:10.050 2: HMCCURPCPROC [d_rpc103089CUxD] Can't get description of paramset VALUES for address CUX1200002:1
2022.01.26 16:07:10.156 2: HMCCURPCPROC [d_rpc103089CUxD] Error while decoding binary response
2022.01.26 16:07:10.156 2: HMCCURPCPROC [d_rpc103089CUxD] Can't get description of paramset MASTER for address CUX2801002
2022.01.26 16:07:10.193 2: HMCCURPCPROC [d_rpc103089CUxD] Error while decoding binary response
2022.01.26 16:07:10.193 2: HMCCURPCPROC [d_rpc103089CUxD] Can't get description of paramset MASTER for address CUX2801002:1
2022.01.26 16:07:10.276 2: HMCCURPCPROC [d_rpc103089CUxD] Error while decoding binary response
2022.01.26 16:07:10.277 2: HMCCURPCPROC [d_rpc103089CUxD] Can't get description of paramset MASTER for address CUX2801002:3
2022.01.26 16:07:10.360 2: HMCCURPCPROC [d_rpc103089CUxD] Error while decoding binary response
2022.01.26 16:07:10.361 2: HMCCURPCPROC [d_rpc103089CUxD] Can't get description of paramset MASTER for address CUX2801002:8
2022.01.26 16:07:10.443 2: HMCCURPCPROC [d_rpc103089CUxD] Error while decoding binary response
2022.01.26 16:07:10.444 2: HMCCURPCPROC [d_rpc103089CUxD] Can't get description of paramset MASTER for address CUX2801002:9
2022.01.26 16:07:10.524 2: HMCCURPCPROC [d_rpc103089CUxD] Error while decoding binary response
2022.01.26 16:07:10.525 2: HMCCURPCPROC [d_rpc103089CUxD] Can't get description of paramset MASTER for address CUX2801002:11
2022.01.26 16:07:10.606 2: HMCCURPCPROC [d_rpc103089CUxD] Error while decoding binary response
2022.01.26 16:07:10.606 2: HMCCURPCPROC [d_rpc103089CUxD] Can't get description of paramset MASTER for address CUX2801002:16
2022.01.26 16:07:10.649 2: HMCCURPCPROC [d_rpc103089CUxD] Error while decoding binary response
2022.01.26 16:07:10.650 2: HMCCURPCPROC [d_rpc103089CUxD] Can't get description of paramset VALUES for address CUX2801002:16
2022.01.26 16:07:10.830 2: HMCCURPCPROC [d_rpc103089CUxD] Error while decoding binary response
2022.01.26 16:07:10.831 2: HMCCURPCPROC [d_rpc103089CUxD] Can't get description of paramset VALUES for address CUX1200001:1
2022.01.26 16:07:11.007 2: HMCCURPCPROC [d_rpc103089CUxD] Error while decoding binary response
2022.01.26 16:07:11.008 2: HMCCURPCPROC [d_rpc103089CUxD] Can't get description of paramset VALUES for address CUX0400001:1
2022.01.26 16:07:11.121 2: HMCCU [ccu] Read 60 Paramset Descriptions for interface CUxD
2022.01.26 16:07:11.122 2: HMCCU [ccu] Reading Peer Descriptions for interface CUxD
2022.01.26 16:07:11.156 2: HMCCU [ccu] Read 0 Peer Descriptions for interface CUxD
2022.01.26 16:07:11.157 2: HMCCU [ccu] Reading Device Descriptions for interface HmIP-RF
2022.01.26 16:07:11.804 2: HMCCU [ccu] Read 65 Device Descriptions for interface HmIP-RF
2022.01.26 16:07:11.804 2: HMCCU [ccu] Reading Paramset Descriptions for interface HmIP-RF
2022.01.26 16:07:39.413 2: HMCCU [ccu] Read 65 Paramset Descriptions for interface HmIP-RF
2022.01.26 16:07:39.414 2: HMCCU [ccu] Reading Peer Descriptions for interface HmIP-RF
2022.01.26 16:07:39.578 2: HMCCU [ccu] Read 1 Peer Descriptions for interface HmIP-RF
2022.01.26 16:07:39.708 2: HMCCU [ccu] Read device configuration: devices/channels=281 parametersets=188 links=15
2022.01.26 16:07:39.709 2: HMCCU [ccu] RPC device for interface HmIP-RF: d_rpc103089HmIP_RF
2022.01.26 16:07:39.710 2: HMCCU [ccu] RPC device for interface VirtualDevices: d_rpc103089VirtualDevices
2022.01.26 16:07:39.710 2: HMCCU [ccu] RPC device for interface BidCos-RF: d_rpc103089BidCos_RF
2022.01.26 16:07:39.710 2: HMCCU [ccu] RPC device for interface CUxD: d_rpc103089CUxD
2022.01.26 16:07:39.726 2: HMCCURPCPROC [d_rpc103089HmIP_RF] RPC server process started for interface HmIP-RF with PID=16847
2022.01.26 16:07:39.750 2: HMCCURPCPROC [d_rpc103089HmIP_RF] Initializing RPC server CB2010100044103089 for interface HmIP-RF
2022.01.26 16:07:39.770 1: HMCCURPCPROC [d_rpc103089HmIP_RF] RPC server starting
2022.01.26 16:07:39.807 2: HMCCURPCPROC [d_rpc103089HmIP_RF] Callback server CB2010100044103089 created. Listening on port 7420
2022.01.26 16:07:39.808 2: HMCCURPCPROC [d_rpc103089VirtualDevices] RPC server process started for interface VirtualDevices with PID=16848
2022.01.26 16:07:39.809 2: HMCCURPCPROC [d_rpc103089HmIP_RF] CB2010100044103089 accepting connections. PID=16847
2022.01.26 16:07:39.832 2: HMCCURPCPROC [d_rpc103089VirtualDevices] Initializing RPC server CB9292100044103089 for interface VirtualDevices
2022.01.26 16:07:39.850 1: HMCCURPCPROC [d_rpc103089VirtualDevices] RPC server starting
2022.01.26 16:07:39.878 2: HMCCURPCPROC [d_rpc103089BidCos_RF] RPC server process started for interface BidCos-RF with PID=16849
2022.01.26 16:07:39.892 2: HMCCURPCPROC [d_rpc103089VirtualDevices] Callback server CB9292100044103089 created. Listening on port 14702
2022.01.26 16:07:39.895 2: HMCCURPCPROC [d_rpc103089VirtualDevices] CB9292100044103089 accepting connections. PID=16848
2022.01.26 16:07:39.903 2: HMCCURPCPROC [d_rpc103089BidCos_RF] Initializing RPC server CB2001100044103089 for interface BidCos-RF
2022.01.26 16:07:39.922 1: HMCCURPCPROC [d_rpc103089BidCos_RF] RPC server starting
2022.01.26 16:07:39.950 2: HMCCURPCPROC [d_rpc103089CUxD] RPC server process started for interface CUxD with PID=16850
2022.01.26 16:07:39.963 2: HMCCURPCPROC [d_rpc103089BidCos_RF] Callback server CB2001100044103089 created. Listening on port 7411
2022.01.26 16:07:39.965 2: HMCCURPCPROC [d_rpc103089BidCos_RF] CB2001100044103089 accepting connections. PID=16849
2022.01.26 16:07:39.977 2: HMCCURPCPROC [d_rpc103089CUxD] Initializing RPC server CB8701100044103089 for interface CUxD
2022.01.26 16:07:39.981 2: HMCCURPCPROC [d_rpc103089CUxD] CB8701100044103089 accepting connections. PID=16850
2022.01.26 16:07:39.994 1: HMCCURPCPROC [d_rpc103089CUxD] RPC server starting
2022.01.26 16:07:40.010 2: HMCCU [ccu] RPC server start: 4 started, 0 already running, 0 failed to start
2022.01.26 16:07:40.138 2: HMCCURPCPROC [d_rpc103089BidCos_RF] RPC server CB2001100044103089 enters server loop
2022.01.26 16:07:40.144 2: HMCCURPCPROC [d_rpc103089BidCos_RF] Registering callback http://10.23.100.44:7411/fh2001 of type A with ID CB2001100044103089 at http://10.23.103.89:2001
2022.01.26 16:07:40.674 1: HMCCURPCPROC [d_rpc103089BidCos_RF] RPC server CB2001100044103089 running
2022.01.26 16:07:40.685 1: HMCCURPCPROC [d_rpc103089BidCos_RF] Scheduled CCU ping every 300 seconds
2022.01.26 16:07:40.880 2: HMCCURPCPROC [d_rpc103089CUxD] RPC server CB8701100044103089 enters server loop
2022.01.26 16:07:40.884 2: HMCCURPCPROC [d_rpc103089CUxD] Registering callback xmlrpc_bin://10.23.100.44:14111/fh8701 of type B with ID CB8701100044103089 at xmlrpc_bin://10.23.103.89:8701
2022.01.26 16:07:40.916 2: HMCCURPCPROC [d_rpc103089CUxD] Error while reading response for command init:
2022.01.26 16:07:40.926 1: HMCCURPCPROC [d_rpc103089CUxD] RPC server CB8701100044103089 running
2022.01.26 16:07:40.996 2: HMCCURPCPROC [d_rpc103089HmIP_RF] RPC server CB2010100044103089 enters server loop
2022.01.26 16:07:41.000 2: HMCCURPCPROC [d_rpc103089HmIP_RF] Registering callback http://10.23.100.44:7420/fh2010 of type A with ID CB2010100044103089 at http://10.23.103.89:2010
2022.01.26 16:07:41.056 2: HMCCURPCPROC [d_rpc103089BidCos_RF] CB2001100044103089 NewDevice received 87 device and channel specifications
2022.01.26 16:07:41.126 1: HMCCURPCPROC [d_rpc103089HmIP_RF] RPC server CB2010100044103089 running
2022.01.26 16:07:41.453 2: HMCCURPCPROC [d_rpc103089VirtualDevices] RPC server CB9292100044103089 enters server loop
2022.01.26 16:07:41.458 2: HMCCURPCPROC [d_rpc103089VirtualDevices] Registering callback http://10.23.100.44:14702/fh9292 of type A with ID CB9292100044103089 at http://10.23.103.89:9292/groups
2022.01.26 16:07:43.982 2: HMCCURPCPROC [d_rpc103089VirtualDevices] CB9292100044103089 NewDevice received 18 device and channel specifications
2022.01.26 16:07:45.022 2: HMCCURPCPROC [d_rpc103089HmIP_RF] CB2010100044103089 NewDevice received 65 device and channel specifications
2022.01.26 16:07:51.670 1: HMCCURPCPROC [d_rpc103089VirtualDevices] RPC server CB9292100044103089 running
2022.01.26 16:07:51.692 1: HMCCU [ccu] All RPC servers running
2022.01.26 16:07:52.925 1: PERL WARNING: Use of uninitialized value in subtraction (-) at (eval 617) line 5.


Die Geräte, die da Fehler liefern:








CUxD NameTypCUxD Typ(gemappter) CCU2 Typ
CUX0400001FS20-Dimmer(04) Dimmaktor (1-Kanal)HM-LC-Dim1L-Pl
CUX0800003FHT80b(08) WandthermostatHM-CC-TC
CUX1200001InterTechno Thermometer(12) HMS100 TFHM-WDS10-TH-O
CUX1200002InterTechno Thermometer(12) HMS100 TFHM-TC-IT-WM-W-EU
CUX2801001on/off als Trigger für CCU2-Programme(28) SystemHM-RC-19
CUX2801002on/off als Trigger für CCU2-Programme(28) SystemHM-RC-19

Alle Geräte funktionieren trotz der Fehlermeldungen, bis auf den Dimmer. Der Dimmer will überhaupt nicht.
Meine Definition als HMCCUDEV:
defmod HM_fs20.Dimmer HMCCUDEV CUX0400001
attr HM_fs20.Dimmer userattr lightSceneParamsToSave lightSceneRestoreOnlyIfChanged:1,0
attr HM_fs20.Dimmer DbLogExclude .*
attr HM_fs20.Dimmer IODev ccu
attr HM_fs20.Dimmer alias Stehleuchte
attr HM_fs20.Dimmer ccuget Value
attr HM_fs20.Dimmer ccureadingfilter (^LEVEL$|DIRECTION)
attr HM_fs20.Dimmer ccureadingname 1.LEVEL:+pct;;1.LEVEL:level
attr HM_fs20.Dimmer ccuscaleval LEVEL:0:1:0:100
attr HM_fs20.Dimmer ccuverify 1
attr HM_fs20.Dimmer cmdIcon on:general_an off:general_aus
attr HM_fs20.Dimmer controlchannel 1
attr HM_fs20.Dimmer event-on-change-reading .*
attr HM_fs20.Dimmer genericDeviceType light
attr HM_fs20.Dimmer group Licht
attr HM_fs20.Dimmer hmstatevals ERROR!1:load_failure
attr HM_fs20.Dimmer mqttPublish state|level|pct|control:topic={"fhem-rasp/stehleuchte/$name"}
attr HM_fs20.Dimmer mqttSubscribe pct:stopic={"homeassistant/stehleuchte/pct/set"} control:stopic={"homeassistant/stehleuchte/control/set"}
attr HM_fs20.Dimmer realRoom Schlafzimmer
attr HM_fs20.Dimmer room Homekit,Schlafzimmer
attr HM_fs20.Dimmer statechannel 1
attr HM_fs20.Dimmer statevals on:100,off:0
attr HM_fs20.Dimmer stripnumber 1
attr HM_fs20.Dimmer substexcl control
attr HM_fs20.Dimmer substitute ERROR!0:no,1:load_failure;;LEVEL!#0-0:off,#1-100:on
attr HM_fs20.Dimmer userReadings onoff {ReadingsVal($NAME,"level",0)>0 ? "on" : "off"}
attr HM_fs20.Dimmer webCmd control:on:off
attr HM_fs20.Dimmer widgetOverride control:slider,0,10,100

Anzusprechen/Auszulesen ist er mit 1.LEVEL, da lässt sich aber nur der state/controlchannel setzen, beim state/controldatapoint kommt "HMCCUDEV [HM_fs20.Dimmer] Invalid value 1.LEVEL for attribute controldatapoint"

Als HMCCUCHN sieht es so aus:
defmod Stehleuchte1 HMCCUCHN CUX0400001:1
attr Stehleuchte1 DbLogExclude .*
attr Stehleuchte1 ccureadingfilter (^LEVEL$|DIRECTION)
attr Stehleuchte1 ccuscaleval LEVEL:0:1:0:100
attr Stehleuchte1 cmdIcon on:general_an off:general_aus
attr Stehleuchte1 hmstatevals ERROR!1:load_failure
attr Stehleuchte1 statevals on:100,off:0
attr Stehleuchte1 stripnumber 1
attr Stehleuchte1 substexcl control
attr Stehleuchte1 substitute ERROR!0:no,1:load_failure:yes;;LEVEL!#0-0:off,#1-100:on
attr Stehleuchte1 webCmd control:on:off
attr Stehleuchte1 widgetOverride control:slider,0,10,100


Auch hier lässt sich weder state- noch controldatapoint setzen.

get deviceInfo als Channel:
Device channels and datapoints

DEV fs20.Dimmer CUX0400001 interface=CUxD type=HM-LC-Dim1L-Pl
CHN CUX0400001:0 fs20.Dimmer:0
   0.RSSI_PEER = 0 {n} [RE]
CHN CUX0400001:1 fs20.Dimmer:1
   1.LEVEL = 0.000000 {a} [RWE]
   1.OLD_LEVEL =  {b} [W]
   1.RAMP_TIME =  {f} [W]
   1.ON_TIME =  {f} [W]
   1.TOGGLE =  {b} [W]
   1.WORKING = false {b} [RE]
   1.PROG_TIMER = 0.000000 {f} [RWE]
   1.PROG_DIM_UP = 0.000000 {f} [RWE]
   1.PROG_DIM_DOWN = 0.000000 {f} [RWE]
   1.INSTALL_TEST =  {b} [W]

Device detection:
No state datapoint detected
No control datapoint detected

Failed to detect device settings. Device must be configured manually.

Current state datapoint = .

Current control datapoint = .

Device description

Device CUX0400001 fs20.Dimmer [HM-LC-Dim1L-Pl]
  AES_ACTIVE: 0
  CHILDREN: CUX0400001:0,CUX0400001:1
  FIRMWARE: 1.0
  FLAGS: Visible
  PARAMSETS: MASTER
Channel CUX0400001:0 fs20.Dimmer:0 [MAINTENANCE]
  AES_ACTIVE: 0
  DIRECTION: NONE
  FLAGS: Visible,Internal
  PARAMSETS: MASTER,VALUES
  PARENT: CUX0400001
  PARENT_TYPE: HM-LC-Dim1L-Pl
Channel CUX0400001:1 fs20.Dimmer:1 [DIMMER] known
  AES_ACTIVE: 0
  DIRECTION: NONE
  FLAGS: Visible
  PARAMSETS: MASTER,VALUES
  PARENT: CUX0400001
  PARENT_TYPE: HM-LC-Dim1L-Pl

Defaults

Support for role(s) DIMMER of device type HM-LC-Dim1L-Pl is built in.


get deviceInfo als Device:
Device channels and datapoints

DEV fs20.Dimmer CUX0400001 interface=CUxD type=HM-LC-Dim1L-Pl
CHN CUX0400001:0 fs20.Dimmer:0
   0.RSSI_PEER = 0 {n} [RE]
CHN CUX0400001:1 fs20.Dimmer:1
   1.LEVEL = 0.000000 {a} [RWE]
   1.OLD_LEVEL =  {b} [W]
   1.RAMP_TIME =  {f} [W]
   1.ON_TIME =  {f} [W]
   1.TOGGLE =  {b} [W]
   1.WORKING = false {b} [RE]
   1.PROG_TIMER = 0.000000 {f} [RWE]
   1.PROG_DIM_UP = 0.000000 {f} [RWE]
   1.PROG_DIM_DOWN = 0.000000 {f} [RWE]
   1.INSTALL_TEST =  {b} [W]

Device detection:
No state datapoint detected
No control datapoint detected

Failed to detect device settings. Device must be configured manually.

Current state datapoint = .

Current control datapoint = .

Device description

Device CUX0400001 fs20.Dimmer [HM-LC-Dim1L-Pl]
  AES_ACTIVE: 0
  CHILDREN: CUX0400001:0,CUX0400001:1
  FIRMWARE: 1.0
  FLAGS: Visible
  PARAMSETS: MASTER
Channel CUX0400001:0 fs20.Dimmer:0 [MAINTENANCE]
  AES_ACTIVE: 0
  DIRECTION: NONE
  FLAGS: Visible,Internal
  PARAMSETS: MASTER,VALUES
  PARENT: CUX0400001
  PARENT_TYPE: HM-LC-Dim1L-Pl
Channel CUX0400001:1 fs20.Dimmer:1 [DIMMER] known
  AES_ACTIVE: 0
  DIRECTION: NONE
  FLAGS: Visible
  PARAMSETS: MASTER,VALUES
  PARENT: CUX0400001
  PARENT_TYPE: HM-LC-Dim1L-Pl

Defaults

Support for role(s) DIMMER of device type HM-LC-Dim1L-Pl is built in.


Einerseits sagt er "Support for role(s) DIMMER of device type HM-LC-Dim1L-Pl is built in", andererseits hat er trotzdem kein Bock, mit ihm zu sprechen...

Und ich habe es gerade zweimal geschafft, FHEM wieder mit HMCCU zu killen:
2022.01.26 17:13:51.786 4: WEBnginx_10.23.100.44_36906 POST /fhem?detail=HM_fs20.Dimmer&dev.getHM_fs20.Dimmer=HM_fs20.Dimmer&cmd.getHM_fs20.Dimmer=get&arg.getHM_fs20.Dimmer=values&val.getHM_fs20.Dimmer=&XHR=1&addLinks=1&fwcsrf=csrf_217943499412112&fw_id=3212; BUFLEN:0
2022.01.26 17:13:51.787 5: Cmd: >get HM_fs20.Dimmer values<
2022.01.26 17:13:51.820 2: HMCCURPCPROC [d_rpc103089CUxD] Error while reading response for command getParamset:
Can't use string ("") as a HASH ref while "strict refs" in use at ./FHEM/88_HMCCU.pm line 7848.

2022.01.26 17:20:34.843 4: WEBnginx_10.23.100.44_41340 POST /fhem?detail=d_rpc103089CUxD&dev.getd_rpc103089CUxD=d_rpc103089CUxD&cmd.getd_rpc103089CUxD=get&arg.getd_rpc103089CUxD=deviceDesc&val.getd_rpc103089CUxD=&XHR=1&addLinks=1&fwcsrf=csrf_205058440381994&fw_id=635; BUFLEN:0
2022.01.26 17:20:34.844 5: Cmd: >get d_rpc103089CUxD deviceDesc<
2022.01.26 17:20:34.919 1: PERL WARNING: Use of uninitialized value $d in substitution (s///) at ./FHEM/88_HMCCU.pm line 4003.
Can't use string ("0") as a HASH ref while "strict refs" in use at ./FHEM/88_HMCCU.pm line 3993.


Der CUxD-RPC steht auf "rpcReadTimeout 0.03"

Gruß
Florian
Gruß
Florian

Jail auf XigmaNAS (freeBSD); CCU2 mit CULv3, nanoCUL868 und JeeLink-Clone; div. FS20-Komponenten; andFHEM; div. hm- und hmip-Komponenten; div. IT+

DonJuan

Zitat von: juemuc am 18 Januar 2022, 21:54:42
Hallo DonJuan,

hast Du mal eines Deiner Geräte neu angelegt? Einfach mal eines der Geräte mit dieser Meldung löschen und neu anlegen.
Wenn es dann funktioniert, liegt es an Deinen Definitionen.

Viele Grüße
Jürgen

Also ich habe vorhin ein Device gelöscht. Die Meldung zu dem Device blieb trotzdem da. Irgendwie ist das schon komisch.

Gruss Dennis

juemuc

Zitat von: juemuc am 18 Januar 2022, 21:56:46
Hallo zap,

Beim restart habe ich gesehen, dass im Log nun der User und das Passwort im Klartext stehen. Kannst Du das ändern?

Viele Grüße
Jürgen

Hallo zap,

siehst Du hierfür eine Lösungsmöglichkeit?

Viele Grüße
Jürgen
3x Sonos Play 1, 1x Sonos Arc + Sub, 1 Sonos-One, 1x Sonos Playbar
FB6690 + FB7490 mit 4x Dect 200 und 3 Dect-ULE-Thermostate,  raspberry3B+, HM Funkmodul HM-MOD-RPI-PCB, HM Klingelsensor HM-Sen-DB-PCB, HM (IP) Fensterkontakte und  Amazon Echo Dot,  piVCCU, pi OS (bookworm).

zap

Zitat von: juemuc am 30 Januar 2022, 19:19:43
Hallo zap,

siehst Du hierfür eine Lösungsmöglichkeit?


Poste bitte nochmal eine Beispiel-Logmessage (mit Xen statt Username/Password ;) )
Ich muss rausfinden, wo die herkommt.
2xCCU3, Fenster, Rollläden, Themostate, Stromzähler, Steckdosen ...)
Entwicklung: FHEM auf AMD NUC (Ubuntu)
Produktiv inzwischen auf Home Assistant gewechselt.
Maintainer: FULLY, Meteohub, HMCCU, AndroidDB

zap

@OiledAmoeba : Hattest Du die letzte Version von Github installiert? Die hatte einen Bug bei der RPC Kommunikation (wobei das eher ein Bug in CUxD ist).

Gestern habe ich auf Github ein Update eingecheckt. Kommt dann spätestens morgen ins SVN.
2xCCU3, Fenster, Rollläden, Themostate, Stromzähler, Steckdosen ...)
Entwicklung: FHEM auf AMD NUC (Ubuntu)
Produktiv inzwischen auf Home Assistant gewechselt.
Maintainer: FULLY, Meteohub, HMCCU, AndroidDB

juemuc

Zitat von: zap am 31 Januar 2022, 10:20:48
Poste bitte nochmal eine Beispiel-Logmessage (mit Xen statt Username/Password ;) )
Ich muss rausfinden, wo die herkommt.

Bitteschön

2022.01.30 14:19:38 2: HMCCURPCPROC [d_rpc140090HmIP_RF] Registering callback http://192.168.140.80:7420/fh2010 of type A with ID CB2010140080140090 at https://USER:Password@192.168.140.90:42010

Viele  Grüße
Jürgen
3x Sonos Play 1, 1x Sonos Arc + Sub, 1 Sonos-One, 1x Sonos Playbar
FB6690 + FB7490 mit 4x Dect 200 und 3 Dect-ULE-Thermostate,  raspberry3B+, HM Funkmodul HM-MOD-RPI-PCB, HM Klingelsensor HM-Sen-DB-PCB, HM (IP) Fensterkontakte und  Amazon Echo Dot,  piVCCU, pi OS (bookworm).

zap

Morgen steht ein Update in SVN zur Verfügung. Ich habe die RPC Requests optimiert. Beim Starten von FHEM sowie bei der Aktualisierung der CCU-Config werden nun weniger RPC-Einzel-Requests verwendet.
Das beschleunigt etwas den FHEM-Start.
2xCCU3, Fenster, Rollläden, Themostate, Stromzähler, Steckdosen ...)
Entwicklung: FHEM auf AMD NUC (Ubuntu)
Produktiv inzwischen auf Home Assistant gewechselt.
Maintainer: FULLY, Meteohub, HMCCU, AndroidDB

Reinschki

Guten Abend,

für die Darstellung eines Heizkörperthermostats HmIP-eTRV-2 über Tablet UI benötigt das Widget den control datapoint. Hier die Config mit Version 4.3:
<div data-type="thermostat" data-device="HM_HKT_Kueche" data-get="1.SET_POINT_TEMPERATURE" data-temp="1.ACTUAL_TEMPERATURE" data-set="control" data-mode="CONTROL_MODE" data-valve="valve_position" class="large top-space"></div>

In der Hilfe zum Device steht unter Version 5.0:
Zitatset <name> control <value>
Set value of control datapoint. This command is available only on command line for compatibility reasons. It should not be used any more.

Bei den folgenden Befehlen passiert aber nichts!?
set HKT_Kueche control auto
set HKT_Kueche control manual


Weitere Frage:
Kann man dem Device das Reading "valve_position" noch zufügen?

Wie kann das gelöst werden?

Besten Dank für die Unterstützung!

LuGu

Zitat von: Reinschki am 01 Februar 2022, 17:50:17
Guten Abend,

Weitere Frage:
Kann man dem Device das Reading "valve_position" noch zufügen?

Wie kann das gelöst werden?

Besten Dank für die Unterstützung!

Das kann man mit ccuresdingname lösen:

attr HM_HKT_Kueche ccureadingname LEVEL$:valve_position


Gruß LuGu
FHEM mit RPi3 (Visu über FTUI)
HMCCU mit piVCCU3 / MQTT2 mit zigbee2mqtt

OiledAmoeba

Zitat von: zap am 31 Januar 2022, 10:23:43
@OiledAmoeba : Hattest Du die letzte Version von Github installiert? Die hatte einen Bug bei der RPC Kommunikation (wobei das eher ein Bug in CUxD ist).

Gestern habe ich auf Github ein Update eingecheckt. Kommt dann spätestens morgen ins SVN.

Nein, die Daten für HMCCU kommen aus dem offiziellen Updatekanal, gerade noch mal gecheckt. Update list zeigt hat zwar externe Quellen, aber nix, was auf HMCCU hindeutet.
Gruß
Florian

Jail auf XigmaNAS (freeBSD); CCU2 mit CULv3, nanoCUL868 und JeeLink-Clone; div. FS20-Komponenten; andFHEM; div. hm- und hmip-Komponenten; div. IT+

zap

Zitat von: Reinschki am 01 Februar 2022, 17:50:17
Guten Abend,

für die Darstellung eines Heizkörperthermostats HmIP-eTRV-2 über Tablet UI benötigt das Widget den control datapoint. Hier die Config mit Version 4.3:
<div data-type="thermostat" data-device="HM_HKT_Kueche" data-get="1.SET_POINT_TEMPERATURE" data-temp="1.ACTUAL_TEMPERATURE" data-set="control" data-mode="CONTROL_MODE" data-valve="valve_position" class="large top-space"></div>

In der Hilfe zum Device steht unter Version 5.0:
Bei den folgenden Befehlen passiert aber nichts!?
set HKT_Kueche control auto
set HKT_Kueche control manual


Weitere Frage:
Kann man dem Device das Reading "valve_position" noch zufügen?

Wie kann das gelöst werden?

Besten Dank für die Unterstützung!

Ich würde data-set einfach auch auf 1.SET_POINT_TEMPERATURE setzen. set control gibts nicht mehr
2xCCU3, Fenster, Rollläden, Themostate, Stromzähler, Steckdosen ...)
Entwicklung: FHEM auf AMD NUC (Ubuntu)
Produktiv inzwischen auf Home Assistant gewechselt.
Maintainer: FULLY, Meteohub, HMCCU, AndroidDB

zap

#416
Zitat von: OiledAmoeba am 01 Februar 2022, 21:14:42
Nein, die Daten für HMCCU kommen aus dem offiziellen Updatekanal, gerade noch mal gecheckt. Update list zeigt hat zwar externe Quellen, aber nix, was auf HMCCU hindeutet.

Da läuft noch was schief mit den RPC-Requests. Auf den ersten Blick 2 Bugs gefunden. Danke für den Log.

Bitte mal ein Update machen und prüfen, ob das Problem noch auftritt (insbesondere die Perl-Meldungen)
2xCCU3, Fenster, Rollläden, Themostate, Stromzähler, Steckdosen ...)
Entwicklung: FHEM auf AMD NUC (Ubuntu)
Produktiv inzwischen auf Home Assistant gewechselt.
Maintainer: FULLY, Meteohub, HMCCU, AndroidDB

Reinschki

Zitat
Zitat von: LuGu am 01 Februar 2022, 18:08:14
Das kann man mit ccuresdingname lösen:

attr HM_HKT_Kueche ccureadingname LEVEL$:valve_position


Gruß LuGu

Jawohl bei einem HmIP-eTRV-2 funktioniert das. Das Reading wird angezeigt!

Bei einem HM-CC-RT-DN jedoch nicht. Ich nehme an da muss im Hintergrund etwas matchen.
Ganz verstanden habe ich das aber noch nicht...
Kann mir jemand den workaround dazu erklären, wie man verborgene Datenpunkte als Reading darstellt.

Danke!

Reinschki

#418
Zitat von: zap am 01 Februar 2022, 21:40:53
Ich würde data-set einfach auch auf 1.SET_POINT_TEMPERATURE setzen. set control gibts nicht mehr

Hallo zap,

kapier ich nicht!
Ich will ja damit den Modus (also Manual, Auto, Boost etc.) einstellen können.
Ich denke aus Gründen der Kompatibilität braucht es "set control"! Oder?

Temperatur stelle ich mit ein:
data-temp="1.ACTUAL_TEMPERATURE"

Gruß

zap

Zitat von: Reinschki am 02 Februar 2022, 16:03:50
Hallo zap,

kapier ich nicht!
Ich will ja damit den Modus (also Manual, Auto, Boost etc.) einstellen können.
Ich denke aus Gründen der Kompatibilität braucht es "set control"! Oder?

Temperatur stelle ich mit ein:
data-temp="1.ACTUAL_TEMPERATURE"

Gruß

In diesen Fällen ist es meist hilfreich, sich die Ausgabe der Befehle "get deviceInfo" und "get paramsetDesc" anzuschauen.

Für Deine Ventilposition:

attr HM_HKT_Kueche ccureadingname VALVE_STATE:+valve_position

Wenn Du das "+" weglässt, wird VALVE_STATE ersetzt.

Das Thermostat hat zwar einen Datenpunkt CONTROL_MODE, der ist aber read-only. Damit kann man nichts steuern.

Die Control-Modi musst Du entweder per set-Befehl einstellen (also set auto usw.) oder Du setzt die Datenpunkte direkt:


4.AUTO_MODE =  {b} [W]
4.MANU_MODE =  {f} [W]
4.BOOST_MODE =  {b} [W]
4.COMFORT_MODE =  {b} [W]
4.LOWERING_MODE =  {b} [W]


Dabei wäre zu beachten, dass man bei MANU_MODE nicht 0/1 bzw. false/true angeben muss, sondern eine Temperatur.

Und: set control funktioniert zwar noch (wg. der Kompatibilität), wird aber bei neu angelegten Devices (mit 5.0) nicht mehr benötigt.
2xCCU3, Fenster, Rollläden, Themostate, Stromzähler, Steckdosen ...)
Entwicklung: FHEM auf AMD NUC (Ubuntu)
Produktiv inzwischen auf Home Assistant gewechselt.
Maintainer: FULLY, Meteohub, HMCCU, AndroidDB