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

Konvertierung scaleint ohne Angabe von min-Werten... #448

Open
Stopuhr opened this issue Sep 22, 2023 · 0 comments
Open

Konvertierung scaleint ohne Angabe von min-Werten... #448

Stopuhr opened this issue Sep 22, 2023 · 0 comments

Comments

@Stopuhr
Copy link

Stopuhr commented Sep 22, 2023

...scheint nicht korrekt zu funktionieren.

Ich habe einen Osram LED-Strike via Hue-Adapter angebunden. Mit dem level255 erhalte ich Logs, dass nur 254 erlaubt ist (ich glaube bei INNR-Birnen ebenso).
Mit der scaleint-Konvertierung und der Angabe 0, 100, 0, 255 ist alles ok, lasse ich die Minimalwerte aber weg (laut Doku wird dann 0 genutzt), dann stimmt die Helligkeit weder in den unteren, noch in den oberen Bereichen.

Nicht so schlimm, sollte aber laut Doku ja nicht sein.
Vgl. https://github.com/jensweigele/ioBroker.yahka/wiki/Configuration,-InOut-Functions-and-Conversion-Functions#overview-of-conversion-functions

Ansonsten Danke für den Adapter!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant