npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2024 – Pkg Stats / Ryan Hefner

node-red-contrib-vestel-tv

v0.0.1

Published

Node-RED nodes to control a Vestel TV (possibly sold as ProCaster, Toshiba, Hitachi, Sharp, JVC, Bush, Alba, Panasonic, Medion, Finlux etc.).

Downloads

14

Readme

node-red-contrib-vestel-tv

NPM version npm License

Node-RED nodes to control a Vestel TV (possibly sold as ProCaster, Toshiba, Hitachi, Sharp, JVC, Bush, Alba, Panasonic, Medion, Finlux etc.)

Currently supported (i.e. tested) models:

  • MB130 (ProCaster 65UNB815H)
  • ... (may work well with other similar models too)

Since these TVs are sold under many brands, the model number is quite ambiguous. One way to get a model number is from the title of the service menu (press remote buttons in the following sequence: HOME,4,7,2,5).

Setup

The virtual remote control feature must be enabled in the TV settings.

This plugin does not use the discovery protocol, which means that you have to give the IP address of the TV manually to the vestel remote control node settings. Also, you most likely want to set the address to be static (in DHCP in the router settings).

The TV must be turned on. Usually, when the TV has been turned off with the normal IR remote control, the TV goes to a deep sleep state where it does not listen to virtual remotes anymore. However, when powering off the TV by using a virtual remote, the TV may enter a light standby state where it is listening to a virtual remote power on command (while also consuming more energy!).

Contributing (and Disclaimer)

  • Pull requests are welcome, to add support for other models etc.
  • If you tested a new TV model, that should be added to the list of tested models above (e.g. make a GitHub Issue)

This project is not related to Vestel or any other manufacturer, but is fully 3rd-party-contributed.

Example how to "reverse engineer" the remote API of a TV model

You can try the virtual remote first with the official Android app from the Google Play store (see link in Acknowledgments). When that works, you can use a packet capture app to get the HTTP requests that the Android app makes.

Alternatively, if you think that only the port is different: to find out ports that the TV is listening to (when powered on): e.g. on Linux nmap -p- IP_ADDRESS (where IP_ADDRESS is of course the address of the TV)

See links in the Acknowledgments for more related information.

Possible future features

  • The TV is publishing some events via WebSocket. These could be useful.
  • The DIAL protocol, see Wikipedia or this
  • Monitor somehow whether the TV is online (listening to virtual remotes)
  • Try to emulate some button macros (although these can be done in Node-RED flows too)

Running the tests

Running the tests requires Docker. Run the script test_all.sh in the test directory.

If you have Docker and you would like to test this plugin without installing Node-RED, you can run (in the test directory) the scripts ./build_test_image.sh and then ./run_node-red_with_vestel-tv.sh. Then open in browser http://localhost:1890. (Or if you want to access Node-RED outside localhost, run ./run_node-red_with_vestel-tv.sh --not-only-for-localhost)

License

Apache-2.0 (c) Rednaelo Inot

Acknowledgements

Useful links (and thanks for the useful information!):

  • https://github.com/T3m3z/pyvesteltv/
  • https://shkspr.mobi/blog/2018/11/telnet-control-of-toshiba-smart-tvs/
  • https://www.domoticz.com/forum/viewtopic.php?t=26042