<struct_type> -> Fehler "unknown attribute"

Begonnen von Motivierte linke Hände, 20 Januar 2015, 17:45:42

Vorheriges Thema - Nächstes Thema

Motivierte linke Hände

Irgendwie komme ich beim Anlegen einer structure nicht weiter: Ich habe zur Anwesenheitserkennung für jedes (maßgebliche) Handy eine Structure gebildet, die mehrere Arten der Anwesenheitserkennung kombiniert.

Zum Beispiel:
define da.iPhone5S structure iPhone5s anwesend.iPhone5S anwesend.Repeater.iPhone5S
define da.iPhone6 structure iPhone6 anwesend.iPhone6 anwesend.Repeater.iPhone6


Das funktioniert.

Nun wollte ich zur Anwesenheitserkennung im Haus insgesamt (ist überhaupt jemand da) eine Structure über beide Structures legen. Lt. Commandref soll das ja möglich sein:

define da.irgendwer structure allePhonesda da.iPhone5S da.iPhone6

Dieses define liefert mir folgenden Fehler im Log:

2015.01.20 17:35:36 3: anwesend.Repeater.iPhone5S: unknown attribute allePhonesda. Type 'attr anwesend.Repeater.iPhone5S ?' for a detailed list.
2015.01.20 17:35:36 3: anwesend.iPhone5S: unknown attribute allePhonesda. Type 'attr anwesend.iPhone5S ?' for a detailed list.
2015.01.20 17:35:36 3: anwesend.Repeater.iPhone6: unknown attribute allePhonesda. Type 'attr anwesend.Repeater.iPhone6 ?' for a detailed list.
2015.01.20 17:35:36 3: anwesend.geofency.iPhone6: unknown attribute allePhonesda. Type 'attr anwesend.geofency.iPhone6 ?' for a detailed list.
2015.01.20 17:35:36 3: anwesend.iPhone6: unknown attribute allePhonesda. Type 'attr anwesend.iPhone6 ?' for a detailed list.


