Closed dodg3r closed 2 years ago
I am getting the same when using WPH-01.
Every time I use the buttons I get
2021-12-28 17:16:48 WRN [device-registry] Trying to set state for null which is not in the list of known outputs.
2021-12-28 17:16:48 WRN [plejd-mqtt] Unknown output id null - not handled by us.
The same button has been discovered previously
2021-12-28 17:14:06 INF [plejd-mqtt] Discovered WPH-01 (device_automation) named Tryckknapp (25 : E15BC687E902_I_0).
Full logging "Silly" level
2021-12-28 17:23:29 SLY [plejd-ble] Dim: 0, full precision: 0
2021-12-28 17:23:29 VRB [plejd-ble] Raw event received: 1901100000
2021-12-28 17:23:29 VRB [plejd-ble] Decoded: Device null (BLE address 25), cmd 0, state 0, dim 0
2021-12-28 17:23:29 VRB [plejd-ble] Command 0 unknown. 1901100000. Device Unknown (25: null)
2021-12-28 17:23:29 SLY [plejd-ble] Dim: f5, full precision: f500
2021-12-28 17:23:29 VRB [plejd-ble] Raw event received: 00011000161900f50a
2021-12-28 17:23:29 VRB [plejd-ble] Decoded: Device null (BLE address 0), cmd 16, state 25, dim 245
2021-12-28 17:23:29 VRB [plejd-ble] A button (eg. WPH-01, WRT-01) 0 at BLE address 25 was pressed. Unique Id is E15BC687E902_I_0
2021-12-28 17:23:29 VRB [plejd-mqtt] Button 0 pressed for deviceId E15BC687E902
2021-12-28 17:23:29 VRB [plejd-mqtt] Received mqtt message on homeassistant/device_automation/plejd/E15BC687E902/state
2021-12-28 17:23:29 VRB [plejd-mqtt] Getting device E15BC687E902 from registry
2021-12-28 17:23:29 VRB [plejd-mqtt] Sent mqtt state command for device_automation, (E15BC687E902).
2021-12-28 17:23:29 SLY [plejd-ble] Dim: 0, full precision: 0
2021-12-28 17:23:29 VRB [plejd-ble] Raw event received: 190110009701
2021-12-28 17:23:29 VRB [plejd-ble] Decoded: Device null (BLE address 25), cmd 97, state 1, dim 0
2021-12-28 17:23:29 DBG [plejd-ble] Unknown (null) got state update. S: 1
2021-12-28 17:23:29 WRN [device-registry] Trying to set state for null which is not in the list of known outputs.
2021-12-28 17:23:29 WRN [plejd-mqtt] Unknown output id null - not handled by us.
@dodg3r @johro897 Have the issue been solved in a later release or are you still having this problem?
Hi.
Tested with 0.9.1 and the issue is still there. After adding SPR-01 i get this in log
2022-04-13 19:17:47 WRN [device-registry] Trying to set state for null which is not in the list of known outputs.
2022-04-13 19:17:47 WRN [plejd-mqtt] Unknown output id null - not handled by us.
After a restart the device is added correct.
Looking at the full log from @johro897 it seems like the button has BLE id 25, is that correct? Could you post startup logs showing what happens?
@dodg3r your logs unfortunately show too little to give and information. Please post verbose startup logs and logs around the error if you can.
Both: apart from the logs showing a warning, are you missing any functionality? What did you expect to happen that didn't?
Hi. When adding a device in plejd app you have to restart plejd addon for it to work. Maybe thats how you do it? In that case nothing is wrong.
Yes, the call to plejd API is done at startup only. Skipped completely if caching is enabled.
Ok, then I think we can close this case. If johro897 stil has problems maybe he can start a new issue.
Alright, thanks for reporting back
Hi.
When installing new devices I get this error in log.
The new device don´t get added but when i restart plejd addon it works :)