Question about the indigo database

Posted on
Wed Nov 26, 2003 11:26 pm
bobmans offline
Posts: 4
Joined: Nov 26, 2003

Question about the indigo database

Hi...got a question...but first...I love the Indigo app. I have it working with my home automation. No problems, just great.

My question...I was looking at the indigo database. I am writing an app and I want to read the database. It is pretty straightforward, but I cannot figure out how the address is calculated in the devices part of the database?

Can you tell me how you calculate the address?

Thanks,

Bob

Posted on
Thu Nov 27, 2003 12:04 am
matt (support) offline
Site Admin
User avatar
Posts: 21417
Joined: Jan 27, 2003
Location: Texas

Re: Question about the indigo database

bobmans wrote:
Can you tell me how you calculate the address?

Hi Bob,

Sure. You just bitwise OR (just add) the following hex values together:

A = 0x60, B = 0xE0, C = 0x20,
D = 0xA0, E = 0x10, F = 0x90,
G = 0x50, H = 0xD0, I = 0x70,
J = 0xF0, K = 0x30, L = 0xB0,
M = 0x00, N = 0x80, O = 0x40,
P = 0xC0,

1 = 0x06, 2 = 0x0E, 3 = 0x02,
4 = 0x0A, 5 = 0x01, 6 = 0x09,
7 = 0x05, 8 = 0x0D, 9 = 0x07,
10 = 0x0F, 11 = 0x03, 12 = 0x0B,
13 = 0x00, 14 = 0x08, 15 = 0x04,
16 = 0x0C

If you don't mind sharing -- what are you working on?

Regards,
Matt

Posted on
Thu Nov 27, 2003 12:27 am
bobmans offline
Posts: 4
Joined: Nov 26, 2003

(No subject)

Matt,

Thanks for the info.

In my house, everyone has a computer. They are all networked. I have indigo running the house automation on one of them. However, I want others in my family to be able to control some aspects of the automation from their own computers. (Not everything, though)

So I am writing an app that allows remote computers to read the "central" indigo database, and give them access to controls by sending remote appleevents back to indigo. Basic stuff like lights on and off, etc.

I want to be able to read the database because as I add stuff under indigo, I want them to be able to see it.

I will post the app once I get something basic put together.

Bob

Page 1 of 1

Who is online

Users browsing this forum: No registered users and 20 guests