Scrounger / ioBroker.linkeddevices

Create linked objects (datapoints) of your devices with a self-defined structure. This makes it possible to create a structure in ioBroker, where all objects are centralized, e.g. to be used in the vis or scripts.
https://forum.iobroker.net/topic/22301/neuer-adapter-linkeddevices
MIT License
17 stars 11 forks source link

"Prefix for id of linked devices" wird nicht gespeichert #78

Closed AFPass closed 2 years ago

AFPass commented 2 years ago

"Prefix for id of linked devices" wird nicht gespeichert

image

Legt ein Linkeddevice wie folgt an: { "type": "state", "common": { "name": "Illuminance", "type": "number", "unit": "lux", "read": true, "write": false, "role": "value.brightness", "custom": { "linkeddevices.0": { "enabled": true, "number_convertTo": "", "number_to_duration_format": "dd[T] hh[h] mm[m]", "number_to_datetime_format": "dd[T] hh[h] mm[m]", "boolean_convertTo": "", "string_convertTo": "", "linkedId": "Grundstueck.Schuppen.illuminance", "_prefixId": "", "_stateId": "illuminance", "mergeSettingsOnRestart": true } } }, "native": {}, "_id": "zigbee.0.04cf8cdf3c7f2a79.illuminance", "acl": { "object": 1636, "state": 1636, "owner": "system.user.admin", "ownerGroup": "system.group.administrator" }, "from": "system.adapter.admin.0", "user": "system.user.admin", "ts": 1651154172406 }

Obwohl ich Grundstueck.Schuppen.Unten.Helligkeit angegeben habe.

Ändere ich den Pfad "Grundstueck.Schuppen" noch einmal manuell, kann ich nicht Speichern da der Button aus gegraut ist.

Scrounger commented 2 years ago

Du musst leider immer Enter drücken, damit die Eingabe in prefix id übernommen wird.

Hab duzu bereits ein issue im admin aufgemacht: https://github.com/ioBroker/ioBroker.admin/issues/1442

ykuendig commented 2 years ago

Leider ist das noch nicht ganz überstanden. Das neue Admin-Update (teste gerade mit 6) macht nun zwar ein Update der ID nach dem Prefix ohne Enter. Dafür wird nun aber die eigentliche ID nicht mehr angehängt. Hmmm