Changes to dump

38 views
Skip to first unread message

Ken Woods

unread,
Nov 6, 2015, 12:01:01 PM11/6/15
to Wireless Sensor Tags

So, field 8 used to be temperature.  Now it's field 7.

Unannounced shit like this impacts people, as evident here:

https://www.dropbox.com/s/tt8hd498q207ml2/Screenshot%202015-11-06%2007.52.48.png?dl=0



$ lynx --dump http://www.mytaglist.com/ethLogShared.asmx/GetLatestTemperatureRawDataByUUID\?uuid=0f1bd206-2022-4387-842a-70f259814e6e\&useDegF=1\&name=Boiler_Output | cut -f8 -d" "> ./b.txt; C=$(<./b.txt); echo "9*$C/5+32" | bc -l

-146.20000000000000000000

$


Which is wrong, obviously, because field 8 is now listed as "-99"



The correct version uses field 7, which is now temp.

$

$ lynx --dump http://www.mytaglist.com/ethLogShared.asmx/GetLatestTemperatureRawDataByUUID\?uuid=0f1bd206-2022-4387-842a-70f259814e6e\&useDegF=1\&name=Boiler_Output | cut -f7 -d" "> ./b.txt; C=$(<./b.txt); echo "9*$C/5+32" | bc -l

111.29839398457355120000

$



Sure, it's a simple code change on my end, but why should my end change when I'm asking for a simple dump?

Ken Woods

unread,
Nov 12, 2015, 7:40:23 PM11/12/15
to Wireless Sensor Tags
bump to top, no answer.
Reply all
Reply to author
Forward
0 new messages