Obi2Yac: Yac & Growl Notification Daemon
akel:
Thanks Smee. I am still not 100% clear on what I need to do, so I will try to write it up. It will hopefully help some noob later. (Figured out and now the system is working as advertized :) )
1. Set up Obi to send logging to your computer where obi2yac is going to be running. -> How do I set-up and collect a syslog from an OBi device? (I did not do step 3 from here and it still works)
2. I think I will need to set up port forwarding on my router to allow this communication to come to my computer. (I have done that assuming I will need it)
3. Run Obi2yac as admin when the machine starts. It is a syslog manager, so the it will capture (listen?) when obi writes to the syslog and notify my growl or yac listeners.
Good so far?
The problem I have right now is how to set up Obi2yac.
I have downloaded Obi2Yac_v1.0.0.44.exe from the linked page. Which is just an executable that runs directly and does not do any installs. (no au3 file accompanying it) Same situation for the other download available there, obi2yac.exe. so where is the access database where those tables exist? Do I need to use subversion to get the code?
Thanks for helping out here.
ETA: I can browse and download the code from here. So gonna do that and try to play with those files
ETA2: Got all the files. It seems that I am supposed to update the ini file and the access database and then build my own exe file using aut2exe. (I have never used autoIt, so not sure if I can use the provided exe file with my own ini file and mdb. Don't know how that exe would know where my ini file and mdb are though. So I assume I have to build my own exe
ETA3: The exe file provided reads the ini file from the same directory. (Tested by changing NoBreak parameter) I imagine it will also read mdb file from the same directory. So I won't need to actually make my own exe file. Right now I have enabled growler in the ini file, not touched the mdb file and will test if growler can get the phone call
ETA4: Success! My test call showed up on growl. (after 2nd ring) Now I need to move my google contacts to the mdb file. I need to find if I can schedule a sync between those two. Smee, are you using any other personal contacts in addition to cnam/whitepages? How are you keeping it synced?
Smee:
Quote from: akel on October 20, 2013, 03:31:54 pm
Thanks Smee. I am still not 100% clear on what I need to do, so I will try to write it up. It will hopefully help some noob later. (Figured out and now the system is working as advertized :) )
Glad to hear and sorry for that. It seems that I must have deleted the zip file and only left the executable. I have uploaded version v1.0.0.45 which will copy any missing files into the working folder on first run including a readme. It should help others out in the future. I also uploaded the sources in an archive so you don't have to go through source control.
In so far as using Google Contacts, no I never did that. As of version 3 of Google Contact API, they have become a little more strict on who and how those contacts are accessed. I would have to register the application, etc... and I didn't feel it was worth the time. I just use the substitutions, OpenCNAM as well as the Whitepages for lookups and it works for me that way. I did a one time dump of my contacts and placed them in the substitution table.
Take care..
Smee
akel:
Thanks Smee. v1.0.0.45 is working great. It creates all those files on first run.
Also, if one doesn't have access (I don't have it on my server). mdb viewer plus is a free tool that allows editing the mdb file.
At some point, I am going to try and write a tool that will read from google contacts and write into this mdb file. When I put that tool in a scheduler, I will have a sync.
(If anyone knows similar existing tool with source code availability .. do point me to it)
Smee:
Quote from: akel on October 22, 2013, 05:10:08 pm
Thanks Smee. v1.0.0.45 is working great. It creates all those files on first run.
Also, if one doesn't have access (I don't have it on my server). mdb viewer plus is a free tool that allows editing the mdb file.
At some point, I am going to try and write a tool that will read from google contacts and write into this mdb file. When I put that tool in a scheduler, I will have a sync.
(If anyone knows similar existing tool with source code availability .. do point me to it)
Thanks for the tip with MDB Viewer Plus. Although I have MS Access, it will certainly come in handy on a USB stick for other projects. In case others need it, you can find it here: http://www.portablefreeware.com/?id=727
As for source, you can try this: http://code.google.com/p/gcontacts-backup/ but it is in Java. If you go to Google and search for: Google contacts site:code.google.com you will find a lot of stuff, but a lot of it is most likely abandoned.
Take care..
Smee
amallah:
Thank you so much for this! With Obi2Yac running on a Windows machine, I now see my Obi202 notifications appear on my OpenElec box (XBMC) via the Call Notifications XBMC add-on. The hardest part was figuring out I had to edit the Listeners manually in the MDB.
Navigation
[0] Message Index
[#] Next page
[*] Previous page