This is the first time I've heard of openremote -- looks interesting. Their
writeup at
http://www.openremote.org/display/docs/OpenRemote+2.0+How+To+-+1-Wire+Sensorsis
excellent.
The best solution would be for them to add an "options" field or a checkbox
for temperature choices. (Or for openremote to do conversion if they have
an understanding of measurement units).
The second solution would be for a shim layer that adds temperature or
other options and pass the command on to opwserver.
Another choice would be a "force_F" etc to owserver. (It would tend to
confuse other clients, however).
Lastly, you could be more "Continental."
Paul
On Tue, Apr 17, 2012 at 1:00 PM, Peter Cannell <peter.cann...@gmail.com>wrote:
> Markus,
>
> Good point. In my case the "client" would be openremote, as it supports
> 1-wire communications directly to the owserver to retrieve values. There
> isn't any way to specify options that i can figure out in their designer
> when building the command or sensor.
>
> I suppose the way to accomplish this would be to use the HTTP command and
> parse the webpage response from owhttpd (which is in F) and pull out the
> temp that way. That might be beyond my regular expression ability since
> every attempts keeps matching some other page element.
>
> Thanks,
> pete
>
>
>> Date: Tue, 17 Apr 2012 14:54:19 +0200 (CEST)
>> From: Markus Gaugusch <mar...@gaugusch.at>
>> Subject: Re: [Owfs-developers] owserver only reports in C
>> To: "OWFS (One-wire file system) discussion and help"
>> <owfs-developers@lists.sourceforge.net>
>> Message-ID: <alpine.lnx.2.00.1204171452500.10...@zephyrus.gaugusch.at>
>> Content-Type: text/plain; charset="iso-8859-1"
>>
>>
>> I'm only guessing, but owserver alone isn't doing much. You need owfs,
>> owhttp or another client to owserver in order to retrieve the 1wire data.
>> This "client" must be started with -F option in order to display Farenheit
>> values.
>>
>> best regards,
>> Markus
>>
>> On Apr 17, Peter Cannell <peter.cann...@gmail.com> wrote:
>>
>> > Hi. ?I'm new to the 1-wire world and have a really simple question, i've
>> > looked everywhere and must be missing something. ?When I start owserver
>> with
>>
>> > this command:
>> > /opt/owfs/bin/owserver -F -u -p 3000
>> >
>> > It runs fine but I get deg C only.
>> >
>> > When I use owhttpd, starting with the same -F flag, it reports in deg F.
>> >
>> > Am I missing something simple here?
>> >
>> > Thanks,
>> > pete
>> >
>> >
>>
>> --
>> __________________ /"\
>> Markus Gaugusch \ / ASCII Ribbon Campaign
>> markus(at)gaugusch.at X Against HTML Mail
>> / \
>>
>> ------------------------------
>>
>> Message: 6
>> Date: Tue, 17 Apr 2012 09:24:36 -0700
>> From: Jerry Scharf <sch...@lagunawayconsulting.com>
>> Subject: Re: [Owfs-developers] i2c DS2482 and VGA
>> To: owfs-developers@lists.sourceforge.net
>> Message-ID: <4f8d9944.1070...@lagunawayconsulting.com>
>> Content-Type: text/plain; charset=UTF-8; format=flowed
>>
>> Patryk,
>>
>> very cool. I need to ponder how to solve the need for greater +5 power
>> in a reasonable mechanical configuration. The rest could fit nicely
>> inside the connector shell of the VGA connector.
>>
>> One question. Does the 2482-800 look like 8 different buses or one bus
>> plus a switch? If I send a simultaneous conversion command, is there one
>> register and it go out on all 8 strings or can I send simultaneous
>> conversion commands to each string separately?
>>
>> thanks,
>> jerry
>>
>> On 04/17/2012 02:00 AM, Patryk wrote:
>> > Dnia 08.04.2012 o 16:56 Patryk<p4tr...@o2.pl> Patryk<p4tr...@o2.pl>
>> > napisa?(a):
>> >
>> > There was a bug when using --i2c=ALL:ALL which Paul corrected. Now it
>> > works and enumerates all /dev/i2c in search for suitable 1-wire master.
>> > However the problem in my case was that I mistakenly used 60 Ohm
>> resistors
>> > too pull up SDA and SCL lines. They are very small and I read the color
>> > code wrong.
>> > The resistors should be around 4.7K to 10K.
>> > On this page there is a good tutorial how to connect i2c to VGA.
>> > http://flipthatbit.net/2011/04/interfacing-i2c-the-easy-way/
>> >
>> > This is the vga connector plug. So if connect wires directly do a VGA
>> > socket on a computer it's "reversed"(look at the schematic at the end
>> it's
>> > for the socket in the PC)
>> > http://flipthatbit.net/wp-content/uploads/2011/04/vga2i2c.jpg
>> >
>> > I just used copper wires from a telephone cable sticked directly to the
>> > socket. First I attached +5V and GND and double checked the polarity
>> with
>> > multimeter. The I secured it with sticky tape and connected SDA and SCL
>> > the same way.
>> > You can also cut an old monitor cable because those pins are connected.
>> > You must have in mind that the power supply of those +5V is limited It
>> > probably won't be enough to power more that the DS2482 and 1 DS18B20. So
>> > if you want to use it for bigger networks You have to get power from
>> > elsewhere(maybe from molex plugs directly from power supply unit).
>> >
>> > If we have all wires connected as in the vga2i2c.jpg we can connect
>> > DS2482-800. You can also use others i2c 1-wire masters.
>> > http://para.maxim-ic.com/en/search.mvp?fam=1wire&tree=master
>> > They all are in SMD packages You can buy TSOP to DIL converters and
>> solder
>> > DS2482 to it and then you can use it on a solderless breadboard like I
>> did.
>> >
>> > If everything is connected. You have to load the i2c-dev module
>> >
>> > modprobe i2c-dev
>> >
>> > If you run dmesg there should be a line like this "i2c /dev entries
>> driver"
>> > and /dev/i2c-... devices should appear. In my case there are a dozen of
>> > them.
>> > We have to choose the right one or we can pass the parameter
>> --i2c=ALL:ALL
>> > but the current(p14) version has some problems with it.
>> > The i2cdetect is in i2c-tools on Ubuntu.
>> > i2cdetect -l
>> > This should output smth like this
>> >
>> > i2c-0 unknown i915 gmbus disabled N/A
>> > i2c-1 unknown i915 gmbus ssc N/A
>> > i2c-2 unknown i915 GPIOB N/A
>> > i2c-3 unknown i915 gmbus vga N/A
>> > i2c-4 unknown i915 GPIOA N/A
>> > i2c-5 unknown i915 gmbus panel N/A
>> > i2c-6 unknown i915 GPIOC N/A
>> > i2c-7 unknown i915 gmbus dpc N/A
>> > i2c-8 unknown i915 GPIOD N/A
>> > i2c-9 unknown i915 gmbus dpb N/A
>> > i2c-10 unknown i915 GPIOE
>> N/A
>> > i2c-11 unknown i915 gmbus reserved
>> N/A
>> > i2c-12 unknown i915 gmbus dpd
>> N/A
>> > i2c-13 unknown i915 GPIOF
>> N/A
>> > i2c-14 unknown DPDDC-B
>> N/A
>> > i2c-15 unknown DPDDC-C
>> N/A
>> > i2c-16 unknown DPDDC-D
>> N/A
>> >
>> >
>> > We are interested with i2c-X where is vga. In my case it's i2c-3.
>> >
>> > Then we simply run owfs
>> > /opt/owfs/bin/owfs --i2c=/dev/i2c-3 /mnt/owfs
>> >
>> >
>> > This is the schematic
>> > http://www.fotosik.pl/pokaz_obrazek/pelny/ce8286961892e6fc.html
>> >
>> > I have tested it on two laptops. One with Intel card and an old one with
>> > Radeon X600.
>> >
>> >
>>
>>
>>
>>
>> ------------------------------
>>
>>
>> ------------------------------------------------------------------------------
>> Better than sec? Nothing is better than sec when it comes to
>> monitoring Big Data applications. Try Boundary one-second
>> resolution app monitoring today. Free.
>> http://p.sf.net/sfu/Boundary-dev2dev
>>
>> ------------------------------
>>
>> _______________________________________________
>> Owfs-developers mailing list
>> Owfs-developers@lists.sourceforge.net
>> https://lists.sourceforge.net/lists/listinfo/owfs-developers
>>
>>
>> End of Owfs-developers Digest, Vol 71, Issue 9
>> **********************************************
>>
>
>
>
> ------------------------------------------------------------------------------
> Better than sec? Nothing is better than sec when it comes to
> monitoring Big Data applications. Try Boundary one-second
> resolution app monitoring today. Free.
> http://p.sf.net/sfu/Boundary-dev2dev
> _______________________________________________
> Owfs-developers mailing list
> Owfs-developers@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/owfs-developers
>
>
------------------------------------------------------------------------------
Better than sec? Nothing is better than sec when it comes to
monitoring Big Data applications. Try Boundary one-second
resolution app monitoring today. Free.
http://p.sf.net/sfu/Boundary-dev2dev
_______________________________________________
Owfs-developers mailing list
Owfs-developers@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/owfs-developers