D.h. <struct_type> wird runtergereicht und verursacht dabei einen Fehler. Nur... warum? Und wie kann ich das vermeiden? In der Commandref steht zu <struct_type> nicht viel, woraus ich (unterstützt durch http://forum.fhem.de/index.php?topic=14464.0) geschlossen hatte, dass da eigentlich alles hinein kann.

Was mache ich falsch?

Danke, Christian
FHEM 6 in einer KVM VM mit Ubuntu
HM-CFG-USB2, 2xHM-CFG-HMLAN, HM-HMUARTLGW mit 100+ HomeMatic Devices, Geofencing, Fritzbox, Unifi, HUE, Harmony-Hub, Denon-Receiver-Modul, Calendar, GardenaSmartDevice, Shelly, MQTT (zigbee2mqtt, Tasmota und Shelly) und ein wenig 1Wire.

rudolfkoenig

War wohl ein Bug, seit dem Umbau (r6664/2014-10-03) war kein Struktur vom Struktur moeglich. Wird wohl weniger verwendet, als ich es dachte. Habs gefixt und eingecheckt, ab morgen per update.

Ralli

#2
Also ich nutze verschachtelte Strukturen - und nicht wenige.

Dieser aktuelle "Bugfix" hat nun bei mir dafür gesorgt, dass sämtliche vorher einwandfrei funktionierenden Strukturen, und nicht nur die, die Teil einer oberen Struktur waren, weggeworfen wurden.


2015.01.21 08:31:50 1: Error: SZ_HK has no TYPE
2015.01.21 08:31:50 1: Error: KUC_HK has no TYPE
2015.01.21 08:31:50 1: Error: SZ_HK has no TYPE
2015.01.21 08:31:50 0: Strange call for typeless JWR_HK: AttrFn
2015.01.21 08:31:50 0: Strange call for typeless KUC_HK: AttrFn
2015.01.21 08:31:50 0: Strange call for typeless SZ_HK: AttrFn
2015.01.21 08:31:50 0: Strange call for typeless JWR_HK: AttrFn
2015.01.21 08:31:50 0: Strange call for typeless KUC_HK: AttrFn
2015.01.21 08:31:50 0: Strange call for typeless SZ_HK: AttrFn
2015.01.21 08:31:50 0: Strange call for typeless JWR_HK: AttrFn
2015.01.21 08:31:50 0: Strange call for typeless KUC_HK: AttrFn
2015.01.21 08:31:50 0: Strange call for typeless SZ_HK: AttrFn
2015.01.21 08:31:51 0: Strange call for typeless SZ_HK: AttrFn
2015.01.21 08:31:51 0: Strange call for typeless SZ_HK: AttrFn
2015.01.21 08:31:51 0: Strange call for typeless SZ_HK: AttrFn
2015.01.21 08:31:51 0: Strange call for typeless SZ_HK: AttrFn
2015.01.21 08:31:51 0: Strange call for typeless SZ_HK: AttrFn
2015.01.21 08:31:51 0: Strange call for typeless SZ_HK: AttrFn
2015.01.21 08:31:51 3: SZ_HK: unknown attribute model. Type 'attr SZ_HK ?' for a detailed list.
2015.01.21 08:31:51 3: SZ_HK: unknown attribute peerIDs. Type 'attr SZ_HK ?' for a detailed list.
2015.01.21 08:31:51 0: Strange call for typeless SZ_HK: AttrFn
2015.01.21 08:31:51 0: Strange call for typeless SZ_HK: AttrFn
2015.01.21 08:31:52 1: Error: JWR_HK has no TYPE
2015.01.21 08:31:52 1: Error: KUC_HK has no TYPE
2015.01.21 08:31:52 1: Error: SZ_HK has no TYPE
2015.01.21 08:31:52 0: Strange call for typeless LNA_Fenster_links: AttrFn
2015.01.21 08:31:52 0: Strange call for typeless LNA_Fenster_links: AttrFn
2015.01.21 08:31:52 0: Strange call for typeless LNA_Fenster_links: AttrFn
2015.01.21 08:31:52 0: Strange call for typeless LNA_Fenster_links: AttrFn
2015.01.21 08:31:52 0: Strange call for typeless LNA_Fenster_links: AttrFn
2015.01.21 08:31:52 0: Strange call for typeless LNA_Fenster_links: AttrFn
2015.01.21 08:31:53 0: Strange call for typeless KUC_HK: AttrFn
2015.01.21 08:31:53 0: Strange call for typeless KUC_HK: AttrFn
2015.01.21 08:31:53 0: Strange call for typeless KUC_HK: AttrFn
2015.01.21 08:31:53 0: Strange call for typeless KUC_HK: AttrFn
2015.01.21 08:31:53 0: Strange call for typeless KUC_HK: AttrFn
2015.01.21 08:31:53 0: Strange call for typeless KUC_HK: AttrFn
2015.01.21 08:31:53 3: KUC_HK: unknown attribute model. Type 'attr KUC_HK ?' for a detailed list.
2015.01.21 08:31:53 3: KUC_HK: unknown attribute peerIDs. Type 'attr KUC_HK ?' for a detailed list.
2015.01.21 08:31:53 0: Strange call for typeless KUC_HK: AttrFn
2015.01.21 08:31:53 0: Strange call for typeless KUC_HK: AttrFn
2015.01.21 08:31:53 1: Error: JWR_HK has no TYPE
2015.01.21 08:31:53 1: Error: KUC_HK has no TYPE
2015.01.21 08:31:53 1: Error: LNA_Fenster_links has no TYPE
2015.01.21 08:31:53 1: Error: SZ_HK has no TYPE
2015.01.21 08:31:53 0: Strange call for typeless TMO_Fenster: AttrFn
2015.01.21 08:31:53 0: Strange call for typeless TMO_Fenster: AttrFn
2015.01.21 08:31:53 0: Strange call for typeless TMO_Fenster: AttrFn
2015.01.21 08:31:53 0: Strange call for typeless TMO_Fenster: AttrFn
2015.01.21 08:31:53 0: Strange call for typeless TMO_Fenster: AttrFn
2015.01.21 08:31:53 0: Strange call for typeless TMO_Fenster: AttrFn
2015.01.21 08:31:53 1: Error: JWR_HK has no TYPE
2015.01.21 08:31:53 1: Error: KUC_HK has no TYPE
2015.01.21 08:31:53 1: Error: LNA_Fenster_links has no TYPE
2015.01.21 08:31:53 1: Error: SZ_HK has no TYPE
2015.01.21 08:31:53 1: Error: TMO_Fenster has no TYPE
2015.01.21 08:31:53 1: Error: FL_Fenster has no TYPE
2015.01.21 08:31:53 1: Error: JWR_HK has no TYPE
2015.01.21 08:31:53 1: Error: KUC_HK has no TYPE
2015.01.21 08:31:53 1: Error: LNA_Fenster_links has no TYPE
2015.01.21 08:31:53 1: Error: SZ_HK has no TYPE
2015.01.21 08:31:53 1: Error: TMO_Fenster has no TYPE
2015.01.21 08:31:53 1: Error: FL_Fenster has no TYPE
2015.01.21 08:31:53 1: Error: JWR_HK has no TYPE
2015.01.21 08:31:53 1: Error: KUC_HK has no TYPE
2015.01.21 08:31:53 1: Error: LNA_Fenster_links has no TYPE
2015.01.21 08:31:53 1: Error: SZ_HK has no TYPE
2015.01.21 08:31:53 1: Error: TMO_Fenster has no TYPE
2015.01.21 08:31:53 1: Error: WZ_Fenster has no TYPE
2015.01.21 08:31:53 1: Error: FL_Fenster has no TYPE
2015.01.21 08:31:53 1: Error: JWR_HK has no TYPE
2015.01.21 08:31:53 1: Error: KUC_Fenster has no TYPE
2015.01.21 08:31:53 1: Error: KUC_HK has no TYPE
2015.01.21 08:31:53 1: Error: LNA_Fenster_links has no TYPE
2015.01.21 08:31:53 1: Error: SZ_HK has no TYPE
2015.01.21 08:31:53 1: Error: TMO_Fenster has no TYPE
2015.01.21 08:31:53 1: Error: WZ_Fenster has no TYPE
2015.01.21 08:31:53 1: Error: FL_Fenster has no TYPE
2015.01.21 08:31:53 1: Error: GWC_Fenster has no TYPE
2015.01.21 08:31:53 1: Error: JWR_HK has no TYPE
2015.01.21 08:31:53 1: Error: KUC_Fenster has no TYPE
2015.01.21 08:31:53 1: Error: KUC_HK has no TYPE
2015.01.21 08:31:53 1: Error: LNA_Fenster_links has no TYPE
2015.01.21 08:31:53 1: Error: SZ_HK has no TYPE
2015.01.21 08:31:53 1: Error: TMO_Fenster has no TYPE
2015.01.21 08:31:53 1: Error: WZ_Fenster has no TYPE
2015.01.21 08:31:53 1: Error: ASR_Fenster has no TYPE
2015.01.21 08:31:53 1: Error: FL_Fenster has no TYPE
2015.01.21 08:31:53 1: Error: GWC_Fenster has no TYPE
2015.01.21 08:31:53 1: Error: JWR_HK has no TYPE
2015.01.21 08:31:53 1: Error: KUC_Fenster has no TYPE
2015.01.21 08:31:53 1: Error: KUC_HK has no TYPE
2015.01.21 08:31:53 1: Error: LNA_Fenster_links has no TYPE
2015.01.21 08:31:53 1: Error: SZ_HK has no TYPE
2015.01.21 08:31:53 1: Error: TMO_Fenster has no TYPE
2015.01.21 08:31:53 1: Error: WZ_Fenster has no TYPE
2015.01.21 08:31:53 0: Strange call for typeless ASR_Fenster: AttrFn
2015.01.21 08:31:53 0: Strange call for typeless FL_Fenster: AttrFn
2015.01.21 08:31:53 0: Strange call for typeless GWC_Fenster: AttrFn
2015.01.21 08:31:53 0: Strange call for typeless JWR_Fenster: AttrFn
2015.01.21 08:31:53 0: Strange call for typeless KUC_Fenster: AttrFn
2015.01.21 08:31:53 0: Strange call for typeless WZ_Fenster: AttrFn
2015.01.21 08:31:54 0: Strange call for typeless ASR_Fenster: AttrFn
2015.01.21 08:31:54 0: Strange call for typeless FL_Fenster: AttrFn
2015.01.21 08:31:54 0: Strange call for typeless GWC_Fenster: AttrFn
2015.01.21 08:31:54 0: Strange call for typeless JWR_Fenster: AttrFn
2015.01.21 08:31:54 0: Strange call for typeless KUC_Fenster: AttrFn
2015.01.21 08:31:54 0: Strange call for typeless WZ_Fenster: AttrFn
2015.01.21 08:31:54 0: Strange call for typeless ASR_Fenster: AttrFn
2015.01.21 08:31:54 0: Strange call for typeless FL_Fenster: AttrFn
2015.01.21 08:31:54 0: Strange call for typeless GWC_Fenster: AttrFn
2015.01.21 08:31:54 0: Strange call for typeless JWR_Fenster: AttrFn
2015.01.21 08:31:54 0: Strange call for typeless KUC_Fenster: AttrFn
2015.01.21 08:31:54 0: Strange call for typeless WZ_Fenster: AttrFn
2015.01.21 08:31:54 0: Strange call for typeless ASR_Fenster: AttrFn
2015.01.21 08:31:54 0: Strange call for typeless FL_Fenster: AttrFn
2015.01.21 08:31:54 0: Strange call for typeless GWC_Fenster: AttrFn
2015.01.21 08:31:54 0: Strange call for typeless JWR_Fenster: AttrFn
2015.01.21 08:31:54 0: Strange call for typeless KUC_Fenster: AttrFn
2015.01.21 08:31:54 0: Strange call for typeless WZ_Fenster: AttrFn
2015.01.21 08:31:54 0: Strange call for typeless WZ_Fenster: AttrFn
2015.01.21 08:31:54 0: Strange call for typeless WZ_Fenster: AttrFn
2015.01.21 08:31:54 0: Strange call for typeless WZ_Fenster: AttrFn
2015.01.21 08:31:54 0: Strange call for typeless WZ_Fenster: AttrFn
2015.01.21 08:31:54 3: WZ_Fenster: unknown attribute clientstate_behavior. Type 'attr WZ_Fenster ?' for a detailed list.
2015.01.21 08:31:54 3: WZ_Fenster: unknown attribute clientstate_priority. Type 'attr WZ_Fenster ?' for a detailed list.
2015.01.21 08:31:54 3: WZ_Fenster: unknown attribute event-on-change-reading. Type 'attr WZ_Fenster ?' for a detailed list.
2015.01.21 08:31:54 3: WZ_Fenster: unknown attribute event-on-update-reading. Type 'attr WZ_Fenster ?' for a detailed list.
2015.01.21 08:31:54 0: Strange call for typeless WZ_Fenster: AttrFn
2015.01.21 08:31:54 0: Strange call for typeless LNA_Fenster_links: AttrFn
2015.01.21 08:31:54 0: Strange call for typeless LNA_Fenster_links: AttrFn
2015.01.21 08:31:54 3: LNA_Fenster_links: unknown attribute IODev. Type 'attr LNA_Fenster_links ?' for a detailed list.
2015.01.21 08:31:54 3: LNA_Fenster_links: unknown attribute IOgrp. Type 'attr LNA_Fenster_links ?' for a detailed list.
2015.01.21 08:31:54 3: LNA_Fenster_links: unknown attribute actCycle. Type 'attr LNA_Fenster_links ?' for a detailed list.
2015.01.21 08:31:54 3: LNA_Fenster_links: unknown attribute actStatus. Type 'attr LNA_Fenster_links ?' for a detailed list.
2015.01.21 08:31:54 0: Strange call for typeless LNA_Fenster_links: AttrFn
2015.01.21 08:31:54 3: LNA_Fenster_links: unknown attribute autoReadReg. Type 'attr LNA_Fenster_links ?' for a detailed list.
2015.01.21 08:31:54 0: Strange call for typeless LNA_Fenster_links: AttrFn
2015.01.21 08:31:54 3: LNA_Fenster_links: unknown attribute expert. Type 'attr LNA_Fenster_links ?' for a detailed list.
2015.01.21 08:31:54 3: LNA_Fenster_links: unknown attribute firmware. Type 'attr LNA_Fenster_links ?' for a detailed list.
2015.01.21 08:31:54 0: Strange call for typeless LNA_Fenster_links: AttrFn
2015.01.21 08:31:54 3: LNA_Fenster_links: unknown attribute model. Type 'attr LNA_Fenster_links ?' for a detailed list.
2015.01.21 08:31:54 3: LNA_Fenster_links: unknown attribute peerIDs. Type 'attr LNA_Fenster_links ?' for a detailed list.
2015.01.21 08:31:54 0: Strange call for typeless LNA_Fenster_links: AttrFn
2015.01.21 08:31:54 3: LNA_Fenster_links: unknown attribute serialNr. Type 'attr LNA_Fenster_links ?' for a detailed list.
2015.01.21 08:31:54 0: Strange call for typeless LNA_Fenster_links: AttrFn
2015.01.21 08:31:54 3: LNA_Fenster_links: unknown attribute subType. Type 'attr LNA_Fenster_links ?' for a detailed list.
2015.01.21 08:31:56 0: Strange call for typeless GWC_Fenster: AttrFn
2015.01.21 08:31:56 0: Strange call for typeless GWC_Fenster: AttrFn
2015.01.21 08:31:56 3: GWC_Fenster: unknown attribute IODev. Type 'attr GWC_Fenster ?' for a detailed list.
2015.01.21 08:31:56 3: GWC_Fenster: unknown attribute IOgrp. Type 'attr GWC_Fenster ?' for a detailed list.
2015.01.21 08:31:56 3: GWC_Fenster: unknown attribute actCycle. Type 'attr GWC_Fenster ?' for a detailed list.
2015.01.21 08:31:56 3: GWC_Fenster: unknown attribute actStatus. Type 'attr GWC_Fenster ?' for a detailed list.
2015.01.21 08:31:56 0: Strange call for typeless GWC_Fenster: AttrFn
2015.01.21 08:31:56 0: Strange call for typeless GWC_Fenster: AttrFn
2015.01.21 08:31:56 0: Strange call for typeless GWC_Fenster: AttrFn
2015.01.21 08:31:56 3: GWC_Fenster: unknown attribute autoReadReg. Type 'attr GWC_Fenster ?' for a detailed list.
2015.01.21 08:31:56 0: Strange call for typeless GWC_Fenster: AttrFn
2015.01.21 08:31:56 3: GWC_Fenster: unknown attribute expert. Type 'attr GWC_Fenster ?' for a detailed list.
2015.01.21 08:31:56 3: GWC_Fenster: unknown attribute firmware. Type 'attr GWC_Fenster ?' for a detailed list.
2015.01.21 08:31:56 0: Strange call for typeless GWC_Fenster: AttrFn
2015.01.21 08:31:56 3: GWC_Fenster: unknown attribute model. Type 'attr GWC_Fenster ?' for a detailed list.
2015.01.21 08:31:56 3: GWC_Fenster: unknown attribute peerIDs. Type 'attr GWC_Fenster ?' for a detailed list.
2015.01.21 08:31:56 0: Strange call for typeless GWC_Fenster: AttrFn
2015.01.21 08:31:56 3: GWC_Fenster: unknown attribute serialNr. Type 'attr GWC_Fenster ?' for a detailed list.
2015.01.21 08:31:56 0: Strange call for typeless GWC_Fenster: AttrFn
2015.01.21 08:31:56 3: GWC_Fenster: unknown attribute subType. Type 'attr GWC_Fenster ?' for a detailed list.
2015.01.21 08:31:57 0: Strange call for typeless TMO_Fenster: AttrFn
2015.01.21 08:31:57 0: Strange call for typeless TMO_Fenster: AttrFn
2015.01.21 08:31:57 0: Strange call for typeless TMO_Fenster: AttrFn
2015.01.21 08:31:57 0: Strange call for typeless TMO_Fenster: AttrFn
2015.01.21 08:31:57 3: TMO_Fenster: unknown attribute clientstate_behavior. Type 'attr TMO_Fenster ?' for a detailed list.
2015.01.21 08:31:57 3: TMO_Fenster: unknown attribute clientstate_priority. Type 'attr TMO_Fenster ?' for a detailed list.
2015.01.21 08:31:57 0: Strange call for typeless TMO_Fenster: AttrFn
2015.01.21 08:31:57 0: Strange call for typeless KUC_Fenster: AttrFn
2015.01.21 08:31:57 0: Strange call for typeless KUC_Fenster: AttrFn
2015.01.21 08:31:57 0: Strange call for typeless KUC_Fenster: AttrFn
2015.01.21 08:31:57 0: Strange call for typeless KUC_Fenster: AttrFn
2015.01.21 08:31:57 3: KUC_Fenster: unknown attribute clientstate_behavior. Type 'attr KUC_Fenster ?' for a detailed list.
2015.01.21 08:31:57 3: KUC_Fenster: unknown attribute clientstate_priority. Type 'attr KUC_Fenster ?' for a detailed list.
2015.01.21 08:31:57 0: Strange call for typeless KUC_Fenster: AttrFn
2015.01.21 08:31:57 0: Strange call for typeless ASR_Fenster: AttrFn
2015.01.21 08:31:57 0: Strange call for typeless ASR_Fenster: AttrFn
2015.01.21 08:31:57 0: Strange call for typeless ASR_Fenster: AttrFn
2015.01.21 08:31:57 0: Strange call for typeless ASR_Fenster: AttrFn
2015.01.21 08:31:57 3: ASR_Fenster: unknown attribute clientstate_behavior. Type 'attr ASR_Fenster ?' for a detailed list.
2015.01.21 08:31:57 3: ASR_Fenster: unknown attribute clientstate_priority. Type 'attr ASR_Fenster ?' for a detailed list.
2015.01.21 08:31:57 0: Strange call for typeless ASR_Fenster: AttrFn
2015.01.21 08:31:57 0: Strange call for typeless JWR_Fenster: AttrFn
2015.01.21 08:31:57 0: Strange call for typeless JWR_Fenster: AttrFn
2015.01.21 08:31:57 3: JWR_Fenster: unknown attribute IODev. Type 'attr JWR_Fenster ?' for a detailed list.
2015.01.21 08:31:57 3: JWR_Fenster: unknown attribute IOgrp. Type 'attr JWR_Fenster ?' for a detailed list.
2015.01.21 08:31:57 3: JWR_Fenster: unknown attribute actCycle. Type 'attr JWR_Fenster ?' for a detailed list.
2015.01.21 08:31:57 3: JWR_Fenster: unknown attribute actStatus. Type 'attr JWR_Fenster ?' for a detailed list.
2015.01.21 08:31:57 0: Strange call for typeless JWR_Fenster: AttrFn
2015.01.21 08:31:57 0: Strange call for typeless JWR_Fenster: AttrFn
2015.01.21 08:31:57 0: Strange call for typeless JWR_Fenster: AttrFn
2015.01.21 08:31:57 3: JWR_Fenster: unknown attribute autoReadReg. Type 'attr JWR_Fenster ?' for a detailed list.
2015.01.21 08:31:57 0: Strange call for typeless JWR_Fenster: AttrFn
2015.01.21 08:31:57 3: JWR_Fenster: unknown attribute expert. Type 'attr JWR_Fenster ?' for a detailed list.
2015.01.21 08:31:57 3: JWR_Fenster: unknown attribute firmware. Type 'attr JWR_Fenster ?' for a detailed list.
2015.01.21 08:31:57 0: Strange call for typeless JWR_Fenster: AttrFn
2015.01.21 08:31:57 3: JWR_Fenster: unknown attribute model. Type 'attr JWR_Fenster ?' for a detailed list.
2015.01.21 08:31:57 3: JWR_Fenster: unknown attribute peerIDs. Type 'attr JWR_Fenster ?' for a detailed list.
2015.01.21 08:31:57 0: Strange call for typeless JWR_Fenster: AttrFn
2015.01.21 08:31:57 3: JWR_Fenster: unknown attribute serialNr. Type 'attr JWR_Fenster ?' for a detailed list.
2015.01.21 08:31:57 0: Strange call for typeless JWR_Fenster: AttrFn
2015.01.21 08:31:57 3: JWR_Fenster: unknown attribute subType. Type 'attr JWR_Fenster ?' for a detailed list.
2015.01.21 08:31:58 0: Strange call for typeless FL_Fenster: AttrFn
2015.01.21 08:31:58 0: Strange call for typeless FL_Fenster: AttrFn
2015.01.21 08:31:58 0: Strange call for typeless FL_Fenster: AttrFn
2015.01.21 08:31:58 0: Strange call for typeless FL_Fenster: AttrFn
2015.01.21 08:31:58 3: FL_Fenster: unknown attribute clientstate_behavior. Type 'attr FL_Fenster ?' for a detailed list.
2015.01.21 08:31:58 3: FL_Fenster: unknown attribute clientstate_priority. Type 'attr FL_Fenster ?' for a detailed list.
2015.01.21 08:31:58 3: FL_Fenster: unknown attribute event-on-change-reading. Type 'attr FL_Fenster ?' for a detailed list.
2015.01.21 08:31:58 3: FL_Fenster: unknown attribute event-on-update-reading. Type 'attr FL_Fenster ?' for a detailed list.
2015.01.21 08:31:58 0: Strange call for typeless FL_Fenster: AttrFn
2015.01.21 08:32:03 0: Strange call for typeless JWR_HK: AttrFn
2015.01.21 08:32:03 0: Strange call for typeless JWR_HK: AttrFn
2015.01.21 08:32:03 0: Strange call for typeless JWR_HK: AttrFn
2015.01.21 08:32:03 0: Strange call for typeless JWR_HK: AttrFn
2015.01.21 08:32:03 0: Strange call for typeless JWR_HK: AttrFn
2015.01.21 08:32:03 0: Strange call for typeless JWR_HK: AttrFn
2015.01.21 08:32:03 3: JWR_HK: unknown attribute model. Type 'attr JWR_HK ?' for a detailed list.
2015.01.21 08:32:03 3: JWR_HK: unknown attribute peerIDs. Type 'attr JWR_HK ?' for a detailed list.
2015.01.21 08:32:04 0: Strange call for typeless JWR_HK: AttrFn
2015.01.21 08:32:04 0: Strange call for typeless JWR_HK: AttrFn


Ich habe die Vorversion


# $Id: 98_structure.pm 7056 2014-11-24 11:51:07Z rudolfkoenig $


wieder zurückkopiert und alles läuft wieder wie es soll.
Gruß,
Ralli

Proxmox 8.1 Cluster mit HP ED800G2i7, Intel NUC11TNHi7+NUC7i5BNH, virtualisiertes fhem 6.3 dev, virtualisierte RaspberryMatic (3.75.6.20240316) mit HB-RF-ETH 1.3.0 / RPI-RF-MOD, HM-LAN-GW (1.1.5) und HMW-GW, FRITZBOX 7490 (07.57), FBDECT, Siri und Alexa

eldrik

#3
bei mir auch

hier nur ein Auszug der gecrashten verschachtelten Strukturen!

Error messages while initializing FHEM:
configfile: myProxy19: unknown attribute window_left_flur_klein_oben. Type 'attr myProxy19 ?' for a detailed list.
myProxy20: unknown attribute window_right_flur_klein_oben. Type 'attr myProxy20 ?' for a detailed list.
myProxy40 already defined, delete it first
myProxy40: unknown attribute event-on-change-reading. Type 'attr myProxy40 ?' for a detailed list.
myProxy40: unknown attribute valueFn. Type 'attr myProxy40 ?' for a detailed list.
myStructure_light_eg already defined, delete it first
myStructure_light_eg: unknown attribute clientstate_behavior. Type 'attr myStructure_light_eg ?' for a detailed list.
myStructure_light_eg: unknown attribute clientstate_priority. Type 'attr myStructure_light_eg ?' for a detailed list.
myStructure_light_eg: unknown attribute event-on-change-reading. Type 'attr myStructure_light_eg ?' for a detailed list.
myStructure_light_eg: unknown attribute event-on-update-reading. Type 'attr myStructure_light_eg ?' for a detailed list.
myStructure_light_eg: unknown attribute stateFormat. Type 'attr myStructure_light_eg ?' for a detailed list.
myStructure_light_og already defined, delete it first
myStructure_light_og: unknown attribute clientstate_behavior. Type 'attr myStructure_light_og ?' for a detailed list.
myStructure_light_og: unknown attribute clientstate_priority. Type 'attr myStructure_light_og ?' for a detailed list.
myStructure_light_og: unknown attribute event-on-change-reading. Type 'attr myStructure_light_og ?' for a detailed list.
myStructure_light_og: unknown attribute event-on-update-reading. Type 'attr myStructure_light_og ?' for a detailed list.
myStructure_motion_OG_rechts already defined, delete it first
myStructure_motion_OG_rechts: unknown attribute clientstate_behavior. Type 'attr myStructure_motion_OG_rechts ?' for a detailed list.
myStructure_motion_OG_rechts: unknown attribute clientstate_priority. Type 'attr myStructure_motion_OG_rechts ?' for a detailed list.
myStructure_motion_EG_rechts already defined, delete it first
myStructure_motion_EG_rechts: unknown attribute clientstate_behavior. Type 'attr myStructure_motion_EG_rechts ?' for a detailed list.
myStructure_motion_EG_rechts: unknown attribute clientstate_priority. Type 'attr myStructure_motion_EG_rechts ?' for a detailed list.
myStructure_motion_EG_links already defined, delete it first
myStructure_motion_EG_links: unknown attribute clientstate_behavior. Type 'attr myStructure_motion_EG_links ?' for a detailed list.
myStructure_motion_EG_links: unknown attribute clientstate_priority. Type 'attr myStructure_motion_EG_links ?' for a detailed list.
myStructure_window_door_OG already defined, delete it first
myStructure_window_door_OG: unknown attribute clientstate_behavior. Type 'attr myStructure_window_door_OG ?' for a detailed list.
myStructure_window_door_OG: unknown attribute clientstate_priority. Type 'attr myStructure_window_door_OG ?' for a detailed list.
myStructure_window_door_OG: unknown attribute event-on-change-reading. Type 'attr myStructure_window_door_OG ?' for a detailed list.
myStructure_window_door_EG already defined, delete it first
myStructure_window_door_EG: unknown attribute clientstate_behavior. Type 'attr myStructure_window_door_EG ?' for a detailed list.
myStructure_window_door_EG: unknown attribute clientstate_priority. Type 'attr myStructure_window_door_EG ?' for a detailed list.
myStructure_window_door_EG: unknown attribute event-on-change-reading. Type 'attr myStructure_window_door_EG ?' for a detailed list.
CUL_HM_HM_LC_Bl1PBU_FM_2972A8 already defined, delete it first

Edit:
sorry, sitze derzeit nicht direkt am Rechner, kann daher nicht weiter zuarbeiten

Greetz
Eldrik

rudolfkoenig

ZitatAlso ich nutze verschachtelte Strukturen - und nicht wenige.
Ok, Praezisierung: Neu angelegte verschachtelte Strukturen. Die alte Methode hat die zusaetzlich benoetigten Attribute als "global userattr" angelegt, seit eine Weile werden diese aber im userattr des Geraetes angelegt, und damit gab es Probleme.
Kannst Du mir was zum Nachstellen zeigen?

P.S. "Bei mir auch" mit Fehlermeldung hilft nicht.

Ralli

#5
Config-Bestandteile nach Lösung entfernt.
Gruß,
Ralli

Proxmox 8.1 Cluster mit HP ED800G2i7, Intel NUC11TNHi7+NUC7i5BNH, virtualisiertes fhem 6.3 dev, virtualisierte RaspberryMatic (3.75.6.20240316) mit HB-RF-ETH 1.3.0 / RPI-RF-MOD, HM-LAN-GW (1.1.5) und HMW-GW, FRITZBOX 7490 (07.57), FBDECT, Siri und Alexa

betateilchen

Ich benutze überhaupt keine verschachtelten Strukturen und musste auch auf die Vorgängerversion zurückgehen.

Sämtliche Devices, die in Strukturen enthalten sind, konnten nicht mehr geladen werden. Da muss man erstmal draufkommen, dass das mit den structures zusammenhängt  8)

