@zboblamont Thanks, you are proposing to filter out wrong reading, I am trying to understand why system periodically sends out 0.
Posts made by APL2017
RE: 💬 Distance Sensor
zboblamont . Thank you, I understand all of this except I really don't see in sketch testing of two consecutive results in X attempts. I see that node will wake up and update the distance if new data is different than old data, but, anyway, question was about something different. Why, single sensor node based on this example periodically generates 0 distance? Are there different models of these sensors, so NewPing library needs to be altered?
RE: Node ESP8266 with NFR24 and WiFi disabled
Here is my sketch intended to detect water leak from a sensor connected to D4:
#define MY_BAUD_RATE 9600
#define LEAK_1_CHILD_ID 1
#define LEAK_1_PIN D4
WiFi.mode( WIFI_OFF );
if (LEAK_1 != last_LEAK_1)
last_LEAK_1 = LEAK_1;
Here is what I am reading over serial interface. After seems to be successful initial communication, ESP gets stack on not getting ACK from the radio. Any idea why?
189 MCO:BGN:INIT NODE,CP=RNNNE---,REL=255,VER=2.3.1
414 TSM:INIT:TSP OK
1320 TSF:MSG:FPAR OK,ID=0,D=1
2784 TSF:MSG:PONG RECV,HP=1
5398 MCO:PIM:NODE REG=1
force slp enable,type: 2
fpm open,type:2 0
5443 MCO:BGN:INIT OK,TSP=1
RE: 💬 MySensors Library - v2.x
@mfalkvidd One of the efficient ways to do it (if doable) is to replace site examples with links to main MySensors git repo. I noticed that some examples on site are incorporated into the pages, some are done as links already. I realize thou that examples in git repo could be different. The goal of git repo examples, as I see it, is to show technology capabilities covering majority of typical applications, while on website you may also publish some real exotic examples, such as sky stars, or whole house fan.
Please don't get me wrong, I love MySensors and very pleased with technology, documentation and support. This is just in my nature to attempt to clarify and optimize whatever I can. My colleagues at work hate me for this...