Alexa + node red + lacrosse technology sensor

Hello,
I just started on node red but I am an engineer and programmer.
Here is what I want to do:
I have a lacrosse technology temperature/humidity sensor that connects on the web that I figure out how get csv data from. I know how to access that data and I can do in Node Red a request from my temperature sensor that will return the latest temperature through an HTTP request.
... now ... I want to be able to say:
"Alexa, what is my [sensor name] temperature"
and Alexa to reply. The [sensor name] temperature is XXX degrees.

I installed numerous palettes that have to do with Alexa and all that.
What I have right now is that I can say "Alexa turn on [sensor name]" and Alexa replies with The [sensor name] temperature is XXX degrees.
I am sure you can see the difference but just to make clear, the [sensor name] is set as an action sensor (so ON/OFF) and when it is accessed replies OK and that OK triggers the rest of the HTTP get and so on.

I need a bit of guidance here from you guys.
Thank you

PS. Here is what I have for now:

[{"id":"a7059da7.566f6","type":"amazon-echo-hub","z":"ca23904a.203ea","port":"80","processinput":0,"discovery":true,"x":240,"y":1680,"wires":[["a1c30214.fa692"]]},{"id":"a1c30214.fa692","type":"amazon-echo-device","z":"ca23904a.203ea","name":"Greenhouse Temperature","topic":"","x":600,"y":1660,"wires":[["97f10ef6.34a63","b7caf7ef.b697b8"]]},{"id":"97f10ef6.34a63","type":"debug","z":"ca23904a.203ea","name":"","active":false,"tosidebar":true,"console":false,"tostatus":false,"complete":"false","statusVal":"","statusType":"auto","x":880,"y":1680,"wires":[]},{"id":"b7caf7ef.b697b8","type":"http request","z":"ca23904a.203ea","name":"","method":"GET","ret":"txt","paytoqs":"ignore","url":"http://decent-destiny-704.appspot.com/laxservices/user-api.php?pkey=Dyd7kC4wxLDFz0rQ6W5T28DPgrM6SOBe&ref=78830q86uvv&sensor=0001F42322E9A408&action=usercsv","tls":"","persist":false,"proxy":"","authType":"","x":390,"y":1820,"wires":[["d839ee61.0abca"]]},{"id":"d839ee61.0abca","type":"csv","z":"ca23904a.203ea","name":"","sep":",","hdrin":true,"hdrout":"","multi":"mult","ret":"\\n","temp":"","skip":"0","strings":true,"x":590,"y":1820,"wires":[["a33bc999.ee93e8"]]},{"id":"a33bc999.ee93e8","type":"function","z":"ca23904a.203ea","name":"","func":"//str = msg.payload[0];\n//str = str['Ambient Temp (F)']\n//str = '{' + str + '}'\n//return str;\n\n// msg.payload = msg.payload[0];\n// msg.payload = msg.payload['Ambient Temp (F)']\n// return msg;\n\nmsg.payload = msg.payload[0];\nmsg.payload = msg.payload['Ambient Temp (F)']\nmsg.payload = '{The Greenhouse temperature is ' + msg.payload + ' degrees}'\nreturn msg;","outputs":1,"noerr":0,"initialize":"","finalize":"","x":750,"y":1820,"wires":[["9656ebdb.138c28","741d4d74.a13b54"]]},{"id":"9656ebdb.138c28","type":"debug","z":"ca23904a.203ea","name":"Current Temperature","active":true,"tosidebar":true,"console":false,"tostatus":false,"complete":"payload","targetType":"msg","statusVal":"","statusType":"auto","x":980,"y":1820,"wires":[]},{"id":"741d4d74.a13b54","type":"alexa-remote-routine","z":"ca23904a.203ea","name":"","account":"c9677242.dca69","routineNode":{"type":"speak","payload":{"type":"regular","text":{"type":"msg","value":"payload"},"devices":["G090XG0793631BGA"]}},"x":960,"y":1900,"wires":[[]]},{"id":"c9677242.dca69","type":"alexa-remote-account","name":"alexaremote2","authMethod":"proxy","proxyOwnIp":"localhost","proxyPort":"3456","cookieFile":"","refreshInterval":"14","alexaServiceHost":"pitangui.amazon.com","amazonPage":"amazon.com","acceptLanguage":"en-US","userAgent":"","useWsMqtt":"on","autoInit":"on"}]

So why not set up a routine in alexa that will turn on a the switch that would be turned on by saying "Alexa turn on [sensor name]". The routine can be triggered by saying Alexa, what is my [sensor name] temperature"

Hey. Yes, I did that and that works ... BUT ... I would think there is a way in node red to create a device that has properties that you can interrogate with Alexa. Like temperature, humidity, status etc.

The only node that has temperature devices is node-red-contrib-alexa-home-skill (node) - Node-RED

This topic was automatically closed 60 days after the last reply. New replies are no longer allowed.