I have google home talking to my node-red flow using the library (node-red-contrib-alexa-smart-home (node) - Node-RED). It is great for switching on outlets and lights but it currently can't get sensor data. I was wondering if anyone has been able to do this with another library. Basically I'd like to ask google for a sensor reading and convert that into either an MQTT message or a database query (might be simpler?).
I have looked back through the forums and the only thing I can find is
I'm using node-red-contrib-googlehome which is similar to node-red-contrib-alexa-smart-home, and which I believe is written & maintained by the original author of the node which you are using (@hardillb).
Both nodes seem constrained by the available 'devices' published by google, so any sensor device needs to fall within one of their listed categories.
For example, I have a temperature sensor in my garden, and the nearest device type I can find is the thermostat device which almost works!!
I can ask "What's the temperature in the garden", and Google Home will reply with the current temperature, but also insists on telling me what temp the 'heating' is set to (which of course is not required).
I've been playing with the device type "Sensor" which I can get to just return current temperature. I just need to find the time to add it to the list of device types on the site
Just a quick question, can your node be used to trigger an mqtt message to control a tasmota device? I was just going to see if I could replace my instances of node-red-contrib-alexa-smart-home node to give it a try.