-
Notifications
You must be signed in to change notification settings - Fork 6
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
HowTo Start? #32
Comments
Hi, I use this library like this https://github.com/FukjemiCZ/TractiveScraper It works for me in K8s. You can find the installation in the docker image Get inspired and then send me a link to your app. That error message means you didn't install the library.
and then |
Hello, i managed to get it working with this library.
I wanted to read some information frequently of the tracker and send them via mqtt to my smarthome:
Than i put this script into crontab My code is not optimzed or cleaned-up. But its working for me and brings the information into mqtt. |
Seems like you got it working in the end, so I don't know if you still need someone to answer your initial questions.
In your sample code, only "32" is written because that's what you told it to.
Running If you don't have an open issue regarding this project, please close the issue. |
Dear all,
i am really happy i found this API script.
I do have a cat using the current tractive tracker.
But i am a pyhton beginner, therefor i am afraid i would need some help to start. Maybe someone could help me? :)
I am using a raspberry pi 4b and ssh connection.
Performed
pip install aiotractive
and installed the script.Than i created a python file
sudo nano test.py
and enter the following code:
Saved and than i performed
python test.py
, no errors but only getting32
(because of the test print command).The same using
python3 test.py
If i do
sudo python test.py
i am getting following errors:
Traceback (most recent call last): File "/home/test.py", line 4, in <module> from aiotractive import Tractive ModuleNotFoundError: No module named 'aiotractive'
Now i am pretty lost and dont know what to do or what to expect as a result.
At least, if i type my mail or password wrong i am getting an authorization error as a result. Also getting an error if i type the tracker ID wrong. But i am just getting no results displayed in the ssh console.
Is the way i am doing this correct? Can someone help me? This would be very nice!
Best regards Simon
The text was updated successfully, but these errors were encountered: