Water Probe - Only minute data available in Dash

Hi,

Just installed a water sensor,
Even after almost 24 hours I only get the lperday in the Minute graph,.... which then obviously only shows the curve for the last few minutes.

The sensor works because every time water is flowing it detects it in the lperday (minute) graph and it increases the lperday value.

Before I hooked up the sensor I tested it by placing it in a LED circuit, when I had the water flowing the led pulsed (went of and on), ... so this looks fine, the only odd thing is that when the water stops flowing it often happens that the sensor keeps the pulse high and this can last for a long time until the water is flowing again when it starts to blink again. Is this a known/normal behaviour ?

Also, I'm getting weird read ins in the /var/run/fluksod/sensor file,... when I have the water flowing it produces values but when it is not flowing I get:

Anyone some clues ?

root@flukso-2f2a7a:/tmp/run/fluksod/sensor# cat 5b798bfaa87c0867bec168b8a83c7be6
[[1387104544,"nan"],[1387104545,"nan"],[1387104546,"nan"],[1387104547,"nan"],[1387104548,"nan"],[1387104549,"nan"],[1387104550,"nan"],[1387104551,"nan"],[1387104552,"nan"],[1387104553,"nan"],[1387104554,"nan"],[1387104555,"nan"],[1387104556,"nan"],[1387104557,"nan"],[1387104558,"nan"],[1387104559,"nan"],[1387104560,"nan"],[1387104561,"nan"],[1387104562,"nan"],[1387104563,"nan"],[1387104564,"nan"],[1387104565,"nan"],[1387104566,"nan"],[1387104567,"nan"],[1387104568,"nan"],[1387104569,"nan"],[1387104570,"nan"],[1387104571,"nan"],[1387104572,"nan"],[1387104573,"nan"],[1387104574,"nan"],[1387104575,"nan"],[1387104576,"nan"],[1387104577,"nan"],[1387104578,"nan"],[1387104579,"nan"],[1387104580,"nan"],[1387104581,"nan"],[1387104582,"nan"],[1387104583,"nan"],[1387104584,"nan"],[1387104585,"nan"],[1387104586,"nan"],[1387104587,"nan"],[1387104588,"nan"],[1387104589,"nan"],[1387104590,"nan"],[1387104591,"nan"],[1387104592,"nan"],[1387104593,"nan"],[1387104594,"nan"],[1387104595,"nan"],[1387104596,"nan"],[1387104597,"nan"],[1387104598,"nan"],[1387104599,"nan"],[1387104600,"nan"],[1387104601,"nan"],[1387104602,"nan"],[1387104603,"nan"]]

tdullers's picture

I just checked the logs using log read,....
The pulses seem to be counted correctly, nevertheless it is still not working

root@flukso-2f2a7a:/tmp/run/fluksod/sensor# logread | grep 5b798bfaa87c0867bec168b8a83c7be6 | grep -v POST
Dec 15 14:20:47 flukso-2f2a7a daemon.info fluksod[668]: processed pulse 5b798bfaa87c0867bec168b8a83c7be6:1387117247:470
Dec 15 14:21:33 flukso-2f2a7a daemon.info fluksod[668]: processed pulse 5b798bfaa87c0867bec168b8a83c7be6:1387117293:471
Dec 15 14:23:53 flukso-2f2a7a daemon.info fluksod[668]: processed pulse 5b798bfaa87c0867bec168b8a83c7be6:1387117433:472
Dec 15 14:26:19 flukso-2f2a7a daemon.info fluksod[668]: processed pulse 5b798bfaa87c0867bec168b8a83c7be6:1387117579:473
Dec 15 14:26:37 flukso-2f2a7a daemon.info fluksod[668]: processed pulse 5b798bfaa87c0867bec168b8a83c7be6:1387117597:474
Dec 15 14:26:43 flukso-2f2a7a daemon.info fluksod[668]: processed pulse 5b798bfaa87c0867bec168b8a83c7be6:1387117603:475
Dec 15 14:26:50 flukso-2f2a7a daemon.info fluksod[668]: processed pulse 5b798bfaa87c0867bec168b8a83c7be6:1387117610:476
Dec 15 14:26:57 flukso-2f2a7a daemon.info fluksod[668]: processed pulse 5b798bfaa87c0867bec168b8a83c7be6:1387117617:477
Dec 15 14:27:04 flukso-2f2a7a daemon.info fluksod[668]: processed pulse 5b798bfaa87c0867bec168b8a83c7be6:1387117624:478
Dec 15 14:27:10 flukso-2f2a7a daemon.info fluksod[668]: processed pulse 5b798bfaa87c0867bec168b8a83c7be6:1387117630:479
Dec 15 14:27:18 flukso-2f2a7a daemon.info fluksod[668]: processed pulse 5b798bfaa87c0867bec168b8a83c7be6:1387117638:480
Dec 15 14:27:55 flukso-2f2a7a daemon.info fluksod[668]: processed pulse 5b798bfaa87c0867bec168b8a83c7be6:1387117675:481
Dec 15 14:28:55 flukso-2f2a7a daemon.info fluksod[668]: processed pulse 5b798bfaa87c0867bec168b8a83c7be6:1387117735:482
Dec 15 14:29:37 flukso-2f2a7a daemon.info fluksod[668]: processed pulse 5b798bfaa87c0867bec168b8a83c7be6:1387117777:483
Dec 15 14:39:56 flukso-2f2a7a daemon.info fluksod[668]: processed pulse 5b798bfaa87c0867bec168b8a83c7be6:1387118396:484
Dec 15 14:42:26 flukso-2f2a7a daemon.info fluksod[668]: processed pulse 5b798bfaa87c0867bec168b8a83c7be6:1387118546:485
Dec 15 14:42:51 flukso-2f2a7a daemon.info fluksod[668]: processed pulse 5b798bfaa87c0867bec168b8a83c7be6:1387118571:486
Dec 15 14:43:16 flukso-2f2a7a daemon.info fluksod[668]: processed pulse 5b798bfaa87c0867bec168b8a83c7be6:1387118596:487
Dec 15 14:50:05 flukso-2f2a7a daemon.info fluksod[668]: processed pulse 5b798bfaa87c0867bec168b8a83c7be6:1387119005:488
Dec 15 14:50:15 flukso-2f2a7a daemon.info fluksod[668]: processed pulse 5b798bfaa87c0867bec168b8a83c7be6:1387119015:489
Dec 15 14:50:25 flukso-2f2a7a daemon.info fluksod[668]: processed pulse 5b798bfaa87c0867bec168b8a83c7be6:1387119025:490

icarus75's picture

See my comment in this forum thread.

tdullers's picture

I looked at the comment and did the following:

- Checked the sensor measurements using mosquito_sub and this displays the values very well both counters and gauges.

- I ( for the *** time) reserved my sensor configuration

- The status page of the flukso device shows the sensor config is synced and actual

- Still nothing appearing in the dash,... for my water meter ( gas merger still runs fine)

icarus75's picture

Fixed, see this forum thread.