Apollon77 / ioBroker.mbus

Communicate with mbus devices
MIT License
10 stars 8 forks source link

Serial-Device Name editable custom #9

Closed bahnuhr closed 4 years ago

bahnuhr commented 6 years ago

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

Apollon77 commented 6 years ago

Mindestens weitere Adapter:

lvogt commented 5 years ago

(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.

Apollon77 commented 5 years ago

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

lvogt commented 5 years ago

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

Apollon77 commented 5 years ago

Habs gemacht - scheint aber niemanden zu interessen...

it's trapped in my (to) long todo list ... so stay tuned please

Apollon77 commented 5 years ago

PS: I only see PR for "update unchanged values" ... or am I blind?

lvogt commented 5 years ago

Sorry, I didn't make myself clear.

I created a PR at the node-serialport repository. And there has been no reaction at all...

Apollon77 commented 5 years ago

aahh cool

Apollon77 commented 4 years ago

Implemented now in smatermeter and mbus ... more to come step by step