Enter forum description here ...
+6
Under review

mqtt Integration

Miguel Paredes 1 year ago in Devices / Other updated by Martin Schär 7 months ago 4

any plans on adding MQTT to comfortclick?

+2

New bOS's RPC API + Tasker | Tutorial

ComfortClick ComfortClick 2 years ago in Devices / Other updated by Brent Broge 2 years ago 1

Hello!

Here we have a short tutorial on how to integrate bOS and TASKER using new bOS’ RPC service.

bOS offers a JSON RPC Service for integration with Tasker, IFTTT and other services.

This tutorial will show bOS RPC service interacting with TASKER on Android in a simple task, but the important thing here is to understand how to set-up the RPC service so you can do more complex integrations.

RPC service on the new bOS offers HTTP basic authentication with username and password.

In this example, we'll be using Tasker to turn a Z-Wave Socket off.

Of course, this can be done easily within bOS Client app, but this is just for demo purposes. You can change and adapt the task to your needs, for example, "If my phone battery is lower than 80%, turn the socket on", or "If I’ve reached my house, turn front door light on". The possibilities are endless.

Step 1: Configure your RPC service

  • In bOS Configurator, under API, enable RPC and define your Username and Password:


Step 2: Find your Device Path

  • In this example, the Info tab from the Z-Wave socket device will show us the path: Devices\Z-Wave\Socket\Basic


Now we need to form the JSON body to POST on TASKER.

The Path we have is: Devices\Z-Wave\Socket\Basic

We need to double the backslashes on the Path to form the JSON body to POST on TASKER service, so now we have: Devices\\Z-Wave\\Socket\\Basic

The simple SetValue body post looks 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 other RPC examples.

For our valueName, we have “State”:

To turn the Socket off, our body post is:

{"objectName":"Devices\\Z-Wave\\Socket\\Basic","valueName":"State","value":"false"}

Step 3: Tasker

  • Create a new task and include the “HTTP Post” action:

Done! Now every time we run this task our Socket will turn off.

This is a simple example for demo purposes, but with more complex commands you can do whatever you want... call scenes, set other values, etc.

To call a RPC Service a HTTP POST call must be preformed with data content-type = "application/json";

Service offers the following commands

http://localhost:81/SetValue

POST data example (Turn ON a light): {"objectName":"Devices\\EIB\\Light 1","valueName":"Value","value":"true"}

http://localhost:81/GetValue

POST data example (Get light status): {"objectName":"Devices\\EIB\\Light 1","valueName":"Value"}

http://localhost:81/CallFunction

POST data example (Send alert to user):

{"objectName":"Building\\General\\Users\\User","functionName":"SendAlert","value":["'Hello'"]}

I hope you’ve enjoyed the tutorial and please post here the examples and ideas you have using the new bOS’ RPC API.

+2

Alexa + blinds

Noel Fuentes 3 years ago in Devices / Other updated by Fernando Prodoin 2 years ago 6

Hi,

Since Alexa and Comfortclick are now in spanish, I've been doing some testing. It really works fine. But, what I'm missing is a "Blinds" Category in Alexa configuration in bOS. Is there a way to say "Alexa, raise/lower the blinds" (obviusly, in spanish :) ) using only one Endpoint or variable?

Thanks in advance.

Regards

+1

Satel security system output control

Allar Valksaare 11 months ago in Devices / Other 0

I would like to know when can we control Satel integra ouputs with CC, i need to integrate a complete Satel smart home system to Bos and currently it is a huge workarounds to get the output states and output controls to bos

Can you add Satel output control to Bos cause this style of integrations is very very needed.
Next issue - integration to the alarm system is a good thing but changing the code of a user is also needed.
possible solution would be following - if you know the code for the user, then according to the open protocol hex sheet you can send a command -> (user1) with code 1111 -> change code 1111 -> 2222 = (user1) code now is 2222, for it to work you need to know the code of the user, so there will not be a need to create a new user, giving it security levels, rights and access to partitions or anything else. 

+1

UPS and UPS generic and Jigsaw

Francois Lesueur 3 years ago in Devices / Other updated by Paul G 10 months ago 1

Hello,


What is the difference between ""UPS and "UPS generics" devices ? 


The help says that the UPS device is using the Windows drivers, and then can work only on bOS windows based systems. Are there / will there be any support for Jigsaw models ? Maybe with the UPS generic device ?

0
Under review

Weather stop work?

Panayiotis Evgeniou 4 days ago in Devices / Other updated by Łukasz Klinger 6 hours ago 2

The weather don't work .

0
Under review

mqtt

Natalino Montino 2 months ago in Devices / Other updated by ComfortClick Support 2 months ago 1

Dear, it's possible control the mqtt device with your server?

0
Under review

Android app shortcut on Samsung SM-T510 tablet

Jürgen Jürgenson 2 months ago in Devices / Other updated by ComfortClick Support 2 months ago 1

Hey,

Recently the shortcuts for some apps have stopped working. Thing is that they still work on my own phone and other tablets that are not Samsungs. 

Tablet has the latest updates and all apps are also installed and are working just bOS cant open them. Ive rechecked all the links and they havent changed either. 


Can anyone test it if they are using samsungs devices? I have Oneplus 6 and same links/shortcuts to other apps are working on it.

0
Under review

RPC : pass multiple values

Dieter Kraewinkels 2 months ago in Devices / Other updated by ComfortClick Support 2 months ago 2

Hi - I'm looking to pass multiple values to RPC in one call. Can we add multiple SetVelue in the JSON call ?


Alternatively (1), is it possible to send one value and split it later on ?

Alternatively (2), is it possible in a Program to us "contains" operator when evaluating a value in a IF statement ?

Thank you

0
Under review

Adding function as command on schedules does not change displayed name

Noel Fuentes 2 months ago in Devices / Other updated by ComfortClick Support 2 months ago 1

Hello,

I have noticed that adding a second (or third) function as command on a schedule, does not change the displayed name when clicking the item. You have to cancel and add it again in order to get de name updated or change it manually.

See image below.

Version of bOS is the latest (4.8.20).

Best regards.