Giter VIP home page Giter VIP logo

Comments (2)

pilot1981 avatar pilot1981 commented on August 25, 2024

I solved problem of name but now I found these errors:

2020-12-31 14:00:43,871 | INFO | test button pressed!
2020-12-31 14:00:43,873 | ERROR | Unable to perform request: Check [url], [body], [headers] and API password or [domain], [service] and [service_data] format.
Traceback (most recent call last):
File "/dasshio.py", line 63, in arp_display
json=json.loads(button["service_data"]),
File "/usr/lib/python3.7/json/init.py", line 348, in loads
return _default_decoder.decode(s)
File "/usr/lib/python3.7/json/decoder.py", line 337, in decode
obj, end = self.raw_decode(s, idx=_w(s, 0).end())
File "/usr/lib/python3.7/json/decoder.py", line 353, in raw_decode
obj, end = self.scan_once(s, idx)
json.decoder.JSONDecodeError: Expecting property name enclosed in double quotes: line 1 column 2 (char 1)
2020-12-31 14:00:43,947 | INFO | Finishing sniffing
2020-12-31 14:00:43,948 | INFO | Packet captured! Waiting 20 seconds...
2020-12-31 14:01:03,966 | INFO | Starting sniffing...
2020-12-31 14:01:09,360 | INFO | test button pressed!
2020-12-31 14:01:09,363 | ERROR | Unable to perform request: Check [url], [body], [headers] and API password or [domain], [service] and [service_data] format.
Traceback (most recent call last):
File "/dasshio.py", line 63, in arp_display
json=json.loads(button["service_data"]),
File "/usr/lib/python3.7/json/init.py", line 348, in loads
return _default_decoder.decode(s)
File "/usr/lib/python3.7/json/decoder.py", line 337, in decode
obj, end = self.raw_decode(s, idx=_w(s, 0).end())
File "/usr/lib/python3.7/json/decoder.py", line 353, in raw_decode
obj, end = self.scan_once(s, idx)
json.decoder.JSONDecodeError: Expecting property name enclosed in double quotes: line 1 column 2 (char 1)
2020-12-31 14:01:09,436 | INFO | Finishing sniffing
2020-12-31 14:01:09,437 | INFO | Packet captured! Waiting 20 seconds...
2020-12-31 14:01:29,456 | INFO | Starting sniffing...

from dasshio.

pilot1981 avatar pilot1981 commented on August 25, 2024

Hi,
I answer myself to help future readers...I ask owner of this repository to update also wiki @danimtb

Amazon decided to brick all Amazon dash button suing update via OTA. so you have to do these steps:

  1. block access to internet (Amazon OTA server)
  2. if button is blocked you can try to rescue it using this procedure: https://blog.christophermullins.com/2019/12/20/rescue-your-amazon-dash-buttons/
  3. in sare case, Amazon fixed bug and rescue procedure don't work: you can try to fine new way to rescue it or put it in the trash...

from dasshio.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.