There are a dozen ways to display your data. The absolute simplest is to parse
the text data directly in the 1wire directory directly using javascript/jquery
on timeout in the page, and manipulating the dom using class or id identifiers.
I can outline some options and techniques if you are interested in this route.
There are many other considerations that I can get into if you like.
Colin
> On Jan 6, 2014, at 13:31, Paul Alfille <[email protected]> wrote:
>
> The DS2431 doesn't inherently have dates numbers or data. Just 4 pages of
> binary data. http://datasheets.maximintegrated.com/en/ds/DS2431.pdf
> One way to get the special values you want is to modify ow_2431.c in owlib
> and add the "properties" you actually want. I can help you if you have an
> example field.
> Basically you'll add properties that "link" to the memory page but are
> computed from part of that page..
>
> owhttpd is fairly agnostic about the data presented. It doesn't filter based
> on slave or anything except the "property" type -- binary, integer, date,
> floating, boolian, etc. That's why adding a property is an easier way.
>
> Of course, the data your want is retrievable from a static path or URL. I.e:
> wget 2D.1234123412/pages/page.1
> and pipe it to some perl script or the like.
>
>
>> On Mon, Jan 6, 2014 at 3:39 PM, Top-Dog <[email protected]> wrote:
>> Ok, I had a go at modifying the code, but I couldn't get the functionality I
>> wanted from it and was wondering if anyone here might have some ideas. I
>> wanted to try and get two things running, first an addition that would show
>> the the values of the EEPROM (DS2431) in a more user friendly way i.e.
>> converting the EEPROM hex chars to decimal numbers that represent
>> dates/times/data... and secondly I was trying to add a indicator to the http
>> page that would take a variable/signal from my main program and depending on
>> its state change the indicator on the web server's page.
>>
>> If anyone knows which source files would be appropriate to edit to attain
>> this functionality that would be appreciated. Thanks
>>
>>
>>
>> --
>> View this message in context:
>> http://owfs-developers.1086194.n5.nabble.com/Modifying-owhttpd-tp10099p10167.html
>> Sent from the OWFS Developers mailing list archive at Nabble.com.
>>
>> ------------------------------------------------------------------------------
>> Rapidly troubleshoot problems before they affect your business. Most IT
>> organizations don't have a clear picture of how application performance
>> affects their revenue. With AppDynamics, you get 100% visibility into your
>> Java,.NET, & PHP application. Start your 15-day FREE TRIAL of AppDynamics
>> Pro!
>> http://pubads.g.doubleclick.net/gampad/clk?id=84349831&iu=/4140/ostg.clktrk
>> _______________________________________________
>> Owfs-developers mailing list
>> [email protected]
>> https://lists.sourceforge.net/lists/listinfo/owfs-developers
>
> ------------------------------------------------------------------------------
> Rapidly troubleshoot problems before they affect your business. Most IT
> organizations don't have a clear picture of how application performance
> affects their revenue. With AppDynamics, you get 100% visibility into your
> Java,.NET, & PHP application. Start your 15-day FREE TRIAL of AppDynamics Pro!
> http://pubads.g.doubleclick.net/gampad/clk?id=84349831&iu=/4140/ostg.clktrk
> _______________________________________________
> Owfs-developers mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/owfs-developers
------------------------------------------------------------------------------
Rapidly troubleshoot problems before they affect your business. Most IT
organizations don't have a clear picture of how application performance
affects their revenue. With AppDynamics, you get 100% visibility into your
Java,.NET, & PHP application. Start your 15-day FREE TRIAL of AppDynamics Pro!
http://pubads.g.doubleclick.net/gampad/clk?id=84349831&iu=/4140/ostg.clktrk
_______________________________________________
Owfs-developers mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/owfs-developers