best EG supported device for controlling TV + receiver?
best EG supported device for controlling TV + receiver?
I've been using harmony hub forever with IFTTT but recently they have decided to cut off the service and make it a paid subscription model. So I want to move my TV and Receiver onto eventghost. Now since EG doesn't have a harmony plug in and im told there never will be one from another thread, I want to replace my harmony hub. Right now it controls the TV, receiver, an HDMI switch as well as the projector in another room via an extension blaster I plug into the harmony hub and route into the other room. So what sort of hardware does EG support that does IR blasting like the harmony hub?
Re: best EG supported device for controlling TV + receiver?
Atm Im not aware of a IR plugin for EG with that functionality...
I went with broadlink rm pro ... you can find plugins for smart home software like home assistant or iobroker
... The stuff is best put on a raspeberry pi ... but it also runs on windows ... so you can test what you like best before buying a pie
You can then caputure you Ir signal (record them) ... and then let the broadlink rm pro execute them..
you can do simple http request to contact the smart home software ... via a rest api plugin or smth (http:// localhost:8087/restapiSyntax/mycommand)
at least this is how I do it with iobroker ... I personally dont like home assitent but in case you are not from germany you should probably go for that .... since there is more support
But there are probably some options here that I dont know of ... so maybe wait abit ...
I tried writing my own plugin for it some time back ... but there was no working library for my particular model
Maybe I can give it another shot to see if it works now ... since there seemed to be some updates to that library .. : https://github.com/mjg59/python-broadlink ...
I will have a look at it later ..
I went with broadlink rm pro ... you can find plugins for smart home software like home assistant or iobroker
... The stuff is best put on a raspeberry pi ... but it also runs on windows ... so you can test what you like best before buying a pie
You can then caputure you Ir signal (record them) ... and then let the broadlink rm pro execute them..
you can do simple http request to contact the smart home software ... via a rest api plugin or smth (http:// localhost:8087/restapiSyntax/mycommand)
at least this is how I do it with iobroker ... I personally dont like home assitent but in case you are not from germany you should probably go for that .... since there is more support
But there are probably some options here that I dont know of ... so maybe wait abit ...
I tried writing my own plugin for it some time back ... but there was no working library for my particular model
Maybe I can give it another shot to see if it works now ... since there seemed to be some updates to that library .. : https://github.com/mjg59/python-broadlink ...
I will have a look at it later ..
Re: best EG supported device for controlling TV + receiver?
Hey man stay tuned ... I tested it jsut now AND the library WORKS for my device rm pro+ https://www.amazon.com/BroadLink-Automa ... B01GIXZDKO007craft wrote: ↑Thu Sep 10, 2020 3:18 amI've been using harmony hub forever with IFTTT but recently they have decided to cut off the service and make it a paid subscription model. So I want to move my TV and Receiver onto eventghost. Now since EG doesn't have a harmony plug in and im told there never will be one from another thread, I want to replace my harmony hub. Right now it controls the TV, receiver, an HDMI switch as well as the projector in another room via an extension blaster I plug into the harmony hub and route into the other room. So what sort of hardware does EG support that does IR blasting like the harmony hub?
the library states it has support for the newer models rm4 too....
So It is actually in my own interest to write this plugin. And so I shall
Re: best EG supported device for controlling TV + receiver?
I don't want to use a pi, some other Linux box or HA\some other software. Already have my windows server going with absolutely everything I need and EG running so much automation. Installing HA and having yet another platform just to send a few IR codes out seems like a whole waste of time. If you can make an event ghost plugin for your IR blaster, I will surely buy that device
Re: best EG supported device for controlling TV + receiver?
Alright consider it done ... I confirmed stuff works inside EG ... I can create the plugin007craft wrote: ↑Thu Sep 10, 2020 8:20 pmI don't want to use a pi, some other Linux box or HA\some other software. Already have my windows server going with absolutely everything I need and EG running so much automation. Installing HA and having yet another platform just to send a few IR codes out seems like a whole waste of time. If you can make an event ghost plugin for your IR blaster, I will surely buy that device

Re: best EG supported device for controlling TV + receiver?
007craft wrote: ↑Thu Sep 10, 2020 8:20 pmI don't want to use a pi, some other Linux box or HA\some other software. Already have my windows server going with absolutely everything I need and EG running so much automation. Installing HA and having yet another platform just to send a few IR codes out seems like a whole waste of time. If you can make an event ghost plugin for your IR blaster, I will surely buy that device
Alright im working on the Plugin now. Im still not sure if it will work but we will see
It will be a good opportunity to get more familiar with python , threading , Eventghost Plugins, so I will take my time making it nice.
It shouldn't take forever ...
Once its done , I will create a Post in the Plugin Section , with the setup steps.
EDIT : Idk but my device is experiening crashes .... I openend a issue to find out what decices are actually tested .... meh
This seems really wonky...
Re: best EG supported device for controlling TV + receiver?
Alright .. figured out the issue ...seems there is still hope
.... continuing

Re: best EG supported device for controlling TV + receiver?
Alright looking good ... I have both IR & RF (LEARN and SEND) working on the rmpro+... in EVENTGHOST !
initally RF didnt work ... but luckely there was an open isssue already suggesting the fix
https://github.com/mjg59/python-broadlink/issues/397
Tommorrow I will look into savign the IR & RF Packages in eventghost ... and if this works ... there is nothing stoppig me from creating the plugin anymore
Edit : I looked into it ... and I need some help on this ... since I dont know the inner workings of eventghost myself.
Require a workaround or alternative to saving the data , that eventghost seems to have issues with.
Thats the last issue to solve ... everthing else works now
initally RF didnt work ... but luckely there was an open isssue already suggesting the fix

https://github.com/mjg59/python-broadlink/issues/397
Tommorrow I will look into savign the IR & RF Packages in eventghost ... and if this works ... there is nothing stoppig me from creating the plugin anymore

Edit : I looked into it ... and I need some help on this ... since I dont know the inner workings of eventghost myself.
Require a workaround or alternative to saving the data , that eventghost seems to have issues with.
Thats the last issue to solve ... everthing else works now
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.
Settings you set in the plugin configuration or actions are saved automatically in your EG config.
Re: best EG supported device for controlling TV + receiver?
Greetings
The data from the librarie''s discoverDevice() method contains the device info.
Saving that Data creates a pickling error in Eventghost.
It contains socket data.
The Library
https://github.com/mjg59/python-broadlink
The function that returns the data I want to save:
https://github.com/mjg59/python-broadl ... _.py#L114
Dont know how to aproach this issue.
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 know of that helps you ^^°
I don't think it's even possible to store a complete object, limit it to strings, lists and dictionaries.
Let me know of that helps you ^^°
Re: best EG supported device for controlling TV + receiver?
Thanks for the reply.Sem;colon wrote: ↑Thu Sep 17, 2020 4:14 pmOk, 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 know of that helps you ^^°
I basicly would have liked to save the device info , in order to not constantly rediscover.
But I could do a rediscover at EG startup and not save the data ... I can see this work just fine.
Indeed.
If you say its not possible to save then this is the way to go .
Thank You Semi. That should do the trick for me.
Re: best EG supported device for controlling TV + receiver?
Alright the plugin is on its way to completion007craft wrote: ↑Thu Sep 10, 2020 8:20 pmI don't want to use a pi, some other Linux box or HA\some other software. Already have my windows server going with absolutely everything I need and EG running so much automation. Installing HA and having yet another platform just to send a few IR codes out seems like a whole waste of time. If you can make an event ghost plugin for your IR blaster, I will surely buy that device

I will see to it that I run some tests and refactor the code...
Happy to say it will come to fruition.
Thanks to the help of kgschlosser and Semicolon that helped me get unstuck a couple of times ;D...
I learned some stuff and on top of that, the plugin will be a nice addition for my home automation as well

I must thank you for bringing this topic back to my attention

Learned alot and so I may be able to increase my plugin creation output ;D
Give me 1 or 2 more weeks and plugin should be rdy (I dont have much time during the week so I do the coding on the weekend)
Re: best EG supported device for controlling TV + receiver?
Thanks again for working on this. Stupid Logitech harmony and their "activities" have been the bane of my home automation. I get why they do it, because the average user needs a simple button to push, but being able to control each device individually and fire it off from any device or any way possible through EG is going to be fantastic.
Re: best EG supported device for controlling TV + receiver?
007craft wrote: ↑Mon Oct 05, 2020 9:02 pmThanks again for working on this. Stupid Logitech harmony and their "activities" have been the bane of my home automation. I get why they do it, because the average user needs a simple button to push, but being able to control each device individually and fire it off from any device or any way possible through EG is going to be fantastic.
Happy to help. Also I learned alot from this already
First version will be kind of experimental/ alpha ... I had to use some intermediate programming stuff I was unfamilar with .. so there might be possible error scenarios ...
May upload that early "developer" version ... by next week or maybe abit earlier
I may leave it in that state for a while since ... it will basicly work ...
But I will do a write up on how to use it (since its not really self explaining in this stage
