- Updated: January 4, 2026
- 8 min read
Introducing Pixoo‑RB: Ruby Client for the Pixoo 64 LED Display
Pixoo‑RB is a Ruby client library that lets developers programmatically control the Pixoo 64 LED sign, turning a simple display into a fully programmable IoT canvas.

Why a Ruby Client for Pixoo 64 Matters
LED signage has moved beyond static messages. Modern makers, hobbyists, and SaaS developers use displays to visualize sensor data, create interactive art, or broadcast real‑time alerts. Ruby, with its expressive syntax and mature gem ecosystem, is a natural fit for rapid prototyping in the IoT space. Pixoo‑RB bridges the gap between the hardware‑centric world of LED panels and the developer‑friendly Ruby environment, enabling anyone with a few lines of code to animate, text‑render, and fetch live data on a 64 × 64 pixel canvas.
Feature Overview – What Pixoo‑RB Can Do
Pixoo‑RB is more than a thin wrapper around the Pixoo 64 HTTP API. It provides a rich set of utilities that simplify common tasks while keeping the library lightweight.
- Device discovery: Automatic scanning of the local network to locate all reachable Pixoo units.
- Image buffer manipulation: Create, edit, and export 64 × 64 pixel images using
Pixoo::ImageBuffer. Supports drawing primitives, color gradients, and PNG import. - Animated sequences: Build frame‑by‑frame animations with per‑frame speed control, then push them as a single GIF‑like payload.
- Text rendering engine: Render multi‑line, multi‑font text at any coordinate, with custom colors and scrolling speeds.
- Remote data integration: Define
NET_TEXT_MESSAGEitems that pull JSON from a web endpoint, perfect for sensor dashboards. - Extensible display items: Use the low‑level
DisplayItemstruct to craft custom UI elements beyond the built‑in types. - Thread‑safe API calls: All network interactions are wrapped in Ruby’s
Net::HTTPwith timeout handling, making the gem safe for background jobs.
Sample Feature Matrix
| Capability | Supported? | Typical Use‑Case |
|---|---|---|
| Device auto‑discovery | ✅ | Find all Pixoo signs on a LAN without manual IP entry. |
| PNG import | ✅ | Display logos or icons directly from image files. |
| Live sensor feed | ✅ | Show temperature, CO₂, or PM2.5 values in real time. |
| Custom animation speed per frame | ✅ | Create eye‑catching intros or alerts with variable pacing. |
Installation & Quick‑Start Guide
Getting Pixoo‑RB up and running takes just a few commands. The gem is hosted on RubyGems, so you can install it directly from the command line.
Step 1 – Install the Gem
gem install pixoo
Step 2 – Discover Your Device
The following snippet scans the local subnet and returns the first Pixoo device it finds.
require 'pixoo'
# Find all Pixoo units on the network
devices = Pixoo::Client.find_all
raise 'No Pixoo found!' if devices.empty?
pixoo = devices.first
puts "Connected to Pixoo at #{pixoo.ip}"
Step 3 – Render a Simple Animation
Below is a compact example that draws three animated patterns and pushes them to the sign.
# Build three frames with different modulo patterns
frames = [7, 17, 29].map do |mod|
img = Pixoo::ImageBuffer.new(64, speed: 500)
64.times do |x|
64.times do |y|
if ((x | y) % mod).zero?
img.set_pixel(x, y, *rainbow_color(x))
end
end
end
img
end
# Send the animation
pixoo.send_animation(frames)
sleep 1 # keep the animation visible for a moment
Step 4 – Add Text Overlays
Text can be layered on top of graphics or displayed alone. Font IDs correspond to the Pixoo firmware’s built‑in fonts.
pixoo.send_text('Hello Ruby', x: 0, y: 0, id: 1, font: 4, color: '#00FF00')
pixoo.send_text('World 🌍', x: 0, y: 40, id: 2, font: 6, color: '#FFAA00')
Step 5 – Pull Remote Data
One of Pixoo‑RB’s standout features is the ability to bind a display item to a remote JSON endpoint. The sign will poll the URL and update the text automatically.
# Define a label for the metric name
label = pixoo.new_display_item(
id: 1,
type: Pixoo::DisplayItem::TEXT_MESSAGE,
x: 0, y: 0,
font: 18,
width: 64, height: 5,
string: 'PM2.5:',
color: '#FF0000',
align: 1
)
# Define a network‑bound value item
value = pixoo.new_display_item(
id: 2,
type: Pixoo::DisplayItem::NET_TEXT_MESSAGE,
x: 23, y: 0,
font: 18,
width: 64, height: 5,
string: 'http://my‑server.local/reading?room=office&sensor=pm2.5',
color: '#FFFFFF',
align: 1
)
pixoo.send_display_items([label, value])
Community, Contributions & Licensing
Pixoo‑RB is released under the permissive Apache‑2.0 license. This choice encourages both commercial and hobbyist use while protecting contributors.
The project lives on GitHub, where developers can file issues, submit pull requests, or simply star the repository to show support. The community is small but active, with contributors sharing custom animation scripts, sensor integrations, and even UI wrappers for Ruby on Rails.
Because the library is pure Ruby, it integrates seamlessly with other UBOS services. For example, you can combine Pixoo‑RB with the AI marketing agents to broadcast campaign performance metrics on a wall‑mounted display, or hook it into the Workflow automation studio to trigger visual alerts when a CI/CD pipeline fails.
Benefits for Developers & Hobbyists
Choosing Pixoo‑RB brings several concrete advantages:
- Rapid prototyping: Write a few Ruby lines and see instant visual feedback on the hardware.
- Unified language stack: If your backend already runs on Ruby (Rails, Sinatra, or a UBOS micro‑service), you avoid context‑switching to another language.
- Extensible ecosystem: Pair the gem with OpenAI ChatGPT integration to generate dynamic captions, or with Chroma DB integration for vector‑based image retrieval.
- Low cost hardware: The Pixoo 64 costs a fraction of traditional LED panels, making it ideal for proof‑of‑concepts.
- Open source transparency: Full source visibility means you can audit network calls, add custom authentication, or fork the gem for specialized needs.
Real‑World Use Cases
- Home automation dashboards that display temperature, humidity, and air‑quality metrics in real time.
- Hackathon projects that turn code‑generated fractals into looping animations.
- Retail storefronts that showcase flash sales or social‑media mentions instantly.
- Educational labs where students learn Ruby networking while seeing immediate visual results.
Integrating Pixoo‑RB with the UBOS Platform
UBOS offers a suite of tools that complement Pixoo‑RB perfectly. Below are a few pathways to amplify your LED sign projects:
- Use the UBOS platform overview to host a Ruby micro‑service that aggregates sensor data and pushes it to Pixoo‑RB.
- Leverage the UBOS templates for quick start to scaffold a Rails API that serves JSON endpoints consumed by the
NET_TEXT_MESSAGEfeature. - Deploy a Web app editor on UBOS to create a dashboard that lets non‑technical staff edit the text displayed on the sign via a drag‑and‑drop UI.
- Monetize your solution through the UBOS partner program, offering managed LED‑sign services to SMBs.
Pricing & Support Considerations
While Pixoo‑RB itself is free, you may need to budget for the hardware and any cloud services you integrate. UBOS provides transparent pricing plans for its AI‑driven platform, ranging from a free tier for hobbyists to enterprise‑grade subscriptions that include SLA‑backed support.
Call to Action – Get Started Today
If you’re ready to turn your Ruby code into vibrant LED art, head over to the official repository, clone the source, and start experimenting.
Explore the Pixoo‑RB GitHub repository for full documentation, issue tracking, and contribution guidelines.
Further Reading & Related Resources
To deepen your understanding of how AI and IoT intersect, check out these UBOS resources that complement Pixoo‑RB projects:
- About UBOS – learn about the team behind the platform.
- UBOS for startups – discover how early‑stage companies accelerate development with low‑code AI tools.
- UBOS solutions for SMBs – see how small businesses can leverage AI‑enhanced signage.
- Enterprise AI platform by UBOS – a look at scaling AI workloads across large organizations.
- Telegram integration on UBOS – push alerts from your Pixoo sign directly to a Telegram channel.
- ChatGPT and Telegram integration – enable conversational control of your LED display.
- ElevenLabs AI voice integration – add spoken announcements synced with visual cues.
- UBOS portfolio examples – real‑world case studies of AI‑driven visualizations.
Conclusion
Pixoo‑RB democratizes LED signage for the Ruby community. By abstracting low‑level network calls and offering a clean, idiomatic API, it empowers developers to focus on creativity rather than protocol details. Whether you’re building a smart‑home dashboard, a hackathon demo, or an enterprise‑grade alert wall, the gem’s open‑source nature, Apache‑2.0 license, and seamless compatibility with the broader UBOS ecosystem make it a compelling choice.
Start experimenting today, contribute back to the community, and let your code light up the world—one pixel at a time.
Andrii Bidochko
CTO UBOS
Andrii Bidochko is an AI entrepreneur and researcher focused on AI agents, reinforcement learning, and autonomous systems. He writes about the technologies shaping the future of machine intelligence, from frontier models and agent architectures to real-world AI applications.