DC12,
This forum is full of sample code.
You may need some time to decide how you want to set every thing up. This is what I can suggest for you. Find RonR's name anywhere on this forum. Drill down and see the list of posts that he has written. He has basically written the OBi user guide for us. Or just spend a few minutes browsing the forum and see if anything strikes your fancy. Once you get a better idea of what people are doing with the OBi, you can try more fancy set ups. Keep it simple at first.
Here you go, I've set up a little snack for your while you browse.
''~``
( o o )
+------------------.oooO--(_)--Oooo.-------------------+
| |
| While you hang out, enjoy your stay. |
| |
| |
| .oooO |
| ( ) Oooo. |
+----------------------\ (----( )-----------------------+
\_) ) /
(_/