thomasloven / hass-plejd

🔹 Plejd BLE integration for Home Assistant
81 stars 10 forks source link

Plejd buttons (WPH-01) are unavailable #31

Closed kristofferR closed 10 months ago

kristofferR commented 10 months ago

I've installed this, and it mostly works fine, but my two WPH-01 (Firmware: 0.4.0) switches are unavailable.

I've enabled debug logging, but I still don't see anything in the log.

thomasloven commented 10 months ago

Do they become available if you press on them? If not, do they become available if you press the same button twice? It's a bit hard to know whith those, since they send different events (or none at all) depending on how they are configured...

kristofferR commented 10 months ago

Nope, I've pressed the buttons a bunch, and they haven't ever been available since installing hass_plejd.

thomasloven commented 10 months ago

What are their functions set to in the plejd app?

kristofferR commented 10 months ago

They're set to a scenario now, but it doesn't seem to matter, it didn't work even when not set to anything.

kristofferR commented 10 months ago

I deleted the WPH-01's in the Plejd app and readded them, now it worked. Seems like that solved it 🙂

How do I use the four inputs of the switch in an automation though?

thomasloven commented 10 months ago

WPH-01 should now (as of two minutes) register as two to four event entities instead of as a switch.

kristofferR commented 10 months ago

Awesome, works great, thanks!