Search found 673 matches

by Sem;colon
Sun Sep 20, 2020 8:00 pm
Forum: Coding Corner
Topic: How to acces action data from another action
Replies: 11
Views: 122

Re: How to acces action data from another action

Hehe, sorry for the late reply, was a busy day again ;)

Code: Select all

eg.configDir
That's the one

Btw. Nice song :D
by Sem;colon
Sun Sep 20, 2020 11:16 am
Forum: Coding Corner
Topic: How to acces action data from another action
Replies: 11
Views: 122

Re: How to acces action data from another action

Perfect! :D I prefer json too. And it's pretty easy indeed. First "import json" in your plugin. When you want to dump/ parse your json object, you just need to open a file in Python for reading or writing and use json.load() and json.dump() to convert your object to or from json. Check this out: htt...
by Sem;colon
Sun Sep 20, 2020 9:48 am
Forum: Coding Corner
Topic: How to acces action data from another action
Replies: 11
Views: 122

Re: How to acces action data from another action

Hi Medy, The normal way would be to indeed combine the learn and send action into one. However, I see your use case now and it does make sense to store this data in a place both actions can access. You always have access to the EG.plugin namespace, everywhere inside your plugin. - in actions you wou...
by Sem;colon
Sun Sep 20, 2020 8:12 am
Forum: Coding Corner
Topic: How to acces action data from another action
Replies: 11
Views: 122

Re: How to acces action data from another action

You're welcome! I'm happy I could help :D
by Sem;colon
Sat Sep 19, 2020 4:03 pm
Forum: Coding Corner
Topic: How to acces action data from another action
Replies: 11
Views: 122

Re: How to acces action data from another action

Hi Medy, I'm not 100% sure if it's impossible, but it surely doesn't make much sense. You can't make sure the two actions are always both configured in the user's configuration. Why do you want to do that? Usually you would store the shared data in self.plugin during the runtime and then access it f...
by Sem;colon
Thu Sep 17, 2020 4:14 pm
Forum: General Support
Topic: best EG supported device for controlling TV + receiver?
Replies: 12
Views: 391

Re: best EG supported device for controlling TV + receiver?

Ok, I would keep things to save persistently to a minimum. For example you can run a device discovery on plugin startup and only store identifiers to the devices in the configuration. I don't think it's even possible to store a complete object, limit it to strings, lists and dictionaries. Let me kno...
by Sem;colon
Thu Sep 17, 2020 5:02 am
Forum: General Support
Topic: best EG supported device for controlling TV + receiver?
Replies: 12
Views: 391

Re: best EG supported device for controlling TV + receiver?

What kind of data do you want to save?
Settings you set in the plugin configuration or actions are saved automatically in your EG config.
by Sem;colon
Sat Sep 12, 2020 7:53 am
Forum: General Support
Topic: Trying to condition off of frontmost window
Replies: 3
Views: 62

Re: Trying to condition off of frontmost window

Hi jryan15, The thing you need is the plugin "task monitor". Here you will get an event whenever a window is focused. Here how to use it: Create 4 macros: App 1 selected App 2 selected Focus App 1 Focus App 2 When your window from app1 is focused, you will get an event. On that event you trigger the...
by Sem;colon
Sat Sep 05, 2020 9:27 pm
Forum: Bug Reports
Topic: "Minimize to Tray" command bug when screen is turned off
Replies: 10
Views: 529

Re: "Minimize to Tray" command bug when screen is turned off

Hi reaper,

What you describe is a bug in Windows, nothing EG can fix unfortunately.
You find the same behavior with other apps in system tray, no matter of Eventghost sent them there or not.
by Sem;colon
Sun Aug 23, 2020 9:04 am
Forum: General Support
Topic: Set PC Vol with phone
Replies: 1
Views: 149

Re: Set PC Vol with phone

Hello Logan and welcome to Eventghost! You actually just need to get an event from your phone to Eventghost and trigger the set volume action there. There are so many ways to get an event from a phone to Eventghost (web interface, app, many protocols..), what the best one is for you really depends o...
by Sem;colon
Tue Aug 11, 2020 6:17 am
Forum: Plugin Support
Topic: Z-Wave
Replies: 117
Views: 20609

Re: Z-Wave

kgschlosser wrote:
Tue Aug 11, 2020 12:16 am
EG is not a "Smart Home" application so there is no fancy Web GUI for controlling devices manually.
That's right. However, you can turn it into one with this plugin:
viewtopic.php?f=9&t=10442
by Sem;colon
Fri Aug 07, 2020 7:03 pm
Forum: General Support
Topic: Arduino / Raspberri communication with EG
Replies: 11
Views: 934

Re: Arduino / Raspberri communication with EG

For communication with an raspberry you can use the EG SSH plugin.
Works pretty much out of the box, you just need to enable the SSH interface on the pi.
viewtopic.php?f=9&t=6021
by Sem;colon
Thu Jul 23, 2020 5:28 pm
Forum: Plugin Support
Topic: Microsoft MCE Remote - Vista and newer
Replies: 338
Views: 129687

Re: Microsoft MCE Remote - Vista and newer

Crowley wrote:
Thu Jul 23, 2020 4:22 pm
Just curious, is there any downside to running EG with elevated privileges?
Yes, 1st of all it shouldn't be done for security reasons (!)
2nd, Some plugins may not work as intended. (Rarely though)
by Sem;colon
Sun Jul 19, 2020 9:04 pm
Forum: Tutorials & Guides
Topic: Control a Honeywell Lyric T6 Thermostat from EventGhost
Replies: 3
Views: 1060

Re: Control a Honeywell Lyric T6 Thermostat from EventGhost

That's how I started once as well, just take a look at another plugin - I'm convinced you can will succeed and learn something from it, it's not as hard as it first looks :) The most difficult part, in my opinion, is creating the UI (wxPython), but with a lot of copy & paste from other plugins that ...
by Sem;colon
Sun Jul 19, 2020 7:39 am
Forum: Tutorials & Guides
Topic: Control a Honeywell Lyric T6 Thermostat from EventGhost
Replies: 3
Views: 1060

Re: Control a Honeywell Lyric T6 Thermostat from EventGhost

Hi ivesKO, Sounds like you quite interested some time to create those scripts, thank you for sharing! :) However, maybe you want to consider turning your set of scripts into one plugin? The structure you describe is pretty much the structure a plugin uses, creating a plugin is actually not so diffic...