8000 Unable to use setParingCode() successfully · Issue #786 · HomeSpan/HomeSpan · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content
Unable to use setParingCode() successfully #786
Closed
@dsbeach

Description

@dsbeach

Problem: unable to pair device after invocation of setParingCode()
HomeSpan version 1.9.0

Steps to reproduce:

  • modify 01-SimpleLightBulb example as follows:
  • insert the lines below before call to homeSpan.begin()
    homeSpan.setLogLevel(2);
    homeSpan.setPairingCode("32154876");

Attempts to pair are unsuccessful, however the same pairing code can be set successfully via the serial interface

Note:

log output from setPariringCode() shows:
Generating SRP verification data for new Setup Code: 321-54-876 ... New Code Saved!
Setup Payload for Optional QR Code: X-HM://0004YYOZG

serial interface change shows:
Generating SRP verification data for new Setup Code: 321-54-876 ... New Code Saved!
Setup Payload for Optional QR Code: X-HM://0052JQTX8HSPN

Metadata

Metadata

Assignees

No one assigned

    Labels

    confirmed bugConfirmed bugfixed in devA bug fix for this issue is now available in dev for user testing

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      0