Karotz Integration: Control Your Rabbit Locally
Hello everyone,
I present an integration for Karotz rabbits. Everything happens on your network: no account, no cloud.
It works with the three systems that offer the OpenKarotz API: OpenKarotz (original firmware or Free Rabbits OS), LapinLibre and Terrier OS. It is tested on my Karotz under OpenKarotz (v210). Terrier OS is the next one I will test, and LapinLibre has not yet run on a real rabbit: your feedback is welcome.
You need Gladys 5.1 or newer.
The Device
One device per rabbit: wake up and sleep, LED (on, color, pulse), ears (left, right, random, reset), camera, storage, USB key, number of RFID tags, and volume if the firmware supports it.
The Widgets
- Karotz: the state of the rabbit, its storage, its tags, and the Sleep / Wake, Mood, Tell Time, and Random Ears buttons.
- Karotz Photos: the photos stored on the rabbit, one by one, to take, browse, or delete them.
The Gladys Camera widget also displays the last photo taken (no streaming).
Scene Triggers
- Rabbit unreachable
- Rabbit reachable again
- Rabbit asleep or awake (on its own)
- New RFID tag recorded
Scene Actions
- Make the rabbit speak (its own voice)*
- Play a sound or radio**
- Stop the radio
- Play a mood
- Tell the time
- Set the LED
- Move the ears
- Take a photo
Wake up, put to sleep, or turn on the LED goes through the action “Control a Device”. And the action “Speak on a Speaker” makes the rabbit speak with the voice chosen in Gladys, for example a local voice from the store like eSpeak NG or Piper.
What We Can’t Do Yet
- *Make the rabbit speak with Gladys’ voice from the integration. Today, an integration cannot ask Gladys to read a sentence: only the action “Speak on a Speaker” and the voice assistant can. The action “Make the rabbit speak” therefore uses the rabbit’s own voice. Under Free Rabbits OS, it’s an online service, which no longer responds on mine. That’s also why there’s no “Make Speak” button in the widget. I open a separate topic to propose an evolution of the core and the SDK: the rabbit could then speak from the widget, or announce the exact time.
- Launch a scene by passing an RFID tag in front of the rabbit. It’s the rabbit that should call the integration, and Gladys doesn’t allow it. Only the recording of a new tag triggers a scene.
- **Read
https://under OpenKarotz. Its player only knowshttp://: no radio in https, nor Gladys Plus voice. According to their documentation, LapinLibre and Terrier OS read both. - See the camera live. The Karotz takes photos on demand, it has no video stream.
- Hear the time for sure under OpenKarotz. The rabbit plays a recording chosen at random from those of the hour, and not all announce the time.
Links
- Code and issue reporting: GitHub - smuteau/gladys-karotz: Gladys Assistant integration for Karotz rabbits running OpenKarotz / Free Rabbits OS · GitHub
- Documentation: gladys-karotz/docs/fr.md at main · smuteau/gladys-karotz · GitHub
Thanks to Free Rabbits, OpenKarotz, LapinLibre, and Le Terrier, without whom these rabbits would have been silent for a long time.
The integration should arrive in the store at the next indexation.
