Page 1 of 1

The O-MEGA Project

Posted: Sat Mar 07, 2020 11:05 pm
by Sem;colon
Hello everyone,

this is the official support thread for the O-MEGA project - a cusomizable web-interface (and more) for EventGhost.
More details can be found here: http://eventghost.net/forum/viewtopic.php?f=14&t=9641

It's a very powerfull tool/plugin, the configuration is GUI based (no files need to be modified!) but the settings are not documented (yet) and maybe not so much self-explaining.
So this aims to people that like to do some tinkering :wink:


Even though I have been developing and using this plugin for many years now, I'm pretty sure there are still some bugs in it.
Unfortunately I don't have much time to work on this project anymore, so if you find a bug, you can keep it :)
Just kidding, of course you sould post it here (or fix it right away :wink: )

How to install:
1. Download the O-MEGA.zip file attached to this post
2. Extract it's complete content to any folder
3. Run the file "install.bat" in that folder
4. Follow the instructions in the console window

This plugin requires at least EventGhost version 0.5!

Have fun with the tool!

Re: The O-MEGA Project

Posted: Mon Mar 09, 2020 7:33 am
by kgschlosser
@Sem;colon

do you have a GitHub repo set up for this??.. It would make it far easier for well... me personally to submit any bug fixes.

Re: The O-MEGA Project

Posted: Mon Mar 09, 2020 8:22 am
by Sem;colon
kgschlosser wrote: Mon Mar 09, 2020 7:33 am do you have a GitHub repo set up for this??
Hi Kevin,
Nope, I didn't setup any repo for it yet.. but yeah, would make sense to do so :)
I'll try to set up one the next days and let you know

Re: The O-MEGA Project

Posted: Mon Mar 09, 2020 4:41 pm
by kgschlosser
ok sweet.

Re: The O-MEGA Project

Posted: Fri Mar 13, 2020 11:49 am
by Sem;colon
Come on guys, no one has a question how to set this up?
Is it working fine for you? If not, how far do you get?

Re: The O-MEGA Project

Posted: Fri Mar 13, 2020 5:30 pm
by Sem;colon
kgschlosser wrote: Mon Mar 09, 2020 7:33 am @Sem;colon

do you have a GitHub repo set up for this??.. It would make it far easier for well... me personally to submit any bug fixes.
here you go! :)
https://github.com/ThomasBott/O-MEGA

Re: The O-MEGA Project

Posted: Sat Mar 14, 2020 12:27 am
by svengali
I'm about to set up home remotecontrol again. Will certainly try out this webinterface. Seems very nice.
But in line with friday 13:th the designated pc will not behave nice. :cry:
But i will at least give some kind of feedback/review ahead.

Re: The O-MEGA Project

Posted: Mon Mar 16, 2020 10:33 pm
by dan Edens
Sem;colon wrote: Fri Mar 13, 2020 11:49 am Come on guys, no one has a question how to set this up?
Is it working fine for you? If not, how far do you get?
I've been to busy to get my hands dirty but they're coming.
LOL i actually thought this too when I was coming to post, "how the fk" was my very first reaction haha,
But while typo checking and reviewing my comment, I actually figured out a few things.
Than I forgot to come back with the rest.

Let me look over the repo for a little than I'll have a bunch of questions.
I'm like zealot level interested in the details tho,

Tips, tricks, stuff that didn't work, or maybe connectors, devices, programs you use with it already.
This thing is Awesome, a Fitting addition to EG.

Re: The O-MEGA Project

Posted: Tue Mar 17, 2020 5:49 am
by Sem;colon
Puh, learning how to use of by looking at the code could be quite challenging; the project was not made with the intention to release it as open source in the first place and has been created and developed for many years, the code is anything but pretty or easy to follow.
As the programmer of this tool you definately earn my respect if you figure anything out that way :)

I use it for my complete automation in the house; lights, heaters, PCs (including media center), hi-fi, TV - you name it. Basically everything I made Eventghost to work with in a nice web UI. The possibilities are endless :)
If you know some JavaScript and like to get your hands a little dirty, you can create your very own custom templates and style and design controls the way you like them to be for your application - the API for that part is even documented ;)

Re: The O-MEGA Project

Posted: Mon Mar 23, 2020 7:22 pm
by wysocki
Semi;
Wow, I can see you've put a lot of work into this. Just FYI, here's my experience after downloading it:

I ran the install.bat. It copied 126 files successfully and opened the gui window saying "Do you want to install plugin...". I clicked OK and the dialog closed, nothing else happened. I finally figured out that I had to then manually ADD the plugin in EG! But then I was confused about the webserver settings: was I to create a new webserver (which I did), or give the settings of the existing webserver plugin? And what about the Templates and Extensions? A bit confusing for someone not highly technical, like me!

I got it running! But wasn't sure exactly what to do with it yet. I saved my config and rebooted. But then this happened:
Image 009.png
Restoring to a backup config.
Would have liked seeing just what this will provide me with before I started, too. Are you creating a user guide?

Re: The O-MEGA Project

Posted: Mon Mar 23, 2020 10:35 pm
by Sem;colon
Hi Wysocki,

I'm happy to see someone finally tried it out :)
Yes, it was indeed a lot of work :lol:

That you need to add the plugin to your config is actually written in the instructions given to you when you run the install.bat.
That part is displayed in the cmd after the window openes where you clicked ok to install the plugin btw. ;)

For the webserver, you don't need to add the webserver plugin to your config for this to work at all, it'll configure it's own (hidden) instance of the webserver plugin automatically and you set the settings for it within the configuration dialog in the O-MEGA plugin (after adding it along with all the other required plugins, like SchedulGhost - just watch the EventGhost log after adding the O-MEGA plugin to your config!)
When you also add and configure other instances of the Webserver plugin, make sure they are not set to the same port as configured in the O-MEGA plugin.

Unfortunately there is no user manual yet; I was trying to write one, but after 3 pages plain text there was still little to nothing explained compared to all the features and how to use them, so I kinda gave it up.. (writing manuals is super boring :mrgreen: )

If you follow the link in the first post, you get a short overview of the feature set ;)

The templates and extensions (examples) are basically extending the webinterface with actions or a whole UI to integrate specific devices or programs more easily or from the web UI itself, but it's not required.
When there is no extension for your application available, you can still use the web UI to trigger an event in Eventghost and configure your macro there; just like with any other remote control.

Oh, one more thing; after you have to tool running and can access the web UI, make sure to go to settings -> configuration -> pages and hit the "save" button. That's required to initiate the predefined templates to control your (server) PC. (So, you can directly remote control your mouse/keyboard and windows explorer from the web UI without further configuration)

Btw. Whenever you change any setting in that configuration part within the UI, the system automatically creates a full backup of the webserver files as well as the SchedulGhost configuration file and your EG config tree.
So when you mess up something, you can easily go back to the last state it worked by executing the "RestoreBackup.exe" in the folder of the O-MEGA plugin (usually under c:\programdata\eventghost\plugins)