Hi all,
I recoded this sketch and I posted on GitHub (1 year ago, and I updated it today). It runs good from 1 year with no issues.
I don't know why it's still not merged in master branch. I forgot to do some action??
Can anyone help me? please.
Meanwhile you can download and use it; this is its link:
https://github.com/cnerone/MySensorsArduinoExamples/blob/master/examples/DhtTemperatureAndHumiditySensor/DhtTemperatureAndHumiditySensor.ino
cnerone
@cnerone
Best posts made by cnerone
-
RE: 💬 Air Humidity Sensor - DHT
-
RE: DHT22 and DHT lib
Hi,
I wrote an updated version that uses the standard dht adafruit library.
I posted on github site (https://github.com/cnerone/MySensorsArduinoExamples/commit/922cdaaff772db3a59aef8d784d4ef4e43c9a50a) but its pubblication it's still in progress...
I run it for one year and it runs very good with no issues...
Latest posts made by cnerone
-
RE: Missing sensor in home assistant integration
Writing "my" I can se MyQ only...
No mysensors extension, even scrolling the whole list.
I tried from Android app, mobile browser and desktop browser tooAny suggestion?
-
RE: Missing sensor in home assistant integration
Hi all,
I installed home-assistant (core version 2021.5.1) and I don't find mysensors extension.
Any help?Thanks in advance
-
RE: 💬 Air Humidity Sensor - DHT
Hi all,
I recoded this sketch and I posted on GitHub (1 year ago, and I updated it today). It runs good from 1 year with no issues.
I don't know why it's still not merged in master branch. I forgot to do some action??
Can anyone help me? please.
Meanwhile you can download and use it; this is its link:
https://github.com/cnerone/MySensorsArduinoExamples/blob/master/examples/DhtTemperatureAndHumiditySensor/DhtTemperatureAndHumiditySensor.ino -
RE: how to post a new sensor sketch?
Hi all,
I posted my new sketch 1 year ago (https://github.com/mysensors/MySensorsArduinoExamples/pull/35/commits/922cdaaff772db3a59aef8d784d4ef4e43c9a50a) as a pull request (https://github.com/mysensors/MySensorsArduinoExamples/pull/35)
It's still unpublished so there is something more to do, I suppose. But...what I have to do??Thanks in advance
-
RE: How to contribute code to the MySensors project
Hi all,
I wrote new release of DHT humidity sensor sketch and posted it in github 1 year ago.
It's running on my home for more than a year, its code pubblication is still pending.
Can anyone help me to get it published?https://github.com/mysensors/MySensorsArduinoExamples/pull/35
-
RE: DHT22 and DHT lib
Hi,
I wrote an updated version that uses the standard dht adafruit library.
I posted on github site (https://github.com/cnerone/MySensorsArduinoExamples/commit/922cdaaff772db3a59aef8d784d4ef4e43c9a50a) but its pubblication it's still in progress...
I run it for one year and it runs very good with no issues... -
how to post a new sensor sketch?
Hi all,
I have a new Temperature and Humidity sensor sketch, based on official Adafruit DHT (and DHTU) libraries.
I tested it for one or two months without issues...
I'd like to post it to upgrade the script published here (https://www.mysensors.org/build/humidity)Ho to do it?
thanks in advance
-
RE: Nodes communicates to/from gw, only while no controller is running
I made some tries with 115200 and 38400 too... Results are the same! and using MySensors library 2.2.0, too! and using OpenHab too!
While not connected to controllers... no NACK messages, every send messages got OK... and sensors don't lose gw connection (no continuos FPAR messages)...This is sensor log taken by Arduino IDE serial monitor (gw is connected to openhab):
Two loop runs:- in first loop one value reached gw (temperature one), 2nd and 3rd value had NACK.
- in 2nd loop no value reached gw (all have NACK).
This behavior is quite usual, and it happens as soon as booted and while running for time..
Even initial presentation gets "NACK"...
Temperature: 20.20 *C
Humidity: 59.20%
Heat Index: 19.82 *C
TSF:MSG:SEND,1-1-0-0,s=1,c=1,t=0,pt=7,l=5,sg=0,ft=0,st=OK:20.20
!TSF:MSG:SEND,1-1-0-0,s=0,c=1,t=1,pt=7,l=5,sg=0,ft=0,st=NACK:59.20
!TSF:MSG:SEND,1-1-0-0,s=2,c=1,t=0,pt=7,l=5,sg=0,ft=1,st=NACK:19.82
Temperature: 20.20 *C
Humidity: 59.00%
Heat Index: 19.82 *C
!TSF:MSG:SEND,1-1-0-0,s=1,c=1,t=0,pt=7,l=5,sg=0,ft=2,st=NACK:20.20
!TSF:MSG:SEND,1-1-0-0,s=0,c=1,t=1,pt=7,l=5,sg=0,ft=3,st=NACK:59.00
!TSF:MSG:SEND,1-1-0-0,s=2,c=1,t=0,pt=7,l=5,sg=0,ft=4,st=NACK:19.82 -
Nodes communicates to/from gw, only while no controller is running
Good morning everybody,
I uploaded skecthes on my nodes and gateway.
I tested NRF04L01+ communication by arduino serial monitor and they send and receive messages from/to each other very well.
But while running a controller they don't communicates:
I tested them using HomeAssistant (sensor finds parent node (gw), no more than that) and Domoticz (sensor finds parent (gw), sometimes it's able to send data to controller).I'm using MySensors lib v. 2.3.0 and I set low baudrate (19200) to exclude hi-speed related problems in 3v3 mini-pro board (sensor is 3v3, gw is 5v).
Can you help me? thanks