2015.01.21 10:52:31 0: Strange call for typeless Melder_FAl: AttrFn
...
Use of uninitialized value in string eq at ./FHEM/98_structure.pm line 97.
Use of uninitialized value in hash element at fhem.pl line 2117.
2015.01.21 10:52:31 0: Strange call for typeless az_Drucker: AttrFn
Use of uninitialized value in hash element at fhem.pl line 2117.
2015.01.21 10:52:31 0: Strange call for typeless az_Ventilator: AttrFn
Use of uninitialized value in hash element at fhem.pl line 2117.
2015.01.21 10:52:31 0: Strange call for typeless az_Verteiler: AttrFn
Use of uninitialized value in hash element at fhem.pl line 2117.
2015.01.21 10:52:31 0: Strange call for typeless az_iMac: AttrFn
Use of uninitialized value in hash element at fhem.pl line 2117.
2015.01.21 10:52:31 0: Strange call for typeless ez_Licht_Tisch: AttrFn
Use of uninitialized value in hash element at fhem.pl line 2117.
2015.01.21 10:52:31 0: Strange call for typeless ez_TV: AttrFn
Use of uninitialized value in hash element at fhem.pl line 2117.
2015.01.21 10:52:31 0: Strange call for typeless fl_Ventilator: AttrFn
Use of uninitialized value in hash element at fhem.pl line 2117.
2015.01.21 10:52:31 0: Strange call for typeless wz_Harmony: AttrFn
Use of uninitialized value in hash element at fhem.pl line 2117.
2015.01.21 10:52:31 0: Strange call for typeless wz_Licht_Bild: AttrFn
Use of uninitialized value in hash element at fhem.pl line 2117.
2015.01.21 10:52:31 0: Strange call for typeless wz_Licht_Hifi: AttrFn
Use of uninitialized value in hash element at fhem.pl line 2117.
2015.01.21 10:52:31 0: Strange call for typeless wz_Licht_Sessel: AttrFn
Use of uninitialized value in hash element at fhem.pl line 2117.
2015.01.21 10:52:31 0: Strange call for typeless wz_Ventilator: AttrFn
Use of uninitialized value in numeric comparison (<=>) at fhem.pl line 1680.
Use of uninitialized value in numeric comparison (<=>) at fhem.pl line 1680.
Use of uninitialized value in numeric comparison (<=>) at fhem.pl line 1680.
Use of uninitialized value in numeric comparison (<=>) at fhem.pl line 1680.
Use of uninitialized value in numeric comparison (<=>) at fhem.pl line 1680.

