Skip to content
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

Adding improv BLE support to the website. #2

Merged
merged 3 commits into from
Nov 12, 2023
Merged

Adding improv BLE support to the website. #2

merged 3 commits into from
Nov 12, 2023

Conversation

barndawgie
Copy link
Member

@barndawgie barndawgie commented Nov 10, 2023

For clients with improv BLE enabled, this enables them to be configured form the Installation page.

@barndawgie
Copy link
Member Author

If you'd like to test this, you can image an ATOM Lite device with no wi-fi creds and add this to your config:

binary_sensor:
  - platform: gpio
    id: atom_button
    pin:
      number: GPIO39
      inverted: true
    name: "ATOM Lite Button"
    icon: "mdi:gesture-tap-button"
    disabled_by_default: true

light:
  - platform: fastled_clockless
    id: atom_led
    chipset: SK6812
    num_leds: 1
    name: "ATOM Lite LED"
    pin: GPIO27
    disabled_by_default: true

output:
  - platform: template
    id: atom_led_output
    type: binary
    write_action:
      if:
        condition:
          lambda: return state;
        then:
          - light.turn_on: atom_led
        else:
          - light.turn_off: atom_led

esp32_improv:
  authorizer: atom_button
  status_indicator: atom_led_output

@tronikos tronikos merged commit 95f82e6 into main Nov 12, 2023
1 check passed
@tronikos tronikos deleted the improv-ble branch November 12, 2023 00:01
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants