bwssytems / ha-bridge

Home automation bridge that emulates a Philips Hue light system and can control other systems such as a Vera, Harmony Hub, Nest, MiLight bulbs or any other system that has an http/https/tcp/udp interface. This is a compact impl to run on small format computers. This is impl started from this project https://github.com/armzilla/amazon-echo-ha-bridge.
Apache License 2.0
1.45k stars 198 forks source link

Read temperature #721

Closed deAngelisAlex closed 7 years ago

deAngelisAlex commented 7 years ago

Hi,

I'd like to know if it was possible to use ha-bridge with a physical Home device, working with Domoticz, to read temperature values. I've already configured my device to work with ha-bridge and domoticz but it seems like it isn't compatible with reading sensors.

Can you help me out? I can probably implement it myself, but maybe it already is and enabling it is not default.

-- TehSatoshi3

tuicemen commented 7 years ago

The bridge can't read status of a device it just sends commands from my understanding. So currently reading sensors I suspect isn't supported in the Philps hue API which the bridge uses.

audiofreak9 commented 7 years ago

Correct, the ha-bridge will not read values, you'll have to write a custom skill to read temperature values. It's pretty easy, I wrote one to read JSON output from a RPi that I built and programmed with two waterproof temperature sensors. I can then ask Alexa to tell me my pool or hot tub temperature.

I port forwarded my RPi so the skill could access the RPi, the skill gets the requested device (pool or hot tub) JSON and reads the temperature and reports it through the Echo.

bwssytems commented 7 years ago

Closing since this is not an available feature from Amazon.

masterchop commented 7 years ago

You have to use the alexa-app-server for extra setup but more control over what alexa says and how activate stuff. ha-bridge still on my network for easy stuff that are just ON/OFF commands.