Did you deactivate your firewall?
emulated roku opens a webserver for the apps to be parsed.
Maybe thatâs the issue.
Yes, you have to see your defined âappsâ in the sofabaton app.
Did you deactivate your firewall?
emulated roku opens a webserver for the apps to be parsed.
Maybe thatâs the issue.
Yes, you have to see your defined âappsâ in the sofabaton app.
Sorry i just have a windows PC and android devices. Cant help any further here.
Did your Mac has a firewall? Maybe deactivate it during the discovery.
You have to use âexample.pyâ and NOT âadvertise.pyâ!
Thanks for the quick replies. Yes, Iâve disabled the firewall on the windows machine to make sure. Also, since the webserver is accessible on the network, this is clearly working.
The only part I donât have control over is the app on iOS, I donât have a clue why itâs not discovering the system
Ok, than it seems to be an incompatibly between the emulated Roku and Mac.
Do you have any chance to get/borrow an Android device and try it there? Maybe after you have added the device to the sofabaton hub with the android device, you can use it with your Mac device?
Unfortunately I will have to find another way. No one in sight with an Android device that I know.
This is my iPhone btw, not a MacOS issue. I can see the XML on my Mac without issues.
Itâs just too bad There must be differences in the apps between iOS and Android.
Hi pOpy, I tried it all again after re-pulling from git and now it is working
Have 18 custom aps linked now and it all works, bit of a mess setting up the automations on the back end with that many though⌠Tried to use an existing blueprint to make things easier but canât get it to work so far - link.
Yeah, sadly it seems an iOS sofabaton app issue.
Try to reach out to the support, maybe they can help.
Nice that it also works for you.
I have answered you in the linked thread with my automation (which covers all emulated roku key presses from two rooms/remotes).
Hope this helps.
pOpY
Good shout thanks!
Their support pointed me back to this thread
Hmmm.
You are here again
Sadly, I donât have apple devices to help you any further.
My best advice is to get an (cheap) android device to pair it to your account and then use your apple devices.
No worries. I just wanted to let them know that was me at the end of the thread
Iâve got beta access to the Sofabaton app via their support. Now it works! Just as you Android guys, the iOS app sees the server and the rest is history
Thanks for the update and nice the issue got sorted by sofabaton.
Cheers, much appreciated your help too! Having HA integration to me is the endgame for a universal remote, itâs the most useful feature (also I would not have bought the remote if I didnât read this thread prior).
So, I guess PSA:
Support for Roku discovery from iOS in an upcoming firmware.
Youâre welcome
Hi, Logitech Harmony user here, but i also want to switch to Sofabaton, that remote looks niceâŚ
Just wondering, i dont have experience with Roku yet, but why is it needed? i though sofabaton can use an API also? (cloud) , why not use that one? whats the advantage of roku besides its local?
For me the most important stuff, is to see the current activity in HA, and offcourse send commands from the devices (tv/receiver/âŚ) to the hub FROM HA offcourse
is that all possible? thnx
As you said. The benefit of the Roku API is â itâs local!
For most of us, thatâs the biggest benefit
The current Roku API (which sofabaton is using) has just commands in one direction,
sofabaton â HA. Just keypresses (incl. definable custom commands (apps)) will be sent and HA can trigger something.
You can âemulateâ the last activity, by just adding custom commands and adding them to âstartupâ on every activity. This way, every time an activity is triggered on the sofabaton device, HA will receive which one.
But there is no other answer about the current status from the sofabaton remote.
I dont played with their cloud api (because itâs cloud based ),
but i think itâs just an web based api.
I think itâs pretty limited. you can just trigger activitys or commands.
ok, thnx for the explenation!
Hello all, I am running into an issue starting the web server using the example.py file on a windows box. I get an error about the loop. Any suggestions would be greatly appreciated.
TypeError: Application.init() got an unexpected keyword argument âloopâ
example.py:21: DeprecationWarning: There is no current event loop
loop = asyncio.get_event_loop()
DEBUG:asyncio:Using proactor: IocpProactor
DEBUG:emulated_roku:roku_api:starting server 192.168.123.125:8060
Traceback (most recent call last):
File "D:\Emulated_Roku\example.py", line 23, in <module>
loop.run_until_complete(start_emulated_roku(loop))
~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\davel\AppData\Local\Programs\Python\Python313\Lib\asyncio\base_events.py", line 720, in run_until_complete
return future.result()
~~~~~~~~~~~~~^^
File "D:\Emulated_Roku\example.py", line 18, in start_emulated_roku
await roku_api.start()
File "D:\Emulated_Roku\emulated_roku\__init__.py", line 405, in start
self.api_runner = await self._setup_app()
^^^^^^^^^^^^^^^^^^^^^^^
File "D:\Emulated_Roku\emulated_roku\__init__.py", line 366, in _setup_app
app = web.Application(loop=self.loop,
middlewares=[self._check_remote_and_host_ip])
TypeError: Application.__init__() got an unexpected keyword argument 'loop'