# Alexa + node red + lacrosse technology sensor

**URL:** <https://discourse.nodered.org/t/alexa-node-red-lacrosse-technology-sensor/41107>\
**Category:** General\
**Created:** [16 February 2021 17:03 UTC](https://discourse.nodered.org/t/alexa-node-red-lacrosse-technology-sensor/41107 "2021-02-16T17:03:32Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![pambucol](https://avatars.discourse-cdn.com/v4/letter/p/b9bd4f/32.png) [@pambucol](https://discourse.nodered.org/u/pambucol)\
**Post date:** [16 February 2021 17:03 UTC](https://discourse.nodered.org/t/alexa-node-red-lacrosse-technology-sensor/41107/1 "2021-02-16T17:03:32Z")

</div>

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:

```auto
[{"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"}]

```

---

<div class="post-metadata">

**Author:** ![E1cid](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/e1cid/32/77971_2.png) [@E1cid](https://discourse.nodered.org/u/E1cid)\
**Post date:** [16 February 2021 17:30 UTC](https://discourse.nodered.org/t/alexa-node-red-lacrosse-technology-sensor/41107/2 "2021-02-16T17:30:18Z")

</div>

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"

---

<div class="post-metadata">

**Author:** ![pambucol](https://avatars.discourse-cdn.com/v4/letter/p/b9bd4f/32.png) [@pambucol](https://discourse.nodered.org/u/pambucol)\
**Post date:** [17 February 2021 01:17 UTC](https://discourse.nodered.org/t/alexa-node-red-lacrosse-technology-sensor/41107/3 "2021-02-17T01:17:54Z")

</div>

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.

---

<div class="post-metadata">

**Author:** ![E1cid](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/e1cid/32/77971_2.png) [@E1cid](https://discourse.nodered.org/u/E1cid)\
**Post date:** [17 February 2021 09:21 UTC](https://discourse.nodered.org/t/alexa-node-red-lacrosse-technology-sensor/41107/4 "2021-02-17T09:21:20Z")

</div>

The only node that has temperature devices is [node-red-contrib-alexa-home-skill (node) - Node-RED](https://flows.nodered.org/node/node-red-contrib-alexa-home-skill)

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/flex026/uploads/nodered/original/1X/d073cd938eafa2e558d7c2cd59003b3ef4963033.png) [@system](https://discourse.nodered.org/u/system)\
**Post date:** [18 April 2021 09:22 UTC](https://discourse.nodered.org/t/alexa-node-red-lacrosse-technology-sensor/41107/5 "2021-04-18T09:22:12Z")

</div>

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