etting started with CAI. Need help finding a beginning.

buddee

New Member
Just revieved a CAI Webcontroller the other day and I've got ants in my pants to get it going.  Unfortunately Im not sure where to start.  I'm familuar with the hardware side of controls but not the software side.  So I was wondering if anybody knows of something to read to get the ball rolling.  At this point all I would like to do is control some relays and temp sensors.
 
Disregard that last post.  The dog jumped on my lap and hit return.  Dumb dog. :)  Anyway, to try this again. Just received a CAI Webcontroller the other day and I've got ants in my pants to get it going.  Unfortunately I'm not sure where to start.  I'm familiar with the hardware side of controls but not the software side.  So I was wondering if anybody knows of something to read to get the ball rolling.  At this point all I would like to do is control some relays and temp sensors from my computer and phone.  I've been reading CAI's documentation on the board but still looking for something a little more descriptive/step-by-step.  At least until I get comfortable with things.

Thank you for your time,
Buddee
 
Have you try to use a browser to connect to the board firmware first?
The board default IP address is 192.168.1.15, static.  default user name and password is admin/password
Once you use browser connected to it, you can change all those setting.
If you ever forgot the configuration, you can short the RESET jumper and power on the board, it will wipe out all the
configuration and back to default settings again.
 
Yes.  I did connect to the board without a poblem.  I'm not sure where to place the code.  Let alone write it.  Is there a GUI for this?  Or is that it?  I'm sure I can figure things out, just need a starting point thats all.  Any advice is welcome.
 
buddee,
 
There is a PLC tab on the left, once you click on that, you can write into the window, or copy and paste from your known examples to it.  Please make sure click on send on the bottom, it will store the PLC program into the board.
 
buddee said:
so any code that you write is placed in this space?  No matter what its being used for.
 
Code, yes. That said, a small amount of non-code is stored elsewhere. I'm referring specifically to URI and parameters for webset commands, configuration for email to be sent, USER ROM values etc.
 
Gottcha.  Thats a good start to get me playing around.  Any tips on getting it talking with my iphone app OpenRemote?  I'm talking local network only, non routable ip addresses.
 
If OpenRemote allows you to create a CGI, then you can use WEBSET command in PLC to send a HTTP protocol data to that CGI
 
For two sides talk to each other, they must have something in common.  I heard OpenRemote allows personalized pages.  WebControl can send the data into OpenRemote over the network, but if OpenRemote did not understand what was about, it would just toss it away.
 
Back
Top