-----------------------
Formuliere die Aufgabe möglichst einfach und
setze die Lösung richtig um - dann wird es auch funktionieren.
-----------------------
Lesen gefährdet die Unwissenheit!

baumeister

Hallo,

ich hatte heute morgen das gleiche Problem wie betateilchen. bei mir wurden alle entsprechenden devices aus der cfg geschmissen.

Motivierte linke Hände

Auch ich bekomme nach dem Update andere/mehr Fehler. Das Log vom fhem-Start:

2015.01.21 12:13:18 0: Server shutdown
2015.01.21 12:13:18 0: Strange call for typeless anwesend.geofency.iPhone6: ShutdownFn
2015.01.21 12:13:19 1: CallBlockingFn: Can't connect to localhost:7072: IO::Socket::INET: connect: Verbindungsaufbau abgelehnt
2015.01.21 12:13:20 1: Including fhem.cfg
2015.01.21 12:13:20 3: telnetPort: port 7072 opened
2015.01.21 12:13:20 3: WEB: port 8083 opened
2015.01.21 12:13:20 3: WEBphone: port 8084 opened
2015.01.21 12:13:20 3: WEBtablet: port 8085 opened
2015.01.21 12:13:20 2: eventTypes: loaded 2004 events from ./log/eventTypes.txt
2015.01.21 12:13:20 1: HMLAN_Parse: HMUSB new condition disconnected
2015.01.21 12:13:20 3: Opening HMUSB device 192.168.1.24:1000
2015.01.21 12:13:20 3: HMUSB device opened
2015.01.21 12:13:20 1: HMLAN_Parse: HMUSB new condition init
2015.01.21 12:13:20 3: anwesend.iPhone6: unknown attribute iPhone6. Type 'attr anwesend.iPhone6 ?' for a detailed list.
2015.01.21 12:13:20 3: anwesend.iPhone5S: unknown attribute iPhone5s. Type 'attr anwesend.iPhone5S ?' for a detailed list.
2015.01.21 12:13:20 3: anwesend.Repeater.iPhone6: unknown attribute iPhone6. Type 'attr anwesend.Repeater.iPhone6 ?' for a detailed list.
2015.01.21 12:13:20 3: anwesend.Repeater.iPhone5S: unknown attribute iPhone5s. Type 'attr anwesend.Repeater.iPhone5S ?' for a detailed list.
2015.01.21 12:13:21 0: Strange call for typeless anwesend.geofency.iPhone6: AttrFn
2015.01.21 12:13:21 0: Strange call for typeless anwesend.geofency.iPhone6: AttrFn
2015.01.21 12:13:21 0: Strange call for typeless anwesend.geofency.iPhone6: AttrFn
2015.01.21 12:13:21 3: anwesend.geofency.iPhone6: unknown attribute event-on-change-reading. Type 'attr anwesend.geofency.iPhone6 ?' for a detailed list.
2015.01.21 12:13:21 3: WEBuser: port 8082 opened
2015.01.21 12:13:21 3: WEBhook: port 8081 opened
2015.01.21 12:13:21 3: Registering GEOFANCY geofancy for URL /geo...
2015.01.21 12:13:21 0: Strange call for typeless anwesend.geofency.iPhone6: AttrFn
2015.01.21 12:13:21 0: Strange call for typeless anwesend.geofency.iPhone6: AttrFn
2015.01.21 12:13:21 0: Strange call for typeless anwesend.geofency.iPhone6: AttrFn
2015.01.21 12:13:21 1: Including ./log/fhem.save
2015.01.21 12:13:21 0: Strange call for typeless anwesend.geofency.iPhone6: StateFn
2015.01.21 12:13:21 1: configfile: anwesend.iPhone6: unknown attribute iPhone6. Type 'attr anwesend.iPhone6 ?' for a detailed list.
anwesend.iPhone5S: unknown attribute iPhone5s. Type 'attr anwesend.iPhone5S ?' for a detailed list.
anwesend.Repeater.iPhone6: unknown attribute iPhone6. Type 'attr anwesend.Repeater.iPhone6 ?' for a detailed list.
anwesend.Repeater.iPhone5S: unknown attribute iPhone5s. Type 'attr anwesend.Repeater.iPhone5S ?' for a detailed list.
anwesend.geofency.iPhone6 already defined, delete it first
2015.01.21 12:13:21 1: usb create starting
2015.01.21 12:13:21 1: usb create end
2015.01.21 12:13:21 2: Error messages while initializing FHEM: configfile: anwesend.iPhone6: unknown attribute iPhone6. Type 'attr anwesend.iPhone6 ?' for a detailed list. anwesend.iPhone5S: unknown attribute iPhone5s. Type 'attr anwesend.iPhone5S ?' for a detailed list. anwesend.Repeater.iPhone6: unknown attribute iPhone6. Type 'attr anwesend.Repeater.iPhone6 ?' for a detailed list. anwesend.Repeater.iPhone5S: unknown attribute iPhone5s. Type 'attr anwesend.Repeater.iPhone5S ?' for a detailed list. anwesend.geofency.iPhone6 already defined, delete it first
2015.01.21 12:13:21 0: Server started with 52 defined entities (version $Id: fhem.pl 7609 2015-01-17 21:37:05Z rudolfkoenig $, os linux, user hammi, pid 3993)


