2

TLDR:
I want to query Alexa for the current humidity sensor reading by asking:

"What is the current humidity, Alexa?"

The answer should be similar to:

"The current humidity level is 56.7%"

Here is my setup:

  • I have a bunch of ESP8266 with a variety of sensors, which publish the sensor readings via MQTT over WLAN
  • The MQTT broker is running on a Raspberry Pi in the same LAN
  • I also have NodeRed running on the Raspberry Pi, where I am using the Node-RED Alexa Home Skill Bridge, which works perfectly for sending commands to the different Nodes in my network

What I am looking for:

  • I would like to be able to ask Alexa for the current sensor reading of any of my sensors and have her answer with the proper value
  • In theory I understand that the Node-RED Alexa Home Skill Bridge at least should provide the oppurtunity to query for the temperature reading of a device, when you are in the US/UK.
  • However, although I tried, this doesn't seem to work on my German Alexa
  • Futhermore, I would of course also prefer to ask Alexa e.g. for the current humidity directly and not having to misuse the temperature query

Is there any way to achieve what I intend to do, e.g. by using an already existing skill or maybe a NodeRed extension?

3

Alexa does not have any device types that support humidity at the moment, so this is not possible using the Smart Home Skills.1

Here is the list of device types and their capabilities.

You could create your own normal skill, but this would mean asking something like "Alexa, ask FooBar what the humidity is". There is a node for Node-RED to do normal skills but it has been abandoned by it's author for years. You can implement your own just using HTTP-in/HTTP-response nodes, but it's a lot more work.

1 There is a new capability for Smart Home Skills that allows you to add your own custom commands using a CustomIntent. This is currently only in beta at the moment and would require building a custom Smart Home Skill if allowed on to the beta.

(Author of the Node-RED Alexa Home Skill Nodes)

  • Thanks a lot for the different pointers. I guess I will then try my luck with my own custom Alexa skill. Btw. awesome job on the Alexa Home Skill Node! – oh.dae.su Mar 2 at 11:44

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.