Common problems and their solutions sticky?

Tutorials & Guides
jachin99
Experienced User
Posts: 328
Joined: Sat Feb 13, 2016 8:39 pm

Common problems and their solutions sticky?

Post by jachin99 » Thu Aug 10, 2017 1:13 am

Just throwing this out there but i think it could be helpful if we created a well organized forum or stickies for common problems and their solutions. We could categorize them by Common Windows Problems, Common EventGhost Problems, and Common Problems for Common Plugins. I people working pretty hard on the forum, and it might save a few devs repetitive work.

User avatar
topix
Experienced User
Posts: 381
Joined: Sat May 05, 2007 3:43 pm
Location: Germany
Contact:

Re: Common problems and their solutions sticky?

Post by topix » Sun Aug 13, 2017 7:02 am

wouldn't this be something for a wiki? Only put a sticky topic with the link to the wiki at the forums top?

User avatar
kgschlosser
Site Admin
Posts: 3113
Joined: Fri Jun 05, 2015 5:43 am
Location: Rocky Mountains, Colorado USA

Re: Common problems and their solutions sticky?

Post by kgschlosser » Mon Aug 14, 2017 2:29 pm

I am not sure that everyone knows what the wiki is or how to get to it. or how to add to it.

here is the wiki.
http://www.eventghost.net/mediawiki/ind ... =Main_Page


you would need to ask pearbear for permissions to add to it. just shoot him a PM asking for permissions to add something give a brief description and he will grant you permission but will also give you a layout standard to follow I am sure.

The Wiki has been there for a long time tho we have not had the ability to add to it until recently. something got messed up some time ago and has now been fixed.
If you like the work I have been doing then feel free to Image

jachin99
Experienced User
Posts: 328
Joined: Sat Feb 13, 2016 8:39 pm

Re: Common problems and their solutions sticky?

Post by jachin99 » Tue Aug 15, 2017 11:40 am

Adding a whole new page would boost search engine relevancy correct? If so, maybe that would be another way to bring traffic to the site

User avatar
kgschlosser
Site Admin
Posts: 3113
Joined: Fri Jun 05, 2015 5:43 am
Location: Rocky Mountains, Colorado USA

Re: Common problems and their solutions sticky?

Post by kgschlosser » Wed Aug 16, 2017 10:52 pm

it doesn't have to be a new page. as long as keyword hits are there. new pages do help also. but for each specific set of instructions a new page should be created in the wiki for it anyway. so it helps in both aspects. Forum posts help also but i think the specific words are not repeated enough to boost SEO.

so an an example if a plugin is made for a specific device manufacturer and type you many only get a keyword hit once or twice per page for that manufacturer. I mean in all reality how many times is one going to type out something like Weather Underground before calling it WU LOL. So if there is a "how to" done for the plugin in the wiki we just have to remember to make the page titles include EventGhost, Home Automation, Smart Home, Weather Underground. I could have misread but I think with google searches that the page titles are the second thing as far as SEO goes. I believe the list is, number of links to your site from other sites, page titles, keywords. as far as the keywords go I am not sure if this is done on a per site basis or on a per page basis.

@jachin99

SEO is the single most important thing when putting up a website. You need to know the ins and outs of it. SEO changes based on search engines. But the big 3 are Google, Yahoo, Bing. I would learn those 3 at the very least. You can have the best looking site ever made. and it can have perfect content. but if no one can find it then what is the point? and there is a difference between a crappy site and a site with not enough information. tho most people tend to put these 2 into that crappy classification. My definition of a crappy site is a site where it's a pain to find something specific you are looking for. or a site that is way to nested. a site that does not have enough information for 1 hurts your SEO. but also the user cannot find any information they may be looking for because it doesn't exist. we are the latter one. It doesn't have to be pretty (tho eye candy is nice) it has to be simple to find what you are looking for and contain the information people want to know about, well mostly.

There is going to be information on a website that frankly most people do not normally read. for instance the About Us page. this page is mainly there for SEO. it provides a nice place for keyword use. a History page is right up there with it.

I am up for an education as to why when you do a search on google for "Home Automation software windows" EG does not show up. or even "smart home software". or any of the usual keywords that someone would use to locate home automation software. EG has been around for wayyy longer then the top results. and EG has wayyy more links on other pages then they do. but why is EG not listed?
If you like the work I have been doing then feel free to Image

User avatar
Boolean263
Plugin Developer
Posts: 81
Joined: Sat Aug 12, 2017 7:52 pm
Location: Ottawa, Canada
Contact:

Re: Common problems and their solutions sticky?

Post by Boolean263 » Wed Aug 16, 2017 11:40 pm

