Giter VIP home page Giter VIP logo

Comments (5)

kakopappa avatar kakopappa commented on August 9, 2024

Thanks

Read the state of a pin using Alexa?
you can check whether pin is high or low like this

contact=digitalRead(pin);
if (contact == HIGH) {
 
}

Or you can use another sensor to check the status of the device.

from arduino-esp8266-alexa-multiple-wemo-switch.

booysenc avatar booysenc commented on August 9, 2024

ok, but how do I ask Alexa to check the pin? Should I define a name like you did contact (which is the variable)
"Alexa what is the status of input 1" or "Alexa please check if the gate is open"... things like that

from arduino-esp8266-alexa-multiple-wemo-switch.

kakopappa avatar kakopappa commented on August 9, 2024

this is not possible at the moment.

current format for a UPnP device is :

Alexa, turn [on/off] [device_name]

for any other custom commands like the one you want, you can build them using Alexa Skills Kit
https://developer.amazon.com/public/solutions/alexa/alexa-skills-kit/getting-started-guide

from arduino-esp8266-alexa-multiple-wemo-switch.

booysenc avatar booysenc commented on August 9, 2024

Does anyone know how to build such a custom skill, would be nice if alexa could tell me the state of a pin as an input

from arduino-esp8266-alexa-multiple-wemo-switch.

riban-bw avatar riban-bw commented on August 9, 2024

See issue #25. The WeMo does support request for status but this library does not currently support it. We need someone with a WeMo to record the response to the request so that it could be coded into this library.

from arduino-esp8266-alexa-multiple-wemo-switch.

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.