The basics of MySensors? (continued)
-
@mfalkvidd I actually use a different kind of temperature/humidity sensor. I will adjust the Arduino sketch and try. Thanks a lot.
@marex if you use a DHT sensor you can use https://github.com/mysensors/MySensorsArduinoExamples/tree/master/examples/DhtTemperatureAndHumiditySensor
Do install the entire library though, since the DHT library is slightly modified for MySensors needs. -
@marex if you use a DHT sensor you can use https://github.com/mysensors/MySensorsArduinoExamples/tree/master/examples/DhtTemperatureAndHumiditySensor
Do install the entire library though, since the DHT library is slightly modified for MySensors needs.@mfalkvidd Yes, a DH11. Regarding the code running on the NodeMcu, could you please send me a link to an example explaining how to receive the data transmitted by the Arduino Nano? It would help me a lot if I could see an example showing what the methods "setup" , "presentation" and "loop" should contain.
-
@mfalkvidd Yes, a DH11. Regarding the code running on the NodeMcu, could you please send me a link to an example explaining how to receive the data transmitted by the Arduino Nano? It would help me a lot if I could see an example showing what the methods "setup" , "presentation" and "loop" should contain.
-
@mfalkvidd Yes, a DH11. Regarding the code running on the NodeMcu, could you please send me a link to an example explaining how to receive the data transmitted by the Arduino Nano? It would help me a lot if I could see an example showing what the methods "setup" , "presentation" and "loop" should contain.
@marex after sleeping I think I understand your question. Start by writing nothing in the setup, presentation and loop. Just use the examples as they are, following the instructions on the links I have already posted. That will get you a working gateway and working temperature nodes.
You can then add your own code for handling communication with your phone, or just use one of the available controllers which will handle that communication as well.
With MySensors it really is that simple.
Note: I am moving this discussion to a separate thread, since it really has nothing to do with the MySensors 2.0 release.
Hello! It looks like you're interested in this conversation, but you don't have an account yet.
Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.
With your input, this post could be even better 💗
Register Login