Prerequisite: At least one My Content Channel must be activated in your Valotalive Dashboard. The tool is built for 64-bit Windows. |
Step 1 – Download the tool
Download the Windows 64-bit executable (valota-my-cli-win.exe) and save it to a folder on your computer.
Step 2 – Get your API key and secret
Open My Content at https://my.valota.live/ and log in.
Go to Settings → API Access.
If API access is not yet enabled, click to enable it.
Type an API username. This name is used only as the sender shown on posts sent through the API.
Your API key and API secret appear after you have typed the API username. Copy both.
Keep the secret safe: Treat the API secret like a password. Anyone with the key and secret can post to your My Content Channel. |
Step 3 – Check the connection
Open Command Prompt in the folder where you saved the tool and run the info command. Replace YOUR_API_KEY and YOUR_API_SECRET with your own values.
valota-my-cli-win.exe info -k=YOUR_API_KEY -s=YOUR_API_SECRET |
If the key and secret are correct, the tool returns the name of your My Content Channel.
Step 4 – Post an image or a message
Post an image
valota-my-cli-win.exe post -k=YOUR_API_KEY -s=YOUR_API_SECRET --file="C:\path\to\image.png" |
The tool currently supports PNG and JPG files.
Post a text message without an image
valota-my-cli-win.exe post -k=YOUR_API_KEY -s=YOUR_API_SECRET -m "My test message" |
List the messages in your channel
valota-my-cli-win.exe list -k=YOUR_API_KEY -s=YOUR_API_SECRET |
Command reference
Command | What it does | Example |
--help | Shows all available commands. | valota-my-cli-win.exe --help |
info | Returns the name of your My Content Channel. Use it to check your key and secret. | valota-my-cli-win.exe info -k=YOUR_API_KEY -s=YOUR_API_SECRET |
post --file | Posts an image (PNG or JPG). | valota-my-cli-win.exe post -k=YOUR_API_KEY -s=YOUR_API_SECRET --file="C:\path\to\image.png" |
post -m | Posts a text message without an image. | valota-my-cli-win.exe post -k=YOUR_API_KEY -s=YOUR_API_SECRET -m "My test message" |
list | Lists the messages in your channel. | valota-my-cli-win.exe list -k=YOUR_API_KEY -s=YOUR_API_SECRET |
How posts appear on your displays
Valotalive creates a new file name for every post, even if you send a file with the same name each time. Each post is therefore a new entry in your channel and does not overwrite the previous one.
How many posts the displays show is set in the configuration of your My Content app in the Valotalive Dashboard. You can choose how many of the latest posts are displayed.
Set to 1: the display always shows the latest post and nothing else. This is the right choice when you send an updated image on a schedule and only the newest one should be visible.
Set to a higher number: the display cycles through that many of the latest posts.
Troubleshooting
The info command does not return my channel name
Check that the API key and API secret are copied in full, without extra spaces.
Check that the API user name has been entered in Settings → API Access, as the key and secret only appear after that.
Check that a My Content Channel is activated in your Valotalive Dashboard.
My image is not posted
Check that the file is a PNG or JPG and that the path after --file= is correct. Put the path in quotation marks if it contains spaces.
I posted a new image, but the display still shows an older one
Check the number of latest posts in the My Content app configuration. If it is set to more than 1, the display also shows earlier posts. Set it to 1 to show only the latest post.
Read More:
Read the general description of the My Content API.
