Re: [Owfs-developers] Read time slots and instantiation

2014-10-06 Thread Michael Markstaller
://lists.sourceforge.net/lists/listinfo/owfs-developers -- Mit freundlichen Grüssen Michael Markstaller Elaborated Networks GmbH www.elabnet.de Lise-Meitner-Str. 1, D-85662 Hohenbrunn fon: +49-8102-8951-60, fax: +49-8102-8951-80 Geschäftsführer: Stefan Werner Amtsgericht München HRB 125120, Ust-ID: DE201281054

Re: [Owfs-developers] tty2usb

2014-10-06 Thread Michael Markstaller
Hi Paul, this is very interesting (one has 3x FTDI with 2-4 ports and 7x PL2303) and so I installed it straight away on several boxes. I suffer from this problem, that the kernel (or BIOS or whoever..) assigns different Bus/Device-IDs (and therefore tty) to the same device depending on: -

Re: [Owfs-developers] Read time slots and instantiation

2014-10-06 Thread Michael Markstaller
Given that, my hint is: just wait the time (depending on the resolution + 10-20%) and *then* read the scratchpad. Never before, as it may contain simply crap.. (it's nearly impossible to code in arduino real power-saving, with the same Atmega, plain gcc 95%(!!) less power-usage is possbile..) An

Re: [Owfs-developers] tty2usb

2014-10-06 Thread Michael Markstaller
My 5ct how I currently do it (for 6+ years, 2x weather-stations, DMX ir, x10, heat-pump, vents, and three different 1w-bm on a single host): PL2303(they have no serial# but are working reliable are cheap) - udev-rules, Port/Bus/Devid: very error prone. Things depend on the reboot-pattern, if

Re: [Owfs-developers] how many 18b20s on a bus

2014-10-03 Thread Michael Markstaller
If you can live with some time to read them, lets say 180-300 secs.: Parasitic 50-100 on a cheap DS9490 are working like a charm without any needs for other big expenses; If the lines are short (read: below ~300ft) more might be possible. The keyword is parasitic! It's much easier, much less

Re: [Owfs-developers] how many 18b20s on a bus

2014-10-03 Thread Michael Markstaller
- Nearly no power required - some years of tests/experience with thousands of sensors - one wire less means 1/3 less could fail, no sep. power-supply means another part that cannot fail. As said, beat me, I know this opinion isn't shared by all.. Michael On 04.10.2014 00:29, Colin Reese wrote:

Re: [Owfs-developers] VoCore remote 1-wire server?

2014-06-01 Thread Michael Markstaller
Well, if you get an OpenWRT-enabled TP-Link with a case and USB-Plug already in place, I think your better off without soldering ;) Attach a $15 USB DS9490, finished without the heavy drawbacks of I2C (DS2482) or even rather unusable bitbang-busmasters.. I did a bunch of packages for recent owfs

Re: [Owfs-developers] VoCore remote 1-wire server?

2014-06-01 Thread Michael Markstaller
On 01.06.2014 18:18, Colin Law wrote: On 1 June 2014 16:47, Michael Markstaller m...@elabnet.de wrote: Well, if you get an OpenWRT-enabled TP-Link with a case and USB-Plug already in place, I think your better off without soldering ;) Attach a $15 USB DS9490, finished without the heavy

Re: [Owfs-developers] Calibration of DS18B20 sensors?

2014-04-07 Thread Michael Markstaller
On 07.04.2014 12:41, paul.alfille wrote: You can heat them one at a time. Yes, thats the easiest way I also used many times: just putting your finger on one gives pretty immidiate results. On a side note about calibration: most times you only calibrate your measurement-errors (environment,

Re: [Owfs-developers] DS2482-800: problem with long wire and DS18B20

2014-04-06 Thread Michael Markstaller
Well, during seven years of usage/testing, I found the DS248x I2C-busmasters to be the weakest available, especially with long wires.. Therefore I can only recommend to not use them outside a breadboard, a DS2490/9490 (and many others) do perform much better; Thats also the reason why I really

Re: [Owfs-developers] ow Python makes sensors disappear

2014-03-28 Thread Michael Markstaller
Which busmaster(s) and owfs-Version are you using? Michael -- ___ Owfs-developers mailing list Owfs-developers@lists.sourceforge.net

Re: [Owfs-developers] New release 2.9p3

2014-03-25 Thread Michael Markstaller
Great, thanks! I'm already rolling it out on test-systems (also with PBM ;)) And - as promised - I'll supply a test/demo-page on using the JSON-interface of owhttpd which works perfectly now. best regards, Michael --

Re: [Owfs-developers] owhttpd / JSONP / Cross-Origin Resource Sharing (CORS)

2014-03-24 Thread Michael Markstaller
On 21.03.2014 19:49, Paul Alfille wrote: Applied. Thanks. Thanks Paul! While doing further tests (and writing a demo-page as promised with jQuery and jQGrid which is pretty cool ;)) I found another problem which creates invalid JSON (jsonlint.com, jQuery also bails out..): owhttpd_read.c:

