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
-
An HASS service to send messages to nodes
Home Assistant • 19 May 2016, 08:58 • xlcnd 24 Jun 2016, 09:35 -
Home Assistant v 0.13.1
Home Assistant • 13 Feb 2016, 21:36 • martinhjelmare 19 Apr 2016, 22:51 -
Sonoff + MySensors mqtt gateway + Home-Assistant
My Project • 19 Jan 2017, 21:51 • Efflon 31 Mar 2017, 14:15 -
Home Assistant v 0.12
Home Assistant • 30 Jan 2016, 13:57 • martinhjelmare 30 Jan 2016, 15:05 -
Home Assistant - How to recognize MySensors nodes
Home Assistant • 15 Nov 2015, 12:33 • kielnino 8 Jan 2016, 07:49 -
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