Anbei die entsprechenden Teile aus fhem.cfg:

define da.iPhone5S structure iPhone5s anwesend.iPhone5S anwesend.Repeater.iPhone5S
attr da.iPhone5S userattr allePhonesda allePhonesda_map alle_da alle_da_map da.alle da.alle_map structexclude
attr da.iPhone5S allePhonesda da.alle
attr da.iPhone5S clientstate_behavior relative
attr da.iPhone5S clientstate_priority present absent
attr da.iPhone5S event-on-change-reading state
define da.iPhone6 structure iPhone6 anwesend.iPhone6 anwesend.Repeater.iPhone6 anwesend.geofency.iPhone6
attr da.iPhone6 userattr allePhonesda allePhonesda_map alle_da alle_da_map da.alle da.alle_map structexclude
attr da.iPhone6 allePhonesda da.alle
attr da.iPhone6 clientstate_behavior relativeKnown
attr da.iPhone6 clientstate_priority present|Zu_Hause absent|underway
attr da.iPhone6 event-on-change-reading state

define anwesend.geofency.iPhone6 dummy
attr anwesend.geofency.iPhone6 userattr iPhone6 iPhone6_map structexclude
attr anwesend.geofency.iPhone6 iPhone6 da.iPhone6
define set_anwesend.geofency.iPhone6 notify geofancy:currLoc_Christian.* set anwesend.geofency.iPhone6 $EVTPART1
define da.irgendwer structure allePhonesda da.iPhone6 da.iPhone5S