Re: [Owfs-developers] owhttpd / JSONP / Cross-Origin Resource Sharing (CORS)

2014-03-24 Thread Michael Markstaller
Addition: I cannot imagine anyone is able to use the JSON-API with 9.2p2, we could also break it I think, comments welcome ;) Another workaround I found afterwards without CORS would be to include load a JS with a static callback-function from owhttpd withing the calling site/page; implemented

Re: [Owfs-developers] owhttpd / JSONP / Cross-Origin Resource Sharing (CORS)

2014-03-21 Thread Michael Markstaller
On 21.03.2014 02:05, Paul Alfille wrote: What's the error page that's being discussed? Can you outline a command sequence that triggers it so I can investigate? Thanks, Paul Whenever a non-existing path is selected, it looks like in owhttpd_handler.c ct_json / ct_text is disregarded and

Re: [Owfs-developers] owhttpd / JSONP / Cross-Origin Resource Sharing (CORS)

2014-03-20 Thread Michael Markstaller
- Now first of all, I'd submit a patch to fix /json outputting valid JSON-Data. This would change the current behavior i.e.: single elements: { value : 11.5 } instead of 11.5 I'd opt for [ 11.5 ] (unnamed array) for single values.. The change is really trivial, just add [] -

Re: [Owfs-developers] owhttpd / JSONP / Cross-Origin Resource Sharing (CORS)

2014-03-20 Thread Michael Markstaller
On 20.03.2014 18:11, Roberto Spadim wrote: 2014-03-20 13:45 GMT-03:00 Michael Markstaller m...@elabnet.de mailto:m...@elabnet.de: - Now first of all, I'd submit a patch to fix /json outputting valid JSON-Data. This would change the current behavior i.e.: single elements

Re: [Owfs-developers] owhttpd / JSONP / Cross-Origin Resource Sharing (CORS)

2014-03-19 Thread Michael Markstaller
Thanks Colin, but you missed the topic a little ;) There simply is no Apache ;) I already do it a similar way and record stuff in RRDs and want to speed it up without changing the Webserver.. Michael On 19.03.2014 00:45, Colin Reese wrote: Databases are NOT useless! Besides all the data

Re: [Owfs-developers] owhttpd / JSONP / Cross-Origin Resource Sharing (CORS)

2014-03-19 Thread Michael Markstaller
On 19.03.2014 00:44, Roberto Spadim wrote: something like this? |//JSON - instead of: {name:stackoverflow,id:5} //JSONP - return : func({name:stackoverflow,id:5});| Yes, exactly. I think a static callback-function like owhttp_callback({data ..}); would do the job.. While playing around

Re: [Owfs-developers] owhttpd / JSONP / Cross-Origin Resource Sharing (CORS)

2014-03-19 Thread Michael Markstaller
Ok, I'm struggling mainly with the JSONP/Client-side, owhttpd is easy to understand all fine.. (although adding commandline-parameters - see below might require some help) - Now first of all, I'd submit a patch to fix /json outputting valid JSON-Data. This would change the current behavior

[Owfs-developers] owhttpd / JSONP / Cross-Origin Resource Sharing (CORS)

2014-03-18 Thread Michael Markstaller
Hi, did anybody already do something asking owhttp (JSON) from within another Site (same host, another port - which Same-Origin-Policy disallows)? The Basics are clear, CORS or JSONP, just don't want to re-invent the wheel ;) Michael P.S.: I'm just changing some old stuff and want to avoid

Re: [Owfs-developers] ow* Output - leading spaces trimmed?

2014-03-18 Thread Michael Markstaller
Vajk is right, it's surely easy to change/adopt in any client as we do it now by ltrimming the values.. I personally just never liked the default space-padding but it will probably break some things; A commandline option helps out personally but won't change anything here as my clients still have

Re: [Owfs-developers] ow* Output - leading spaces trimmed?

2014-03-18 Thread Michael Markstaller
On 18.03.2014 17:34, Paul Alfille wrote: What do you mean by my clients still have to expect both, wether the user added --trim or not ? I'm unclear on your setup. Do you mean programs or people? If it's a program, you can add --trim in the initialization string. I mean programs, they run

Re: [Owfs-developers] ow* Output - leading spaces trimmed?

2014-03-18 Thread Michael Markstaller
Sorry, I think now I got your point: you mean adding --trim to owget/owhttpd not owserver(?) That makes sense! Michael On 18.03.2014 12:43, paul.alfille wrote: Actually --trim can act like -F (temperature scale) -- only on the component you want. It would passed as an argument to owserver and

Re: [Owfs-developers] owhttpd / JSONP / Cross-Origin Resource Sharing (CORS)

