ADICON Support Forum Applied Digital, Inc.
Page 1 of 1 1
Topic Options
#20429 - 10/25/08 09:37 AM Rain8 Net Protocol
Chris Anderson Offline
addict


Registered: 01/08/04
Posts: 507
Loc: Michigan
I'm trying to figure out how to use my Rain8net with my Adicon (yet another integration project \:\) ) Rain8 uses the protocol below:

http://www.wgldesigns.com/protocols/rain8net_protocol.pdf

It looks like the header is always 40h

So assuming my Rain8 module's address is "1" I would send something like this to turn on zone 1:

^040^001^031

To turn off, say, zone 2 it would be:

^040^001^042

Is this correct?

Thanks, Chris

Top
#20431 - 10/25/08 09:50 AM Re: Rain8 Net Protocol [Re: Chris Anderson]
Guy Lavoie Administrator Offline
Beyond All Hope
*****

Registered: 12/21/02
Posts: 6401
Loc: Montreal, QC, Canada
The raw byte values entered in ASCII scrings are in decimal, so you would need to convert from the hex values as defined in the protocol to decimal first. So to send 40h, you would enter ^064 and so on. Your string 40 01 31 (assuming they are all hex values) would translate to: ^064^001^049.

Use the Windows "Calculator" accessory to translate the values from hex to decimal.
_________________________
"If you don't know what you're doing, do it neatly..."

Top
#20432 - 10/25/08 10:01 AM Re: Rain8 Net Protocol [Re: Guy Lavoie]
Chris Anderson Offline
addict


Registered: 01/08/04
Posts: 507
Loc: Michigan
Thanks for the quick help, I though there was a step I was missing.

Thanks, Chris

Top
Page 1 of 1 1


Moderator:  Dan Smith, Monte G, ADI Tech Support, Guy Lavoie 
Hop to:
Who's Online
0 registered and 26 anonymous users online.
Recent Posts
how to post an icon
by manu
02/03/12 03:40 AM
Command Pair
by kuro
02/01/12 12:49 AM
Does anyone have a copy of the latest TSE?
by sevenzenith1
01/30/12 05:17 AM
Have HAL2000 do the work or the Ocelot?
by khem
01/28/12 02:49 PM
Ocelot + Powermid = Fail
by Guy Lavoie
01/27/12 03:37 PM
Shout Box

Newest Members
dfgg, manu, kuro, sevenzenith1, chuck214
2748 Registered Users
Forum Stats
2747 Members
19 Forums
3835 Topics
22711 Posts

Max Online: 67 @ 08/16/11 03:08 PM
February
Su M Tu W Th F Sa
1 2 3 4
5 6 7 8 9 10 11
12 13 14 15 16 17 18
19 20 21 22 23 24 25
26 27 28 29