A cool way to control your Vizio TV through Discord. I made this around 4am so there may be bugs.
These instructions will get the bot running on your PC for testing purposes. This is in no way 100% ready for an actual full release (I may not ever do one)
You will need:
You will need these installed:
npm i discord.js@12.5.3 vizio-smart-cast
- Setup config.json
- Open index.js and change the IP to your TV's IP
- Run
node index.js
- Make sure the TV is on and connected to the same WiFi as your computer (this means you cannot run on REPL or any other service)
- Run the command
q.pair
and you should see a PIN on your TV (You will not get a response from the bot, just enter the PIN in the channel you ran the command in) - You are now paired! I haven't made a help command yet, because I stopped working on the bot. Here are the commands:
q.ping
- Shows the bot ping and latencyq.pair
- Starts the pairing processq.state
- Returns the current TV stateq.input
- Returns the current inputq.vol
- Control the volume.q.vol up
- Increment upq.vol down
- Decrement downq.vol set <pick a number 0-100>
- Sets volume to chosen number
q.power
- Turns off the TV (but not ON 😔)q.sleep
- Listed options will be shown when you run the command
- Spin (aka Spinfal) - Initial work - spinfal
This project is licensed under the GNU General Public License v3.0 - see the LICENSE.md file for details