Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bindings mit Doppelpunkt #212

Open
Parodontitis opened this issue Jan 20, 2019 · 10 comments
Open

Bindings mit Doppelpunkt #212

Parodontitis opened this issue Jan 20, 2019 · 10 comments
Labels
enhancement recheck-with-vis2 Issue from vis1 shall be rechecked with vis2

Comments

@Parodontitis
Copy link

Ein typischer Datenpunkt von smartmeter ist: smartmeter.0.1-0:1_8_1_255.value
Wenn ich jetzt im HTML den Wert mit {smartmeter.0.1-0:1_8_1_255.value} ausgeben will, wird immer ein 0 angezeigt. Meine Vermutung ist, dass es an den Doppelpunkten in DP-Namen liegt.

Da Doppelpunkte in Datenpunktnamen erlaubte Zeichen sind, wurde mein issue abgelehnt.
Siehe: Apollon77/ioBroker.smartmeter#16

@RK62
Copy link

RK62 commented Jun 12, 2020

Das gleiche Problem tritt auch bei dem Adapter ioBroker.unifi auf.
Hier werden die MAC-Adressen im Statenamen verwendet.
Beispiel: {unifi.0.default.devices.11:22:33:44:55:66.num_sta} liefert immer 0.
Soehe auch https://forum.iobroker.net/topic/4514/adapter-iobroker-unifi/466

@stale
Copy link

stale bot commented Sep 11, 2020

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs within the next 7 days. Please check if the issue is still relevant in the most current version of the adapter and tell us. Also check that all relevant details, logs and reproduction steps are included and update them if needed. Thank you for your contributions.
Dieses Problem wurde automatisch als veraltet markiert, da es in letzter Zeit keine Aktivitäten gab. Es wird geschlossen, wenn nicht innerhalb der nächsten 7 Tage weitere Aktivitäten stattfinden. Bitte überprüft, ob das Problem auch in der aktuellsten Version des Adapters noch relevant ist, und teilt uns dies mit. Überprüft auch, ob alle relevanten Details, Logs und Reproduktionsschritte enthalten sind bzw. aktualisiert diese. Vielen Dank für Eure Unterstützung.

@stale stale bot added the wontfix label Sep 11, 2020
@RK62
Copy link

RK62 commented Sep 13, 2020

Bestätigung für stale bot: Die Einschränkung besteht auch noch in vis V1.2.11

@stale stale bot removed the wontfix label Sep 13, 2020
@GermanBluefox
Copy link
Contributor

Semicolon is used in the variable definition. So how can I distinguish between {unifi.0.default.devices.11:22:33:44:55:66.num_sta} and {id:unifi.0.default.devices.11.num_sta}.
If you have an Idea, I could implement it.

@RK62
Copy link

RK62 commented Sep 24, 2020

I think using an escape character would be the most intuitive method:

{unifi.0.default.devices.11\:22\:33\:44\:55\:66.num_sta}
for the state
unifi.0.default.devices.11:22:33:44:55:66.num_sta

@mrfenyx
Copy link

mrfenyx commented Sep 29, 2020

Hi,this also affects the "BLE" adapter. Here's an example of a DP: ble.0.e7:2e:00:62:28:c4.battery

Would really appreciate if something could be done about this.

@JensBond
Copy link

JensBond commented Feb 6, 2021

I think using an escape character would be the most intuitive method:

{unifi.0.default.devices.11\:22\:33\:44\:55\:66.num_sta}
for the state
unifi.0.default.devices.11:22:33:44:55:66.num_sta

That is crashing the whole instance.

I habe this bug also with the BLE adapter which point name have :

@Parodontitis
Copy link
Author

For data-points with ":" I use aliases. So I'm able to create DP without ":" but with the same content. You need one DP-alias for every DP with ":" but it works fine.

@jobe451
Copy link
Contributor

jobe451 commented Jul 24, 2021

Same problem with data from Swiss-Weather-API

@GermanBluefox: Idea on how to distinguish colons used for variable declaration and colons that are part of a datapoint-name:

  • any colon that appears before the first dot is a variable declaration: i.e. id:unifi.0.default.devices.11.num_sta}
  • any colon that appears after the first dot is a part of the data points name: i.e. unifi.0.default.devices.11:22:33:44:55:66.num_sta

The proposal from Parodontitis is quite cumbersome in my case. I plan to visualize 100+ such datapoints. Creating for each of them an alias would be an overkill

@Apollon77
Copy link
Collaborator

I would more propose to allow the OBject ID to be in quotes to identify "this belongs together and should not be split. see #388 (comment) ... wuld that make sense?

In fact would be comparable convention as in CSV or such

@Feuer-sturm Feuer-sturm added the recheck-with-vis2 Issue from vis1 shall be rechecked with vis2 label Nov 19, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement recheck-with-vis2 Issue from vis1 shall be rechecked with vis2
Projects
None yet
Development

No branches or pull requests

8 participants