Issues

  • Refreshing a virtual device always result in a 400 Bad Request

    Hi! I've written some tools around the local free@home API. See https://github.com/guckykv/freeathome-go-fahapi and https://github.com/guckykv/freeathome-go-tools With that I also can register virtual devices - which works fine. But if I try to refresh them, I always get a "400 Bad Request". And I get the error also when I try the curl from your documentation. curl -v -X PUT --user a33xxxxxxa8:xxxx http://192.168.7.4/fhapi/v1/api/rest/virtualdevice/00000000-0000-0000-0000-000000000000/abc7777 -d '{"properties": {"ttl": "60"}}' * Trying 192.168.7.4... * TCP_NODELAY set * Connected to 192.168.7.4 (192.168.7.4) port 80 (#0) * Server auth using Basic with user 'a33xxxxxxxa8' > PUT /fhapi/v1/api/rest/virtualdevice/00000000-0000-0000-0000-000000000000/abc7777 HTTP/1.1 > Host: 192.168.7.4 > Authorization: Basic xxxxxx > User-Agent: curl/7.64.1 > Accept: */* > Content-Length: 29 > Content-Type: application/x-www-form-urlencoded > * upload completely sent off: 29 out of 29 bytes < HTTP/1.1 400 Bad Request < Server: < Date: Sun, 31 Jan 2021 15:34:12 GMT < Transfer-Encoding: chunked < Connection: keep-alive < * Connection #0 to host 192.168.7.4 left intact * Closing connection 0 Using SysAPv2 with system 2.6.0. So, whats going wrong? Regards!

    Status: Proposed | Reported by Hidden Wed, 03 Feb 2021 11:10:01 GMT
  • Channel arrangement for different modules.

    Is there any document available from where channel assignment or what each channel represent for different module types can be referred to? eg. for Switch Actuator: (ch0000 = Left rocker, ch0001 = Top, left push button, ch0002 = Bottom, left push button ..... ch0006 = Switch Actuator-1, ch0007 = Switch Actuator-2, etc..). Regards,

    Status: Proposed | Reported by Hidden Wed, 06 Jan 2021 02:41:06 GMT
  • How to enable 'Local API' in System Access Point Model 'SAP-S-2'

    We are presently working on System Access Point Model SAP-S-2 to develop driver plug-in for RTI processor. Read about 'free@home Local API' to control & monitor devices on LAN. Updated the firmware to latest version 2.6.0, however there is no option in 'SAP Settings' to enable 'Local API' as mentioned in API documentation. Are we making any mistake in understanting the documentation or the System Settings? Please guide. Regards, Anil K Chikkam.

    Status: Proposed | Reported by Hidden Mon, 23 Nov 2020 02:35:01 GMT
  • oauth renew and multiple cliente

    I can't have 2 instances of an application connected using oauth and the same user. Steps to reproduce: 1. Log your first application instance ( the application will get access_token1 and renew_token1) 2. Log your second application instance (the application will get access_token2 and renew_token2) 3. wait 3600 seconds, access_token1 will expire and when the first instance try to renew it using renew_token1, an invalid_grant message will be removed, the second instance will be able to renew using renew_token2.

    Status: Proposed | Reported by Hidden Thu, 15 Oct 2020 13:37:49 GMT
  • Scene inputs / outputs swapped?

    I noticed that judging by the pairing IDs the inputs and outputs appear to be swapped for all scenes in my configuration JSON. This makes triggering scenes through the API impossible. "ch0000": { "displayName": "Test Scene", "type": "ABB60341", "functionID": "0037", "inputs": { "idp0000": { "value": "1", "pairingID": 256 }, "idp0001": { "value": "0", "pairingID": 272 }, "idp0002": { "value": "0", "pairingID": 288 }, // ... }, "outputs": { "odp0000": { "value": "0", "pairingID": 1 }, "odp0001": { "value": "0", "pairingID": 16 }, "odp0002": { "value": "0", "pairingID": 17 }, // ... } }

    Status: Proposed | Reported by Hidden Sun, 15 Mar 2020 14:28:58 GMT
  • Documentation regarding Webhooks and Websockets could use some clarification

    Hello, I'm trying to set up a Webhook or a Websocket connection for receiving events. I've been unsuccesful until now. The documentation for the webhook POST method doesn't describe the body to send. I've sent an object with property url containing the url of the webhook but I now receive a Bad Request response saying 'Invalid consumer': HTTP/1.1 400 Bad Request Content-Length: 17 Content-Type: text/plain; charset=utf-8 X-Frame-Options: DENY X-Content-Type-Options: nosniff Date: Fri, 10 Jan 2020 09:23:23 GMT Invalid consumer Can you specify the body that needs to be posted? I would also like to create a webhook. Can you give an example how that can be set up? Kind regards, Peter Gerritsen

    Status: Proposed | Reported by Hidden Fri, 10 Jan 2020 09:29:34 GMT

You're not signed in. Please sign-in to report an issue or post a comment.