Closed bahnuhr closed 4 years ago
Mindestens weitere Adapter:
(English version below)
Ich habe auch das Problem, dass ich gerne Symlinks statt den "echten" Devices verwenden möchte. Daher habe ich das serialport Paket modifiziert: Beim Sammeln der seriellen Geräte (unter Linux) werden ebenfalls Symlinks zu jeden Gerät mit eingesammelt.
Auf ioBroker.mbus Seite habe ich dann die Konfigurationsseite so angepasst dass einfach alle Symlinks mit aufgelistet werden.
In gewisser Weise eine recht saubere Lösung, da es direkt am serialport Paket ansetzt, andererseits wird die Liste auch relativ lang durch /dev/serial/by-path und /dev/serial/by-id Symlinks...
Das von meiner Seite mal als Anregung.
I also have the problem that I would like to use symlinks instead of the "real" devices. So I modified the serialport package: When collecting the serial devices (under Linux) symlinks to each device are also collected.
I then adjusted the configuration page for ioBroker.mbus so that all symlinks are listed, too.
In one way a quite clean solution, since it applies directly to the serialport package, on the other hand the list is also relatively long due to /dev/serial/by-path and /dev/serial/by-id symlinks...
Just some suggestions from my side.
Daher habe ich das serialport Paket modifiziert: Beim Sammeln der seriellen Geräte (unter Linux) werden ebenfalls Symlinks zu jeden Gerät mit eingesammelt.
schick denen doch mal nen PR! Da gibts auch ein Issue von mir zu dem Thema
Habs gemacht - scheint aber niemanden zu interessen...
kurze Randbemerkung: bei "Tariff" fehlt das zweite F, sonst wird es eine deutsch-englisch Mischung... https://github.com/Apollon77/ioBroker.mbus/blob/e7d4b27e2749818e52f7179f18beed9c5cf2c35c/main.js#L270
Habs gemacht - scheint aber niemanden zu interessen...
it's trapped in my (to) long todo list ... so stay tuned please
PS: I only see PR for "update unchanged values" ... or am I blind?
Sorry, I didn't make myself clear.
I created a PR at the node-serialport repository. And there has been no reaction at all...
aahh cool
Implemented now in smatermeter and mbus ... more to come step by step
Hallo Ingo,
wie im iobroker.forum besprochen hier nun das issue.
Bitte bei den Gerätenamen im Adapter ein "Anderes Device" einrichten, damit man selbst definierte Namen, z.B. /dev/lesewasser dort eintragen kann.
Danke im Voraus.
mfg Dieter