I do some wiki gardening at work, so I have some experience with wiki layout and content and whatnot. If you folks are up for it, and if I can locate pearbear (no one by that name appears here) for a wiki account, I could see about sprucing up the wiki a bit.

The real useful information would stay on the forums, of course. But the wiki could give more summaries and pointers and whatnot for people who haven't figured out the forum's search box, or who are intimidated by the technical talk.

Edit: Hey, he is on that list! I'm just too dense to find the "Next" button. I promise I'm better with wikis than I am with forums!
Windows 10 Home, version 1703, build 15063.540 · EventGhost 0.5.0-rc4 · wxPython 3.0.2.0
Python programmer for fun and profit. Dabbler in EventGhost plugin writing. Wiki gardener. General geek.

User avatar
kgschlosser
Site Admin
Posts: 3113
Joined: Fri Jun 05, 2015 5:43 am
Location: Rocky Mountains, Colorado USA

Re: Common problems and their solutions sticky?

Post by kgschlosser » Thu Aug 17, 2017 4:44 am

Boolean263 wrote:Edit: Hey, he is on that list! I'm just too dense to find the "Next" button. I promise I'm better with wikis than I am with forums!
Funny. I clicked the link you posted and was looking, i then wondered if you saw the page numbers... I was going to post a direct link to his account for ya so you could send the PM. had it all set to go. then i read the rest of your post.
If you like the work I have been doing then feel free to Image

User avatar
Boolean263
Plugin Developer
Posts: 81
Joined: Sat Aug 12, 2017 7:52 pm
Location: Ottawa, Canada
Contact:

Re: Common problems and their solutions sticky?

Post by Boolean263 » Fri Sep 15, 2017 2:36 pm

I've been occasionally working on the wiki since the above discussion.

I haven't started refactoring the main page yet. That I think is going to be the biggest help, because we can use it to give people a better idea not only of what EventGhost is, but what it can do for them.

My work has been focused on making things clear, navigable, and readable. I've added a bunch of templates that can provide information and shortcuts, and I've created some pages to cover the basics (plugins, events, actions, macros, even folders). I've also documented a few example plugins to show the sorts of detailed information we can provide.

I haven't started a troubleshooting section yet, but imagine it to be fairly similar to what I've done so far.

I'd be grateful for any feedback you folks have on the approach, and on other pages you'd like to see. (You don't need to reply here with comments about specific content -- it's a wiki! If I wrote something wrong, you can fix it yourself! :D )
Windows 10 Home, version 1703, build 15063.540 · EventGhost 0.5.0-rc4 · wxPython 3.0.2.0
Python programmer for fun and profit. Dabbler in EventGhost plugin writing. Wiki gardener. General geek.

User avatar
kgschlosser
Site Admin
Posts: 3113
Joined: Fri Jun 05, 2015 5:43 am
Location: Rocky Mountains, Colorado USA

Re: Common problems and their solutions sticky?

Post by kgschlosser » Sat Sep 16, 2017 10:02 pm

Here is a complete list of all of the built in events for EG 0.5 (I think this is all of them)

Main.OnInit
Main.OnInitAfterBoot
Main.OnClose
System.Idle
System.UnIdle
System.DriveMounted.N N being the drive letter
System.DriveRemoved.N N being the drive letter
System.DeviceAttached
System.DeviceRemoved
System.ClipboardChange
System.SessionLock
System.SessionUnlock
System.Mute
System.UnMute
System.Volume
System.Monitor.Off
System.Monitor.On
System.Monitor.Dim
System.AwayMode.Exiting
System.AwayMode.Entering
System.PowerSource.Line
System.PowerSource.Battery
System.PowerSource.UPS
System.BatteryLevel.N N being the percentage of the battery left
System.PowerSaving.Off
System.PowerSaving.On
System.PowerProfile.PowerSaver
System.PowerProfile.HighPerformance
System.PowerProfile.Balanced
System.ResumeAutomatic
System.Resume
System.Suspend
System.ConsoleConnect
System.ConsoleDisconnect
System.RemoteConnect
System.RemoteDisconnect
System.SessionLogon
System.SessionLogoff
System.SessionLock
System.SessionUnlock
System.SessionRemoteControl

extra events for Windows XP
System.BatteryLevel.Low
System.OemEvent
System.QuerySuspendFailed
System.ResumeCritical
System.QuerySuspend
If you like the work I have been doing then feel free to Image

User avatar
Boolean263
Plugin Developer
Posts: 81
Joined: Sat Aug 12, 2017 7:52 pm
Location: Ottawa, Canada
Contact:

Re: Common problems and their solutions sticky?

Post by Boolean263 » Sun Sep 17, 2017 3:01 am

