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

Upgraded dist, service running but will not act on press unless in debug #170

Open
6 tasks done
88gts opened this issue Feb 16, 2021 · 4 comments
Open
6 tasks done

Comments

@88gts
Copy link

88gts commented Feb 16, 2021

What is the purpose of your issue?

  • Bug report (encountered problems with amazon-dash)

Guideline for bug reports

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

  • amazon-dash version: v 1.4.0
  • Python version: 3.7.3
  • Pip & Setuptools version: 18.1
  • Operating System: Raspbian Buster
  • The pip install or setup install command has been completed without errors
  • 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

After a dist upgrade, I can get my config to work only as debug.

[pi@pigts3:/var/www/scripts/pump $ sudo amazon-dash --debug run --config /etc/amazon-dash.yml 
Welcome to Amazon-dash v1.4.0 using Python 3.7.3
December 31 is the last day to block requests from your Amazon-dash buttons to Amazon servers. In 2020 your buttons can be bricked in an update from Amazon servers.
Listening for events. Amazon-dash will execute the events associated with the registered buttons.
2021-02-16 09:41:47,914 - amazon-dash - DEBUG   - Desk device executed (mac fc:a6:67:28:b9:c7)
2021-02-16 09:42:11,465 - amazon-dash - DEBUG   - Desk device executed (mac fc:a6:67:28:b9:c7)]

Service is currently running, but does not recognize/act on the button presses unless I have debug running in parallel.

pi@pigts3:/var/www/scripts/pump $ ps aux | grep amazon-dash
root       486  0.2  1.5  38700 29884 ?        Ss   09:33   0:01 /usr/bin/python3 /usr/local/bin/amazon-dash run --config /etc/amazon-dash.yml

pi@pigts3:/var/www/scripts/pump $ sudo systemctl status amazon-dash
● amazon-dash.service - Amazon Dash service
   Loaded: loaded (/usr/lib/systemd/system/amazon-dash.service; enabled; vendor preset: enabled)
   Active: active (running) since Tue 2021-02-16 09:33:14 PST; 13min ago
 Main PID: 486 (amazon-dash)
    Tasks: 1 (limit: 3860)
   CGroup: /system.slice/amazon-dash.service
           └─486 /usr/bin/python3 /usr/local/bin/amazon-dash run --config /etc/amazon-dash.yml

Feb 16 09:33:14 pigts3 systemd[1]: Started Amazon Dash service.
Feb 16 09:33:16 pigts3 env[486]: Welcome to Amazon-dash v1.4.0 using Python 3.7.3
Feb 16 09:33:16 pigts3 env[486]: December 31 is the last day to block requests from your Amazon-dash buttons to Amazon servers. In 2020 your buttons can be bricked in an update from Amazon 
Feb 16 09:33:16 pigts3 env[486]: Listening for events. Amazon-dash will execute the events associated with the registered buttons.
@88gts
Copy link
Author

88gts commented Feb 16, 2021

Tried to pip3 uninstall and reinstall, but it still did not work (is there a force option?)

@Nekmo
Copy link
Owner

Nekmo commented Feb 18, 2021

Do actions work with debugger open?

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

No branches or pull requests

3 participants
@Nekmo @88gts and others