Product
Introducing SSO
Streamline your login process and enhance security by enabling Single Sign-On (SSO) on the Socket platform, now available for all customers on the Enterprise plan, supporting 20+ identity providers.
Readme
Horimote ======
Horimote is an API wrapper for the set-top boxes SMT C7400 and SMT C7401. In the Netherlands these boxes are sold by a big Dutch cable operator under the name Horizon Box. The name Einder is a Dutch synonym for horizon.
I'd like to thank OrangeTux & kuijp for their einder work on horizoncontrol. This is just another shameless Python rip off. Focus on Horzion Box from Unitymedia Germany.
$ pip install horimote
horimote.Client
controls the set-top box by sending bytes. These bytes
represent the buttons of a remote control. You can find all supported
keys in horimote.keys. The example shows how to send
keys.
import time
import logging
from horimote import Client
from horimote import keys
# Enable logging.
logging.basicConfig(level=logging.DEBUG)
# Replace IP with the IP of your set-top box. The port parameter is optional,
# by default its 5900.
c = Client("192.168.1.245", port=5900)
c.power_on()
# Wait a few seconds to let the set-top box have some time to start.
time.sleep(5)
# Select channel 501.
c.send_key(keys.NUM_5)
c.send_key(keys.NUM_0)
c.send_key(keys.NUM_1)
# For selecting a channel horimote.Client offers a small helper function.
c.select_channel(501)
# No watch some TV...
c.power_off()
c.disconnect()
The horimote.Client
can also be used as a context manager:
from horimote import Client
with Client("192.168.1.245") as c:
c.select_channel(501)
This software is licensed under the MIT license.
FAQs
Async API wrapper for Samsumgs set-top boxes SMT-G7400 and SMT-G7401.
We found that horimote demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Product
Streamline your login process and enhance security by enabling Single Sign-On (SSO) on the Socket platform, now available for all customers on the Enterprise plan, supporting 20+ identity providers.
Security News
Tea.xyz, a crypto project aimed at rewarding open source contributions, is once again facing backlash due to an influx of spam packages flooding public package registries.
Security News
As cyber threats become more autonomous, AI-powered defenses are crucial for businesses to stay ahead of attackers who can exploit software vulnerabilities at scale.