Open geekdave opened 8 months ago
Hello @geekdave thanks for reaching out!
The exporter is still working for me and fetching my litter robot correctly. Can you provide any further information, like the number of robots you have registered and which product versions they are?
I only have a litter robot 3 connect, so that's the only device I'm able to test with directly.
Hi @tlkamp - Thanks for the response! I have a LR4, and it appears from a related project that the LR4 has its own separate GraphQL API endpoint: https://github.com/natekspencer/pylitterbot/blob/main/pylitterbot/robot/litterrobot4.py#L28
Using the pylitterbot
python package, and the example in the README, I was able to successfully authenticate and print out my LR4's info and status.
I'm better in python than golang, so I may wind up building a simple LR4 prometheus exporter on top of pylitterbot
. I'll report back on how that goes. :)
Thanks for the inspiration!
@geekdave sounds good! I'm comfortable with Python also if you'd like a collaborator!
@tlkamp I'm super late to reply, but I've got a working python-based exporter up and running at https://github.com/geekdave/litter_robot_exporter but it only supports LR4 now. PRs welcome if you're still interested in collaborating and possibly adding LR3 support! I've credited you in the README for inspiring this project. :)
Hi! Thanks for creating this project! I'm guessing that the API has changed, but just wanted to report that
FetchRobots
seems to be returning an empty array for me, despite successfully getting an auth token, and the call to/users/id/robots
returning a200
response. Any advice would be much appreciated!