Search found 20 matches

by RiseUp
Tue Apr 14, 2020 2:45 pm
Forum: Coding Corner
Topic: Tool Share, Check for running process from EG
Replies: 5
Views: 2094

Re: Tool Share, Check for running process from EG

kgschlosser wrote:
Sun Apr 05, 2020 10:48 pm
@RiseUp
I am going to put together a list of available things that can be used in cFunctions and also eg.WinApi. There are all sorts of goodies in there that can be used.
Looking forward to it!
by RiseUp
Thu Apr 02, 2020 1:42 pm
Forum: Coding Corner
Topic: Tool Share, Check for running process from EG
Replies: 5
Views: 2094

Re: Tool Share, Check for running process from EG

By chance I stumbled upon another method of checking for a running program/process at this forum post. Here's the content of the example python script from that post if anyone is curious:

Code: Select all

from eg.cFunctions import GetProcessDict
eg.result = 'chrome.exe' in GetProcessDict().itervalues()
by RiseUp
Wed Apr 01, 2020 5:39 pm
Forum: Coding Corner
Topic: Tool Share, Check for running process from EG
Replies: 5
Views: 2094

Re: Tool Share, Check for running process from EG

Thanks for sharing, Dan! I've been using psutil in an old version of EventGhost, but after finally updating to 0.5, my psutil python script stopped working. Your solution has fixed my setup. :D
by RiseUp
Wed Nov 06, 2019 2:07 pm
Forum: Plugin Support
Topic: MQTT Client
Replies: 255
Views: 93025

Re: MQTT Client

I would like to use an EG variable in the topic field of the publish command. This field seems not to support variables. Could someone add this feature please? Thank you. What have you tried that leads you to conclude that the topic field does not support variables? I'm not quite sure I understand ...
by RiseUp
Wed Sep 25, 2019 12:44 am
Forum: Plugin Support
Topic: Yamaha RX-Vxxx (or similar) Ethernet Plugin!
Replies: 216
Views: 93107

Re: Yamaha RX-Vxxx (or similar) Ethernet Plugin!

Hello! I need to change the HDMI out settings. I've downloaded YNC.zip from @Dragon470, and I've found the command, but I can't figure out how to get a command I can use in the plugin. The commands I need is in row 2625, 2626, 2627, 2628 and 2629 in the document "V671_3071_FuncTree_1.10" in the zip...
by RiseUp
Wed Dec 06, 2017 6:04 pm
Forum: Coding Corner
Topic: Rookie help: Pass variable to plugin
Replies: 8
Views: 4534

Re: Rookie help: Pass variable to plugin

kgschlosser wrote:
Wed Dec 06, 2017 5:40 pm
But let me see what i can dig up and see if i can't fashion it into a quick and dirty plugin for ya.
That's all I can ask for. Much appreciated! :D
by RiseUp
Wed Dec 06, 2017 4:48 pm
Forum: Coding Corner
Topic: Rookie help: Pass variable to plugin
Replies: 8
Views: 4534

Re: Rookie help: Pass variable to plugin

I made something very similar I would have to dig it up. It doesn't use the OSD plugin. I created a custom window that would fade in and fade out. You can set the text and text border colors but you could also set the transparency of each and you could choose to draw a colored box with or without a...
by RiseUp
Mon Jan 04, 2016 1:39 pm
Forum: Plugin Support
Topic: Philips Hue plugin
Replies: 159
Views: 59830

Re: Philips Hue plugin

Aquila wrote:Please post here if you find any other errors!
At line 2427, the print statement should be:

Code: Select all

print 'Info: ' + str(r)
by RiseUp
Thu Dec 31, 2015 10:36 pm
Forum: Plugin Support
Topic: Philips Hue plugin
Replies: 159
Views: 59830

Re: Philips Hue plugin

I added a correction to an error line (1512). I guess this correction should be to other error lines as well (str(r['state']['on'])) ? Thanks for that tip, bxr . :D That fixed the error I was experiencing. Instead of downloading your attachment, I simply modified the code as you explained where I w...
by RiseUp
Tue Dec 29, 2015 4:57 pm
Forum: General Support
Topic: Looking everywhere/Volume media key help
Replies: 1
Views: 1715

Re: Looking everywhere/Volume media key help

If you have not yet solved this, I would bet that AutoHotkey would be the thing you need. Its remapping of keys works better than EventGhost's remapping (at least in the small bit that I have tried) in that it can receive and react to the key events while blocking the OS from receiving them. Also, w...
by RiseUp
Sat Nov 21, 2015 1:46 am
Forum: Plugin Support
Topic: MQTT Client
Replies: 255
Views: 93025

Re: MQTT Client

OK, so I really have no idea what the heck changed, but somehow...it's now working. :shock: According to my best recollection, the only thing I changed was that I deleted the disabled "Keyboard" plugin from my EG configuration. I can't imagine that that would have anything to do with the MQTT plugin...
by RiseUp
Fri Nov 20, 2015 12:52 am
Forum: Plugin Support
Topic: MQTT Client
Replies: 255
Views: 93025

Re: MQTT Client

Good idea on the screenshot. This is EG's log of me testing it with the debugging print statements you asked me to insert into the code. Also, I have included the plugin settings window to see how I have it configured.

It appears I am not getting an event in EG. Does everything look okay so far?
by RiseUp
Thu Nov 19, 2015 1:23 am
Forum: Plugin Support
Topic: MQTT Client
Replies: 255
Views: 93025

Re: MQTT Client

OK, fine, I see The thing is that in general topics need to be with a leading slash (/) So in your case, you have to set the topic to /eventghost/# When you publish the timestamp in the RPi, you have to publish it to the topic /eventghost On mosquitto's man page, all their examples have no leading ...
by RiseUp
Tue Nov 17, 2015 11:49 pm
Forum: Plugin Support
Topic: MQTT Client
Replies: 255
Views: 93025

Re: MQTT Client

Copy & paste some messages here so I can see the structure of them I'm not sure if I'm misunderstanding you, or if I've confused you. I am sending MQTT messages from Node-RED on my R-Pi to Eventghost on my PC. For testing purposes, I am simply sending a timestamp. If the copy/paste of the message h...
by RiseUp
Tue Nov 17, 2015 3:27 am
Forum: Plugin Support
Topic: MQTT Client
Replies: 255
Views: 93025

Re: MQTT Client

How does your topic definition in EG MQTT Client look like? I am testing with the topic as: eventghost/# How does the mqtt event look like that you are publishing? I am using Node-RED (from a Raspberry Pi on my LAN) to test the MQTT on Eventghost. Currently, I am just sending a timestamp as the pay...