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

[hueemulation] Device name transformation added #2153

Closed
wants to merge 4 commits into from

Conversation

SirAd
Copy link

@SirAd SirAd commented Apr 11, 2017

I've added MAP translation for devices exposed by HueEmulation. The original HueEmulation uses item Label. I've added possibility to exposure item with different names. It's useful for Amazon Alexa integration as Alexa can understand only English or German language. My labels are in local language, but I would like to integrate them with Alexa. I made file with translation Polish<->English.
new configuration has been added:

translationFile=<map file name>

in conf/services/hueemulation.cfg
when is a MAP transformation file described here

file contains pairs:
Label=Name exposed by HueEmulation

when Label does not exist in transformation file Label is used.

@SirAd SirAd changed the title Origin/2.0.x/hue transformation [HueEmulation] Device name transformation added Apr 12, 2017
useItemNameForTranslation to configuration to allow map ItemName instead ItemLabel to device name
@martinvw
Copy link
Member

Triggering some builds

@martinvw martinvw closed this Apr 25, 2017
@martinvw martinvw reopened this Apr 25, 2017
@kaikreuzer
Copy link
Member

This change would make the add-on dependent on the MAP transformation service, which is not really desired - additionally, it would only allow textual configuration, but there is no way to do it e.g. through the Paper UI.

Note that the issue that you try to address here is discussed at eclipse-archived/smarthome#3692. Currently, the simplest way to get a custom label for Alexa is to simply to use multiple items.

I'd therefore suggest to close this PR and rather follow up on eclipse-archived/smarthome#3692.

@martinvw martinvw added the awaiting feedback Awaiting feedback from the pull request author label Jul 23, 2017
@wborn wborn changed the title [HueEmulation] Device name transformation added [hueemulation] Device name transformation added Dec 19, 2018
@wborn
Copy link
Member

wborn commented Jan 28, 2019

Let's close this PR as suggested because of the undesired dependency.

@wborn wborn closed this Jan 28, 2019
Flole998 pushed a commit to Flole998/openhab-addons that referenced this pull request Dec 30, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
awaiting feedback Awaiting feedback from the pull request author
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants