Warning message when web browser uses HTTPS connection
Hi Everyone !
When I try to connect via https, the web browser shows a warning message (SITE NOT SECURE).
Is it a meaning to avoid this warning ?
That's not user friendly for the final user.
Thanks for your help.
Claude.
HTTP device stopped working
Hello,
The http device stopped after few months working without any issues. Here is the debug message while trying to send the command:
Debug : 10/26/2018 19:45:41 : Devices\http : Exception : GetResponseCallbackWebException : The underlying connection was closed: An unexpected error occurred on a send. at System.Net.HttpWebRequest.EndGetResponse(IAsyncResult asyncResult)
at BOSCommon.Drivers.BOSHttpClient.GetResponseCallback(IAsyncResult result)System.IO.IOException: Authentication failed because the remote party has closed the transport stream.
at System.Net.TlsStream.EndWrite(IAsyncResult asyncResult)
at System.Net.PooledStream.EndWrite(IAsyncResult asyncResult)
at System.Net.ConnectStream.WriteHeadersCallback(IAsyncResult ar)
The encoding is UTF8 and parser type Json.
Same command gets executed when it is launched from google chome browser from the same server where the bOS is installed.
Could you please advise what the problem should be?
Thanks,
Calin
Comfortclick API to get data from other applications
Hello! I'm learning to use Http devices to send data to an API, but I need to do the opposite. I mean, I press a button in an external application, and I need it to send a command to ComfortClick. Is there any URL in comfortclick to get json data, or text data?
Thank you!
Variable Cylic Sending of Commands
To reduce traffic, I generally set commands to send cyclically at around 5 minute intervals.
In certain circumstances, I would want to "boost" that to get 30 second responses temporarily to closely monitor conditions.
Is there a way to Send Cyclically on a variable time period?
I am not sure how to configure http > Boolean with url /api
I am not sure how to configure http > Boolean with below url /api
I have to pass l1498904289859 to open window http://192.168.2.109:8080/send?deviceMac=b4430dd11511&codeId=l1498904289859 Close window l1498900850560 http://192.168.2.109:8080/send?deviceMac=b4430dd11511&codeId=l1498900850560
using browser to enter url its working and programme > set the http request also work
HTTP request stopping
Hi There,
I have a Http Json type that fetches meter data, I'm finding it stops fetching randomly once stopped does not come back until I change for example the encoding? it still shows as connected?
So one is this to do with timeout? if so is there a way of detecting it's happened and resetting something automatically?
http basic string manipulation
Hi There,
Usinng the Http basic I can bring a string back from an API to another device, but that string contains data I do not need, I only want the present value from this response: {"present-value":22.285308837890625,"object-id":"0.1001","object-instance":"1001","object-type":"0","device-id":"0","href":"http://192.168.0.100:47800/api/v1/bacnet/devices/0/objects/0.1001"}
Is this possible in Comfort Clik, in short I wanto to populate a temperature in comfort click using the present value in the above response?
Thanks
Hello,
it is possible to parse JSON and XML data from the response. If your response is in one of those formats it is quite easy to read out the data. Another way is to use REGEX and parse out any data from text, but that is harder.
Example for JSON:
{
"Sensor1": {
"Temperature": 10
}
}
On the main HTTP node chose parser type "Json"
If you would like to read out temperature from sensor 1 (value 10), create a new variable under HTTP node e.g. double and enter Sensor1.Temperature in the Token Name field.
Regards
Customer support service by UserEcho