Skip to content

New Share your ideas with the AWTRIX community. Keep your creations together in your account.

Sign in

Which AWTRIX do you have? Choose it once and the Hub shows what runs on it.

FlowAWTRIX NG

Clawd Virtual Pet - Hybrid

On an AWTRIX display
Clawd Virtual Pet - Hybrid shown on an AWTRIX display
Clawd Virtual Pet - Hybrid · by Confituurke

Use with N8N

Blueforcer's Clawd crab, hybrid: the clock draws it, n8n keeps it alive. Five difficulty levels, elder and legend stages, Home Assistant over MQTT.

Which AWTRIX do you have? See below where it runs, or choose your device.
Topic
Gaming
Includes
Flow

Runs on

  • Runs on Ulanzi TC001
  • Runs on Ulanzi TC002
  • Runs on ESP32 (DIY)
  • Runs on ESP32-S3 (DIY)
  • Does not run on Ulanzi TC001 with AWTRIX 3 Made for AWTRIX NG.
Download flow

Follow the author’s setup instructions below.

Flow description

A virtual pet crab for your AWTRIX NG: hatch it, feed it, play Star Catch with it, keep it clean, and watch it grow up and grow old. It is Blueforcer's original Clawd, moved off the clock by Moepchi so it fits next to your other apps, and now a hybrid: you choose how much runs on the clock.

What's new

  • Grows old: how well you raise it decides the rest of its life. A happy adult becomes an elder with a long old age and, if it stays healthy and well cared for, a golden legend; a normal adult becomes an elder too; a neglected (grumpy) adult never grows old. Old age ends peacefully, then a new egg - a legend's egg gets a head start.
  • Five difficulty levels, named after Quake III Arena: I Can Win, Easy, Medium, Hard, Nightmare. Balanced by simulating whole lives: on every level a caring player can raise a legend.
  • Home Assistant: one MQTT message adds a Clawd device with its stats, what comes next, care buttons and every setting; a two-page demo dashboard is included.
  • Settings everywhere: change them in n8n, in Home Assistant, over MQTT, or (name and sound) on the clock.

Modes

Mode What runs where
View (this flow) the clock draws Clawd, n8n runs the rules. Smooth animation and Star Catch
Push n8n draws everything, nothing installed on the clock
Device everything on the clock, no n8n

Install (view mode)

  1. On the clock: turn on MQTT and note the prefix. Delete the original Clawd if you have it.
  2. In n8n: create an MQTT credential for your broker, import this flow, pick the credential in every MQTT node, set AWTRIX_HOST (your clock's IP) in the Settings node, and publish the workflow.
  3. On the clock: Scripts -> New script named clawd, paste dist/clawd.ax from the repo, save. On a clock short on memory: restart it, save the script the moment the web UI answers, then restart once more.

Full install instructions - every mode (view, push, device), Home Assistant, the screen mirror, installing with the APIs, upgrading without losing your pet, switching modes: https://github.com/aXistem-dev/clawd-hybrid-pet/blob/master/docs/INSTALL.md

Press select on Clawd to open the menu, press again for the next item, wait 2 seconds to do it.

Repository: https://github.com/aXistem-dev/clawd-hybrid-pet

Credits: game, art and idea by Blueforcer; off-device port by Moepchi.

More flows for N8N or Gaming

Something wrong with this flow? Report it.