API documentation doesn't make reference to "on" : true or "on" : false which presumably is how you get LaMetric Sky tiles to turn on???
I'm using the same curl code to send a .json to the sky (as works on the lametric time) but I'm getting an error when sending to sky. (already updated my code to use the correct API key and IP address of the sky)
JP
API documentation doesn't make reference to "on" : true or "on" : false which presumably is how you get LaMetric Sky tiles to turn on???
I'm using the same curl code to send a .json to the sky (as works on the lametric time) but I'm getting an error when sending to sky. (already updated my code to use the correct API key and IP address of the sky)
turnon.bat ...
C:\lametric\curl.exe -H "Accept: application/json" -H "Content-Type: application/json" -H "Authorization: Basic my_api_key_here" -H "Cache-Control: no-cache" --data-ascii "@C:\lametric\skyon.json" http://192.168.xx.xx:8080/api/v2/device/display
(also tried the URL of "api/v2/device" but same problem
skyon.json ...
{
"on" : true
}
always results in a response of...
{ "errors" : [ { "message" : "Not allowed" }
Hi,
This one work for me ;
You have to put [API KEY] et [IP]
- Oldest First
- Popular
- Newest First
Sorted by Oldest FirstJérémy Filhoulaud
Hi,
This one work for me ;
You have to put [API KEY] et [IP]
JP
Thank you, that helped me get it working...
turnon.bat =
skyfoxon.json =
1 person likes this
-
How to pull data from external site to display?
-
nodejs request "gets acces denied"
-
curl to python for eventghost
-
Push text from Eventghost to LaMetric via python
-
Basic API pull and json parse example....
-
A guide for starting an app?
-
A small wrapper to push your just created JIRA issues to your LaMetric.
-
Simple project to push home consumption data to be shown on a Lametric device
-
Interface to have Slack send messages to a LaMetric Time
-
Very simple module to push frames to LaMetric
See all 149 topics