Enter forum description here ...
+7
Under review

mqtt Integration

Miguel Paredes 4 years ago in Devices / Other updated by Martin Schär 3 years ago 4

any plans on adding MQTT to comfortclick?

+3

Satel security system output control

Allar Valksaare 3 years ago in Devices / Other updated by Łukasz Klinger 2 years ago 1

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. 

+2

New bOS's RPC API + Tasker | Tutorial

ComfortClick ComfortClick 5 years ago in Devices / Other updated by Brent Broge 5 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:

Image 2046


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

Image 2047


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”:

Image 2048

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:
    Image 2050

Image 2051

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 5 years ago in Devices / Other updated by Ricardo Pinto | visiontech pt 1 year ago 9

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

UPS and UPS generic and Jigsaw

Francois Lesueur 6 years ago in Devices / Other updated by Paul G 3 years 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

EVO192 PGM

Dávid Kirchhofer 1 month ago in Devices / Other updated by ComfortClick Support 1 month ago 1

Hello,

I have successfully integrated the Paradox EVO192 over "PRT3" module. Is there any way to control and get status of the PGM outputs?

0
Under review

OSTENT GSM Modem

D D 2 months ago in Devices / Other updated 2 months ago 9

I have a problem with Ostent device. Whenever I reboot or update bos server I have to go into comfort click editor and manually change baud rate to some other number and then back to the number 115200 otherwise it does not connect with the bos server and it stays that way until I do this change manually. Is there any way to avoid that?

0
Under review

Denon Heos groups - issue

Joost vB 2 months ago in Devices / Other updated 2 weeks ago 11

Since the latest updates on bOS and Denon HEOS there seems to be an issue with forming/keeping groups of speakers.

The Denon node did work as expected, but since the update it tries to control the group. But by doing so it disassembles the existing group, or (if the group’s not there yet) will fail to combine the speakers into a group.

Anyone experiencing the same behavior?


By the way:

Denon is having another problem, it’s losing its favorites all the time. I’ve contacted Denon support for that.

0

Json parsing error - Missing token (Shelly Plus Plug S / MQTT)

netit 3 months ago in Devices / Other 0

Hello,

I sucessfully integrated a Shelly Plus Plug S via MQTT.

MQTT messages that contain "switch" updates (when it's turned on/off) are successfully interpreted. I catch them with Token Name : params.switch:0.output (see screenshot below).

Meanwhile, the Shelly device is also sending other MQTT messages with energy consumption information. When doing so, the parameter "output" is not present in the JSON file, resulting in a Exception error : Error parsing received data. Value cannot be null.Parameter name: value


Any advise how to prevent these errors ?

Thank you.

---

JSON message when "output" changes. This gets successfully parsed. Example of a switch off message :

{"src":"shellyplusplugs-e465b85ccccc","dst":"shellyplusplugs-e465b85ccccc/events","method":"NotifyStatus","params":{"ts":1701336805.47,"switch:0":{"id":0,"apower":0,"current":0,"output":false,"source":"WS_in","voltage":0}}}


Periodically JSON message to notify energy updates. These don't get successfully parsed (as it is missing the 'output' parameter. Example :


{"src":"shellyplusplugs-e465b85ccccc","dst":"shellyplusplugs-mytext/events","method":"NotifyStatus","params":{"ts":1701352440.40,"switch:0":{"id":0,"aenergy":{"by_minute":[5.012,8.202,0.000],"minute_ts":1701352439,"total":4.922}}}}

Image 4751

Image 4749

0

RPC: 404 not found

netit 3 months ago in Devices / Other 0

Hello,

Is there a way to troubleshoot 404 errors on RPC or Comfortlick port 80 address ?

RPC is working perfectly well, and I have multiple devices/clients sending requests to RPC (eg : SetValue).

Meanwhile, I have one device/client (Shelly Plus Plug S) that I don't get to work and get the following error :

{ "code": 404,"message": "Not Found","headers": {"Connection": "close"}}

Some tests I did :

1/ A GET request to the toor address of Comfortclick is working (http)

2/ A POST request without the Authorization header is returning a 401 error as expected (http)

3/ In general, the device is not altering URLs (eg : uppercase/lowercase)

When I copy/past everything into https://reqbin.com/ to test the request, it works... This drives me crazy.

The problem is likely not on Comfortclick's side. But I'm unable to troubleshoot.

Any suggestions ?

Thank you !

----

let h = {
method: "POST",
url: "http://192.168.1.10/API/RPC/SetValue",
headers : {
'Content-Type': "application/json; charset=utf-8",
'Authorization': "Basic UlBDeWQ6ZGhZNjdhxxx4MlNpdWFo"
},
body : '{"objectName":"Devices\\KNX\\Light 1","valueName":"Value","value":"false"}',
timeout: 4
};

Shelly.call("HTTP.REQUEST", h, function (result,error_code,error_message) {

print(result);
});