Lyle Giese | 28 May 21:23 2015
Picon

Installing OWFS 3.1p0 on SLES 11 SP3

I am installing OWFS on a SLES 11 sp3 64 bit server.  I was getting the 
same errors as recently reported under the topic 'Installing newest owfs 
on Raspberry'.

I also have installed libusb-1.0.19 from source on this server.

Roland Franke on May 23rd posted some patches to the source code. I 
tried them and got much further in compiling the source, but it bombs 
out with:

make[4]: Entering directory `/home/addons/owfs-3.1p0/module/owhttpd/src/c'
/bin/sh ../../../../libtool  --tag=CC   --mode=link gcc -I../include 
-I../../../owlib/src/include -L../../../owlib/src/c -fexceptions -Wall 
-W -Wundef -Wshadow -Wpointer-arith -Wcast-qual -Wcast-align 
-Wstrict-prototypes -Wredundant-decls -D_FILE_OFFSET_BITS=64 
-D_XOPEN_SOURCE=600 -D_BSD_SOURCE=1 -D_ISOC99_SOURCE=1 
-D_POSIX_C_SOURCE=200112L -pthread -I/usr/include/libusb-1.0   -g -O2 
-m64 -D_XOPEN_SOURCE=600 -D_BSD_SOURCE=1 -D_ISOC99_SOURCE=1 
-D_POSIX_C_SOURCE=200112L   -o owhttpd owhttpd.o owhttpd_handler.o 
owhttpd_present.o owhttpd_write.o owhttpd_read.o owhttpd_dir.o 
owhttpd_escape.o owhttpd_favicon.o -low -lusb-1.0      -lrt -lm -ldl
libtool: link: gcc -I../include -I../../../owlib/src/include 
-fexceptions -Wall -W -Wundef -Wshadow -Wpointer-arith -Wcast-qual 
-Wcast-align -Wstrict-prototypes -Wredundant-decls 
-D_FILE_OFFSET_BITS=64 -D_XOPEN_SOURCE=600 -D_BSD_SOURCE=1 
-D_ISOC99_SOURCE=1 -D_POSIX_C_SOURCE=200112L -pthread 
-I/usr/include/libusb-1.0 -g -O2 -m64 -D_XOPEN_SOURCE=600 
-D_BSD_SOURCE=1 -D_ISOC99_SOURCE=1 -D_POSIX_C_SOURCE=200112L -o 
.libs/owhttpd owhttpd.o owhttpd_handler.o owhttpd_present.o 
owhttpd_write.o owhttpd_read.o owhttpd_dir.o owhttpd_escape.o 
(Continue reading)

Roland Franke | 26 May 20:16 2015
Picon

Activation for Simultaneous read of temperature at each reding

Hello,
in combination of the owfs/owserver and collectd is by the collectd
daemon an fast reading from values directly over the owcapi installed
in the onewire plugin of collectd.
The question is now, if there is any way to activate the simultaneous
value for temperature/soltage by each reading-cycle?
 
Best regards,
Roland
------------------------------------------------------------------------------
One dashboard for servers and applications across Physical-Virtual-Cloud 
Widest out-of-the-box monitoring support with 50+ applications
Performance metrics, stats and reports that give you Actionable Insights
Deep dive visibility with transaction tracing using APM Insight.
http://ad.doubleclick.net/ddm/clk/290420510;117567292;y
_______________________________________________
Owfs-developers mailing list
Owfs-developers <at> lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/owfs-developers
Alex Shepherd | 26 May 07:17 2015
Picon

Arduino based 1-wire slave to interface a PID Temperature Controller

Hi Guys,

The recent posts about Arduino based 1-wire slaves caught my attention as I’m needing to improve the
control of my wood-fired boiler system that heats my house, by adding a PID Temperature Controller.
I’ve brought a "Autonics PID Temperature Controller TZN4M-B4C” which has a RS485 MODBUS Comms interface.

Essentially I’m wondering how I can _best_ integrate this custom 1-wire slave device into the OWFS
world, without too much effort.

At a minimum I would want to bring in the Process Variable (PV), the Set Variable (SV) and hopefully some of
the other PID Controller data values, but the PV and SV will do for a start.

So I’m looking for suggestions as to which standard Dallas 1-Wire device might be the best to try and
emulate, to make it easy to interface to OWFS.

Regards

Alex Shepherd

------------------------------------------------------------------------------
One dashboard for servers and applications across Physical-Virtual-Cloud 
Widest out-of-the-box monitoring support with 50+ applications
Performance metrics, stats and reports that give you Actionable Insights
Deep dive visibility with transaction tracing using APM Insight.
http://ad.doubleclick.net/ddm/clk/290420510;117567292;y
_______________________________________________
Owfs-developers mailing list
Owfs-developers <at> lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/owfs-developers
rnilsson | 23 May 16:57 2015
Picon

Bug in EDS0065 support

The code for the EDS0065 has the wrong data type for the humidity_hi and
humidity_low thresholds (i8 instead of float8) .  I copied the types used
for the EDS0068 and everything works perfectly.  Before the change the
values weren’t writable - they would revert to zero.  Setting the value
directly from the page.2 string would result in an exponential value in the
display fields.

Here’s my change to the ow_eds.c module in owfs-3.1p0:

383,384c383,384
< 	{"EDS0065/threshold/humidity_hi" , PROPERTY_LENGTH_FLOAT, NON_AGGREGATE,
ft_float, fc_stable, FS_r_i8, FS_w_i8, VISIBLE_EDS0065, {.u=
_EDS0064_Hum_hi,}, },
< 	{"EDS0065/threshold/humidity_low", PROPERTY_LENGTH_FLOAT, NON_AGGREGATE,
ft_float, fc_stable, FS_r_i8, FS_w_i8, VISIBLE_EDS0065, {.u=
_EDS0064_Hum_lo,}, },
---
> 	{"EDS0065/threshold/humidity_hi" , PROPERTY_LENGTH_FLOAT, NON_AGGREGATE,
> ft_float, fc_stable, FS_r_float8, FS_w_float8, VISIBLE_EDS0065, {.u=
> _EDS0064_Hum_hi,}, },
> 	{"EDS0065/threshold/humidity_low", PROPERTY_LENGTH_FLOAT, NON_AGGREGATE,
> ft_float, fc_stable, FS_r_float8, FS_w_float8, VISIBLE_EDS0065, {.u=
> _EDS0064_Hum_lo,}, },

--
View this message in context: http://owfs-developers.1086194.n5.nabble.com/Bug-in-EDS0065-support-tp11381.html
Sent from the OWFS Developers mailing list archive at Nabble.com.

------------------------------------------------------------------------------
One dashboard for servers and applications across Physical-Virtual-Cloud 
Widest out-of-the-box monitoring support with 50+ applications
Performance metrics, stats and reports that give you Actionable Insights
Deep dive visibility with transaction tracing using APM Insight.
http://ad.doubleclick.net/ddm/clk/290420510;117567292;y
_______________________________________________
Owfs-developers mailing list
Owfs-developers <at> lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/owfs-developers
Matthias Urlichs | 23 May 15:29 2015
Picon

MoaT, again

Hello everybody,

my MoaT code (ATmega slaves connected to 1wire) can now do proper reboot
reporting, watchdog, A/D conversion, listing in /alarm, PWM and one-shot,
triggers and counters and I/O ports and whatnot.

The OWFS part is available at git <at> github.com:M-o-a-T/owfs.git in the "moat"
branch. I'd really appreciate if somebody would review my code, or
(preferably ;-) merge it into OWFS proper, so that it'll be available in the
next release.

More features are planned, but the current version is quite useable.

Thank you.

------------------------------------------------------------------------------
One dashboard for servers and applications across Physical-Virtual-Cloud 
Widest out-of-the-box monitoring support with 50+ applications
Performance metrics, stats and reports that give you Actionable Insights
Deep dive visibility with transaction tracing using APM Insight.
http://ad.doubleclick.net/ddm/clk/290420510;117567292;y
Eric Baumann | 22 May 12:47 2015
Picon

Installing newest owfs on Raspberry

Hallo Chris

I ran into similar problems as you (loading files failure during make/compilation).

I don't know if this is the issue here as well but: 
For me the problem was the Perl was not running properly on
the raspberry pi. That caused all the compilation errors. 

Kind regards,

Eric
------------------------------------------------------------------------------
One dashboard for servers and applications across Physical-Virtual-Cloud 
Widest out-of-the-box monitoring support with 50+ applications
Performance metrics, stats and reports that give you Actionable Insights
Deep dive visibility with transaction tracing using APM Insight.
http://ad.doubleclick.net/ddm/clk/290420510;117567292;y
_______________________________________________
Owfs-developers mailing list
Owfs-developers <at> lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/owfs-developers
cvb | 22 May 10:58 2015

Installing newest owfs on Raspberry

Hi,

trying to compile owfs 3.1p0 for the raspberry, I'm getting this error:

In file included from ow_dnssd.c:17:0:
../../../owlib/src/include/ow.h:302:20: fatal error: libusb.h: No such 
file or directory
compilation terminated.

Googling, I have found that previously there was a similar thread here: 
http://comments.gmane.org/gmane.comp.file-systems.owfs.devel/12056

I applied the patch suggested in that thread:

diff -urN owfs-3.1p0.orig/module/owshell/src/c/Makefile.am 
owfs-3.1p0/module/owshell/src/c/Makefile.am
--- owfs-3.1p0.orig/module/owshell/src/c/Makefile.am    2015-01-11 
02:31:32.000000000 +0100
+++ owfs-3.1p0/module/owshell/src/c/Makefile.am    2015-03-16 
21:20:41.177284197 +0100
<at> <at> -41,7 +41,9 <at> <at>
      -Wcast-align \
      -Wstrict-prototypes \
      -Wredundant-decls \
-    ${EXTRACFLAGS}
+    ${EXTRACFLAGS} \
+    ${LIBUSB_CFLAGS} \
+    ${PTHREAD_CFLAGS}

-LDADD = ${LD_EXTRALIBS} ${OSLIBS}
+LDADD = ${LIBUSB_LIBS} ${PTHREAD_LIBS} ${LD_EXTRALIBS} ${OSLIBS}

diff -urN owfs-3.1p0.orig/module/owshell/src/c/Makefile.in 
owfs-3.1p0/module/owshell/src/c/Makefile.in
--- owfs-3.1p0.orig/module/owshell/src/c/Makefile.in    2015-03-15 
02:38:32.000000000 +0100
+++ owfs-3.1p0/module/owshell/src/c/Makefile.in    2015-03-16 
21:19:50.726241228 +0100
<at> <at> -498,9 +498,11 <at> <at>
      -Wcast-align \
      -Wstrict-prototypes \
      -Wredundant-decls \
-    ${EXTRACFLAGS}
+    ${EXTRACFLAGS} \
+    ${LIBUSB_CFLAGS} \
+    ${PTHREAD_CFLAGS}

-LDADD = ${LD_EXTRALIBS} ${OSLIBS}
+LDADD = ${LIBUSB_LIBS} ${PTHREAD_LIBS} ${LD_EXTRALIBS} ${OSLIBS}
all: all-am

.SUFFIXES:

Then I ran configure again, and then make. But I'm still getting the 
error...?

Please help!

Thanks, Chris

------------------------------------------------------------------------------
One dashboard for servers and applications across Physical-Virtual-Cloud 
Widest out-of-the-box monitoring support with 50+ applications
Performance metrics, stats and reports that give you Actionable Insights
Deep dive visibility with transaction tracing using APM Insight.
http://ad.doubleclick.net/ddm/clk/290420510;117567292;y
DavidJ61 | 20 May 00:49 2015
Picon

Re: owpython

Further to my above message, I am having a bit of a problem accessing the
pressure attribute for the EDS environment sensor EDS0066.  I have trawled
google and am not able to find any documentation on how I can do this. In
fact, as a whole, I have found this to be the case with owpython and it
seems I am missing my crystal ball.
I'd appreciate a bit of help and guidance.  

--
View this message in context: http://owfs-developers.1086194.n5.nabble.com/owpython-tp5410p11354.html
Sent from the OWFS Developers mailing list archive at Nabble.com.

------------------------------------------------------------------------------
One dashboard for servers and applications across Physical-Virtual-Cloud 
Widest out-of-the-box monitoring support with 50+ applications
Performance metrics, stats and reports that give you Actionable Insights
Deep dive visibility with transaction tracing using APM Insight.
http://ad.doubleclick.net/ddm/clk/290420510;117567292;y
Matthias Urlichs | 16 May 20:08 2015
Picon

Introducing the MoaT

The MoaT (Master of all Things) is not -- it's a slave :-P

Specifically, it's configurable slave code for ATmega88 (or larger; -48
works with limited features). it supports conditional search, thus you can
have a 100-device bus that you can actually poll often enough -- using 1wire
as a cheap replacement for KNX or similar buses is definitely possible (and
painless, assuming your bus hardware works).

Features that work:
* every device gets a unique name
* every 1wire bus transaction is secured by CRC16, both ways
* select slaves via CONDITIONAL SEARCH whenever something interesting happens
* you get to decide what "interesting" means
* any ports can be input (high-impedance or pull-up) or output (low or high)
* any port can have a counter
* any port can be pulse-width-modulated (low frequency, 1/10th Hz)
* … including a one-shot mode – for buzzing a door open, or watering the
lawn, or …
* A/D converter, with alarm when the value goes out of bounds
* you get a debug console
* alarm handling -- reporting which sub-feature triggered it,
  selectively enabling alarms per feature. the works
* everything can be de-configured, so that smaller AVRs have a chance
* "owdir" only liste features which actually exist
* works with 8 MHz internal clock, or any faster external source

The TODO list:
* store config in EPROM; change config via wire
* hardware assisted "fast" PWM
* named outputs (and inputs and whatever)
* talking to intelligent smoke detectors (Gira Dual)
* I²C interface
* serial interface, for adding $WHATEVER to 1wire
* statistics (e.g. CRC errors or overruns)
* PID controller, for rudimentary local intelligence if the master should die
* failsafe
* figure out how to do over-the-wire firmware upgrades
* support more AVR ICs, specifically the Xmega

Slave code: https://github.com/M-o-a-T/owslave.git
OWFS branch: https://github.com/M-o-a-T/owfs.git #moat

I even managed to write a manpage. ;-)

I plan to do my complete home automation with this stuff, so I'll definitely
stick around and add more features.
Feel free to do the same (but do share!).

NB: https://github.com/M-o-a-T/ also has a couple of EAGLE designs for
accompanying hardware – some soldering skills required – these are still
work in progress.

NB2: right now, to use this you'll need AVR-GCC and a programmer like avrdude.
Feel free to teach my code to support Arduino-style boot loaders.

-- Matthias
------------------------------------------------------------------------------
One dashboard for servers and applications across Physical-Virtual-Cloud 
Widest out-of-the-box monitoring support with 50+ applications
Performance metrics, stats and reports that give you Actionable Insights
Deep dive visibility with transaction tracing using APM Insight.
http://ad.doubleclick.net/ddm/clk/290420510;117567292;y
_______________________________________________
Owfs-developers mailing list
Owfs-developers <at> lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/owfs-developers
Gary Fariss | 9 May 01:24 2015

Discrepancy between owhttpd vs owserver/owhttpd first pages

Hello...

I have OWFS 3.1 installed on a Raspberry Pi 2 with Raspian Wheezy. I have a single DS2482-800 connected to
--i2c=/dev/i2c-1:0 and several temp and PIO chips connected on 7 of the 8 1wire channels.

When I am running owhttpd alone and access it with my browser, the first page I see includes a line for each of
the 1wire channels (bus.0, bus.1,...bus.7) as expected.

However, when I am running owhttpd connected through the owserver, the first page I see only includes one
"bus" line; bus.0.  When I click on that line, I get a page that looks like the first page I got from owhttpd
standing alone (e.g. all channels bus.0,...bus.7 shown on multiple lines.)

It does not seem right that the first page should be different depending on whether the server is (or is not)
being used.... 

What do you say, OWFS gurus, is this a bug?

73,
  Gary Fariss

---
This email has been checked for viruses by Avast antivirus software.
http://www.avast.com

------------------------------------------------------------------------------
One dashboard for servers and applications across Physical-Virtual-Cloud 
Widest out-of-the-box monitoring support with 50+ applications
Performance metrics, stats and reports that give you Actionable Insights
Deep dive visibility with transaction tracing using APM Insight.
http://ad.doubleclick.net/ddm/clk/290420510;117567292;y
Henry Pootel | 7 May 20:00 2015
Picon

Is the owserver working?

Hello, dear friends.

I've installed newest raspberian  to my Raspberry PI (rev.B) and connected two family 20
(ADC) and six family 28 (temperature sensors) devices by 1-wire (pin 4 GPIO) bus.
Then I've compiled last version of owfs (ver. 3.1p0) and got my old working owfs.conf for
owserver (I've yet one the same Raspberry PI with Pidora).

The owserver of my raspberian Raspberry is blind, it not see any sensors. I've got a list of
devices by "ls" command of /sys/bus/w1/devices/ dir. All of my devices are listed.

And now I ask two questions:

1. Is the oswerver work with Raspberian and Raspberry PI (rev.B) ?

2. Do you know a man, who saw a good working owserver? If so, I'll be searching my errors.

Thank you.
Henry

------------------------------------------------------------------------------
One dashboard for servers and applications across Physical-Virtual-Cloud 
Widest out-of-the-box monitoring support with 50+ applications
Performance metrics, stats and reports that give you Actionable Insights
Deep dive visibility with transaction tracing using APM Insight.
http://ad.doubleclick.net/ddm/clk/290420510;117567292;y

Gmane