Enter forum description here ...
0
Under review

http device connection error

Gracjan 4 years ago in Devices / Http updated 4 years ago 2

My HTTP devices to publish notifications of the values changes in KNX stop working with reason "Error connecting to device":

Debug : 31.01.2021 15:37:50 : Devices\Homebridge : Exception : Exception : [ErrorConnecting]
Debug : 31.01.2021 15:37:42 : Devices\Homebridge : Exception : Exception : [DeviceConnected]
Debug : 31.01.2021 15:37:40 : Devices\Homebridge : Exception : Exception : [DeviceDisabled]

I was trying creating the new device and moving commands but did not help. The logs aren't very verbose about the reason of failure. Im running Jigsaw. The server the HTTP is connecting to is running fine, i.e. curl queries are working ok. Is there any way to find out the root cause of it? Some more verbose logs maybe?

0

Tank Utility Sensor API

Alexander Paredes 4 years ago in Devices / Http updated 4 years ago 11

Hi I would like a hand creating this API for aTank Sensor Called Tankutility

i would like to read the volume value and temperature value from comfortclick GUI

i am following this API Guide ( API Guide) how ever i am only able to get the Token Value under Response Value line

here is a picture of where i am stuck right now

Image 2945

0

HTTP device - command using headers not working

Calin Birtocean 4 years ago in Devices / Http updated 4 years ago 1

Hello,

I have been using the http device connecting to an API. 

All the commands GET/POST work properly as long as there is no header used.

For the commands GET/POST where header is required it stopped working and there is no value returned for the Response Data.

The parsing is UTF8 for encoding and JSON for type.

Trying to log and monitor, there is only the RunFunction but no ResponseData or StatusCode for the commands having the headers. 

Thank you,

Calin

0
Under review

Exception : Error reading JObject from JsonReader. Current JsonReader item is not an object

George Tsamis 5 years ago in Devices / Http updated by ComfortClick Support 4 years ago 7

I have an http response like:

[{"1":"WiBee - Reset Energy Counters","v":true},{"1":"WiBee - Phase 1 Voltage","v":232.48},{"1":"WiBee - Phase 2 Voltage","v":225.12},{"1":"WiBee - Phase 3 Voltage","v":228.64}]

I have used the token name [1].v to get the Phase 1 Voltage but i always get an error 

Debug : 20/1/20 6:37:20 μμ : Devices\GetEnergyMeterData\FetchDataFromLM : Exception : Error reading JObject from JsonReader. Current JsonReader item is not an object: StartArray. Path '', line 1, position 1. ...

Any help?

0
Under review

Help on getting data from http response

Dave De Busschere 5 years ago in Devices / Http updated by Ricardo Pinto | visiontech pt 5 years ago 57

I'm  trying to get data from the respnonse "actualvolume" 

I've been exploring the forum here but i can't figure out what i'm doing wrong.


Parse type: Jhson

I get this response:

{"?xml":{"@version":"1.0","@encoding":"UTF-8"},"volume":{"@deviceID":"C4F312D5994F","targetvolume":"16","actualvolume":"16","muteenabled":"false"}}

Image 2282

Image 2283

Image 2284


Image 2288

0
Under review

HTTP device not working?

Noel Fuentes 5 years ago in Devices / Http updated by Fabien Fuster 5 years ago 23

Hello,

I've recently updated to version 4.6.17 and http devices with authentication stopped working since then. Funny thing is the http devices with no authentication keep working fine.

I use http devices with authentication to activate Mobotix cameras recordings and it doesn't work since the update. The "Response data" value is empty and no error is showed in the log window. If I use a program task to do the http request, a "no authorised" error messages shows in the log window, even though I'm sure the user and password are correct.

On the other hand, I use http devices to do a couple of tasks with Sonos and it's still working fine.

Any tips?


Thanks in advance.

Best regards

0

API string editor

Jürgen Jürgenson 5 years ago in Devices / Http updated by Fabien Fuster 5 years ago 5

Hey,

I need to change the date on a API command. But the command will not work when there is '%X' in the string. Is there a better way to change the date value?

Its made for Entso-E day ahead prices, but their API does not support just one value for date, it needs to have a start date and end date. So i made this as shown in the picture. it gives the current date and calculates  +1 day and inputs it as the end day. But it failed to get responses like that. 

Image 2104

0
Under review

HTTP POST no response

Sebastian Salmhofer 6 years ago in Devices / Http updated by ComfortClick Support 6 years ago 1

Hi,

I am trying to integrate a Grünbeck Softliq SC18 water softener using HTTP POST, but for some reason I can't get the response values back.

bOS sends the POST command correctly and the response is what I would expect from what I can see in the packet capture. The problem is apparently bOS doesn't like the response and doesn't store it. There are also errors in the log, but I don't know what they mean.

What am I doing wrong?

Thanks

Sebastian

packetcapture (3).cap

Log Devices.txt
Local-Http.bos
0

Goodwe Solar power API/Modbus

Jürgen Jürgenson 6 years ago in Devices / Http updated by Cablea 3 years ago 6

Hey,

Has anyone messed with Goodwe solar power inverters or Ezloggers Pro?

I'm trying to display solar power information in our tablets.
Goodwe uses a cloud based service for monitoring.
I found some API info from here http://euapi.sems.com.cn:82/swagger/ui/index#/ but so far I have no luck getting info from the API for my devices. There is a good chance i'm doing something wrong as i've not used API's with bOS that much.


Option 2 is to use modbus, it should be easier at least for me - i'm still waiting for modbus register table info from their support.

0

Tibber.com API call - help with authorization.

Joachim 6 years ago in Devices / Http updated 3 years ago 12

Hi.

I'm trying to reach my electricity company through their public API.

I'm able to use the POST field in the command to get a response but a layer of authorization is required.


Is anyone able to point me in the right direction on how to incorporate the authorization token in my call?

This call gives me a response (from their examples)

call:

{
"query": "{ viewer { name }}"
}

response:

{"data":null,"errors":[{"message":"No valid access token in request","locations":[{"line":1,"column":3}],"path":["viewer"],"extensions":{"code":"INTERNAL_SERVER_ERROR"}}]}


Documentation:

https://developer.tibber.com/docs/guides/calling-api


Any help is appreciated