Enter forum description here ...
0

ARSO weather parser

Bojan Erak 2 years ago in Devices / Http 0

ARSO XML weather parser from Examples Library is not working, no data is returned with preconfigured tokens from the example. Does anybody have a working configuration for this parser?

Bojan

0

Problem sending an Http Post Request

koen Brants 2 years ago in Devices / Http updated 2 years ago 2

Hello,

I want to send an HTTP call to my home assistant server. 

The idea is to connect my doorbell to my sound system. 

Running the command get's me the following log line

Devices : 26/03/2023 17:41:17 : Error : Tasks\Test : Error calling HttpRequest. The remote server returned an error: (405) Method Not Allowed. at System.Net.HttpWebRequest.GetResponseFromData (System.Net.WebResponseStream stream, System.Threading.CancellationToken cancellationToken) 0x00146 in <9bd67acb7e9448b0ae17ea9ad68db84f>:0
at System.Net.HttpWebRequest.RunWithTimeoutWorkerT (System.Threading.Tasks.Task`1TResult workerTask, System.Int32 timeout, System.Action abort, System.Func`1TResult aborted, System.Threading.CancellationTokenSource cts) 0x000f8 in <9bd67acb7e9448b0ae17ea9ad68db84f>:0
at System.Net.HttpWebRequest.GetResponse () 0x00016 in <9bd67acb7e9448b0ae17ea9ad68db84f>:0
at ComfortClick.Tasks.TaskCommands.HttpRequest.Get () 0x0006c in <0e0f871ce2a547fdb865117a9a4f9ea3>:0


It seems that this occurs when it 's a GET request, while the server requires POST.


So I tried with curl : 

Running the following command line on my laptop : 

curl -X POST http://192.168.0.88:8123/api/webhook/startdoorbell

-> works OK

curl http://192.168.0.88:8123/api/webhook/startdoorbell

-> ERROR:  405: Method Not Allowed (Home Assistant refuses the GET requests)

-> Same error as logged by comfortclicks http request ...


Any ideas ?



0

http read intiger value from response result

imperialbms 2 years ago in Devices / Http updated by Ricardo Pinto | visiontech pt 2 years ago 2

hello, how to read intiger value from response result?

Image 4517

0
Under review

Weather forecast

Dávid Kirchhofer 2 years ago in Devices / Http updated by ComfortClick Support 2 years ago 1

Hello!

Someone can get me instructions or an example how to set up weather forecast based on openweather or any other method?

I'm a little begginer about the bos, and this (https://www.comfortclick.com/BOS/KnowledgeBase/Weather) example cant get me on.

Thank you!

Regards, David

0

Special character in HTTP device URL

Gabor Stepper 2 years ago in Devices / Http updated by Jürgen Jürgenson 2 years ago 3

Hello,

I am trying to access an HTTP API endpoint with GET request. It works from different kinds of clients (Chrome, Postman, etc.), but in bOS I get "Error connecting to device" error.


The only thing special about the request is the URL, which contains a "special" character, the colon :. This is because I can query data from a device which can be identified by its MAC address in the URL.

Has anyone experienced anything similar?

Thanks!

0

ip relay

patrick 2 years ago in Devices / Http updated 2 years ago 2

Hello,

I would like to control a Web Relay (Controlbyweb) from Jigsaw.
which device should I use?
relay ip address: 10.10.10.84
login: admin
pw : password
on command: http://10.10.10.84/state.xml?relay1State=1
off command: http://10.10.10.84/state.xml?relay1State=0

Thanks for your help

0

Somfy API Integration

Ernesto Fantuzzi 2 years ago in Devices / Http updated by Fabien Fuster 2 years ago 1

Hi to all,


I need help to use HTTP to setup API Integration for Somfy.


Any suggestion? i always get Unauthorized

I'm trying to use this guide: Somfy API Developers but without success.

0

Not able to connect to http API

Joachim 2 years ago in Devices / Http updated 2 years ago 11

Hi,

I'm trying to fetch energy prices from a public available API with a JSON array.

The data I'm trying to get can be found in this link:

GET https://www.hvakosterstrommen.no/api/v1/prices/2022/10-02_NO5.json

I have tried to play around with the url with different parts in the http settings and in the command settings. Anyone able to make this work?

Image 4113

0

mobotix

Giordano Olmi 2 years ago in Devices / Http updated by Jürgen Jürgenson 2 years ago 5

Good morning,

I should send an API notification to a Mobotix camera and ask you for help

I have to send this TCP string

http://192.168.30.22/control/control?set§ion=settings&armcond_ac1_source=disable

I used the HTTP connector and I am connected with the camera.

I don't understand how I have to set the Comand object

0

Integration CC+Doorbird. How to open door?

Alessandro Azzolini 2 years ago in Devices / Http updated by Ricardo Pinto | visiontech pt 2 years ago 2

Hello, I'm would like to open door via DoorBird from BOS client

I imported DoorBird library example

Camera integration works fine

Relay 1 on Device Control (with same IP configuration) is not working

Any idea?

Many thanks in advance

BR

Image 4035

Alessandro

Image 4034