Enter forum description here ...
+11
Under review

Is Google assistant on the roadmap of Comfortclick?

Fred Hartman 2 years ago in bOS Configurator / Devices • updated by Fredrik Sandblom 2 months ago 32

Will the google assistant being supported by comfort click?

regards,
fred

+9

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

+5
Under review

SVG image file creation

Ricardo Pinto | visiontech.pt 1 year ago in bOS Configurator / Themes • updated by ComfortClick Support 6 months ago 11

Hi,


I'm using some own icons or adapted ones in PNG, but I'm having some problems with SVG files.


I've tried to create an SVG icon on Corel Draw, and saved it in SVG format. I don't know the size to use, and as a vector file I've saved as it is.


When using it on bOS, either it doesn't show, or it shows huge, depending on the size. I sized down a little bit the icon and saved it again, but it's still very big or it shows in gray. Do I need to create a white and a black version, like the originals (normal and inverted color)?


Can you get me some sort of template, or any guidance to create the SVG files? I'm using PNG but I would prefer to use vector files. With preference for any guidance on how to create the normal and inverted SVG (I can invert the colors, but don't know how to gather them in a "readable" format for bOS).


Thanks

+5
Under review

Android Widget

Andrea Pedrotti-Ferrari 2 years ago in bOS Client • updated by ComfortClick Support 2 years ago 1

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 

+5

smatr TV

imperialbms 2 years ago in Devices / Basic 0

Has anyone tried to link confortclick with samsung tv? What communication parameters do you use?

+4
Under review

Weather with no data

Kristián Vojčík 5 months ago • updated by Joachim 4 weeks ago 11

Hello I recently find out that Weather app on Jigsaw wont update and also I cannot change location, it cannot show any. Internet connection is good checked with PC ald also with Jigsaw thru update check with no errors. Also it happend on installation which is 8 months old and worked before. Any ideas what could happend? Thanks.

+4
Under review

we need the option to change a font. when will you have it?

Dilight-Smart Home Dilight 12 months ago in bOS Configurator • updated by ComfortClick Support 12 months ago 1

we need the option to change a font. when will you have it?

+4
Under review

Frontend design (printscreen sharing)

Ricardo Pinto | visiontech.pt 1 year ago in bOS Configurator / Themes • updated by Kristián Vojčík 6 months ago 26

Hello everyone,


I'm always curious about the templates from bOS users. I think it would be a cool idea to share some printscreens.


Sharing is good! All of us can learn and share. No need to share all the menus, just a quick view. So here it goes my home template:


+4

Any plans for IFTTT integration?

Joachim 1 year ago in bOS Server • updated by Flávio Cicarelli Sanches 6 months ago 11
+4

NetAtmo weather station and Welcome integration

Rait Lotamõis 2 years ago in Devices / Http • updated by Ricardo Pinto | visiontech.pt 2 years ago 1

I'm so happy about getting my NetAtmo integration working, that I wanted to share it with the rest of you people.


This is the device itself


All you need to do is enter the values for strings in the "Settings" section of the device, and you will immediately get the values from one indoor and one outdoor module (which is the typical starter package setup.)  If you have more stations and/or modules then you can easily access them by just duplicating the existing values under the "Weather Station" query and changing the instance number in their "Token name." 


For example: default indoor temperature value = body.devices[0].dashboard_data.Temperature

indoor temperature value for next weather station = body.devices[1].dashboard_data.Temperature


and for modules:


temperature of first module of first station = body.devices[0].modules[0].dashboard_data.Temperature

secondary module of first station = body.devices[0].modules[1].dashboard_data.Temperature


I've also included a WIP section for the NetAtmo Welcome camera. I have yet to figure out how to track persons per name, since their position in the table is always changing.