Found the bug -- the value was being cast to uint8_8 instead of int8_t --
fixed in next release.

On Tue, Mar 27, 2012 at 3:37 AM, Ivan Lisenkov <[email protected]> wrote:

> Hello,
>
> I'm running owhttpd vesion 2.8p14. There is a bug, so it is not possible
> to set negative alarm values for DS18B20 sensors.
>
> $wget -qO - --no-proxy
> http://owhttpd.host/json/28.1E9257030000/templow?templow=5
> templow            5
>
> ok, no problem!
>
> $wget -qO - --no-proxy
> http://owhttpd.host/json/28.1E9257030000/templow?templow=-5
> templow            0
>
> BUG!
>
> $wget -qO - --no-proxy
> http://owhttpd.host/json/28.1E9257030000/templow?templow=251
> templow           -5
>
> That is what I really need, but setting in some unexpected way. I have
> checked, it works, alarming if temperature is below -5. (Hopefully, Moscow
> weather permits it :) )
>
> Also, is it hardware possible to be alarm values type of float, not only
> integer?
>
> My OS is:
> uname -a
> linux linaro-nano 3.0.0-1007-linaro-omap #11~ppa~natty-Ubuntu SMP PREEMPT
> Tue Sep 27 20:33:26 UTC 2011 armv7l armv7l armv7l GNU/Linux
>
>
>
>
> Best Regards,
>
> Ivan, PhD
>
>
>
>
> ------------------------------------------------------------------------------
> This SF email is sponsosred by:
> Try Windows Azure free for 90 days Click Here
> http://p.sf.net/sfu/sfd2d-msazure
> _______________________________________________
> Owfs-developers mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/owfs-developers
>
>
------------------------------------------------------------------------------
This SF email is sponsosred by:
Try Windows Azure free for 90 days Click Here 
http://p.sf.net/sfu/sfd2d-msazure
_______________________________________________
Owfs-developers mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/owfs-developers

Reply via email to