2014-03-18 Thread Michael Markstaller
Thats exactly the overhead I want to avoid like owserver-owget/ownet-sql-CGI-Client Doing this with - let's say 50 sensors - every 10sec produces a bunch of useless load where the client only needs it once a week for 2h.. Michael On 18.03.2014 18:20, Colin Reese wrote: I puts it in a sqlite

Re: [Owfs-developers] owhttpd / JSONP / Cross-Origin Resource Sharing (CORS)

2014-03-18 Thread Michael Markstaller
easier to adjust with a database instead of text files. https://github.com/iinnovations/iicontrollibs/ weblibs will be published shortly at https://github.com/iinnovations/cupidweblib Colin On Tue, Mar 18, 2014 at 10:39 AM, Michael Markstaller m...@elabnet.de mailto:m...@elabnet.de

Re: [Owfs-developers] 1-wire stability problems rasberry pi - usb and parasite

2014-03-18 Thread Michael Markstaller
Is there any known number of DS18.20 (or length of cat5e cable) that will work without any problems in a tree like network? As a rule of thumb, I once worked out/said: 100 meters (total line length) and 20 sensors as fully save. Using a DS9490 (DS2490 chip). More is surely possible, using

Re: [Owfs-developers] owhttpd / JSONP / Cross-Origin Resource Sharing (CORS)

2014-03-18 Thread Michael Markstaller
After some hours of investigation, I think implementing JSONP (again, note the P!) in owhttpd looks like the best solution(?) This would IMHO also be useful for some other solutions maybe to avoid useless workarounds like writing DB's and then query the same.. I'm willing to try do it (though

[Owfs-developers] ow* Output - leading spaces trimmed?

2014-03-17 Thread Michael Markstaller
Hi, one question/suggestion: I have in several clients/languages for each and every query a left-trim-function to remove the leading spaces in the output of values of owget,owhttp(text/json),.. What are these leading spaces good for? In the libow they might make sense (which=?) but in

Re: [Owfs-developers] ow* Output - leading spaces trimmed?

2014-03-17 Thread Michael Markstaller
/owhttpd_read.c) Currently owhttpd only formats differently for binary and bitfields, but that could be changed. Paul On Mon, Mar 17, 2014 at 9:36 AM, Michael Markstaller m...@elabnet.de mailto:m...@elabnet.de wrote: Hi, one question/suggestion: I have in several clients

Re: [Owfs-developers] ow* Output - leading spaces trimmed?

2014-03-17 Thread Michael Markstaller
Jerry, as I already wrote: I'm not sure if it might break something - but looking at my own code in Perl, python, bash, JS, C its always about removing the leading whitespaces. It won't fail if they aren't there.. Stripping the whitespaces in owhttp is - for me - rather a dirty workaround, but I

Re: [Owfs-developers] ow* Output - leading spaces trimmed?

2014-03-17 Thread Michael Markstaller
On 17.03.2014 20:57, Vajk Fekete wrote: In my opinion having to trim the value is a miniscule annoyance compared to have an increasing number of redundant virtual directories. Vajk Ack, a separate Directory is IMHO no option, it's easier to ltrim.. Michael

Re: [Owfs-developers] 1-wire stability problems rasberry pi - usb and parasite power

2014-03-17 Thread Michael Markstaller
Jan, your're using Ethernet-Hubs to distribute 1-Wire?? Check your HW, I guess this is nothing to blame owfs with.. Michael -- Learn Graph Databases - Download FREE O'Reilly Book Graph Databases is the definitive new

Re: [Owfs-developers] AC amps sensor

2014-02-09 Thread Michael Markstaller
I think the question is already answered and when I tell you some more from current-clamps from Europe now, this won't help you anyway ;) So, directly related another question: is anybody aware of AC-measurement with 1-Wire *directly* (isolated for sure) with True-RMS like based on ACS714 or

Re: [Owfs-developers] pseudo-bus serial bridge

2014-02-09 Thread Michael Markstaller
On 09.02.2014 22:13, Colin Reese wrote: Paul, How would you envision implementing a remote owserver over a WiFi module? This is 100% easy and possible since many years, just take any openwrt-router and run owserver on it.. Works pretty fine 24x7. The other way around, low-power I'd more

Re: [Owfs-developers] pseudo-bus serial bridge

2014-02-09 Thread Michael Markstaller
On 09.02.2014 22:48, Colin Reese wrote: I want to run a microcontroller with a remote owserver or 1Wire devices. I don't want/need another linux box. A cheap AVR and WiFi unit like an XBee WiFi would be ideal. Nearly any TP-Link running OpenWRT is cheaper than the single XBee-Module? Not

Re: [Owfs-developers] pseudo-bus serial bridge

2014-02-09 Thread Michael Markstaller
Well, if you want lowest power, small nodes I'd recommend to Google for Contiki/6lowpan first. Integration into owfs should be really easy.. Just need one GW. If you want low cost, existing HW and proved reliability, I guess your better off using a $20 OpenWRT-routers simply running owfs/owserver

Re: [Owfs-developers] New Family-ID E1

2014-01-29 Thread Michael Markstaller
Hi, sorry currently not reading every day.. Progress: yes but the interface (which is mostly lend from DS2438 using pages+CRC) and the variants isn't 100% stable yet. So as long as nothing is out in the wild, I don't want to bother you with interims-versions. @Colin: yes, AVR. Currently

Re: [Owfs-developers] New Family-ID E1

2013-12-23 Thread Michael Markstaller
On 17.12.2013 14:07, Paul Alfille wrote: I don't recall any uses of E1. You can certainly include discussion here, if you want. It is 1-wire related. Thanks Paul! Happy to do that - within meaningful borders related to development, 1-Wire.. I'm still not perfectly happy with my code -

Re: [Owfs-developers] 1wireless

2013-12-23 Thread Michael Markstaller
On 20.12.2013 20:58, Colin Reese wrote: Hello all, I've seen fragments here and there about wireless 1wire networks, but nothing that sticks out as developed and/or inexpensive. Anybody have success with IO over wireless, be it zigbee, sdr, or otherwise, to something like an RPi? Well,

Re: [Owfs-developers] 1wireless

2013-12-23 Thread Michael Markstaller
On 23.12.2013 22:08, Colin Reese wrote: Based on what I've seen so far, it seem as though XBee is a very good option. It's a well-developed standard, and with nice mesh-networking capabilities. Just my 2ct: Zigbee is closed and proprietary (but, well: it works here and now!) Looking a little

[Owfs-developers] New Family-ID E1

2013-12-08 Thread Michael Markstaller
Hi, I'm close to sending a patch for owfs which implements a new (our) set of slaves with family-ID E1 Now I wanted to first ask, if there are any comments/complaints on using this family-ID from the community? Michael P.S.: It's an uC based 1w-slave, more details (maybe better off-list as it's

Re: [Owfs-developers] Best way to pot a temperature sensor

2013-12-08 Thread Michael Markstaller
On 08.12.2013 21:31, Håkan Elmqvist wrote: I have for some years monitored sea water temperature with DS1820s and OWFS. I have some in saltwater for about 4y now without failure. But to be able to give any meaningful answer: it is very important to know the salinity and temperature of the water

Re: [Owfs-developers] Diagnosing disappearing devices adapters

2013-12-06 Thread Michael Markstaller
On 04.12.2013 23:54, Top-Dog wrote: I have noticed that the only way (maybe?) to recover functionality if the file system is lost is to physically unplug/plug the USB adapter. Also, I've done a few more tests and it almost seems random as to where/when the 1-wire devices will detach

Re: [Owfs-developers] Collect Multiple 1-wire host information into one unique owfs/owperl/owhttp instance

2013-05-24 Thread Michael Markstaller
You can run owserver on both devices then access the data from either server by specifying the server address. Or even consolidate all on one owserver if the other owserver is given with -s ip:port (:4304 default) Or use zeroconf/avahi with --autoserver on the master on --zero on the slave

Re: [Owfs-developers] Collect Multiple 1-wire host information into one unique owfs/owperl/owhttp instance

2013-05-24 Thread Michael Markstaller
Michael not sure to understand what you mean with zeronconf/avahi ? What is that ? Well http://lmgtfy.com/?q=zeroconf+owserver ;) Paul wrote also some summary about back in 2006, it works like a charm and is included with every debian etc. Michael

[Owfs-developers] Reading pages uncached fails

2013-05-23 Thread Michael Markstaller
Hi, phew.. By accident I just found a very odd behavior reading pages (i.e. DS2438) uncached: Problem-sequence to reproduce: owget /26.FD9C2E01/pages/page.ALL --hex - 0F50 - OK owget /uncached/26.FD9C2E01/pages/page.ALL --hex - empty response owget /26.FD9C2E01/pages/page.ALL

Re: [Owfs-developers] DS2423 / mincount

2013-03-24 Thread Michael Markstaller
, Michael Markstaller m...@elabnet.de mailto:m...@elabnet.de wrote: I'm just working on using the ow_slave code on an attiny25 as DS2423-replacement and so on changing the Family-ID and wipe out the useless stuff (RAM, reading 16x 32byte counter-pages for keeping 2x 4byte values

[Owfs-developers] DS2423 / mincount

2013-03-17 Thread Michael Markstaller
I'm just working on using the ow_slave code on an attiny25 as DS2423-replacement and so on changing the Family-ID and wipe out the useless stuff (RAM, reading 16x 32byte counter-pages for keeping 2x 4byte values?..) And while being lazy and copying ow_2423.c, I wondered what the property mincount

Re: [Owfs-developers] owfs performance with DS9490

2012-12-28 Thread Michael Markstaller
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Paul, first of all: sorry for the late reply. On 22.12.2012 16:29, Paul Alfille wrote: Very thoughtful note. Let me explore one of your ideas, on polling. On Fri, Dec 21, 2012 at 6:06 PM, Michael Markstaller m...@elabnet.de mailto:m

Re: [Owfs-developers] owfs performance with DS9490

2012-12-28 Thread Michael Markstaller
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 23.12.2012 02:06, Jerry Scharf wrote: Paul, I do not know how others would imagine doing this, but I thought a bit about how that could be useful to me. My imagination is that I I would set up the polling via the comm channel so I can add,

[Owfs-developers] owfs performance with DS9490

2012-12-21 Thread Michael Markstaller
Hi, first, after a while owserver could be called pretty stable now using DS9490 in many (few hundreds) larger installations! And sorry for the long mail ;) Now I want to get to some luxury-problems and improve performance/response-time of my client still; i.e. rewrite it in C with

Re: [Owfs-developers] DS2483 and raspberry

2012-10-22 Thread Michael Markstaller
Michael Markstaller Elaborated Networks GmbH www.elabnet.de Lise-Meitner-Str. 1, D-85662 Hohenbrunn, Germany fon: +49-8102-8951-60, fax: +49-8102-8951-80 Geschäftsführer: Stefan Werner, Michael Markstaller Amtsgericht München HRB 125120, Ust-ID: DE201281054 -BEGIN PGP SIGNATURE- Version: GnuPG

Re: [Owfs-developers] Hobby boards hub

2012-06-25 Thread Michael Markstaller
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 25.06.2012 15:44, p4trykx wrote: W dniu 25.06.2012 o 15:23 Ákos Gábriel akos.gabr...@gmail.com pisze: Is it normal? Could you please tell me what the right jumper setup would be? Stabilizer gets warm it's normal. Normal? Sorry, I'd call

Re: [Owfs-developers] 1-Wire Presence Pulse

2012-06-25 Thread Michael Markstaller
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 20.06.2012 03:37, Paul Alfille wrote: Yes, the presence pulse can disrupt communication. That's one of the reasons there is a built-in retry in owfs for read and write, and very conservative settings for checking checksums and verifying writes.

Re: [Owfs-developers] DS2483 problem

2012-06-19 Thread Michael Markstaller
On 19.06.2012 21:47, Paul Alfille wrote: Is there a way to distinguish the DS2483 and DS2482? Fully untested and theoretical: Maybe by looking on the Port configuration register (page 10 in DS, 0xB4, which the DS2482 doesnt have) ? Michael

Re: [Owfs-developers] Segmentation Fault 2.8p14

2012-06-19 Thread Michael Markstaller
On 18.06.2012 23:43, Mick Sulley wrote: Can anyone help me with this please? Well, some more details.. How was it compiled, from a packaging or..? I have plenty very similar setups using lenny, squeeze, ubuntu without this problem (but 32bit) so I'd expect a compile-time error more likely..

Re: [Owfs-developers] Segmentation Fault 2.8p14

2012-06-19 Thread Michael Markstaller
On 20.06.2012 01:01, Mick Sulley wrote: I installed it with apt-get install owfs There is no owfs in Debian stable.. So you did (it doesnt match, this is never required for any .deb) make make install which is the surest way for users to break their system (sorry..) all as su to root Even

Re: [Owfs-developers] DS2483 problem

2012-06-18 Thread Michael Markstaller
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 18.06.2012 13:07, p4tryk wrote: Hello Finally I soldered my usb-i2c-1wire board but I does not work properly. First I tried the new DS2483. As soon as I list owfs directory the voltage on 1-wire drops to zero and stays this way. I use latest

Re: [Owfs-developers] Segmentation Fault 2.8p14

2012-06-15 Thread Michael Markstaller
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 14.06.2012 11:40, Mick Sulley wrote: Just installing on my new server running Debian with a DS9490R adapter. 6.0 / Squeeze? ... DEBUG: ow_select.c:(66) Selecting a path (and device) path=/uncached/bus.0 SN=00 00 00 00 00 00 00 00 last path=00

Re: [Owfs-developers] OWFS from repository crashing on Ubuntu Precise

2012-06-03 Thread Michael Markstaller
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 03.06.2012 23:14, Paul Alfille wrote: ... I'll look into that within the next days deeper (I must admit: using my own packages based on the ones from Mathias Urlichs since ~2008 and heavily changed since then, never thought about whats upstream in

Re: [Owfs-developers] OWFS make error

2012-05-29 Thread Michael Markstaller
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 29.05.2012 05:01, William Brown wrote: Have this new to me error when making ownet. Can someone help fix it? owfs-2.8p15 Linux Mint 12 on Ubuntu 11.10 Isn't this Debian/Ubuntu? Just use the packages, they compile fine ;) Michael -BEGIN

Re: [Owfs-developers] OWFS Program Differences

2012-05-25 Thread Michael Markstaller
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 25.05.2012 20:04, R_Have wrote: However I would like to know more about the full programs. .. I'm (we) only using owserver (and owhttpd conneting to it), guess the name owfs is also somewaht misleading nowadays (owfs is a quite old [not

Re: [Owfs-developers] Release 2.8p15

2012-05-21 Thread Michael Markstaller
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 21.05.2012 03:58, Paul Alfille wrote: Release notes owfs suite Version 2.8p15 Really, IMHO the greatest and best ever since 2.7p34, in terms of stability, not features; no complaints with the DS9490 USB-masters on x86(*), this is IMHO a major

Re: [Owfs-developers] Release 2.8p15

2012-05-21 Thread Michael Markstaller
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 21.05.2012 22:49, Eloy Paris wrote: Okay, yes, that makes sense. I'll see what I can come up with in terms of an Ubuntu Upstart script. The one I have right now definitely does not work because of the synchronization problem we're discussing.

Re: [Owfs-developers] Install owfs in Debian Server

2012-05-20 Thread Michael Markstaller
So how do I install on Debian? Do I have to download from SourceForge or is there a better way? I'm keeping pretty current versions for x86 for years (though: I patch them sometimes happily for what I need!) for lenny (5.0) on deb http://repo.wiregate.de/wiregate wiregate-0.1 main deb-src

Re: [Owfs-developers] RaspberryPI i2c OWFS

2012-05-18 Thread Michael Markstaller
Am 18.05.2012 13:35, schrieb Stuart Poulton: Sure at the moment it's still very much for testing, Then I agree ;) The DS2483 has much more possibilities like the DS2480/2490 which arent used in owfs right now like timing on speed, slewrate etc; I'll ge mine ready next week and then be with

Re: [Owfs-developers] how to communicate 1-wire chip using w1d.c

2012-05-17 Thread Michael Markstaller
owfs compiles and runs fine on OpenWRT, on a box with 4M Flash and 32MB RAM worst case, just switch off perl as mentioned (--disable-ownet) Michael -- Live Security Virtual Conference Exclusive live event will cover all

Re: [Owfs-developers] Sensors go Missing!

2012-05-16 Thread Michael Markstaller
Am 16.05.2012 04:49, schrieb Paul Alfille: Most of Michael's corrections are now in the CVS version. As soon as fully tested, we'll make a new release. Paul Alfille Thanks Paul, this is really great news. I'm already running tests here and will report.. Michael

Re: [Owfs-developers] Can't Install on Ubuntu

2012-05-16 Thread Michael Markstaller
It's upstream in current Ubuntu, just follow the Guide Paul put on http://owfs.org/index.php?page=quickstart-guide Michael -- Live Security Virtual Conference Exclusive live event will cover all the ways today's security

Re: [Owfs-developers] how to communicate 1-wire chip using w1d.c

2012-05-16 Thread Michael Markstaller
Am 16.05.2012 18:29, schrieb Ethan Xue: Hi, I'm try to use w1d.c from http://www.ioremap.net/archive/w1/. Now, this isn't really related to owfs in any way.. And pretty old stuff. If you don't insist on using the rather - let me call it basic/maybe evolving - kernel w1 driver my 5ct:

Re: [Owfs-developers] Sensors go Missing!

2012-05-15 Thread Michael Markstaller
Which version, plattform and busmaster do you use? Unfortunately this is hourly normal here.. Michael Von: Mick Sulley [m...@sulley.info] Gesendet: Dienstag, 15. Mai 2012 16:02 Bis: Owfs Betreff: [Owfs-developers] Sensors go Missing! Hi, I occasionally

[Owfs-developers] owserver getting slow when another IP/avahi is lost

2012-05-15 Thread Michael Markstaller
Hi, while testing around I found a not so nice behaviour of owserver (2.8p14): Scenario: - turn on owserver1 on box1 with --autoserver - turn on owserver2 on box2 with --zero - All fine - turn off (or shutdown or kill or disconnect) owserver2 - from now on, every 'owdir' against owserver1

Re: [Owfs-developers] Sensors go Missing!

2012-05-15 Thread Michael Markstaller
Unfortunately, I have exactly the same problem here. Devices are missing especially after some error occurs on a bus. Somebody believe that it is owfs bug, but nobody knows how to fix it. Well thats not perfectly right as I last pointed out here (including a partial workaround)

Re: [Owfs-developers] Problems in owfs2.p14 DS9490

2012-04-26 Thread Michael Markstaller
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Am 25.04.2012 13:36, schrieb Ivan Lisenkov: Is this patch is in CVS already or I should to patch it by myself? No it isnt and I also would clearly flag it as a hack, I'm no C-programmer and I probably only understand 50% of the code.. But OTOH it

Re: [Owfs-developers] Bug in DS2413 sensed.*

2012-04-23 Thread Michael Markstaller
-issue? Michael Am 27.02.2012 18:30, schrieb Michael Markstaller: Just noticed one thing in 2.8p14 (also 2.8p8): DS2413 used as input, sensed.BYTE is fine but sensed.ALL .A/.B shows always 0 -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.11 (GNU/Linux) Comment: Using GnuPG with Mozilla - http

Re: [Owfs-developers] Problems in owfs2.p14 DS9490

2012-04-22 Thread Michael Markstaller
Thanks, I already thought I'm the only one using (several hundred btw) DS9490 in real life ;) Though, I have no single 1w-hub here and maybe I can't explain it good enough but the problem is mainly about (re)initialisation and the reset-stuff, pretty sure in this now.. best regards Michael Am

Re: [Owfs-developers] usb-i2c-1wire tutorial

2012-04-22 Thread Michael Markstaller
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Really appreciate your work, ordered a OSIF already to check/learn! Though curious- with which lengths / sensorcount have you tested using the DS2482-800 ? 10/50/100m, 2/5/20? I hadn't that fine results with anything leaving the test-desk beyond 10m

Re: [Owfs-developers] usb-i2c-1wire tutorial

2012-04-22 Thread Michael Markstaller
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Am 22.04.2012 21:44, schrieb Patryk: Maybe this week I will make a prototype board for it and then test with my current network which now runs on DS2480B. My network wiring is very bad so it should be a good test. Dito, x100, thats real life ;)

Re: [Owfs-developers] Problems in owserver with USB and longer cables

2012-04-08 Thread Michael Markstaller
Am 08.04.2012 15:37, schrieb Jan Sennesael: A few weeks ago, there was a discussion about the unstable owserver with usb and longer cables. Is there a solution for it? I suggested a hack to outline the source (IMHO) here

Re: [Owfs-developers] Problems in owfs2.p14 DS9490

2012-04-04 Thread Michael Markstaller
04.04.2012 04:36, schrieb Roberto Spadim: sorry i wrote wrong... could you make a patch that put ow version at debug output? :) Em 3 de abril de 2012 23:18, Michael Markstaller m...@elabnet.de mailto:m...@elabnet.de escreveu: Am 03.04.2012 16:48, schrieb Roberto Spadim: hi, could you add

Re: [Owfs-developers] Problems in owfs2.p14 DS9490

2012-04-03 Thread Michael Markstaller
this, it's easy to see that after an usb-reset the adaptors go on unitialized with wrong settings. best regards, Michael Am 17.03.2012 17:23, schrieb Michael Markstaller: I changed the subject.. Am 16.03.2012 14:49, schrieb Paul Alfille: To hunt this down, you find that heavy USB activity causes

Re: [Owfs-developers] Problems in owfs2.p14 DS9490

2012-04-03 Thread Michael Markstaller
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Am 03.04.2012 16:48, schrieb Roberto Spadim: hi, could you add a version information at debug output too? maybe at the start of ow program, just to us know what's the version... this could be easier to know what we are debugging There was no

Re: [Owfs-developers] Problems in owfs2.p14 DS9490

2012-03-17 Thread Michael Markstaller
I changed the subject.. Am 16.03.2012 14:49, schrieb Paul Alfille: To hunt this down, you find that heavy USB activity causes communication failures and puts owfs is an unusable state? No, I don't think thats a root cause. My last tests where done with only 1-4 DS9490R on a powered hub without

Re: [Owfs-developers] Best way to measure water content in flower pot?

2012-03-17 Thread Michael Markstaller
In the garden I have two Watermark 200SS with the HB soil-moisture board; after some calibration work I'm very happy with them for 2yrs now (leaving them in the soil during winter - IMHO a big feature!) Regarding flower-pots I experimented around (quite a while ago); Havent taken the Watermark

Re: [Owfs-developers] Problems in owserver with USB and longer cables

2012-03-15 Thread Michael Markstaller
Err, referring to http://article.gmane.org/gmane.comp.file-systems.owfs.devel/9120 Current owfs is really unusable with DS9490 and the older ones have some issue with libusb under OpenWRT, I'm stuck a little here; tried many things but when I touch code usually afterwards it's more broken than

Re: [Owfs-developers] Hobby Boards Humidity Sensor - Another Question

2012-03-01 Thread Michael Markstaller
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 You can just look on VDD, externally powered it's mostly ca. 5V, when parasite-powered it's usually ~4.6V or below. And it's good to know that the HIH gives tremendous wrong readings below 4.0V so I do ignore sensors with VDD 4V and mark them as

Re: [Owfs-developers] bash restart of process

2012-02-15 Thread Michael Markstaller
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Am 15.02.2012 00:02, schrieb William Brown: You introduce a question here that intrigues me. Does a restart actually Restart means here: kill owserver.pid sleep 1 killall -9 owserver owserver --options Michael -BEGIN PGP SIGNATURE-

Re: [Owfs-developers] bash restart of process

2012-02-14 Thread Michael Markstaller
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Am 13.02.2012 22:22, schrieb Paul Alfille: Or even better, how about if I can figure out how to make the one process work without problems and restarts. That would be the preferred way ;) Michael In the meantime the script I use here, called

Re: [Owfs-developers] 0-Wire communication (wireless eg via IQRF)

2012-02-13 Thread Michael Markstaller
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 No need to fiddle around and solder serialports etc. Get an TL-MR3420 or TL-MR3020 or WR703N, OpenWRT trunk can be directly flashed via the vendors webif, attach a DS9490 and configure it as wireless-client.. (though currently with 2.8p14 it's not

Re: [Owfs-developers] Problems in owserver with USB and longer cables

2012-02-07 Thread Michael Markstaller
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Ok, digging some deeper today. Preface: these were foundanalyzed using 2.8p14 on my Ubuntu 11.04/32-Desktop, one DS9490, 5cm cable a parasite DS18B20 and one DS2438 (similar MS-TH). NOTHING else on the USB, i7.. Should say: it is also very unstable

Re: [Owfs-developers] LOST DS2450

2012-02-06 Thread Michael Markstaller
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Am 29.01.2012 16:16, schrieb p4trykx: Dnia 29-01-2012 o 16:10:28 Lui Elle paspourlongte...@yahoo.fr napisał(a): the wiring scheme , the the power and ground is good i can read the's DS1820 and the's DS2450 What kind of wire are you using? 8

Re: [Owfs-developers] Problems in owserver with USB and longer cables

2012-02-01 Thread Michael Markstaller
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Am 01.02.2012 14:10, schrieb ekgnkb3d: Hi Paul, Roberto and all other 1-Wire freaks, during some further tests I found out, that until version 2.8p2 the OWFS was not afflicted by this problem, from my viewpoint this is OK and runs stable! It

Re: [Owfs-developers] Stability-problems after upgrade 2.8p2-p10

2011-06-28 Thread Michael Markstaller
Sorry, stupid to attach the 1,5MB Debug-log, it bounced for good reasons; can be loaded here: http://repo.wiregate.de/other/owfs/owserver_debug.log.gz Michael Am Dienstag, den 28.06.2011, 23:27 +0200 schrieb Michael Markstaller: Hi, after upgrading to anything above 2.8p2 I have a problem

[Owfs-developers] DS2413 docs - no latch

2011-06-11 Thread Michael Markstaller
Hi, the DS2413 has AFAIK no input-latch, i guess thats a bit misleading in the owfs-docs (in owfs itself it's right!) Michael -- EditLive Enterprise is the world's most technically advanced content authoring tool.

Re: [Owfs-developers] Experience with Hobby Boards?

2011-06-11 Thread Michael Markstaller
Am Dienstag, den 07.06.2011, 19:45 -0500 schrieb Darryl VanDorp: I have all hobby-boards stuff and have found Eric to be very helpful and his equipment to be good. Absolutely agreed in general. I dont want to advertise, thats not my intention (so you won't find any link here) but for some

Re: [Owfs-developers] DS2413 PIO

2011-05-24 Thread Michael Markstaller
Am Dienstag, den 17.05.2011, 00:10 +0200 schrieb Michael Markstaller: Hi, I just hooked up a DS2413 dual-switch and noticed - used as output: Writing PIO.A/B/ALL doesn't work, also doesn't display the status, writing PIO.BYTE with 0/1/2/3 works fine otoh... Using 2.8p8, I could create

[Owfs-developers] DS2413 PIO

2011-05-16 Thread Michael Markstaller
Hi, I just hooked up a DS2413 dual-switch and noticed - used as output: Writing PIO.A/B/ALL doesn't work, also doesn't display the status, writing PIO.BYTE with 0/1/2/3 works fine otoh... Using 2.8p8, I could create a debug-log of owserver if needed for sure. Michael signature.asc

Re: [Owfs-developers] Packages for Debian and Ubuntu

2011-03-22 Thread Michael Markstaller
Am Montag, den 07.03.2011, 13:32 +0100 schrieb Cyril LAVIER: Hi everybody. In the company which I'm working for, we use 1-wire for more than 18 months. We use it in our server rooms, to monitor the temperature in it (and send alerts when it's too hot) and we plan to monitor temperatures

[Owfs-developers] owserver Zerconf/Bonjour on OpenWRT

2011-02-15 Thread Michael Markstaller
Hi, I'm trying to get owserver to announce itself via Zeroconf on OpenWRT (trunk), so another owserver can find it with --autoserver. owserver is running fine so far but I'm a bit stuck on how to get this working (only the client part, don't need it to be able to discover others on the router)..

  1   2   >