Using auto remote, tasker, Alexa, old phone, anymote, home assistant and various curl cmd scripts, I can now successfully change my TV channel via infra red and alexa. Alexa changes the channel in under a second using curl over a py script.
i can now⌠-
Say to Alexa, turn my freeview box off -
That is sent to my home automation system running on my PI -
The home automation system then calls a curl script
Which then triggers an OFF HTTP request using an online web service sender (AutoRemote) which is then sent to my phone
My phone reads this Off command (Tasker) and sends an OFF IR command to the youview box.
AutoRemote
This allows you to send a web request to an old Android phone running tasker. Each web request you send using AR can hold a different message, tasker can perform a specific action based on each message it receives.
I use emulated hue to discover my switch in alexa.
This is sent to an old Android device running tasker and AnyRemote.
Iâm now trying to incorporate automation, so when I go into app mode on my TV, it automatically switches my amp to the correct input, using a platform state change but that isnât working yet.
I do a very similar thing using a broadlink rm pro, although without needing tasker or any other web service, but instead using custom Alexa intents from amazon dev account.
Its helpful isnt it, only problem i have is getting the language right:
alexa, ask home assistant to change channel to bbc one (quite lengthy, working on slimming that)
@CommonBlob Could you share any example config for the RM Pro side of things, im thinking of getting one myself, so would like to hit the ground running
Can i ask if you use Broadlinkâs light switches, or others such as LightwaveRF, if the later, is it controllable from the RM Pro?
I dont use any light switches im afraid. Im in the UK with no neutral wire so they are no good for me, but i do have some plugs and also control tv/amp/xbox etc
I havenât got it yet but I will be soon, tried out some infrared controlled dimmers and found out they are no good. I have read somewhere in the forum that they do report state.
Just read your post again on alexa custom skills and was wondering if you could help me please as I am struggling setting it up.
My ISP is Virgin Media and they do not allow forwarding internal to external ports so I tried setting up custom skills using lambda but failed many times.
Could you please advise me on how you set up your custom skills on amazonâs developer page i.e. location etc.
I have a rm mini 3 and trying to get alexa to change channels on my Virgin box. Any idea on how I could set that up without using a spare android phone plugged on charge (using rm bridge or tasker plugin) waiting for its battery to explode?
LocateIntent Where is {User}
LocateIntent Where's {User}
LocateIntent Where {User} is
LocateIntent Where be {User}
LocateIntent Where did {User} go
WhereAreWeIntent where we are all
WhereAreWeIntent where everyone is
ActivateSceneIntent activate {Scene}
RunScriptIntent run {Script}
RunScriptIntent turn {Script}
ChangeChannelIntent watch {Channel}
Then i have my endpoint, which goes to my https server (not forgetting the api_password
Im on Plusnet. My router is set to port forward 443 -> 8123 yes.
The config for configuring the broadlink is on my github. But essentially i have a set of automations that change the channels. (test it works locally first). Then alexa just tells HA to run these same automations.
So i say, alexa, tell home assistant to watch bbc 1. This uses the utterence: âChangeChannelIntentâ because it matches the watch {Channel}. And because bbc 1 is in the channel slot, this is the info that is passed on. If you check my channels.yaml in the alexa dir on github it has the other side of it. Also with the chanels.yaml in the automations folder.
Mine works direct with rm pro, not tasker, so no android phone needed, which seems a bit clunky to me, even if my language is a bit clunky instead Although i think i could get the same effect with emulated_hue, although im not sure you can do automations in that.
However this was part experiment for other things as there are some things you canât do. Unless you want to turn everything on or off or dim.
Id be suprised if you can do a simple port forward. I think all of my routers have done that in the past, even my crappy sky one. But then, ive never been with Virgin
I charge it once every 3/4 days. It doesnât do anything really so battery lasts.
I was charging it straight from my virgin box/tv, which meant it only started charging when I turned my TV on. So around 4hrs a dayâŚ
Iv heard of people using ifttt but the delay is 8 seconds before alexa changes the channel.
I only use the above solution to control my amp as thatâs the only thing controlled by ir. A python request was about 7 seconds. A Curl request done it immediately.
Iâm now using my old Android as a cctv camera, but more fir the motion detectors. My lights will come on if the sun has set and it detects motion. So iv increased the camera sensitivity and made sure it can see the TV!
If the TV ainât on thereâs a good chance I wonât be Iâm that room so works for me.
I am still figuring out how to connect my tivo box to the internet like I mentioned before but I am having no joy. Did you follow or do anything specific after plugging the ethernet cable from your tivo box to your router?
Also are you using anymore or any remote for the project you described in your OP?