Ich hoffe, das hilft. Wenn noch weitere Informationen fehlen, bitte melden.
FHEM 6 in einer KVM VM mit Ubuntu
HM-CFG-USB2, 2xHM-CFG-HMLAN, HM-HMUARTLGW mit 100+ HomeMatic Devices, Geofencing, Fritzbox, Unifi, HUE, Harmony-Hub, Denon-Receiver-Modul, Calendar, GardenaSmartDevice, Shelly, MQTT (zigbee2mqtt, Tasmota und Shelly) und ein wenig 1Wire.

moonsorrox

melde mal ebenfalls Probleme an, alle devices waren auf einmal weg  :-\
Betrifft meine komplette Aussen Beleuchtung
Intel-NUC i5: FHEM-Server 6.1 :: Perl v5.18.2

Homematic: HM-USB-CFG2,HM-CFG-LAN Adapter, HM-LC-BL1-FM, HM-LC-Sw1PBU-FM, HM-LC-Sw1-PI-2, HM-WDS10-TH-O, HM-CC-TC, HM-LC-SW2-FM

betateilchen

Zitat von: baumeister am 21 Januar 2015, 11:33:30
ich hatte heute morgen das gleiche Problem wie betateilchen. bei mir wurden alle entsprechenden devices aus der cfg geschmissen.

