The Modul wont work on my Mirror too.
First:
In the moment i haven`t any Fitbit Hardware. I use the Fitbit -App on my WindowsPhone. I can see in the App all useful things like step etc. and the data will sync with the Fitbit webservce.
I can see all activitys an the Mirror with a Zero …
When i stop the mirror with
pm2 stop mm and try to start the python script setupAccess.py from the local terminal so i can see this:
//your code here
sudo python setupAccess.py
Get credentials from credentials.ini ? (Y/N)
y
{"message": "credentials.ini exists", "type": "status"}
{"message": "Reading from crentials.ini", "type": "status"}
{"message": "Read of credentials.ini successful.", "type": "status"}
[19/Sep/2017:19:30:03] ENGINE Listening for SIGHUP.
[19/Sep/2017:19:30:03] ENGINE Listening for SIGTERM.
[19/Sep/2017:19:30:03] ENGINE Listening for SIGUSR1.
[19/Sep/2017:19:30:03] ENGINE Bus STARTING
CherryPY Checker:
The Application mounted at '' has an empty config.
[19/Sep/2017:19:30:03] ENGINE Started monitor thread 'Autoreloader'.
[19/Sep/2017:19:30:03] ENGINE Started monitor thread '_TimeoutMonitor'.
[19/Sep/2017:19:30:03] ENGINE Serving on http://127.0.0.1:8080
[19/Sep/2017:19:30:03] ENGINE Bus STARTED
and not more - and no prompt …
when i now from a second terminal the mirror restart with pm2 restart mm
i see on the mirror only:
//your code here
```Traceback (most recent call last):
File "/usr/local/lib/python2.7/dist-packages/cherrypy/_cprequest.py", line 670, in respond
response.body = self.handler()
File "/usr/local/lib/python2.7/dist-packages/cherrypy/lib/encoding.py", line 217, in __call__
self.body = self.oldhandler(*args, **kwargs)
File "/usr/local/lib/python2.7/dist-packages/cherrypy/_cpdispatch.py", line 67, in __call__
raise sys.exc_info()[1]
HTTPError: (404, `Missing parameters: state`)
CherryPy 3.8.2
Can anyone help me to fix the problem ?
Greetz Sandy2503