Enter forum description here ...
+9

smatr TV

imperialbms 5 years ago in Devices / Basic 0

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

+4

HEX for text

imperialbms 5 years ago in Devices / Basic updated by Dániel Czibolya 2 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?

0

How to

Kenneth Ström 1 week ago in Devices / Basic updated 1 week 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?

0

Shelly & TCP listener

Krzysztof Szczepański 5 months ago in Devices / Basic 0

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 http://192.168.1.10/comfortclickreply?par=1?

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

0

json problem with decode answer message with space

CS Domotic CS Domotic 8 months ago in Devices / Basic updated by Tomasz Michalak 2 months ago 2

Hello,

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 ?

0
Under review

Regex multiple line text parsing

Paul G 1 year ago in Devices / Basic updated 12 months ago 18

Hi,


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

0
Under review

Basic TCP connection command

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

Hello,

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

0
Under review

mDNS reply reading via Basic driver.

Artem Kuteynikov 1 year ago in Devices / Basic updated 1 year ago 2

Hello,

a device publishes its services as mDNS message/reply, is there a chance to fetch data from such message?

As far as i can see mDNS utilizes UDP, but Basic driver configured as: Udp, Device_ip_address, src_port_number (as remote port), dst_port_number (as local port), ASCII, text, won`t do any good. Sniffer shows that device posts requests/replies which contain data i need though.

Thanks. 

0
Under review

Convert hex to decimal

Fredrik Johansson 2 years ago in Devices / Basic updated 10 months ago 3

Hi,

I have data that is in HEX but I want to dispay them as decimal is there any function for this? I have not found anything.

And another question; is it possible to enable/disable an device through a command or variable?

The device I am currently working on only has the communication port open for about 20 seconds than it closes resulting in many connected/disconnected messages.

I would like to enable the device, send the command, get an response then disable the device.

0
Under review

Connect Smart meter (Fluvius) to Comfortclick

Michiel Kenis 2 years ago in Devices / Basic updated 2 years ago 14

Hi, 

I recently acquired a Smart meter by our Belgian energy supplier Fluvius. It has some ports to be connect and I have connected both my Jigsaw and my meter using a R12-USB cable. 

I've added a "Basic" device with the required parameters, but all I get back on the Raw Data is FF and the Encoded data value is ?

Image 3059


Image 3058



It looks like the device is connected, but I cannot extract or read data from this device. Does anyone have an idea what the "FF" or "?" stands for and how to fix this? 

Best regards, 

Michiel