-
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
Devices not added as entities #248
Comments
I've got the same issue. I have a WRT-01 dimmer remote, which get added as a device, but it has no entities. This is the payload if I click the MQTT INFO button on the device info page:
And here is the log from starting the addon:
I get a whole lot of "Failed to start discovery", not sure if that has something to do with it. I have no other Bluetooth devices added to Home Assistant. I have tried power on/off of the Bluetooth dongle (ASUS USB-BT500). |
I got mine working. I had disabled MQTT in integrations since i didn't use it or anything else. I dont have any update or feedback from the scenarios I use that are programmed in the plejd app. |
I use MQTT for Zigbee2mqtt so that is turned on and working. I do get the device under the MQTT integration, but no entities... |
@jonathanalmstrom : Nice that it works. @jonaslorander : It seems like your system only has/finds an input device. Example logs from your post:
So - I would start looking there. |
Yeah, all I have is one input device. I was looking for a new dimmer and the only one that I found pleasing enough was this. So there is no other Plejd stuff. I thought that would be enough... |
Hmm, tricky. With only input devices you won't get any controllable outputs or obvious things sent to/from HA/matt. That said, the bigger problem with Plejd is that normally no BLE commands are sent it there are no devices listening. Meaning: a DIM-01 with an output connected directly won't send any BLE command from the input change, if it controls a device wirelessly it will. I don't have any wireless buttons/dimmers but I think there are some issues discussing the details. From memory my guess is that you might need a second Plejd device and set the dinner to control that to be able to pick up the dim level, but i might be wrong. From memory I think you should be able to trigger a Plejd scenario from f.ex. double click and pick that up in HS. Either way you should be able to see all BLE commands picked up by the Plejd addon in verbose or silly log mode. If you don't see anything the device is simply not sending anything. |
I see, thanks for the info. I'll see if I'm able to solve it some other way. |
I'll close this for now since the original issue seems to be solved. Feel free to open a new issue for new things. |
I have installed the plejd addon and everything seems to work with that part. It finds the plejd devices and is vissible in the logger but the entities are not added to the system and I can't use any of the lights or room commands.
Any idea what could be wrong, or what i'm missing?
LOGS:
Please, share the above information when looking for help
or support in, e.g., GitHub, forums or the Discord chat.
[cont-init.d] 00-banner.sh: exited 0.
[cont-init.d] 01-log-level.sh: executing...
[cont-init.d] 01-log-level.sh: exited 0.
[cont-init.d] done.
[services.d] starting services
[services.d] done.
[09:26:10] INFO: Starting the Plejd service...
[09:26:11] INFO: Verified permissions on startup script
[09:26:11] INFO: Executing startup script
[09:26:11] INFO: Running add-on
Config: {
site: 'Ruriksvag2',
username: '---scrubbed---',
password: '---scrubbed---',
mqttBroker: 'mqtt://192.168.50.68',
mqttUsername: 'plejd',
mqttPassword: '---scrubbed---',
includeRoomsAsLights: true,
preferCachedApiResponse: false,
updatePlejdClock: false,
logLevel: 'info',
connectionTimeout: 2,
writeQueueWaitTime: 400
}
2022-09-17 09:26:16 INF [plejd-main] Log level set to info
Starting Plejd addon and reading configuration...
2022-09-17 09:26:16 INF [plejd-main] Log level set to info
2022-09-17 09:26:16 INF [plejd-main] Plejd add-on, version 0.9.1
2022-09-17 09:26:16 INF [device-comm] Starting Plejd communication handler.
2022-09-17 09:26:16 INF [plejd-ble] Starting Plejd BLE Handler, resetting all device states.
2022-09-17 09:26:16 INF [plejd-main] Main Plejd addon init()...
2022-09-17 09:26:16 INF [plejd-api] init()
2022-09-17 09:26:16 INF [plejd-api] Getting cached api response from disk
2022-09-17 09:26:16 INF [plejd-api] login()
2022-09-17 09:26:16 INF [plejd-api] logging into Ruriksvag2
2022-09-17 09:26:17 INF [plejd-api] got session token response
2022-09-17 09:26:17 INF [plejd-api] Get all Plejd sites for account...
2022-09-17 09:26:17 INF [plejd-api] Got site list response with 1: Ruriksvag2
2022-09-17 09:26:17 INF [plejd-api] Site found matching configuration name Ruriksvag2
2022-09-17 09:26:17 INF [plejd-api] Get site details for 6901f2ed-9466-4f42-b752-acbe605f7993...
2022-09-17 09:26:18 INF [plejd-api] got site details response
2022-09-17 09:26:18 INF [plejd-api] Site details for site id 6901f2ed-9466-4f42-b752-acbe605f7993 found
2022-09-17 09:26:18 INF [plejd-api] Saving cached copy
2022-09-17 09:26:18 INF [plejd-api] Getting devices from site details response...
2022-09-17 09:26:18 INF [plejd-api] No Plejd gateway found on site
2022-09-17 09:26:18 INF [plejd-mqtt] Initializing MQTT connection for Plejd addon
2022-09-17 09:26:19 INF [plejd-ble] init()
2022-09-17 09:26:21 INF [plejd-mqtt] Connected to MQTT.
2022-09-17 09:26:21 INF [plejd-mqtt] Sending discovery for 25 Plejd output devices
2022-09-17 09:26:21 INF [plejd-mqtt] Discovered DIM-01 (light) named Takspot (11 : DAA703BDE80C_0).
2022-09-17 09:26:21 INF [plejd-mqtt] Discovered DIM-01 (light) named Takspot (13 : C9CFD653ACDB_0).
2022-09-17 09:26:21 INF [plejd-mqtt] Discovered LED-10 (light) named Duschhylla (15 : F8E485A54581_0).
2022-09-17 09:26:21 INF [plejd-mqtt] Discovered DIM-01 (light) named Takspot vid glasparti (17 : E0E9082A9E11_0).
2022-09-17 09:26:21 INF [plejd-mqtt] Discovered CTR-01 (light) named Bel uteplats (19 : C0D6E03139E9_0).
2022-09-17 09:26:21 INF [plejd-mqtt] Discovered CTR-01 (light) named Entre (20 : CB3FBFA00AF2_0).
2022-09-17 09:26:21 INF [plejd-mqtt] Discovered DIM-01 (light) named Entre (21 : C2EEAFC89855_0).
2022-09-17 09:26:21 INF [plejd-mqtt] Discovered DIM-01 (light) named Takspot (23 : F3EDCB061B90_0).
2022-09-17 09:26:21 INF [plejd-mqtt] Discovered DIM-01 (light) named Takspot korridor (24 : D3124D8D76FB_0).
2022-09-17 09:26:21 INF [plejd-mqtt] Discovered DIM-01 (light) named Takspot (26 : D34B169B7CA9_0).
2022-09-17 09:26:21 INF [plejd-mqtt] Discovered LED-10 (light) named Duschhylla (27 : D87A87534AE6_0).
2022-09-17 09:26:21 INF [plejd-mqtt] Discovered DIM-01 (light) named Vardagsrum (34 : EF6E7FF09047_0).
2022-09-17 09:26:21 INF [plejd-mqtt] Discovered DIM-01 (light) named Köksbord (35 : FC13DF04CE08_0).
2022-09-17 09:26:21 INF [plejd-mqtt] Discovered DIM-01 (light) named Takbelysning (37 : C9A32FC368F0_0).
2022-09-17 09:26:21 INF [plejd-mqtt] Discovered DIM-01 (light) named Takbelysning (39 : F8150ED58A66_0).
2022-09-17 09:26:21 INF [plejd-mqtt] Discovered Room (light) named Kök (10 : 6ef1adbc-857c-46a4-9b77-25904c655fc4).
2022-09-17 09:26:21 INF [plejd-mqtt] Discovered Room (light) named Övrigt (12 : 94f16046-eeb6-4a5a-8eb3-6d3a383bdc84).
2022-09-17 09:26:21 INF [plejd-mqtt] Discovered Room (light) named Badrum (14 : 1360ad51-8488-4c13-b14a-b10483e576cd).
2022-09-17 09:26:21 INF [plejd-mqtt] Discovered Room (light) named Entré / Korridor (16 : 3e87b137-e88e-45ca-a5ea-1e7253731327).
2022-09-17 09:26:21 INF [plejd-mqtt] Discovered Room (light) named Utomhusbelysning (18 : 016288e7-02f2-4255-abf1-da0d5d206c6a).
2022-09-17 09:26:21 INF [plejd-mqtt] Discovered Room (light) named Tvättstuga (22 : bfb7291d-2220-4c96-820f-1030741a629e).
2022-09-17 09:26:21 INF [plejd-mqtt] Discovered Room (light) named Familjedusch (25 : 94d2b56d-0a55-4168-ad54-4eb8843ccb58).
2022-09-17 09:26:21 INF [plejd-mqtt] Discovered Room (light) named Vardagsrum (33 : 05cfbedb-2b2b-4da9-b463-cdbfe812a245).
2022-09-17 09:26:21 INF [plejd-mqtt] Discovered Room (light) named Heddas rum (36 : eebaaccc-e9b6-4d4c-bd32-304848c60465).
2022-09-17 09:26:21 INF [plejd-mqtt] Discovered Room (light) named Gästrum (38 : 29df8f24-3621-4d8b-9269-a0731bff99c2).
2022-09-17 09:26:21 INF [plejd-mqtt] Sending discovery for 0 Plejd input devices
2022-09-17 09:26:21 INF [plejd-mqtt] Sending discovery for 8 Plejd scene devices
2022-09-17 09:26:21 INF [plejd-mqtt] Discovered Scene (scene) named Utebelysning (1 : c64d8941-ec07-4ed4-9e4c-678efc4d4a47).
2022-09-17 09:26:21 INF [plejd-mqtt] Discovered Scene (scene) named Släck allt (2 : b12f850f-0774-4913-a451-ef07d53f52fa).
2022-09-17 09:26:21 INF [plejd-mqtt] Discovered Scene (scene) named Tänd vardagsrum (3 : c00ea34d-f034-4213-9e03-67c8c1951f2b).
2022-09-17 09:26:21 INF [plejd-mqtt] Discovered Scene (scene) named Tänd korridor + entre (4 : 6ec0c337-c023-4675-90d6-2e6bc6f1bcc2).
2022-09-17 09:26:21 INF [plejd-mqtt] Discovered Scene (scene) named Bef. Badrum (5 : c17069b8-ec1a-422c-8942-954bf694df80).
2022-09-17 09:26:21 INF [plejd-mqtt] Discovered Scene (scene) named Tänd Nytt badrum (6 : 181fb805-e863-4394-8155-7e643877a1a0).
2022-09-17 09:26:21 INF [plejd-mqtt] Discovered Scene (scene) named Släck nytt badrum (7 : 72c42939-42b9-4591-b3c1-00089f0a19bf).
2022-09-17 09:26:21 INF [plejd-mqtt] Discovered Scene (scene) named Släck bef. Badrum (8 : 716477b2-8706-4bd7-8609-b9724883ebf2).
2022-09-17 09:26:25 INF [plejd-ble] BLE init done, waiting for devices.
2022-09-17 09:26:25 INF [plejd-main] Main init done
2022-09-17 09:26:25 INF [plejd-main] main() finished
2022-09-17 09:26:27 INF [plejd-ble] Device discovery done, found 1 Plejd devices
2022-09-17 09:26:27 INF [plejd-ble] Connecting to /org/bluez/hci0/dev_DA_A7_03_BD_E8_0C
2022-09-17 09:26:31 INF [plejd-ble] onDeviceConnected()
2022-09-17 09:26:31 INF [plejd-ble] Connected device is a Plejd device with the right characteristics.
2022-09-17 09:26:31 INF [plejd-ble] authenticate()
2022-09-17 09:26:31 INF [plejd-ble] BLE Connected to undefined
2022-09-17 09:26:31 INF [plejd-ble] Plejd clock updates disabled in configuration.
2022-09-17 09:26:31 INF [plejd-ble] startPing()
2022-09-17 09:26:31 INF [device-comm] Bluetooth connected. Plejd BLE up and running!
2022-09-17 09:26:31 INF [device-comm] startWriteQueue()
The text was updated successfully, but these errors were encountered: