navitron
 
Renewable Energy and Sustainability Forum
UK's most popular Renewable Energy Forum May 23, 2012, 12:24:32 AM *
Welcome, Guest. Please login or register.

Login with username, password and session length
News: Anyone wishing to register as a new member on the forum is strongly recommended to use a "proper" email address - following recent spam/hack attempts on the forum, all security is set to "high", and "disposable" email addresses like Gmail, Yahoo and Hotmail tend to be viewed with suspicion, and the application rejected if there is any doubt whatsoever
 
Recent Articles: UPDATE ON DECC APPLICATION FOR LEAVE TO APPEAL TO THE SUPREME COURT | Yingli Green Energy's PV Module Ranks No.2 in TUV Rheinland Energy Yield Test | Navitron Solar Showers at Glastonbury for Year 5!
   Home   Help Search Login Register  
Pages: [1] 2   Go Down
  Print  
Author Topic: OW server for One wire systems  (Read 3153 times)
mpooley
Sr. Member
****
Offline Offline

Posts: 347


« on: June 13, 2010, 09:44:34 AM »

I have bought one of these from from homechip and found out that EDS the manufacturer has not written a manual for it yet!
Homechip has now taken these off their website until a manual is produced.

I just wanted to say that if anyone was thinking of building a system around one of these servers then go ahead and do it!
The server is a great little piece of kit!  once you work a few basics out it is easy to use and so far it has worked very well even when i have cocked the wiring up etc.

anyone interested  can ask me here and i will let you know all you need to know to get it up and running and I can also supply code to read the chips too.

all the best

Mike
Logged
StBarnabas
Hero Member
*****
Offline Offline

Posts: 2111


St Barnabas Chapel (2009)


« Reply #1 on: July 19, 2010, 11:17:28 PM »

Mike
thanks. Still at the sensor stage but eventually will move up. Will keep a keen interest on this thread.
Sean
Logged


Gestis Censere. 40x47mm DHW with TDC3. 3kW ASHP, 9kW GSHP, 3kW Navitron PV with Platinum 3100S GTI, 6.5kW WBS, 5 chickens. FMY 2009.
StBarnabas
Hero Member
*****
Offline Offline

Posts: 2111


St Barnabas Chapel (2009)


« Reply #2 on: June 18, 2011, 10:23:13 AM »

Mike
have you any more info on this? I am thinking about a Web server but am more likely to go down an Arduino of PIC route
Logged


Gestis Censere. 40x47mm DHW with TDC3. 3kW ASHP, 9kW GSHP, 3kW Navitron PV with Platinum 3100S GTI, 6.5kW WBS, 5 chickens. FMY 2009.
SimonHobson
Guest
« Reply #3 on: June 18, 2011, 11:58:58 AM »

I have bought one of these from from homechip and found out that EDS the manufacturer has not written a manual for it yet!
Just ordered one of these at work. I had a couple of queries and asked EDS, amongst other things, they sent me a draft of the manual. If you email sales@edsproducts.com they'll probably send it to you.

I'm wondering at the moment what the best method is going to be to get data out - SNMP or HTTP. SNMP is fairly easy, but you have to walk part of the tree to find the device by serial number, before you can look up the data from it. On the other hand, HTTP will get you an XML file you have to parse.
Logged
mpooley
Sr. Member
****
Offline Offline

Posts: 347


« Reply #4 on: June 18, 2011, 12:36:43 PM »

Hi
Yes there is a manual and its fairly good but to be honest it is so easy to use you dont need much info.
My system has been running 24/7 for about 7-8 months now and still working perfectly.
I use http and recover the xml file BTW.
Its been a while since i did it but I will try to answer any questions you have.

I used windows and VB i'm afraid but personally I like the ease that you can set up a complicated programmer for the whole central heating using a higher level programming language.

mike
Logged
EccentricAnomaly
Guest
« Reply #5 on: June 18, 2011, 01:35:06 PM »

I am thinking about a Web server but am more likely to go down an Arduino of PIC route

Doesn't have to be either/or: Nanode. It seems KenB has gone a bit quiet on this forum because he's been busy with the development of this.
Logged
StBarnabas
Hero Member
*****
Offline Offline

Posts: 2111


St Barnabas Chapel (2009)


« Reply #6 on: June 18, 2011, 01:46:00 PM »

Ed
yes I spoke to Ken some weeks ago when he was visiting Newcastle. He is developing an Arduino like board with web server which should be very cheap. I am very much looking forward to seeing the working version.
Logged


Gestis Censere. 40x47mm DHW with TDC3. 3kW ASHP, 9kW GSHP, 3kW Navitron PV with Platinum 3100S GTI, 6.5kW WBS, 5 chickens. FMY 2009.
SimonHobson
Guest
« Reply #7 on: June 24, 2011, 07:54:44 PM »

Well it arrived at work, or rather the wrong one did - they (HomeChip) sent the WiFi version rather than Ethernet. Still I hooked it up and had a quick play - it did seem to work.
Was able to pull off an XML file from it without trouble, but couldn't get anything from it with SNMP. The manual is completely lacking in detail (eg protocol, community name etc) and I haven't had time to did further.

HomeChip are sending the right one when they arrive (expected next week). The lady I spoke to seemed to think they should perhaps rename the ethernet version so that pickers don't think the WiFi version is the same thing Roll Eyes
Logged
SimonHa
Full Member
***
Offline Offline

Posts: 164


« Reply #8 on: August 20, 2011, 09:18:04 PM »

Hello all

I currently have a LinkUSB connected to an O2 Joggler (running Ubuntu & OWFS) measuring a bunch of temperature sensors and controlling a HobbyBoard 8 relay box for my central heating zones. The relay board uses a DS2408 chip.

However this EDS box is an interesting device - I especially like that it has 3 1-wire networks as that sounds like it would be more reliable as the networks could be shorter and have fewer devices. I've found, just because of the way the cables runs that I am ending up with several separate 1-wire networks converging in the middle of the house (obviously not what Maxim recommend).

I have a couple of questions though: How do you change read and change settings over http? Do you do something like http://<addr>/device-id/pio.0 etc? I see there's a quick guide on EDS' website (http://www.embeddeddatasystems.com/assets/images/supportFiles/tutorials/OW-Server-EnetQuickStartGuide.pdf) but that doesn't say much and is presumably not the manual referred to earlier.

Does it seem very reliable, i.e. have you ever had to reboot it? That's the weakness in my current set-up - whilst Linux itself is pretty robust because it has all this other guff on it the Joggler invariably hangs and needs rebooting every month or two (not ideal for a heating control system).

Simon
Logged
SimonHobson
Guest
« Reply #9 on: August 21, 2011, 01:17:09 PM »

The 'easiest' way to read the sensors is to fetch an XML file which contains everything - eg "wget http://<IP>/details.xml. You then *just* have to parse the XML which took me a while to sort.
Alternatively, you can use SNMP to read individual values - though they've made this (IMO) ridiculously hard to do as you first have to traverse one branch to find your device by ID and get an index, then reference the device specific tree by index. There is no tree "by id".
There is ayet a third method, you can configure the device to periodically post a file to a web server.

Writing values is by HTML Get with the right format. From the manual :
Quote
To write data to a connected 1-Wire device that supports control commands simply make a re-quest of devices.htm with the appropriate URL parameters. Below is an example:
devices.htm?rom=1300000020BB8112owd=DS2406cmd=OWD_DS2406_PIOBFFvalue=0

PM me your email and I'll send you a copy of the manual EDS sent me - it's still not on their site.

The three ports are not separate busses - just three sockets for convenience, and by default fed via a small resistor to provide a small amount of separation. If you have one faulty sensor it will take out the other two ports as well.

If you have several long sensor strings then what you want is a one-wire hub (or as a complete unit). I don't see any support for this with the OW-Server though.


We've not had one long enough to assess reliability - but it's not crashed so far. We've a couple of customers who've asked about monitoring of their server rooms - and if they decide to splash the cash then I'll be installing these and we'll find out !
« Last Edit: August 21, 2011, 01:19:03 PM by SimonHobson » Logged
dhaslam
Hero Member
*****
Offline Offline

Posts: 4560



« Reply #10 on: August 21, 2011, 04:02:34 PM »

I have the HA7Net which is similar.   To read temperatures the instruction is like this
http://10.0.0.49/1Wire/ReadTemperature.html?Address_Array=500000026B520E28,34000003185BFC28,B2000002788AAC28,D30000026B47C828

It displays the answer  on the screen but is it possible to extract the  answer without having to write it down?
Logged
Wyleu
Jr. Member
**
Offline Offline

Posts: 58



« Reply #11 on: August 21, 2011, 04:06:06 PM »

Don't give up on SNMP it's got so much that is close to what people are trying to do. The difficulty of the MIB is not so much doing it as describing the functionality of the device your wrapping. There's a hell of a lot of structure available to SNMP.

Apologies if I'm preaching to the converted.

Logged
mpooley
Sr. Member
****
Offline Offline

Posts: 347


« Reply #12 on: August 21, 2011, 06:19:29 PM »

I can vouch for reliability of this unit.
I have had mine running for a year solid and have never had to reboot.

also when power goes off for any reason it just restarts and carries on with no problems!
 angel

Mike
Logged
SimonHobson
Guest
« Reply #13 on: August 21, 2011, 09:59:46 PM »

Don't give up on SNMP it's got so much that is close to what people are trying to do. The difficulty of the MIB is not so much doing it as describing the functionality of the device your wrapping. There's a hell of a lot of structure available to SNMP.

Apologies if I'm preaching to the converted.
Well (at least for me), yes you are "preaching to the choir" a bit !
I already use SNMP for other stuff, and it's great - just fetch a particular OID and there's your value.

The problem with the OW-Server is that it obfuscates things through two layers of indirection so you cannot just read a single OID to get a value. You must first walk a list of attached devices to find the device you want to read data from - and the indexes can change any time the device reboots or sensors are added/removed. Once you have found your device (and family), you then have to read the device by index in the appropriate table - there are separate tables for each device family (the second level of indirection - sort of).

I decided it was easier to fetch the XML file and parse that since I'd be wanting several values from it anyway.
Logged
SimonHa
Full Member
***
Offline Offline

Posts: 164


« Reply #14 on: August 22, 2011, 08:15:09 AM »

Thanks for the replies everyone. It's a shame EDS haven't taken the opportunity to build a hub into the unit - it's effectively encouraging people to build star networks which won't help reliability. I agree that SNMP is probably the ideal protocol (EDS' implementation aside) - get/set/alerts is what it was designed for, and I expect it well supported in all the major languages.

Simon

Logged
Pages: [1] 2   Go Up
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.16 | SMF © 2011, Simple Machines Valid XHTML 1.0! Valid CSS!