IPTV STB MAG250 (remote)

Hi

It would be great if a remote component could be added/made for the Infomir MAG250 stb. http://www.infomir.eu/eng/products/archive/mag-250/ There is an app that I use today https://play.google.com/store/apps/details?id=org.humansoftware.irremotemag250trial but it would make things easier if it was integrated in HA.

Developer information (I don’t know if this is the required information) https://wiki.infomir.eu/eng/stb-webkit/for-developers/api

Thanks, Richard

I’ve been meaning to request this as well. All my devices are integrated into HA except for my Infomir STB. I suppose the work around would be to use a harmony hub but I’m certain there is a way to control via IP.

If you can get a SSH connection to your Informir MAG device (some new firmwares or IPTV providers are disabling ssh), then you could launch a remote ssh command from Homeassistant.

  • Get a fixed local IP for your MAG device (on your dhcp server or setting it manually)
  • The default ssh password for mag devices is 930920.
  • The command to simulate a keystroke in the remote control
 - for MAG 250/254:
 /usr/share/qt-4.6.0/sendqtevent <Parameters>
 - for MAG256/3XX/4XX:
 /usr/local/share/app/bin/sendqtevent <Parameters>

So I installed the program sshpass (to provide the ssh password in the command line), and I can execute this from my homeassistant server to turn on/off my MAG 254 stb:
sshpass -p 930920 ssh [email protected] '/usr/share/qt-4.6.0/sendqtevent -a -kqt 0x55'

You may add it as shell_command in homeassistant configuration.yaml:

shell_command:
  stb_infomir: "sshpass -p 930920 ssh [email protected] '/usr/share/qt-4.6.0/sendqtevent -a -kqt 0x55'"

And then you could call it from a script in script.yaml to use in a automation…

turn_infomir:
  alias: Turn on off infomir stb
  sequence:
    - service: shell_command.stb_infomir
1 Like

Hi there, is there any update on integrating an Infomir remote in HA? I have had no luck with getting ssh access as the password 930920 doesn’t work. Any suggestions are welcome

Here my Mag STB doesn’t allow SSh connection without an SSL key :frowning: any progress on this ?