Soil moisture issues with HTTP output

Discussion of the Meteohub software package

Moderator: Mattk

Post Reply
stuartturrell
Senior Boarder
Senior Boarder
Posts: 40
Joined: Sun Jan 18, 2009 5:02 am

Soil moisture issues with HTTP output

Post 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
User avatar
admin
Platinum Boarder
Platinum Boarder
Posts: 7878
Joined: Mon Oct 01, 2007 10:51 pm

Re: Soil moisture issues with HTTP output

Post by admin »

Looks like a bug as "th" sensors do normally report relative humidity which is limited to 100%.
stuartturrell
Senior Boarder
Senior Boarder
Posts: 40
Joined: Sun Jan 18, 2009 5:02 am

Re: Soil moisture issues with HTTP output

Post by stuartturrell »

any chance of being able to fix this bug please?
User avatar
admin
Platinum Boarder
Platinum Boarder
Posts: 7878
Joined: Mon Oct 01, 2007 10:51 pm

Re: Soil moisture issues with HTTP output

Post by admin »

are you on version 5.0d?
stuartturrell
Senior Boarder
Senior Boarder
Posts: 40
Joined: Sun Jan 18, 2009 5:02 am

Re: Soil moisture issues with HTTP output

Post by stuartturrell »

I am yes, all up to date
User avatar
admin
Platinum Boarder
Platinum Boarder
Posts: 7878
Joined: Mon Oct 01, 2007 10:51 pm

Re: Soil moisture issues with HTTP output

Post by admin »

Does "inspect data" page show >100 humidity values for th11?
User avatar
admin
Platinum Boarder
Platinum Boarder
Posts: 7878
Joined: Mon Oct 01, 2007 10:51 pm

Re: Soil moisture issues with HTTP output

Post by admin »

I just checked the code and I can't find a statement not allowing values to pass 100.
stuartturrell
Senior Boarder
Senior Boarder
Posts: 40
Joined: Sun Jan 18, 2009 5:02 am

Re: Soil moisture issues with HTTP output

Post 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
User avatar
admin
Platinum Boarder
Platinum Boarder
Posts: 7878
Joined: Mon Oct 01, 2007 10:51 pm

Re: Soil moisture issues with HTTP output

Post 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.
stuartturrell
Senior Boarder
Senior Boarder
Posts: 40
Joined: Sun Jan 18, 2009 5:02 am

Re: Soil moisture issues with HTTP output

Post by stuartturrell »

Looking good now, many thanks!!!!
stuartturrell
Senior Boarder
Senior Boarder
Posts: 40
Joined: Sun Jan 18, 2009 5:02 am

Re: Soil moisture issues with HTTP output

Post 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
stuartturrell
Senior Boarder
Senior Boarder
Posts: 40
Joined: Sun Jan 18, 2009 5:02 am

Re: Soil moisture issues with HTTP output

Post 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.
stuartturrell
Senior Boarder
Senior Boarder
Posts: 40
Joined: Sun Jan 18, 2009 5:02 am

Re: Soil moisture issues with HTTP output

Post 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
Post Reply