Deconz-rest-plugin: Calibrate Ubisys J1

Created on 15 Aug 2020  ·  4Comments  ·  Source: dresden-elektronik/deconz-rest-plugin

I just paired my Ubisys J1 (using it for a Awning) with deCONZ. Controling via deCONZ GUI (Window Covering Cluster) works, but not via HomeKit (HomeBridge). I wanted to calibrate it like described here: https://github.com/dresden-elektronik/deconz-rest-plugin/pull/813 but I dont have a Sensor, just a Light. put config to Light does not work:

[
  {
    "error": {
      "address": "/lights/22",
      "description": "method, PUT, not available for resource, /lights/22",
      "type": 4
    }
  }
]

Did anything change here?

Unbenannt

User Question

All 4 comments

I'm unfamiliar with the J1 and the calibration procedure. _Window Covering_ devices need to be exposed as /lights resources for group support. I don't know if the J1 was initially exposed as a /sensors resource and when this was changed.

Homebridge Hue should support _Window Covering_ devices; I'm using it for a Xiaomi curtain controller and an IKEA FYRTUR. I don't think I've seen anyone trying the J1 yet. Could you please open an issue in the Homebridge Hue repository, attaching the debug dump file that Homebridge Hue creates on startup and the Homebridge debug log file?

@ebaauw thanks for your help. I can see it in the home app, I was able to open it once. But now its stuck in „öffnen“ mode forever. I guess it’s because its not yet calibrated so it does not know its state. I’ll try to provide some homebrige logs tomorrow but I thinks homebridge is not the problem here

I got one and it exposes as least one sensor. However, you can find the manual calibration steps here, at the beginning as comments:

https://github.com/dresden-elektronik/deconz-rest-plugin/blob/master/window_covering.cpp

You may need to enter sensor search in Phoscon and then read the basic cluster attributes for the sensor(s) to be created.

@SwoopX I tried like described here: https://github.com/dresden-elektronik/deconz-rest-plugin/wiki/How-to-read-Clusters with all 4 "Basic" Clusters (while search for new sensor in phoscon).

Update: No sensors shown in Phoscon, but 3 created in REST API (ZHASwitch, ZHAConsumption, ZHAPower). Calibration works on the ZHASwitch. HomeKit works. Everything is great.

Thanks!

Was this page helpful?
0 / 5 - 0 ratings

Related issues

wizkidorg picture wizkidorg  ·  3Comments

tenholde picture tenholde  ·  3Comments

1onar picture 1onar  ·  5Comments

salopette picture salopette  ·  4Comments

lynix picture lynix  ·  4Comments