bburky / esphome-projects

Misc esphome based projects
5 stars 1 forks source link

platformio does not find the library. #1

Open nanosonde opened 3 years ago

nanosonde commented 3 years ago

https://github.com/bburky/esphome-projects/blob/adb128a73251beafdc2d15578e5a57043905f26e/irkeyboard.yaml#L8

I had to change this to

  libraries:
    - "t-vK/ESP32 BLE Keyboard"  `

Without dashes...

bburky commented 3 years ago

Thanks. Also if you're using this code, I had some trouble when I disconnected my computer from the ESP32. I forget what broke, but it wasn't reconnecting when I turned the computer on next. There may have been some updates to the ESP32 keyboard library that fixed this though.

nanosonde commented 3 years ago

I am using part of your code code only as I do not need the IR receiver, but just GPIOs. With the latest version of the ESP32 BLE keyboard lib and the ESP32 connected to my wall-mounted iPad (iOS15) it works without any issues. The ESP32 also reconnected automatically on the iPad.