How to connect gateway sensor to Vera
-
Hi,
I'm just starting with MySensors. I've build a gateway based on:
Sensebender_GW
W5100
RFM69My plan was to start out with a simple "read analog pin" sensor located on the GW.
The GW is running, and I have the MySensors Plugin recognized by Vera and reporting connected.
I based my node addition to the gateway on this code from the Mihai post sensor on gateway reference
My issue is, I don't know how to create a MySensors sensor device on Vera. I can't use the normal include procedure as the sensor is on the gateway. But I tried anyway. by starting inclusion and resetting the gateway but to no avail.
Any input would be appreciated.
-
What I have done for Vera to discover "Sensors" defined in the GW is this:
Add this to your GW sketch just after the port definition.
// How many clients should be able to connect to this gateway (default 1) #define MY_GATEWAY_MAX_CLIENTS 2
Then when you have everything back up and running with Vera again you can connect another controller simultaneously called MYSController from a Windows computer.
When you are also connected from MYSController start the inclusion mode from Vera and then press the "Discover" button in MYSController.
-
@Tomas,
Thank you
I took me awhile to comprehend what you were saying but I think I understand now.
-
Hello
Use the include procedure on the MYSensors Plugin Icon under settings you will see start and stop if all is working properly just press the start button you will see a dialog that tells you to activate the sensor you wish to add. If all goes correctly you will see a node added as well as the sensor. Now that is how it use to work with earlier Libraries if you are using 2.2 library I will presume it will work the same way.
Suggested Topics
-
MySensors node not working with Alexa on my Vera
Vera • 28 Apr 2024, 01:21 • dbemowsk 28 Apr 2024, 01:21 -
Vera Plus plugin issues (and choosing the right controller in general)
Vera • 6 Jun 2021, 10:16 • Max Kurilov 6 Jun 2021, 16:55 -
OpenLoop Noob, need to know if what I want to do is possible
Vera • 14 Apr 2020, 17:30 • tamorgen 2 Jan 2021, 14:14 -
Issues Reading Sensors in Vera Plus
Vera • 26 Jan 2023, 17:12 • Newzwaver 26 Jan 2023, 17:12 -
Create a listening port for http sensor posts ?
Vera • 24 Jul 2021, 09:10 • nodecentral 24 Jul 2021, 09:10