Search found 60 matches

by igvk
Sat Jul 15, 2017 7:14 pm
Forum: General Support
Topic: Amazon Echo Skill EchoToEventGhost
Replies: 146
Views: 57881

Re: Amazon Echo Skill EchoToEventGhost

It's a very interesting script, and it's working. But I would like to suggest that you get rid of LITERAL and add processing of several intents, for example: Schema: { "intents": [ { "slots": [ { "name": "Equipment", "type": "EQUIPMENT" }, { "name": "State", "type": "STATE" } ], "intent": "TurnPower...
by igvk
Tue Jul 11, 2017 10:16 pm
Forum: Plugin Support
Topic: Zoom Player plug-in
Replies: 18
Views: 8779

Re: Zoom Player plug-in

hmm, i'm blind. I can't find "StreamSelectNav" nor "StreamSelectionNav" :shock: You made a typo, search for "ionNav" in your modified code. Why store the Volume inside the plugin when it's not used? Any reason for this? I would skip this, because as you said the value has also to be changed on sett...
by igvk
Tue Jul 11, 2017 9:40 pm
Forum: Plugin Support
Topic: Zoom Player plug-in
Replies: 18
Views: 8779

Re: Zoom Player plug-in

can you show me your code changes and how you generate the volume event? I will include the new version in the next release. Here's what I changed (a little hacky): self.PlayState = -1 self.PlayVolume = 0 in class ZoomPlayer.__init__() elif header == "2300": state = int(state) self.PlayVolume = sta...
by igvk
Tue Jul 11, 2017 9:33 pm
Forum: Plugin Support
Topic: Zoom Player plug-in
Replies: 18
Views: 8779

Re: Zoom Player plug-in

topix wrote:I'm not the author but i made the changes regarding socket. Please try the attached version.
Sorry, I made a small error. In fact, you should change function to "StreamSelectNav", the opposite of what I wrote.
You have a misspell there in the source ("ionNav").
by igvk
Tue Jul 11, 2017 9:23 pm
Forum: Plugin Support
Topic: Zoom Player plug-in
Replies: 18
Views: 8779

Re: Zoom Player plug-in

For reading the current volume, did you try the raw command? I don't have ZoomPlayer and can't test it, but from reading the code it seems 2300 is the command to send. Yes, 2300 is the way to go. Besides that, you also need to trigger event with the value of the current volume to pass it to EG. I h...
by igvk
Tue Jul 11, 2017 12:18 am
Forum: Plugin Support
Topic: Zoom Player plug-in
Replies: 18
Views: 8779

Re: Zoom Player plug-in

Seems that in newest version of EG you need to replace it with self.session.socket.sendall, as suggested. This, and self.socket.settimeout instead of self.settimeout. Besides, StreamSelectNav was replaced with StreamSelectionNav in newer ZP versions. Hope that the author will update this plugin and ...
by igvk
Sun Jun 11, 2017 5:44 am
Forum: Plugin Support
Topic: MediaMonkey
Replies: 217
Views: 104608

Re: MediaMonkey

Unfortunately, this plugin doesn't notice MediaMonkey (re)starts while EG is running.
And no error is shown in the latest version of EG.
by igvk
Wed Jun 07, 2017 10:34 pm
Forum: Show Off Your Automation Setup
Topic: Video of my automation
Replies: 16
Views: 8832

Re: Video of my automation

shayno,
Could you please show the configuration of VoxCommando?
How do you implement interactivity with it and how do you vary its reactions?
by igvk
Fri Jun 17, 2016 6:19 am
Forum: General Support
Topic: Drops on reading from serial port
Replies: 79
Views: 14752

Re: Drops on reading from serial port

kgschlosser wrote:but hey at least it fixed the original problem of dropping data. LOL
That's actually the most important thing that was needed!)
by igvk
Fri Jun 17, 2016 4:51 am
Forum: General Support
Topic: Drops on reading from serial port
Replies: 79
Views: 14752

Re: Drops on reading from serial port

I have tested mouse movements, and it works ok, also the angle for diagonal movements is not always 45. But the cursor always accelerates, even when I set the value for acceleration to 0. Besides, the extra event (movement x=0, y=0) when pressing mouse buttons is still present. I also tried setting ...
by igvk
Wed Jun 15, 2016 11:27 am
Forum: General Support
Topic: Drops on reading from serial port
Replies: 79
Views: 14752

Re: Drops on reading from serial port

The thanks actually go to you. It would be the best to create a thread and include the plugin in the official EG distribution. You may mention whatever you see fit. I will also try to test mouse movements a little bit more. But I also suggest choosing the right name. Official one is X10 Wireless Mou...
by igvk
Tue Jun 14, 2016 10:52 pm
Forum: General Support
Topic: Drops on reading from serial port
Replies: 79
Views: 14752

Re: Drops on reading from serial port

Actually, it's working perfectly already. And not a single drop yet.
Great work!
by igvk
Tue Jun 14, 2016 9:53 pm
Forum: General Support
Topic: Drops on reading from serial port
Replies: 79
Views: 14752

Re: Drops on reading from serial port

Sleep(.1) is the lowest, seems like something artificially holds the port open for exactly this time.
by igvk
Tue Jun 14, 2016 9:32 am
Forum: General Support
Topic: Drops on reading from serial port
Replies: 79
Views: 14752

Re: Drops on reading from serial port

About the names of events: I prefer to configure only the last part of event name: e.g. "Play", meaning that both Firefly.Play and X10Mouse.Button.Play will trigger the action and you don't need to set up several events for each action. Besides, the configuration was first made long ago, and looks l...
by igvk
Tue Jun 14, 2016 9:17 am
Forum: General Support
Topic: Drops on reading from serial port
Replies: 79
Views: 14752

Re: Drops on reading from serial port

Omitting sleep entirely produces the following error (I've already verified this while determining a lower timeout): X-10 Mouse Plugin Has Stopped [SerialException("could not open port: (5, 'CreateFile', 'Access is denied.')",)] X-10 Mouse Plugin Has Stopped By the way, why are there two different s...