Apple iOS Homekit integration
Hi, Is there any plans to allow integration with Apple HomeKit? It would allow facilitating lots of data that comes from phones without the need for coding (e.g. geofencing, geolocation which is made available through the Home Kit app to other apps, this woudl eb as simple as allowing the app to read the GPS data from the phone, which is not available right now)
Android Widget
Hello to all
Have you planned the possibility to add widget on Android devices? It would be very nice to execute commands directly without lunch each time the client.
Thank you and kind regards
Andrea
Is Google assistant on the roadmap of Comfortclick?
Will the google assistant being supported by comfort click?
regards,
fred
API call with oauth1 authorization
When will Comfortclick support API calls with OAuth1 or OAuth2 authorization? More and more Providers require this kind of authorization.
bOS + IFTTT integration | Tutorial
Hi,
I've decided to create a small tutorial on how to integrate bOS and IFTTT by using bOS RPC service.
bOS Offers a JSON RPC Service for integration of bOS Server with other systems. The RPC service can be enabled by editing the BOSService.exe.config file. Value "EnableRPC" should be set to "True". Service port can be changed in the "RPCServiceUri" parameter. The firewall exceptions must be set manually in Windows OS.
I'll be using bOS RPC service to interact with IFTTT. It also can be used to interact with Tasker on Android. I use both services with bOS, but I'll be posting a very simple example here just for IFTTT, as I don't have time right now to explain the complex logic of Tasker.
The most important thing here, is to master the integration between IFTTT and bOS. Then you can do whatever you want...
Let's start with a very simple example, so that later you can adapt to your needs.
WARNING 1: The RPC service on bOS is used for beta purposes and doesn't provide any security. Use it only on secured networks behind firewall, or use it at your own risk.
WARNING 2: Please don't use this on end customers. Use it in your home, in your office demos, etc. But please don't use it for professional purposes. While bOS is a powerful tool, IFTTT and Tasker rely on the internet, on external servers and services, etc, so you should not use this for professional use, neither rely on external services that you can't physically control. If you're a professional installer, and you use this integration and somehow it fails, it's YOUR reputation!
For more information, please visit: https://www.comfortclick.com/Software/Manuals/BOSServer#RPCService
In this example, we'll be using just a Date & Time trigger on IFTTT to turn on a light on bOS. I know that bOS has timers, but this is just for demo purposes to show you off the bOS + IFTTT integration. You can change and adapt the IFTTT integration to your needs, for example "If a new e-mail drops on my Gmail, set my KNX RGB light to red", or "If my Netatmo Weather Station detects strong wind, close all my KNX shutters".
So, first things first. You'll need:
Step 1 - Port forward TCP port 81 (Please don't forward external port 81 to internal 81! Use a higher external port, let's say 55081)
Step 2 - A fixed IP external address, or a Dynamic DNS
Step 3 - Get the Path for the circuit / object you'll be using on bOS
I'll jump Step 1 and 2, and explain Step 3:
In this example, I want to use an office light. So I open my bOS Configurator, scroll down to my KNX Light, click on Info tab, and copy the Path:
Now we need to form the JSON body to POST on IFTTT service.
The Path I've copied is: Devices\KNX Apartamento\iluminacao e tomadas\comando individual iluminacao\Focos mesas escritório
But we need to double the backslashes on the Path, so we turn this: Devices\KNX Apartamento\iluminacao e tomadas\comando individual iluminacao\Focos mesas escritório
Into this: Devices\\KNX Apartamento\\iluminacao e tomadas\\comando individual iluminacao\\Focos mesas escritório
The simple SetValue body post is something like this:
{"objectName":"INSERT PATH HERE","valueName":"Value","value":"true"} where "value":"true" is to turn the value to true or 1. You can change to false or 0, or look for the other examples at: https://www.comfortclick.com/Software/Manuals/BOSServer#RPCService
So we past our path, and get something like this:
{"objectName":"Devices\\KNX Apartamento\\iluminacao e tomadas\\comando individual iluminacao\\Focos mesas escritório","valueName":"Value","value":"true"}
Now we're ready to go to IFTTT!
Choose to create a new Applet, click on THIS and choose your trigger. In this example we'll be using Date & Time.
Now click on THAT, and search for Webhooks. Then click on Make a web request.
Now let's fill the data:
URL: http://your_ip_address_or_dynamic_dns_address:55081/SetValue
Method: POST
Content Type: application/json
Body: {"objectName":"Devices\\KNX Apartamento\\iluminacao e tomadas\\comando individual iluminacao\\Focos mesas escritório","valueName":"Value","value":"true"}
And that's it! Everyday at 1:00h the Office light turns on from IFTTT service.
This is just for demo purposes, so I've used a Date & Time trigger on IFTTT and a single light on bOS. With some patience, you can do whatever you want... call scenes, set other values etc.
Using IFTTT + bOS let's you exercise your imagination. For example: I use IFTTT as a translator between KNX and Xiaomi Yeelight, with bOS as the master. In my office, if I press a KNX button, bOS sends an action for IFTTT, which sends an action to Xiaomi Yeelight ledstrip.
I hope you enjoyed the tutorial. As soon as you master the integration, you'll do whatever you want with bOS and IFTTT.
Best regards,
Ricardo Pinto | VISIONTECH.PT
smatr TV
Has anyone tried to link confortclick with samsung tv? What communication parameters do you use?
Integration WIFI/Bluetooth/Zigbee devices
Hello,
There are more and more devices that are connected via WIFI, Bluetooth and Zigbee.
These devices can be added in Google Home or Alexa.
I recently tested a Wifi LED luminaire from Ledvance and this is working great also via Google Home
Is there a possibility to add these devices in BOS?
Thanks and best regards.
How can I use Apple Homekit?
Hi all! I am wondering how can I integrate ComfortClick with Apple Homekit. I have seen some recent messages where people mention that the integration is now working, but I haven't found any official or unofficial guides explaining how to set it up. Is there any material I can check out about this?
Blinking HUE lights (new feature for your projects)
Hello everyone,
If you're kind of like me, you'll never be satisfied with the basic implementations of your systems.
So today, I've decided to explore the Philips HUE official API.
I know that bOS has already implemented HUE control, but I wanted to use some cool features that are kind of hidden on normal apps: blinking lights!
The purpose of this implementation, is using Philips HUE blinking lights for multi purposes, like blinking when someone rings the door, etc.
You can rely on IFTTT to do that, using the WebHooks, but if you're like me, prefer to keep the most on local network and don't depend on external services.
In this example, what you'll get:
- Access Philips HUE API to create a username key
- Extract the username key
- Create a HTTP device on bOS
- Create a command to send the blinking command to Philips HUE hub
Suggestions: access your Philips HUE app, disable DHCP, and place a fixed IP address on your network so you can point to the correct IP address every time.
Step 1:
- Access the Philips HUE IP address
https://hub_address/debug/clip.html
- Create a username key
URL: /api
Message Body: {"devicetype":"comfortclick#dev"}
Click on the hub link button (the top round button on the hub with Philips written on it)
Click on POST
- Extract the username:
Copy the given username to a safe place, you'll need it for every command.
On my implementation, I want to blink all the lights on a specific light group, so I'll fetch the group number.
Step 2:
- Get the group ID's
URL: https://hub_address/api/your_username/groups
Message Body: leave the message body empty
Click on GET
In my case, the light group I want is ID 1
- Test the communication
URL: https://hub_address/api/your_username/groups/1/action
Message Body: {"alert": "select"}
Click on PUT
If it blinks once, perfect. Now you're ready to move to bOS.
There's two available commands for blinking: just once, or several. Depending on what you want, you'll have to change the Message Body for the correct code:
{"alert": "select"} will cause a short blink
{"alert": "lselect"} will cause several seconds of blinking
If you need to blink several times, you'll need to use {"alert": "lselect"} on the Message Body.
Step 3:
- Create HTTP device on BOS
Enable the HTTP device
Host URL: https://hub_address/api/your_username/groups/1/action
Create a Command, call it "Blink HUE"
Change the command method type to PUT
On Put Data, insert: {"alert": "lselect"}
That's it! Use the command as you want on your project.
On my case, I have the hue blinking when someone rings at my door.
If you want to explore other possibilites, please read the Philips HUE API, available for free. You can do the same on single lights, etc.
I'll post the example on the Examples Page of Comfortclick.
Btw, don't forget to at least say thanks! Most of us here, are either professionals or simple home users. I notice that most of the times someone posts something interesting, no one really cares. So don't just use the examples and don't pretend that you don't care. A simple "Thanks" is more than enough. Don't forget that every example posted here is not paid, it mostly depends on the time and patience of some members.
Happy easter.
Best regards
Customer support service by UserEcho