Das ist nicht ganz richtig. Irgendein Prozess hat die Typen der bereits angelegten Devices gelöscht.
Aus der cfg werden sie erst geschmissen, wenn man danach das erste Mal auf "Save config" klickt.
-----------------------
Formuliere die Aufgabe möglichst einfach und
setze die Lösung richtig um - dann wird es auch funktionieren.
-----------------------
Lesen gefährdet die Unwissenheit!

baumeister

Hallo,

das werde ich dann in meiner Panik um die angegebenen Fehler wohl auch gemacht haben. Es ist richtig, dass das nichts mit dem Verhalten in structure zu tun hat sondern auf meine reaktion passiert ist. Sollte auch eher ein Hinweis zur Vorsicht sein.

Markus Bloch

Nachdem ich auch wie ein wahnsinniger diesen Fehler gesucht habe, habe ich folgendes herausgefunden.

Das ganze funktioniert mit der aktuellsten structure.pm nur, wenn sie ganz am Ende von fhem.cfg steht. Also, wenn alle zugrundeliegenden Devices bereits vor der structure definiert sind. Wenn in der fhem.cfg die structure (aus welchen Gründen auch immer) vor den Devices definiert werden, die sie beinhalten, geht das ganze schief, da dann  die Funktion structAdd für jede Definition die zur structure gehört in Zeile 62 folgendes ausführt:$defs{$d}{INstructAdd} = 1;