kgschlosser wrote:Here is a complete list of all of the built in events for EG 0.5 (I think this is all of them) ...
I'll take that to mean that you like what I'm doing. (: Cool, thanks! Here's the prettied-up version of that list. Feel free to add or correct the information you see there.

I also added this handy tip you mentioned in another forum post.
Windows 10 Home, version 1703, build 15063.540 · EventGhost 0.5.0-rc4 · wxPython 3.0.2.0
Python programmer for fun and profit. Dabbler in EventGhost plugin writing. Wiki gardener. General geek.

User avatar
kgschlosser
Site Admin
Posts: 3113
Joined: Fri Jun 05, 2015 5:43 am
Location: Rocky Mountains, Colorado USA

Re: Common problems and their solutions sticky?

Post by kgschlosser » Sun Sep 17, 2017 5:03 am

You had 2 duplicate entries. and I filled in the blanks and made some corrections. things like "A monitor has turned on". It doesn't report for a single monitor but only when all monitors turn on or off. and the Device removed and attached are only for USB devices.

The session stuff is a bit tricky because by definition a session can be and of the following local, remote, console remote or console local. so when you see events for things like Session.Logon it could be from a remote session or a local.

also some of the events only happen while running from the internal battery or switching between the internal battery and being plugged in, laptops mostly. You will also see some events on systems that has a UPS for some of them, depending on how you have things set up in Windows.

Code: Select all

Main.OnInit                             Triggered after EventGhost has loaded all your plugins.
Main.OnInitAfterBoot                    Triggered if you have EventGhost set to automatically start at login
Main.OnClose                            Triggered when EventGhost is exiting. You will not see this event take place but it does.
System.Idle                             System is idle This occurs when no keyboard/mouse activity takes place for 1 minute.
System.UnIdle                           System is no longer idle. This occurs when the system detects keyboard/mouse activity and is in the idle state.
System.DriveMounted.N                   A disk drive has just been mounted as N:.
System.DriveRemoved.N                   The disk drive called N: has been removed.
System.DeviceAttached                   A USB device, such as a USB mouse, has been attached. The payload is a list holding a string with the device identifier of the new device.
System.DeviceRemoved                    A USB device has been removed. The payload is a list holding a string with the device identifier of the removed device.
System.ClipboardChange                  Something has been cut or copied to the clipboard. (This is triggered even if the new item is identical to what was already in the clipboard.)
System.Mute                             Sound output has been muted. The payload is a string containing the unmuted volume, ranging from 0.00 to 100.00.
System.UnMute                           Sound output has been unmuted. The payload is a string containing the unmuted volume, ranging from 0.00 to 100.00.
System.Volume                           Sound output volume level has changed. The payload is a string containing the new volume, ranging from 0.00 to 100.00.
System.Monitor.Off                      The monitor(s) has turned off.
System.Monitor.On                       The monitor(s) has turned on.
System.Monitor.Dim                      The monitor(s) have dimmed. This will usually occur when going from an A/C power source to the internal battery, commonly seen with laptops.
System.AwayMode.Exiting                 System exited the “user not present” state.
System.AwayMode.Entering                System entered the “user not present” state.
System.PowerSource.Line                 The power being supplied to the computer is line voltage - A/C power.
System.PowerSource.Battery              The power being supplied to the computer is an internal battery, commonly seen in laptops.
System.PowerSource.UPS                  being supplied to the computer is an external battery - Uninterruptible Power Supply
System.BatteryLevel.N                   Triggered when the internal battery or UPS battery is at N% remaining.
System.PowerSaving.Off                  Power saving features are turned off. If you have Windows set to change power consumption when the power source changes from line to battery/UPS
System.PowerSaving.On                   Power saving features are turned on. If you have Windows set to change power consumption when the power source changes from line to battery/UPS
System.PowerProfile.PowerSaver          When you change your power profile to a power saver mode
System.PowerProfile.HighPerformance     When you change your power profile to a high performance mode
System.PowerProfile.Balanced            When you change your power profile to a balanced mode
System.ResumeAutomatic                  System is resuming automatically from a low-power state. This event is triggered every time the system resumes.
System.Resume                           System is resuming from a low-power state. This event gets triggered if resume is triggered by user input, such as pressing a key.
System.Suspend                          System is being suspended.
System.ConsoleConnect                   A console or remote FX session (remote desktop) has started.
System.ConsoleDisconnect                A console or remote FX session (remote desktop) has stopped.
System.RemoteConnect                    A remote desktop session has started.
System.RemoteDisconnect                 A remote desktop session has stopped.
System.SessionRemoteControl             When a remote desktop session changes state between controlled and uncontrolled. This happens when a remote desktop session is closed and not logged off.
System.SessionLogon                     User logged on the local or remote desktop session.
System.SessionLogoff                    User logged off the local or remote desktop session.
System.SessionLock                      User locked the local or remote desktop session. The payload is a list holding a string with the name of the user whose session is unlocked.
System.SessionUnlock                    User unlocked the local or remote desktop session. The payload is a list holding a string with the name of the user whose session is unlocked.
If you like the work I have been doing then feel free to Image

User avatar
kgschlosser
Site Admin
Posts: 3113
Joined: Fri Jun 05, 2015 5:43 am
Location: Rocky Mountains, Colorado USA

Re: Common problems and their solutions sticky?

Post by kgschlosser » Sun Sep 17, 2017 5:06 am

and TY for making all these changes to the Wiki. I do really appreciate it.
If you like the work I have been doing then feel free to Image

User avatar
kgschlosser
Site Admin
Posts: 3113
Joined: Fri Jun 05, 2015 5:43 am
Location: Rocky Mountains, Colorado USA

Re: Common problems and their solutions sticky?

Post by kgschlosser » Sun Sep 17, 2017 5:19 am

and I also wanted to note how the events get processed. this can be handy for a multitude of things but the biggest thing being tree organization. The tree gets searched from the top down one "branch at a time. and each branch gets processed left to right. just like reading a book. so as an example. if you didn't want to have a macro that performs a bunch of tasks all clumped together and you wanted to have your tree broken up by device for example. you can use the same event multiple times.

so as an example. say you have an event come in for a remote button press that you want to assign to change your TV to a different input and to change your AVR to a different input you can keep these things in 2 separate macros under their device folders. if for some reason the sources on the device have to be changed in a specific order then you would place the device that has to be processed higher up in the tree

But say you have some folder nesting

Code: Select all

devices
      AVR
      TV
AVR would get changed first and then the TV

or if you did something like this

Code: Select all

source
    Input1
        AVR folder
          AVR macro
        TV macro
AVR would get run first

Code: Select all

source
    input1
        TV macro
        AVR folder
          AVR macro
TV would get run first
If you like the work I have been doing then feel free to Image

User avatar
kgschlosser
Site Admin
Posts: 3113
Joined: Fri Jun 05, 2015 5:43 am
Location: Rocky Mountains, Colorado USA

Re: Common problems and their solutions sticky?

Post by kgschlosser » Sun Sep 17, 2017 5:41 am

On the Window Plugin Mention in the find window that the more refined your search the better the chance of getting the window you are looking for. And also mention that Find Window is not something that simply locates a program. but the "Windows" in Find Window actually means anything that uses uses the Window class which can be things like combo boxes, text entry boxes, buttons things like that. so if they want to send text to the "Window" they are going to get the best results if they target the specific control they want to send the text to. so instead of sending a bunch of tabs and then an enter into the base window to press a specific button then can simply target the button it's self and send the button the enter key. and this can also be done without the window having to be in focus or in the front.


this is an example of sending keystrokes to a window but nothing happens.

sending keystrokes to notepad and have the program name, window name and class (or any combination of the 3) filled in. It will do nothing. it will not work. but if you put "edit" into the child class field it will work. this is because you targeted the actual text entry control and not the window it's self.

There is one HUGE exception to all of this.. if the program has a custom drawn UI (like FireFox) you will only have the ability to target the main window. and this can lead to all kinds of problems if you are doing somethign like sending keys into the window because you are unable to define where they should go to and they can end up anywhere and doing things you do not want it to do.


On the Mouse plugin it is suggested to put a Wait action between movements and button presses. we suggest this because of how windows processes different things and how loaded down things are. you could do a movement and then a button press and then another movement and the button press will never happen. the Wait action gives the system a little time to play catch up. set the Wait to 0.1 and that should work just fine.
If you like the work I have been doing then feel free to Image

User avatar
Boolean263
Plugin Developer
Posts: 81
Joined: Sat Aug 12, 2017 7:52 pm
Location: Ottawa, Canada
Contact:

Re: Common problems and their solutions sticky?

Post by Boolean263 » Sun Sep 17, 2017 4:13 pm

Thank you for all the feedback! I've incorporated it all. Feel free to edit the wiki pages yourself with further updates.

Now, let's get back to the troubleshooting aspect. Can you give me one or two links to common problems, and/or common troubleshooting steps, that you'd like to see wikified? I'll need them to help me form an idea of what the Troubleshooting section should look like.
Windows 10 Home, version 1703, build 15063.540 · EventGhost 0.5.0-rc4 · wxPython 3.0.2.0
Python programmer for fun and profit. Dabbler in EventGhost plugin writing. Wiki gardener. General geek.

Post Reply