-
Notifications
You must be signed in to change notification settings - Fork 36
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
DWN-01 #287
Comments
Sure, why not? Will give us hardware IDs etc. |
ik have have the devices , what do you need from the verbose log? |
2023-09-21 06:27:16 INF [plejd-ble] Got time response. Plejd clock time in sync with Home Assistant time ID: EE3BCAD9322F |
Hi, Look in the readme how to extract logs. Getting from the UI is quite tricky. |
something like this ?
}, |
@arnoslag: I have added support for the DWN-01 in the https://github.com/icanos/hassio-plejd/tree/develop branch. Please install it using the manual install method and test whether it works as expected. |
@SweVictor I did test it today, i see now my six DWN-01 2023-10-02 18:14:09 DBG [plejd-mqtt] Sending discovery for Badkamer spotjes 2023-10-02 18:16:19 WRN [device-registry] Trying to set state for null which is not in the list of known outputs. |
@arnoslag: The logs are incomplete, so it's hard to know what's going on, unfortunately. It is a bit strange that the same (?) "Spot 1" is discovered 5 times with the same BLE mesh id (38, the one we use to control the device) but with different hardware ids. Please post a full log and include markers for when you
Given the first point (multiple discovered things) it would be interesting to see how you Plejd app looks - one device or many? One light or many? How does the device details page look like? How does the device look in HA? Also: |
I will upload later a compleet log. |
Interesting! "Groups" it not something that exists in my system (apart from Rooms which is a type of group). Out of curiosity, Is this a top menu item in the app next to Users/Devices/Rooms/... or something else? How do you group devices? Can you group other devices than the DWN ones? |
Here is the link to logfile |
Thanks for that. Requested access to the logs. Can you group other device types or only the DWN-xx ones? |
@SweVictor No, ik kan only create a group with DWN devices. |
Thanks for the logs. Some follow-up questions towards the end @arnoslag Pasting some important bits here for reference Output devices (excerpt). All in group/output id 38.
Looking at the first one - EE3BCAD9322F_0 after decoding {
"bleOutputAddress": 38,
"deviceId": "EE3BCAD9322F",
"dimmable": false,
"name": "Badkamer spotjes",
"output": 0,
"roomId": "89b803f9-69fb-453e-94d7-be3b6ec8de62",
"roomName": "Badkamer",
"type": "light",
"typeDescription": "Smart tunable downlight with a built-in dimmer function, 8W",
"typeName": "DWN-01",
"version": "2.3.8",
"uniqueId": "EE3BCAD9322F_0"
} The other DWN-01 lights are simply named "Spot 1". Apart from that and a unique device id they look the same. Q1: I'm guessing you can't control them individually, only as a group? Based on the above assumption, we should probably just add one light (is it really safe to just use "the first"?) from the API response. In the current version, the messages we receive get decoded as the last spot in the group, presumably that's why it's not working. Id Q2: It would be interesting to see the full site response, but that is logged on the "silly" level I realize now. If you could post that as well (a long JSON in the beginning), please do so |
@arnoslag: Based on the above I pushed a code update to https://github.com/icanos/hassio-plejd/tree/develop branch that only adds the first output for a certain id. Please try it out and report back if possible. |
Q1: I'm guessing you can't control them individually, only as a group? It seems to work right now |
First things first, great to hear @arnoslag! Secondly, got a hold of the site json and did some digging for anyone interested. I'm missing a lot of keys in the JSON still, but maybe the response is a lot smaller than on my system (which has a gateway). Example keys, I'm missing devices and plejdDevices notably: Anyway - outputs match our decoding, multiple for BLE address 38:
Same for devices
Groups talk about the device BLE id and the room BLE id, I can't see any other "group" ids available.
|
Planned for 0.11 |
Will there support for the DWN-01 / DWN-02 ?
The text was updated successfully, but these errors were encountered: