Enter forum description here ...

smatr TV

imperialbms 7 years ago in Devices / Basic 0

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


HEX for text

imperialbms 7 years ago in Devices / Basic updated by Dániel Czibolya 3 years ago 1

I'm new, and I'm having trouble displaying the current text from the DENON AVR amplifier. The text is only displayed in HEX format, do you know how much this value can be converted to text?


Intercom integration

Dávid Kirchhofer 8 months ago in Devices / Basic updated by Pablo Lopez 7 months ago 6


I would like to to intergate video intercom into CC. Which type of intercom recomended to use where the two way audio, video stream and door unlocking is working from the BOS app and not need to call other app from the BOS.



JSON parsing

Krzysztof Szczepański 9 months ago in Devices / Basic updated by Krzysztof Szczepański 8 months ago 13

I created a TcpServer with a JSON parser:

Image 4625

I added a string parser with a token :

Image 4627

I use Postman and send :


ComfortClick receives data:


Content-Type: text/plain

User-Agent: PostmanRuntime/7.32.3

Accept: */*

Postman-Token: e79d7b2e-8a0a-4ef6-bd47-8d5cc7e8c6f3


Accept-Encoding: gzip, deflate, br

Connection: keep-alive

Content-Length: 26


But the parser throws an error:

Devices : 15.08.2023 14:54:09 : Error : Devices\Test\String : Error parsing received data. Unexpected character encountered while parsing value: P. Path , line 0, position 0. w Newtonsoft.Json.JsonTextReader.ParseValue()

w Newtonsoft.Json.Linq.JObject.Load(JsonReader reader, JsonLoadSettings settings)

w Newtonsoft.Json.Linq.JObject.Parse(String json, JsonLoadSettings settings)

w ComfortClick.Tasks.Common.ReceiverBase.OnDataReceived(String data)

It looks like the header is being passed to the parser, not the JSON itself.

Bug or my configuration error?

How to disable header passing to parser?

Tested on ComfortClick v 4.9.36

Under review

Basic Device - Serial Connection - Received Data structured in a better format

Calin Birtocean 1 year ago in Devices / Basic updated by ComfortClick Support 1 year ago 2


I have a meter connected serial to bOS. I am looking to find a way to structure the received data so I can interpret it in bOS and display it. For example highlighted in yellow below the data 30 30 30 30 30 30 30 31 30 30 31 35 would be the meter number 10015. The 30 represents a 0, 31 represents a 1, 32 represents a 2, etc

Here is a part from the meter datasheet:

Image 4489

Here is the way the meter connection is configured in bOS as Basic Device:

Image 4490


Here is the command for the request string:

Image 4491

Same command with different data type:

Image 4492

Both the above commands return the same data:

Image 4497

Image 4496

As seen the command is sent and data is received. The challenge I have is that the value left in the string variable created doesn't contain the full string 

Image 4499

This would be the data displayed using their software:

Image 4500

Any tips on how this can be handled in bOS so when receiving the data it can be structured in such a way so when extracting the 30 30 30 30 30 30 30 31 30 30 31 35  it can be used as being the value for meter number 10015.

Thank you, 



How to

Kenneth Ström 2 years ago in Devices / Basic updated 2 years ago 2

I have 2 variables Double (setpoints) A and B. When I change the value in one I want the following rule. A can´t be smaller than B and B can´t be bigger than A . Any ideas?


Shelly & TCP listener

Krzysztof Szczepański 2 years ago in Devices / Basic updated 9 months ago 1

I have a little problem integrating Shelly through the tcp server

Shelly integration is in your libraries https://www.comfortclick.com/BOS/Library/Devices/115

Everything works fine except the listener.

The listener is configured as a tcp server, accepts connections but does not respond and does not close the session which causes Shelly to hang.

Shelly expects any response from the host or session closure.

I did the tests using https://docs.microsoft.com/pl-pl/dotnet/api/system.net.sockets.tcplistener?view=net-6.0

If the listener answers the call from Shelly or closes the session, everything works fine.

Conversely, when the host accepts the call and nothing returns or closes the session, Shelly stops sending calls to the host and suspends Shelly until a reset. Shelly appears to be waiting for any information from the host, without it being able to complete the routine.

In the code from the MS website from lines 45 to 63 there is a procedure that sends back to the client what the client sent, while on line 64 the connection is closed.

Removing these lines causes the problem and probably simulates comfortclicka operation.

Is there any call that will get a reply from comfortclick's website eg

Alternatively, you could add a checkbox as an option - "Send this message as confirmation:", "message" ?

checked on bOS v4.9.8 and Shelly 1 with fw 20220209-092750 / v1.11.8-g8c7bb8d


json problem with decode answer message with space

Sebastien Clivaz 2 years ago in Devices / Basic updated by Tomasz Michalak 2 years ago 2


I try to get the value with the basic device and UDP request. 

The answer is in json and the answer is correct you can see below an example

"ID": "2",
"State": 1,
"Error1": 0,
"Error2": 0,
"Plug": 3,
"AuthON": 0,
"Authreq": 0,
"Enable sys": 1,
"Enable user": 1,
"Max curr": 0,
"Max curr %": 1000,
"Curr HW": 13000,
"Curr user": 63000,
"Curr FS": 0,
"Tmo FS": 0,
"Curr timer": 0,
"Tmo CT": 0,
"Setenergy": 0,
"Output": 0,
"Input": 0,

When I try to read the data with the space for exemple "Enable sys" I have the error  "Error parsing received data. : Unexpected character while parsing path:"

How to decode the value with space ?

I try somes codes for space but nothing work.

Can you help me please ?

Under review

Regex multiple line text parsing

Paul G 3 years ago in Devices / Basic updated 2 years ago 18


I have issued a basic http command that retrieves multiple lines, effectively we cannot get the values of the 7 groups that are returned under a specific matching. The question is how does COmfortClik handle the groups within regex text to be able to handle the group values, remember this is a text regex not a JSON or XML regex, so there are no tokens!!

Image 3398

Image 3402

The REGEX listener I have created is for a string (it has been validated as it works in any regex tester) ^\#>(?[0-9]{2})(?[0-9]{2})(?[0-9]{2})(?[0-9]{2})(?[0-9]{2})(?[0-9]{2})(?[0-9]{2})(?[0-9]{2})(?[0-9]{2})(?[0-9]{2})(?[0-9]{2})$/gm

Image 3399

However, Comfortclick does not seem to handle the groups within a Text REGEX, despite multiple lines are coming in the system response

Image 3400

When executed through a host connection this is the same code returned

Image 3401

Under review

Basic TCP connection command

Luca F 3 years ago in Devices / Basic updated by ComfortClick Support 3 years ago 1


I’m trying to control an Epson projector via esc/vp21 tcp protocol.

It requires a connection command to open the connection. 
Than I can send various command to pj. 
if I do it manually( menu function-send) it works perfectly, but if I try to put it in a program to check and do automatically connection it does’t work.  Seems basic device do tcp connection. So it return connected status but in reality the connection is not opened by specific command. 
if I try to send connection command anyway for each command pj closes the connection going.

Maybe I’m approaching the problem in the wrong way. 
Could someone help me with some advice?

thank you