Damit werden dann diese leeren Definitionen ohne Typ angelegt. Sobald dann die entsprechende Definition aus der fhem.cfg gelesen wird, existiert diese bereits schon, obwohl sie leer ist.

man muss also in structAdd prüfen, ob die entsprechende Definition, die man da zur structure hinzufügen will, überhaupt existiert und nur dann diesen temporären Wert setzen.

@Rudi: was ist deine Idee dazu?

Viele Grüße

Markus
Developer für Module: YAMAHA_AVR, YAMAHA_BD, FB_CALLMONITOR, FB_CALLLIST, PRESENCE, Pushsafer, LGTV_IP12, version

aktives Mitglied des FHEM e.V. (Technik)

Tobias

puh, da bin ich ja froh das ich nicht ohne sinn und verstand meine produktive fhem version update, die läuft noch mit einem Stand Mitte letzten Jahres.
Bei mir ist die Komplette Alarmanlage mit Den Geschossebenen- und Zimmern und Fenstern über mehrfache verschachtelte Strukturen realisiert. Ohne das gehts bei mir nicht...
Maintainer: Text2Speech, TrashCal, MediaList

Meine Projekte: https://github.com/tobiasfaust
* PumpControl v2: allround Bewässerungssteuerung mit ESP und FHEM
* Ein Modbus RS485 zu MQTT Gateway für SolarWechselrichter

rudolfkoenig

Habs geaendert und eingecheckt.
Und ausnahmsweise manuell fuer update bereitgestellt.