Sandaysoft

Support forum for Cumulus weather station software
It is currently Sat Nov 01, 2014 8:11 am
Please click here before posting. Help me to help you!
Useful Links: Cumulus FAQ • Enhancement requests • Wiki (documentation) • Downloads
Please put your approximate location into your profile • Add your personal web site to the Cumulus user map
Read the Announcements and News section regularly!
Do not allow your PC to go into standby mode while Cumulus is running - read the readme.txt!
If you find Cumulus useful, please consider a donation -

All times are UTC




Post new topic Reply to topic  [ 17 posts ]  Go to page 1, 2  Next
Author Message
 Post subject: Connecting with TFA-Nexus
PostPosted: Tue Jan 12, 2010 10:40 am 
Offline

Joined: Tue Jan 12, 2010 10:22 am
Posts: 1
Weather Station: TFA-Nexus
Operating System: Windows Vista
How can I use my Weaterstation (TFA-Nexus) with your program? Used by USB. Windows Vista. Thanks for your help, Ben


Top
 Profile  
 
 Post subject: Re: Connecting with TFA-Nexus
PostPosted: Tue Jan 12, 2010 10:49 am 
Offline
User avatar

Joined: Tue Jul 29, 2008 8:00 pm
Posts: 2006
Location: Thornhill, Dumfries, UK
Weather Station: WH1081
Operating System: Mac OSx & Win 7
Hi Ben,

I believe not, as the protocol for the device is not publicly available

