I make use of a system called Qwikswitch at my holiday home. Is it a system I installed before SmartThings and is intended to provide for aftermarket installation of light switches by simply sticking the (radio) switches to a wall. Devices can be remotely controlled via a hub (which connects to the internet via GSM) for which an API is available. An online webpage for the API (similar to that for the Philips Hue Bridge) is avaialbe here. (Hope I use the correct terminology.)
Commands typically look like this:
I don’t have a programming background, but through trial and error and with a “monkey-see-monkey-do” approach, I managed to set up a piston to turn devices on/off by way of GET requests.
It is, however, a very basic solution and my rudimentary solution does not tell me what the status of a light or a switch is.
How difficult would it be to write an app to link the Qwikswitch hub to Smartthings to control devices and to get the status of the devices? Is such an app the only solution or is there some other way to accomplish this?
Other relevant info:
- Devices can be switch by way of GET requests over the internet
- There is no direct access (over network) to the Qwikswitch hub that I know of – only access is via the internet
- The requirement is to turn devices on or off and to get an indication of the status of devices (on/off).
- Devices are primarily switched via wall switches (consisting of a button sending a radio signal directly to a relay (switch). The Qwikswitch hub always knows what the status of a relay is.)
- A possible complication is that the API (from my limited understanding) only has a command to get the status of all devices, and not of a single specified device. The history of a device is however also available, which could possible be used to determine the status of a device?
- There is no IFTTT integration for Qwikswitch.
I’ll appreciate any input or suggestions from the programmers among us.
Edit: I should maybe add that QwikSwitch has a USB-hub which could also control the devices. The commands (available here) are similar to those for the GSM hub to which I referred to above, so I don’t suppose the USB-hub will be an easier solution. The disadvantage of the USB hub (for my purposes), is that I’ll have to add a either a Windows PC or a R-Pi to the setup, which is not ideal, since being located at my holiday home, I want to limit the always-on devices to the minimum (and I already have the Qwikswitch GSM-hub running all the time.)