Help Getting Started
-
First of all, I'm a complete noob when it comes to MySensors. I've gone through the Getting Started sections, and read just about as much documentation as I can. I'm currently running Home-Assistant, and will be trying to implement MySensors into it. I've been using Arduino for a few years now, and have a general understanding of programming, but I wouldn't consider myself a programmer.
So it seems like most of the example code in the Build section is for the 1.x branch of MySensors. So does the Gateway also have to be running the 1.x branch?
If my goal is to integrate this into Home-Assistant, should I be using the 1.x branch, or 2.x branch?
Also, I've managed to follow the instructions on the Build site, and build myself a Serial Gateway. Which version of the Gateway code should I be using? Where would I find the serial gateway code for 1.x?
I also built a few nodes (not sure if that's what I should call them). One with a simple pushbutton, another with a motion sensor, and a third with a Temp/Humidity sensor (dht11). Now how would I get these connected to the Gateway? I think it's referred to as "Presentation", but I couldn't find much documentation on how to do it.
Just to confuse myself a little further, I found this section on the HA site, which talks about "Presentation", https://home-assistant.io/components/mysensors/#presentation
Would I be better off sticking to 1.x for now?
Is there some kind of step-by-step guide that I'm missing?Please help, I'm sorry to throw out random questions, but i'm not sure where else to go.. Thanks..
-
Hi and welcome!
I would say all of the examples in the build section has been converted to 2.0 (except maybe for some old build-projects created by external people).
The examples with external library dependencies comes from here:
https://github.com/mysensors/MySensorsArduinoExamples/tree/master/examplesand standalone examples here:
https://github.com/mysensors/MySensors/tree/development/examples
Suggested Topics
-
Problem with light control between mysensors and HA
Troubleshooting • 7 Jan 2019, 08:55 • Misna 9 Jan 2019, 07:17 -
Update RF24 library to latest version
Bug Reports • 23 Mar 2014, 23:37 • andriej 24 Mar 2014, 22:52 -
💬 Leaky - water detector
OpenHardware.io • 12 Dec 2020, 08:10 • openhardware.io 21 Dec 2020, 09:53 -
Home Assistant and smartSleep
Home Assistant • 21 Jan 2021, 07:37 • alexx 21 Jan 2021, 07:37 -
Home Assistant v 0.13.1
Home Assistant • 13 Feb 2016, 21:36 • martinhjelmare 19 Apr 2016, 22:51 -
vfd compressor for heat pump / air conditioner
Home Assistant • 9 Nov 2021, 19:58 • Giuseppe 20 Nov 2021, 20:38