Coder Social home page Coder Social logo

Comments (9)

digitaldan avatar digitaldan commented on August 15, 2024

Our Alexa app uses the oh rest API, so it has no knowledge nor cares what type of device it is, have you tagged these items appropriately ?

from openhab-alexa.

gk4 avatar gk4 commented on August 15, 2024

@digitaldan I'm not clear on the tagging for Alexa. In OH2 I see Label, Category, and Type, but if I change any of those then the device is not useable in OH2 Control. I've seen your online references to the homekit add-on, but I'm still unclear about it.

http://docs.openhab.org/addons/io/homekit/readme.html

  1. OH2/paperui -> Add-ons -> Misc -> HomeKit Integration -> Install

  2. OH2/paperui -> Services -> IO -> HomeKit Integration (enter IP of your device)

The results of the HomeKit Integration setup are found int:

  1. /var/lib/openhab2/config/org/openhab/homekit.config

From the following webpage, Iā€™m not sure what file or webpage the sample items would be? This is the part that I am unclear about. Could you please elaborate?

https://github.com/openhab/openhab2-addons/tree/master/addons/io/org.openhab.io.homekit

Switch KitchenLights "Kitchen Lights" (gKitchen) [ "Lighting" ]
Dimmer BedroomLights "Bedroom Lights" (gBedroom) [ "Lighting" ]

from openhab-alexa.

digitaldan avatar digitaldan commented on August 15, 2024

Please see https://community.openhab.org/t/official-alexa-smart-home-skill-for-openhab-2/23533 Alexa skills are installed through their Alexa app (mobile or web), you also need to have myopenhab.org connected to your system (Amazon skills need a central point for authentication).

from openhab-alexa.

gk4 avatar gk4 commented on August 15, 2024

@digitaldan Yes, I have had the OpenHab skill installed in my Alexa app.

Back to the tagging. Where is that done? Where do I find that list (KitchenLights, BedroomLights, ...) like I see in the instruction pages?

screen shot 2017-04-14 at 10 13 09 am

from openhab-alexa.

digitaldan avatar digitaldan commented on August 15, 2024

I understand now, sorry for the confusion , I do not believe we have a tag editor in the paperui , the examples are for items defined in item files , I believe you are using items created thorough the web GUI ( or auto generated ) . The only way I know to archive this is using the rest API , which can be accessed through your browser at /docs/index.html , there is a item call to add tags. I'm typing this on my phone, when I'm back in front of a computer I can elaborate more.

from openhab-alexa.

gk4 avatar gk4 commented on August 15, 2024

I get a 404 at my http://192.168.1.125:8080/docs/index.html

However, http://192.168.1.125:8080/rest/items/ will list all my items, but the names that I had given them in OH2 are not there. I get the following for my dimmable lamp.

[{"link":"http://192.168.1.125:8080/rest/items/ZWaveNode212718SmartDimmer_Dimmer","state":"100","type":"Dimmer","name":"ZWaveNode212718SmartDimmer_Dimmer","label":"Dimmer","category":"DimmableLight","tags":[],"groupNames":[]},

from openhab-alexa.

gk4 avatar gk4 commented on August 15, 2024

I finally got it. http://192.168.1.125:8080/doc/index.html

I'm getting a 405 response with the following.

screen shot 2017-04-14 at 7 55 11 pm

The name ZWaveNode212718SmartDimmer_Dimmer is not going to be Alexa friendly. How do I change it to the name I had given it in OH2?

screen shot 2017-04-14 at 7 59 09 pm

from openhab-alexa.

digitaldan avatar digitaldan commented on August 15, 2024

The name ZWaveNode212718SmartDimmer_Dimmer is not going to be Alexa friendly. How do I change it to the name I had given it in OH2?

The label is what is used for voice, so in this case "Olives Lamp"

from openhab-alexa.

digitaldan avatar digitaldan commented on August 15, 2024

I'm going to close this since it is not an issue with this code base

from openhab-alexa.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    šŸ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. šŸ“ŠšŸ“ˆšŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ā¤ļø Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.