๐๏ธ How I Built MyZubster: A Decentralized Green Ecosystem with AI, IoT and Blockchain
A technical journey into building a system that combines AI, robotics, Monero, Tor, IoT and open-source hardware to explore smarter and more sustainable gardens.
MyZubster started as an experiment around plants and technology.

It gradually evolved into something much larger:
- ๐ค AI assistants
- ๐ฑ smart gardening
- ๐ก IoT sensors
- ๐ค embedded devices
- ๐ค robotics
- ๐ง Tor services
- ๐ฐ Monero integration
- ๐ open-source infrastructure
- โก industrial automation
This article explains how the different pieces fit together.
๐ Architecture at a Glance
The system is divided into several layers:
text
โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ
โ FRONTEND LAYER โ
โ Portal / Marketplace / CLI โ
โโโโโโโโโโโโโโโโโโโโโโโโฌโโโโโโโโโโโโโโโโโโโโโโโโ
โ
โผ
โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ
โ BACKEND LAYER โ
โ Gateway API / Pytho / AI-CAD โ
โโโโโโโโโโโโโโโโโฌโโโโโโโโโโโโโโโโฌโโโโโโโโโโโโโโโ
โ โ
โโโโโโโโโผโโโโโโโ โโโโโโผโโโโโโโโโโโโโ
โ PRIVACY โ โ BLOCKCHAIN โ
โ Tor / PGP โ โ Monero / MYZ โ
โโโโโโโโโฌโโโโโโโ โโโโโโฌโโโโโโโโโโโโโ
โ โ
โโโโโโโโฌโโโโโโโโ
โ
โผ
โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ
โ IoT / HARDWARE LAYER โ
โ ESP32 / Pinch / NFC / VFD / Robotics โ
โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ
The important design principle is modularity.
Each component should be replaceable without rebuilding the entire ecosystem.
๐งฑ Technology Stack
The current architecture is based around several technologies.
Backend
Runtime:
- Node.js
- Express.js
Communication:
- REST APIs
- WebSockets
- Serial communication
Storage:
- SQLite
- JSON files
AI
AI:
- DeepSeek API
- Ollama fallback
Knowledge:
- Hardware knowledge base
- Design patterns
- Project context
Vector Search:
- Embeddings
- ChromaDB
Privacy
Privacy:
- Tor
- Onion Services
- SOCKS5
- PGP
Authentication:
- JWT
IoT
IoT:
- ESP32
- Moddo Pinch
- MQTT
- CoAP
- SerialPort
- NFC
Blockchain
Blockchain:
- Monero
- JSON-RPC
- monero-wallet-rpc
Ecosystem:
- MYZ
DevOps
Infrastructure:
- Docker
- Docker Compose
- PM2
- GitHub Actions
๐ค Pytho AI
One of the most interesting components is Pytho, the AI assistant inside the MyZubster ecosystem.
The idea wasn't to build another generic chatbot.
Instead, Pytho is designed around the project's hardware and software.
It can work with:
component information
hardware specifications
design patterns
project context
troubleshooting information
gardening data
system APIs
The simplified architecture looks like this:
User
โ
โผ
Pytho AI
โ
โโโ Intent Analysis
โ
โโโ Knowledge Retrieval
โ
โโโ Project Context
โ
โโโ Response Generation
โ
โผ
User
A simplified implementation looks like:
class PythoAI {
constructor() {
this.knowledgeBase = {
components: this.loadComponents(),
patterns: this.loadDesignPatterns(),
solutions: this.loadSolutions()
};
this.models = {
remote: new DeepSeekClient(),
local: new OllamaClient(),
fallback: new LocalKnowledgeBase()
};
this.context = {
history: [],
project: "MyZubster",
preferences: {}
};
}
async processQuery(query) {
const intent = await this.analyzeIntent(query);
const context =
await this.retrieveContext(intent);
const response =
await this.generateResponse(query, context);
return this.formatResponse(response);
}
}
The important part is the separation between:
query โ intent โ retrieval โ generation
rather than simply sending every question directly to an LLM.
๐ง Hardware Knowledge Base
Pytho can use structured hardware information.
For example:
components:
ESP32:
type: microcontroller
specs:
cpu: "Dual-core Xtensa"
wifi: true
bluetooth: true
alternatives:
- ESP8266
- RP2040
- STM32
CubeMars_RI30:
type: motor
specs:
kv: 260
torque: "project-dependent"
application:
- robotics
- joints
- actuators
This allows the AI to reason about components in the context of the project.
For example:
"Which controller should I use for this sensor?"
Instead of giving a generic answer, Pytho can consider the project's existing hardware and interfaces.
๐๏ธ AI-CAD: From Conversation to Hardware Design
Another experimental direction is AI-assisted CAD.
The idea is to let an AI system help transform a high-level engineering problem into possible mechanical solutions.
For example:
User:
"I need to connect two tubes but the NFC reader
cannot fit in the original position."
โ
โผ
Pytho AI
โ
โโโโโโโโโผโโโโโโโโโ
โผ โผ โผ
45ยฐ Offset Flexible
joint mount adapter
โ
โผ
Cost / complexity /
compatibility analysis
The AI doesn't replace engineering validation.
Instead, it can reduce the amount of time required to explore possible designs.
That distinction is important.
AI-generated hardware designs still need to be reviewed, simulated and physically tested.
๐ง
Tor Integration
Privacy is another architectural layer.
MyZubster experiments with Tor onion services to provide an alternative way to access ecosystem services.
The architecture is:
Tor Browser
โ
โผ
Tor Network
โ
โผ
Onion Service
โ
โผ
MyZubster Gateway
โ
โโโโโผโโโโโโโโโโ
โผ โผ โผ
AI Portal APIs
Tor can provide network-level privacy properties, but it should not be confused with complete application anonymity.
For example, applications still need to consider:
authentication
application logs
metadata
browser configuration
account identifiers
operational security
Privacy therefore needs to be designed at multiple layers.
๐ฐ Monero Integration
Financial privacy is another part of the ecosystem.
MyZubster experiments with Monero (XMR) as a privacy-oriented payment layer.
The architecture can be represented as:
MyZubster
โ
โโโโโโโโโโดโโโโโโโโโ
โ โ
Services Users
โ โ
โโโโโโโโโโฌโโโโโโโโโ
โ
โผ
Monero
โ
โผ
Private payments
The goal is not to add blockchain technology simply for marketing.
The question is:
Where can privacy-preserving digital money provide real value inside a physical ecosystem?
Potential applications include:
community rewards
marketplace transactions
donations
device operators
ecosystem services
Any financial implementation still needs proper wallet security, transaction validation and operational controls.
๐ฑ IoT: Connecting Plants to Software
A smart garden needs reliable data.
MyZubster experiments with small embedded devices and environmental sensors.
Typical measurements include:
temperature
soil moisture
light
device status
plant identifiers
A simplified payload:
{
"deviceId": "PINCH-001",
"plantId": "tomato-san-marzano",
"temperature": 24.5,
"soilMoisture": 68,
"lightLevel": 780
}
The gateway can then process the data.
Sensor
โ
โผ
Embedded Device
โ
โผ
MQTT / Serial / API
โ
โผ
MyZubster Gateway
โ
โโโ Database
โโโ AI
โโโ Dashboard
โโโ Automation
๐ก NFC Integration
Physical plants can also be connected to digital records using NFC.
The concept is straightforward:
Physical Plant
โ
โผ
NFC Tag
โ
โผ
NFC Reader
โ
โผ
MyZubster API
โ
โผ
Plant Record
This creates a bridge between physical objects and digital information.
A visitor could scan a tag and retrieve information about:
plant species
planting date
garden location
historical information
maintenance data
๐ค Robot Gardener
The physical automation layer is where MyZubster becomes particularly interesting.
The robot can combine:
motors
encoders
sensors
controllers
AI
navigation
garden data
A simplified system:
MyZubster
โ
โผ
Robot Gateway
โ
โโโโโโโโโโโโโผโโโโโโโโโโโโ
โผ โผ โผ
Sensors Controller AI
โ โ โ
โโโโโโโโโโโโโผโโโโโโโโโโโโ
โผ
Motors
โ
โผ
Garden Robot
Potential applications include:
autonomous navigation
plant inspection
irrigation assistance
harvesting assistance
selective maintenance
environmental monitoring
The objective is to create useful automation while keeping humans in control of the system.
โก Industrial Automation
The same architecture can scale from a tiny sensor to industrial automation.
Components such as VFD controllers, MQTT and Modbus can connect physical infrastructure to the software layer.
Sensors
โ
โผ
Edge Gateway
โ
โโโ MQTT
โโโ Modbus
โโโ REST API
โ
โผ
Industrial Controller
โ
โผ
VFD
โ
โผ
Motor / Pump
This could be useful for applications such as automated irrigation.
For example:
Soil Moisture < Threshold
โ
โผ
Automation
โ
โผ
VFD Start
โ
โผ
Irrigation Pump
Safety limits and hardware interlocks should always remain independent of AI decisions.
๐ณ Docker Deployment
Containerization makes development and deployment easier.
A simplified deployment might look like:
services:
gateway:
build: ./gateway
ports:
- "3001:3001"
pytho:
build: ./pytho
ports:
- "3005:3005"
database:
image: sqlite
tor:
image: tor
mqtt:
image: eclipse-mosquitto
The advantage is reproducibility.
A developer can bring up multiple components without manually configuring every dependency.
๐ API-First Architecture
The different components communicate through APIs.
Examples include:
/api/auth/*
/api/wallet/*
/api/nfc/*
/api/pinch/*
/api/vfd/*
/api/robot/*
/api/pytho/*
This makes it possible to replace individual components.
For example:
Gateway API
โ
โโโโโโโโโโโโผโโโโโโโโโโโ
โผ โผ โผ
ESP32 Robot AI
โ โ โ
โผ โผ โผ
Hardware Hardware Software
The API becomes the integration layer.
๐ Observability and Testing
A distributed system needs visibility.
Important metrics include:
API response time
device connectivity
sensor data freshness
motor status
gateway health
AI response time
error rates
transaction state
A simple health endpoint can provide:
{
"gateway": "online",
"iot": "online",
"robot": "standby",
"ai": "online",
"tor": "connected"
}
For real deployments, this should be extended with proper monitoring, structured logs and alerting.
๐งฉ Challenges
Building an ecosystem like this creates several engineering challenges.
1. Hardware Compatibility
Different devices use different protocols.
Solution:
Use adapters and standardized interfaces wherever possible.
2. AI Reliability
An LLM can generate incorrect information.
Solution:
Use structured knowledge bases, validation and deterministic safety rules.
3. Privacy
Tor alone does not solve every privacy problem.
Solution:
Treat privacy as a system-wide property involving networking, authentication, storage and operational practices.
4. Hardware Safety
AI should never have unrestricted control over physical machinery.
Solution:
Use hardware-level safety limits and independent control layers.
AI
โ
โผ
High-Level Command
โ
โผ
Safety Controller
โ
โโโ Limits
โโโ Interlocks
โโโ Emergency Stop
โ
โผ
Motor
5. Complexity
Combining AI, IoT, robotics and blockchain creates a large system.
Solution:
Keep components modular.
Each service should have a clear responsibility.
๐ฎ What's Next?
The next stage of development is about moving from individual components toward a more integrated ecosystem.
Possible directions include:
๐ P2P communication
๐ฑ Mobile applications
๐ฑ More environmental sensors
๐ค Autonomous robotics
๐ง
Additional privacy services
๐ฐ Deeper Monero integration
๐ช Decentralized marketplace experiments
๐ฅ Community governance
๐ Better observability
๐งช Hardware-in-the-loop testing
๐ Why Open Source?
The most important part of the project isn't a specific component.
It is the ability for other people to experiment with it.
Developers can improve the APIs.
Hardware enthusiasts can build new devices.
Robotics developers can improve motion systems.
Privacy researchers can audit the architecture.
Gardeners can propose real-world applications.
That is why MyZubster is being developed as an open-source experiment.
๐ค Contributing
There are many areas where contributors can help:
๐ค AI
Improve Pytho and hardware reasoning.
๐ก IoT
Add sensors and embedded platforms.
๐ฑ Botany
Expand plant and garden databases.
๐ค Robotics
Improve navigation and manipulation.
๐ Security
Audit authentication, APIs and infrastructure.
๐ง
Privacy
Review Tor integration and privacy architecture.
๐ Documentation
Write tutorials and integration guides.
๐ฟ Final Thoughts
MyZubster started with a simple question:
Can technology help us build more sustainable physical communities without giving up openness and privacy?
There isn't a final answer yet.
Instead, we're building an experiment.
AI provides intelligence.
IoT provides data.
Robotics provides physical action.
Monero provides a privacy-oriented financial layer.
Tor provides an alternative privacy layer for network access.
Open source provides collaboration.
And the garden provides the real-world environment where everything comes together.
๐ฑ SUSTAINABILITY
โ
โโโโโโโโผโโโโโโโ
โ โ โ
IoT AI Robotics
โ โ โ
โโโโโโโโผโโโโโโโ
โ
MyZubster
โ
โโโโโโโโผโโโโโโโ
โ โ โ
Tor Monero Open Source
โ โ โ
โโโโโโโโผโโโโโโโ
โ
๐ DECENTRALIZATION
The interesting part isn't any single technology.
It's what happens when they work together.
๐ฟ Build openly.
๐ Respect privacy.
๐ค Automate responsibly.
๐ Keep experimenting.
๐ Project
GitHub:
https://github.com/DanielIoni-creator/I-ECO-01
๐ฝ Pytho:
"The future doesn't have to be centralized. Sometimes it starts with a seed, a sensor and a line of code."
๐ฟ๐ค๐ง
๐ฐ๐
#Monero #XMR #OpenSource #IoT #Robotics #AI #Tor #Blockchain #Sustainability #MyZubster


Top comments (0)