Comments (9)
Yes, currently only the lights functionality of the Ubisys devices are supported. However all Ubisys devices have excellent support for attribute reporting and bindings, so exposing them to the realtime API should be possible. The whole switch configuration was refactored to be semi-generic, this should help to integrate the D1. No ETA but I put it on the list for a rainy weekend :-)
from deconz-rest-plugin.
Thanks, I'll be doing my rain dance then ;-)
from deconz-rest-plugin.
Somehow, the factory default binding (from the first Dimmer Switch endpoint to the Dimmable Light endpoint) got removed. I was able to restore it manually using the deCONZ GUI, for the On/Off as well as for the Level Control cluster. I also created binding for the second Dimmer Switch endpoint.
I cannot seem to control any other lights by creating bindings from the Dimmer Switch endpoints, though. Would Ubisys be using custom commands (like the Trådfri remote for the Previous and Next buttons), that aren't recognised by the other lights?
from deconz-rest-plugin.
Any progress yet?
from deconz-rest-plugin.
PR #139.
I was trying to create one ZHASwitch resource with different button event ranges for the different Dimmer Switch endpoints. This would be exposed to HomeKit as two buttons with Short Press and Long Press.
However, I didn't get there. Now it's two resources, one for each Dimmer Switch endpoint, with button events 1002, and 1001/1003 on the first endpoint and 2002 and 2001/2003 on the second endpoint. The distinction between DimUp and DimDown is lost with the current scheme (and when using one resource).
To my pleasant surprise, the deCONZ web app actually understands the two ZHASwitch resources and displays them as one device with two buttons. @manup will the new app also? If so, I'll probably change it to using the same button event values on both endpoints:
- 1002 for On/Off;
- 2001/2003 for DimUp;
- 3001/3003 for DimDown.
This would be exposed to HomeKit as 6 buttons: On/Off 1 and On/Off 2 with only Short Press, DimUp 1, DimUp 2, DimDown 1, and DimDown 2 with only Long Press.
Note to self: use the same trick as for the IKEA remote: remember 2001 (Move Up) vs 3001 (Move Down) so the right value can be issued on receiving Stop
from deconz-rest-plugin.
I'll close this one for now, but I remain curious as to how the new web app will handle the two resources.
from deconz-rest-plugin.
When suitable we combine them on application level, so that for example the Hue motion sensor is shown as one device. For that the first part of the uniqueid is used.
One of the Busch Jaeger switches has 4 ZHASwitch sensor resources and a dimmable light, here only the switches are shown combined as one device and the light is just treated as separate light.
from deconz-rest-plugin.
Are the input from D1, S1,S2 C4 in HomeKit to trigger other homekit devices/ scenes working now?
from deconz-rest-plugin.
I only have a D1 and cannot test the other switches. deCONZ now exposes a single ZHASwitch resource for the D1, with two groups in config.groups
:
{
"config": {
"group": "230,240",
"mode": "momentary",
"on": true,
"reachable": true
},
"ep": 2,
"etag": "0149ae869cb0b8f55b96aedd1f553be8",
"manufacturername": "ubisys",
"mode": 1,
"modelid": "D1 (5503)",
"name": "Dining Room Table",
"state": {
"buttonevent": 2002,
"lastupdated": "2018-10-27T22:46:14"
},
"swversion": "20171108-DE-FB0",
"type": "ZHASwitch",
"uniqueid": "00:1f:ee:00:00:00:19:63-02-0006"
}
homebridge-hue exposes this resource as a stateless switch with two buttons, both supporting Single Press and Long Press.
Looking at the code, homebridge-hue assumes there's still four ZHASwitch resources for the C4. I doubt whether this is still the case. homebridge-hue doesn't yet support the S1 nor the S2. Please open an issue with homebridge-hue, listing the REST API resources deCONZ creates for these devices (or simply attach the debug dump file, see https://github.com/ebaauw/homebridge-hue#debug-dump-file).
from deconz-rest-plugin.
Related Issues (20)
- Lonsonho (Tuya) 4 gang: ZBWS04A / _TZ3000_uaa99arv / TS0044 HOT 13
- Missing _TZ3000_p6ju8myv in DDF and Button Maps of Woox Smart Remote Control R7054 HOT 11
- Issue with IKEA Fytur Blackout Blind HOT 5
- _TZ3000_yxqnffam - TS0203 - Tuya Smart Zigbee Door Window Contact Sensor ZigBee 3.0 HOT 6
- TRADFRI bulb GU10 CWS 345lm
- Tuya ZTH05 Temperatur and Humidity Sensor with Display HOT 10
- TRADFRI on/off switch HOT 1
- PJ-1203A - Tuya Zigbee power meter with 2 clamps HOT 13
- deconz-gui crashes on clicking any dropdown menu gui element.
- Support for LYWSD03MMC Xiaomi Sensor HOT 3
- DDF for Livarno Home GU10 5W CCT Bulb _TZ3000_el5kt5im HOT 3
- Incorrect handling of voltage/current/power in DDF for Namron panel heater HOT 3
- Installing 2.24 over 2.22 kills all config and does not see Conbee device - must restore from backup HOT 9
- [New device support]: _TZE200_rxntag7i TS0601 / Tuya - Avatto TRV16 HOT 35
- Device Request: SONOFF TRVZB Thermostat HOT 9
- Device Request: Tuya micro motion sensor ZY-M100-24G - _TZE204_ijxvkhd0 - TS0601 HOT 1
- TUYA TV05-ZG (TRV) - _TZE200_mudxchsu / TS0601 HOT 17
- Unsupported device type ZHAParticulateMatter HOT 2
- Merten / Schneider Dimmer 1 GANG HOT 17
- Merten / Schneider Dimmer 2 GANG HOT 10
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from deconz-rest-plugin.