Nekmo / amazon-dash

Hack your Amazon Dash to run what you want.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Unable to connect dash button to wifi

SameerPujji opened this issue · comments

Put an x into all the boxes [ ] relevant to your issue (like this: [x])

What is the purpose of your issue?

  • [ x] Bug report (encountered problems with amazon-dash)
  • Feature request (request for a new functionality)
  • Question
  • Other

Guideline for bug reports

You can delete this section if your report is not a bug

  • amazon-dash version: 1.4.0
  • Python version: 2.7.16/3.7.3
  • Pip & Setuptools version:
  • Operating System: Raspberry Pi OS
  • [ x] The pip install or setup install command has been completed without errors
  • [x ] The python -m amazon_dash.install command has been completed without errors
  • The amazon-dash discovery command works without errors
  • I have created/edited the configuration file
  • Amazon-dash service or amazon-dash --debug run works

Description

Sorry in advance, I am new to this.

I am trying to connect my new amazon dash buttons to my network after completing the hack device part (received green LED once the sound was played).

When I put y to the question "Is the blue light flashing?", 5 seconds later the blue light immediately stops flashing and then nothing happens. A few seconds after this, I get the error Timeout connecting to network.

If I am connected to any network (either my home network or the Amazon ConfigureMe network), I get the following error message:

Error for wireless request "Set ESSID" (8B1A) :
Set failed on device wlan0; Operation already in progress.

So I have to disconnect from any network before running the configure command.

I have tried connecting to the button's wifi network, visiting http://192.168.0.1/?amzn_ssid=<wifi_network_name>&amzn_pw=<wifi_network_pw> but again, as soon as I visit this web page the button immediately stops blinking and turns off

It turns out even though the device is shutting off when trying to connect to wifi, the process is completing successfully. The CLI isn't working for me, but visiting the URL/IP address above seems to configure the device correctly.