Page 1 of 1

Soil moisture issues with HTTP output

Posted: Sat Nov 01, 2014 5:28 pm
by stuartturrell
Hi,

Got weather display displaying and receiving soil/leaf data well now, however, it appears that the soil moisture is being fed via the HTTP feed as a maximum of 100.

One of my moisture probes is reading dry at 200, the sensor page in meteohub also shows this, at 200, but it is being fed out on the HTTP below as feed as 100. (see the highlighted line)

http://your-meteohub-ip/meteolog.cgi?

20141101152013 th0 14.8 78 11.0
20141101152107 th1 18.9 73 14.0
20141101152051 th2 32.2 0 32.2
20141101152055 th10 14.4 91 0.0
20141101152017 th11 14.4 100 0.0
20141101152013 th15 14.4 0 0.0
20141101152051 th16 13.9 0 0.0
20141101152017 uv0 0.0
20141101152035 sol0 97
20141101152109 wind0 214 0.4 0.9 14.8
20141101152017 rain0 0.0 935.8 0.0
20141101152107 thb0 18.3 66 11.8 1010.5 1015.7 2
20141101152059 data0 425.00mode=data

Any chance of looking into this please?

Many thanks,
Stuart

Re: Soil moisture issues with HTTP output

Posted: Sat Nov 01, 2014 7:02 pm
by admin
Looks like a bug as "th" sensors do normally report relative humidity which is limited to 100%.

Re: Soil moisture issues with HTTP output

Posted: Mon Feb 23, 2015 2:11 pm
by stuartturrell
any chance of being able to fix this bug please?

Re: Soil moisture issues with HTTP output

Posted: Tue Feb 24, 2015 12:34 am
by admin
are you on version 5.0d?

Re: Soil moisture issues with HTTP output

Posted: Tue Feb 24, 2015 12:55 am
by stuartturrell
I am yes, all up to date

Re: Soil moisture issues with HTTP output

Posted: Tue Feb 24, 2015 1:26 am
by admin
Does "inspect data" page show >100 humidity values for th11?

Re: Soil moisture issues with HTTP output

Posted: Tue Feb 24, 2015 1:32 am
by admin
I just checked the code and I can't find a statement not allowing values to pass 100.

Re: Soil moisture issues with HTTP output

Posted: Tue Feb 24, 2015 10:30 am
by stuartturrell
It is displaying 100> data in the inspect data. it' just won't display 100+ data in the html output through to weather display.

This is in my HTML output using address http://192.168.1.103/meteolog.cgi?mode=data

20150224082846 th10 4.4 100 0.0
20150224082846 th11 4.4 100 0.0

Now this is what inspect data says:-
20150224081236 th10 44 107 0000
20150224081236 th11 44 200 0000

Re: Soil moisture issues with HTTP output

Posted: Tue Feb 24, 2015 11:26 pm
by admin
No idea, where this data gets clipped. May be I already correct this in my code,
but still did not publish the new version. Will release an update next week.

Re: Soil moisture issues with HTTP output

Posted: Sun Mar 01, 2015 2:58 pm
by stuartturrell
Looking good now, many thanks!!!!

Re: Soil moisture issues with HTTP output

Posted: Sun Mar 01, 2015 3:14 pm
by stuartturrell
Apologies, forget last message.

I think weather display didn't detect the feed and put it up to 200 or something as it still sending out 100 as a figure when it is supposed to be 200. :(

So it's still got a bug there.
20150301131401 th10 7.2 80 0.0
20150301131401 th11 6.7 100 0.0

Re: Soil moisture issues with HTTP output

Posted: Mon Mar 09, 2015 10:49 am
by stuartturrell
have you had time to look over this http output problem as of yet?

I'm not seeing any change in the http output.

Re: Soil moisture issues with HTTP output

Posted: Sat Mar 28, 2015 5:32 pm
by stuartturrell
Still getting read out maxed as 100 on this.

Any chance of looking into this yet? It's still only affecting the HTTP output.

Running raspberry pi2, 5.0i build 122.

Many thanks