Hi,
I created a Web API to control your kitty from anywhere you want.
You only need a working Nybble with NyBoard and a Raspberry Pi mounted on top.
There is also a small sample web application included:
Details can be found here: https://github.com/leukipp/OpenCatWeb
If you have any questions about this, feel free to ask here.
With the Web API you can add much more features with very little effort.
There's more to come, stay tuned... ;)
Just a note to acknowledge how incredible this is! Thanks for sharing the code – I'll definitely be following along.
Ciao @leukipp apprezzo molto il tuo lavoro ma ti pongo una domanda... Oggi Bittle ha a corredo sia l'interfaccia bluetooth che Wifi a qusto punto non potresti seplificare l'interfaccia eliminando PI quando comunichi via WiFi, questo sarebbe molto interessante, ti seguo
Hi, I‘m trying to write a simple example of webpage & web-APIs with the wifi adapter (ESP8266) for Nybble.
Really cool how you are experimenting with your cat!!!😀
@leukipp how can I solve this? does this mean I need to change some settings or is there an automatic timeout after some time?
This happens if there is no working serial communication between Raspberry Pi and NyBoard.
Hi! unfortunately the site does not respond on my browsers that I tried this. Disabled adblock, and anti-scripts as well, no results. I can see the three icons in the upper left corner but just no reactions when I click on them unfortunately. Any ideas?
Hi Rongzhong, Leukipp,
I written some basic automation into the Raspberry Pi and find I've run into a really basic problem. There is no feed back/error codes as to if a command has completed successfully. I know that the Nybble.ino Arduino code does not support them, but they will more than likely be necessary for any serious attempt at autonomous operation.
I was thinking for Postures, the final joint indices could be verified they match to the posture joint definition and for Gaits, there could be some bounds check for the ongoing joint indices with the Gait joint definition. It would be better to do this in the Arduino and use the command set to read a true/false condition if the command was in spec.
What do you think from the separate Arduino and API perspectives?
Best regards
D L
Hi Leukipp,
Great work on the API.
I have extended the Flask code to include a route to read the battery voltage. It does need changes to Nybble.ino, app.py and bus.py, but neither are complex. Hopefully this will make it into the mainline code.
The updates are at https://www.petoi.com/forum/hardware/reading-battery-and-rp-voltage-from-nybble-v0-2
Best regards
D L
Very nice, I will try it using webhooks out of the speech recognition of Bela (my dog in the body of a cat) ;)
Well Done! Thank You for sharing this.
cool
Hi folks,
there is a new version out.
Some performance/stability improvements and the possibility to take your Nybble for a walk.
With the virtual joysticks you can use your phone as a remote control.
Works very well so far, give it a try!
Awesome job! Now we have another way to talk with the cat.
Highly recommended to try out the GitHub repo!