(viewtopic.php?f=17&t=2010&p=16089&hilit=TFA#p16089)

_________________
David
me.justdaj.com


Top
 Profile  
 
 Post subject: Re: Connecting with TFA-Nexus
PostPosted: Tue Jan 12, 2010 2:57 pm 
Offline
User avatar

Joined: Thu Nov 13, 2008 7:15 pm
Posts: 57
Location: Trenton, Ontario, Canada
Weather Station: National Geographic -Fine Offset
There is a shareware program called Weather Display that apparently can read the Nexus. At least it is in the setup for that program. I dont know if the author paid for that privilege or not.

http://www.weather-display.com/index.php

The web capability is an add-on it seems at extra cost of course. Perhaps this info might help Steve find the protocols??

_________________
Joe.
http://www.lionsden.darktech.org/weather


Top
 Profile  
 
 Post subject: Re: Connecting with TFA-Nexus
PostPosted: Mon Jan 25, 2010 1:35 pm 
Offline

Joined: Wed Dec 30, 2009 8:38 am
Posts: 17
Location: Sparkwell, Devon, UK
Weather Station: Davis Vantage Vue
Operating System: Windows Home Server 2012
I have tried (oh how I have tried ) to get Weatherdisplay to work with the Nexus/Irox/Honeywell weatherstaion. The program is very unreliable (or the weatherstation but appears accurate with the Nexus software) and the final step was when suddenly the indoor temperature started registering at 13.2 degrees celcius! It was 20.5 in the house , console and Nexus software. Even a reinstall produced a simarly low temperature. It was 5.5 degrees outside.

The nexus has an inbuilt data logger on 1MB.

I have tried other software and they are worse. I am hoping Cumulus will take on this weatherstation. Can I help? In a non-programming role?

If there are any Nexus/Irox/Honeywell lurkers out there then logon as we need a critical mass.


Top
 Profile  
 
 Post subject: Re: Connecting with TFA-Nexus
PostPosted: Mon Jan 25, 2010 1:41 pm 
Offline
Cumulus Author
User avatar

Joined: Mon Jun 02, 2008 6:49 pm
Posts: 20495
Location: Sanday, Orkney
Weather Station: Davis VP2
Operating System: Windows Home Server 2011
dmac wrote:
I have tried other software and they are worse. I am hoping Cumulus will take on this weatherstation. Can I help? In a non-programming role?

If there are any Nexus/Irox/Honeywell lurkers out there then logon as we need a critical mass.

It's not a question of getting enough people to ask for it to be supported. It is impossible for me to do it without the spec of the protocol; I can't even consider doing it without that.

_________________
Steve
Sanday Weather
----------------------------------------------------------------------------------------------------------------------------------
Like Cumulus and want to support it? Please donate! Image


Top
 Profile  
 
 Post subject: Re: Connecting with TFA-Nexus
PostPosted: Mon Jan 25, 2010 3:38 pm 
Offline

Joined: Wed Dec 30, 2009 8:38 am
Posts: 17
Location: Sparkwell, Devon, UK
Weather Station: Davis Vantage Vue
Operating System: Windows Home Server 2012
I see and probably the NZ authour of WD paid IROX et all for the sole rights for access the the API/protocol. Anyway thanks for your reply and the software looks good. My next machine will be one on the Cumulus suport list.


Top
 Profile  
 
 Post subject: Re: Connecting with TFA-Nexus
PostPosted: Mon Jan 25, 2010 4:08 pm 
Offline
Cumulus Author
User avatar

Joined: Mon Jun 02, 2008 6:49 pm
Posts: 20495
Location: Sanday, Orkney
Weather Station: Davis VP2
Operating System: Windows Home Server 2011
dmac wrote:
I see and probably the NZ authour of WD paid IROX et all for the sole rights for access the the API/protocol.

I think he bought a station and reverse-engineered the protocol. Or perhaps he did obtain the protocol from the manufacturer as well as buying a station.

Interestingly, this page lists third-party "partners" software which supports the station: http://www.hidekielectronics.us/Support.html

I suppose it's worth me asking them for the protocol, you never know...

Then I'd just have to find the time to do it!

_________________
Steve
Sanday Weather
----------------------------------------------------------------------------------------------------------------------------------
Like Cumulus and want to support it? Please donate! Image


Top
 Profile  
 
 Post subject: Re: Connecting with TFA-Nexus
PostPosted: Mon Jan 25, 2010 4:15 pm 
Offline
Cumulus Author
User avatar

Joined: Mon Jun 02, 2008 6:49 pm
Posts: 20495
Location: Sanday, Orkney
Weather Station: Davis VP2
Operating System: Windows Home Server 2011
I've sent them an email.

_________________
Steve
Sanday Weather
----------------------------------------------------------------------------------------------------------------------------------
Like Cumulus and want to support it? Please donate! Image


Top
 Profile  
 
 Post subject: Re: Connecting with TFA-Nexus
PostPosted: Tue Feb 02, 2010 1:59 pm 
Offline

Joined: Tue Feb 02, 2010 1:49 pm
Posts: 1
Weather Station: TFA Nexus
Operating System: WinXP SP2
Hi,

it would be great, if we could use this software with the TFA Nexus.

With WsWin (http://www.pc-wetterstation.de), it is possible to built up a connection with the Nexus (TE923/924 Mebus, Irox, Honeywell, Cresta).... maybe this is helpful for you.


I look forward to usw my Nexus with Cumulus :D


Regards


Top
 Profile  
 
 Post subject: Re: Connecting with TFA-Nexus
PostPosted: Fri Oct 22, 2010 9:19 am 
Offline

Joined: Fri Oct 22, 2010 9:06 am
Posts: 4
Weather Station: IROX Pro-X USB
Operating System: Windows 7 64bit
Found someone that have reverse-engineered the protocol.

He got a webpage where the source code is downloadable at
http://te923.fukz.org/index

Seems to work as just a parser to recieve and decode the information with output to the console only if I understood it right.

It's written in C++ for linux.

I don't know what programming language is used for Cumulus but I could probably help out if you need help translate to whatever you use.

And of course got an IROX that I can test on :)

----------------
There are only 10 types of people in the world: Those who understand binary, and those who don't


Top
 Profile  
 
 Post subject: Re: Connecting with TFA-Nexus
PostPosted: Fri Oct 22, 2010 9:35 am 
Offline
Cumulus Author
User avatar

Joined: Mon Jun 02, 2008 6:49 pm
Posts: 20495
Location: Sanday, Orkney
Weather Station: Davis VP2
Operating System: Windows Home Server 2011
Yes, I've seen that before. It does make it slightly less impossible. Now all I need is a supply of days with more than 24 hours in them.

_________________
Steve
Sanday Weather
----------------------------------------------------------------------------------------------------------------------------------
Like Cumulus and want to support it? Please donate! Image


Top
 Profile  
 
 Post subject: Re: Connecting with TFA-Nexus
PostPosted: Wed Oct 27, 2010 6:26 pm 
Offline

Joined: Fri Oct 22, 2010 9:06 am
Posts: 4
Weather Station: IROX Pro-X USB
Operating System: Windows 7 64bit
So far I managed to resolve this would be the sequence of transmit and receive order to the Irox to get current values hold in the station. I don't have any tools or code to help me test this out, either would do to help me figure more of it out.

Delphi style:

using array[0..x] of byte;
cc is the checksum byte
adr=packed record case boolean of
true: i : integer;
false: b0,b1,b2,b3 : byte;
end;


transmit:
05 AF FB 00 00 cc AF FE
cc=<xor checksum of 1-4>

receives:
5A ?? ?? <v1> ?? <v2> ... cc
array[33]=<xor checksum of 0-32>
adr.i=(v1*256+v2)*38+257


transmit:
05 AF <adr.b0> <adr.b1> <adr.b2> cc AF FE
cc=<xor checksum of 1-4>

receives: //memcpy( rbuf, buf + 5, 11 ); (missing a byte?)
5A <month> <day> <year> <minute>
<temp0.lowbyte> <temp0.highbyte> <humidity0>
<temp1.lowbyte> <temp1.highbyte> <humidity1>
<temp2.lowbyte> <temp2.highbyte> <humidity2>
<temp3.lowbyte> <temp3.highbyte> ... cc
array[33]=<xor checksum of 0-32>


transmit:
adr.i=adr.i+16
05 AF <adr.b0> <adr.b1> <adr.b2> cc AF FE
cc=<xor checksum of 1-4>

receives: //memcpy( rbuf + 11, buf + 1, 21 );
5A <humidity3> ?? ?? ?? ?? ?? ?? <uv> <uv> <pressure> <pressure> <storm/status>
<wind> <wind> <wind> <wind> <wind> <wind> <wind> ?? <raincount> <raincount> ... cc
cc=<xor checksum of 0-32>


Top
 Profile  
 
 Post subject: Re: Connecting with TFA-Nexus
PostPosted: Sun Jan 30, 2011 7:14 pm 
Offline

Joined: Sun Jan 30, 2011 6:42 pm
Posts: 2
Location: its a secret
Weather Station: Irox-Pro
Operating System: OSX
Hi

The following may be of interest in trying to communicate with a TE923 or its many derivatives.

Trying to get the protocol from the manufacture proved fruitless, they don't appear to want to assist anyone.
That said there are two programs, WeatherDisplay and Weathersnoop that have achieved accessing the device that are in the public domain.
Weather snoop is osx only AFAIK, WeatherDisplay is cross platform., also Meteohub, a modified router has achieved this.
All these solution are not free.

The device used in the station is a
Product ID: 0x6801
Vendor ID: 0x1130 (Tenx Technology, Inc.)
Version: 3.02
Speed: Up to 1.5 Mb/sec

This is a HID (Human Interface Device, i.e. a joystick/mouse class) which causes problems with trying to access it.

Certain things, dependent on the OS have to be done to prevent the device being grabbed by the OS (on osx, a kext is required, on linux some other stuff, windows, don't know), unless you write a native driver to use the HID routines.
On OSX, WD has not achieved this, WeatherSnoop appears to have.

Of course the manufacturer has done this, in their Windows program, probably a DLL to communicate with the station, wrapped by a gui.

On meteohub, running linux, not sure how this was achieved.

As for decoding, the TE923 protocol referred to earlier in this thread is a useful basis which to start, there is one error , search for TE923 MrBalky, he found it, and also managed to get it working on linux.

Finally, someone else got a driver working on OSX, that was the hard part, and wrapped it Java using jni/jna and is happily downloading data into a mysql database, for presentation with another java program for the graphing and reports.

:)


Top
 Profile  
 
 Post subject: Re: Connecting with TFA-Nexus
PostPosted: Tue Feb 01, 2011 3:38 am 
Offline

Joined: Fri Oct 22, 2010 9:06 am
Posts: 4
Weather Station: IROX Pro-X USB
Operating System: Windows 7 64bit
Many thanks for the response pfoomer.

I've seen MrBalky's code but as I'm a pure windows developer here it don't help me much more than fukz site.
From reading the code I could get the information I posted in the previous post, but Linux way of reading from a HID device is nothing like Windows.
What I need is something to test it out and confirm how it works.
Preferably a simple monitoring program to monitor/read data of a HID device with the option to send data back to it.
Otherwise a Delphi/C++ program that shows how to read and write data to a HID device would be nice but I found neither. The samples I found was to complicated and I didn't have enough time needed to go through all that code just to make a simple monitoring program and there was no response on this channel either.

Currently I'm working abroad so I don't have access to my weather station until I'm back in April.


Top
 Profile  
 
 Post subject: Re: Connecting with TFA-Nexus
PostPosted: Tue Feb 01, 2011 6:41 am 
Offline

Joined: Sun Jan 30, 2011 6:42 pm
Posts: 2
Location: its a secret
Weather Station: Irox-Pro
Operating System: OSX
SpeedyC wrote:
Many thanks for the response pfoomer.

I've seen MrBalky's code but as I'm a pure windows developer here it don't help me much more than fukz site.
From reading the code I could get the information I posted in the previous post, but Linux way of reading from a HID device is nothing like Windows.
What I need is something to test it out and confirm how it works.
Preferably a simple monitoring program to monitor/read data of a HID device with the option to send data back to it.
Otherwise a Delphi/C++ program that shows how to read and write data to a HID device would be nice but I found neither. The samples I found was to complicated and I didn't have enough time needed to go through all that code just to make a simple monitoring program and there was no response on this channel either.

Currently I'm working abroad so I don't have access to my weather station until I'm back in April.


Hi
The decoding in my opinion is the easier bit as most of the groundwork was done by Fukz, I transferred his 'C' into java.

The hard bit in my case was the HID driver for OSX.

However, the weather capture program for windows uses a dll, perhaps the dll to gui info could be captured ( I do not know if this is easy, I do not program on windows) and the calls identified, perhaps this could be used with a wrapper for cumulus?


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 17 posts ]  Go to page 1, 2  Next

All times are UTC


Who is online

Users browsing this forum: mizzutim, Yahoo [Bot] and 1 guest


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  

Protected by Anti-Spam ACP Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group