https://www.onx.ms/
Link
Looks like an real easy and nice for Tasker on Android. Hope to configure the same settings ASAP. ("on WiFi connection set device value "Freek at home" at Yes" by example").


Many people have raised questions regarding the need for authentication.
We hear you!
The reason we require authentication is to ensure privacy and make sure that only you can push code to your device.
In our first beta version, we’ve decided to use Facebook ID. We never post anything to Facebook, we just use it for authentication!
We plan to support additional authentication methods in the near future.
It would be great to get your input: which additional authentication method would you like to see?


- I am reminded to wear my tie when I arrive at work;

var baseurl =’’;
var apikey = ‘’;
device.network.on("wifiOn", function (networkSignal){
device.ajax({
url: baseurl+'/webapi/exec.html?method=onxavailable¶ms[avail]=1¶ms[device]=156&apikey=' + apikey,
type: 'GET'
});
});
device.network.on("wifiOff", function (networkSignal){
device.ajax({
url: baseurl+'/webapi/exec.html?method=onxavailable¶ms[avail]=0¶ms[device]=156&apikey=' + apikey,
type: 'GET'
});
});
device.messaging.on('smsReceived', function (sms) {
device.ajax({
url: baseurl+'/webapi/exec.html?method=onxsms¶ms[txt]='+encodeURIComponent(sms.body)+'¶ms[from]='+encodeURIComponent(sms.from)+'¶ms[device]=156&apikey=' + apikey,
type: 'GET'
});
});
device.telephony.on('incomingCall', function (signal) {
device.ajax({
url: baseurl+'/webapi/exec.html?method=onxincomingcall¶ms[number]='+encodeURIComponent(signal.phoneNumber)+'¶ms[device]=156&apikey=' + apikey,
type: 'GET'
});
});
device.scheduler.setTimer({ name: "batLevelSend", time: 0, interval: 15*60*1000 },function () {
device.ajax({
url: baseurl+'/webapi/exec.html?method=onxbatlevel¶ms[level]='+encodeURIComponent(device.battery.status.percentage)+'¶ms[device]=156&apikey=' + apikey,
type: 'GET'
});
});
device.modeOfTransport.on('changed', function(signal) {
device.ajax({
url: baseurl+'/webapi/exec.html?method=onxtransport¶ms[mode]='+encodeURIComponent(signal.current)+'¶ms[device]=156&apikey=' + apikey,
type: 'GET'
});
});
var listener = device.location.createListener('PASSIVE', 120000);
listener.on('changed', function (signal) {
device.ajax({
url: baseurl+'/webapi/exec.html?method=onxlocation¶ms[long]='+encodeURIComponent(signal.location.longitude)+'¶ms[lat]='+encodeURIComponent(signal.location.latitude)+'¶ms[device]=156&apikey=' + apikey,
type: 'GET'
});
});
listener.start();


Return to Miscellaneous Home Automation topics
Users browsing this forum: No registered users and 1 guest