Swipe command for Gear S3

Swipe command for Gear S3

BY 17 Dec 2017 Web Application Development

Hello everyone,

A developer (systemik) has created a JeeS3Dom application that allows to control a home automation system called Jeedom via HTTP requests.  

This app works on the Gear S3 Watch.

 https // github . com / Didier3L / JeeS3Dom . git


The application has menus (<! – Main Page ->) to control lights, alarm, scenario, etc.


For lights, there are two sub-menus:

<! – Light Page -> and <! – Light Swipe Page ->

Regarding <! – Light Page -> :

Pressing a command sends an HTTP request (httprequest.js)
<li> <a onclick=”requestcommand(ORDERNUMBER); return false;”> On Office </a> </ li>
<li> <a onclick=”requestcommand(ORDERNUMBER); return false;”> Off Office </a> </ li>


http: // ipaddress: port / core / api / jeeApi.php apikey votre_cle_API_jeedom = & type = cmd & id = ORDERNUMBER

 

I would like to know how to get the same result with the <! – Light Swipe Page ->
Gesture to the right: On
Gesture to the left: Off

Can you help us ? cordially

 
 
#s3gt_translate_tooltip_mini { display: none !important; }
Written by