derhuerst / eco-counter-client

Fetch data about bicycle counters from the Eco Counter API.
https://github.com/derhuerst/eco-counter-client
ISC License
14 stars 2 forks source link

Error on Executing #16

Closed h2o-commits closed 2 years ago

h2o-commits commented 2 years ago

After nodejs test.js get an Error:

not ok 1 Error: Not Found

operator: error
stack: |-
  Error: Not Found
      at /home/pi/Nextcloud/Raspberry-Sync/progs/fahrrad-counter/eco-counter-client/lib/request.js:39:16
      at processTicksAndRejections (internal/process/task_queues.js:97:5)

...

ideas? thx

derhuerst commented 2 years ago

This is because the Eco Counter API has changed, and nobody has adapted it so far. See #15 for details.

At https://github.com/derhuerst/eco-counter-client/issues/15#issuecomment-924041358, I have posted more up-to-date API requests.

derhuerst commented 2 years ago

I'm going to close this as a duplicate of #15, feel free to follow it for updates or contribute a new implementation!