
Community IoT Agent v0.4.0 is required
This addon is the Odoo-side control center. The agent is installed separately on the local device host and communicates with Odoo using the box token.
Se requiere Community IoT Agent v0.4.0
Este addon es el centro de control en Odoo. El agente se instala por separado en el equipo local y se comunica mediante el token de la caja.
IoT Box Community for Odoo 19
Manage boxes, devices, heartbeats and print jobs from Odoo Community while the separately installed local agent connects to the printers.
Boxes and devices
Create online boxes, register capabilities and review discovered peripherals.
Jobs and status
Track pending, completed and failed work with attempts and result status.
Separate agent boundary
Agent connection settings and secrets remain on the local host; the addon never bundles, downloads or executes agent code.
Agent and device workflow
- Create the box: generate a token in Odoo; it remains masked in the interface.
- Install the agent: run Community IoT Agent v0.4.0 as a separate Linux service or container on the host that can reach the devices.
- Configure locally: open the local agent portal, configure the Odoo URL, database and token, and keep these secrets on the agent host.
- Verify the heartbeat: Odoo receives status, capability information and device synchronization, then exposes jobs for polling and result reporting.
Linux/CUPS: the standard-printer path uses the local CUPS queue and the pdf_print_v1 capability. Use Test connection and the printer's test page only for a defined test document. Windows is outside the evidence represented by this Odoo 19 publication branch.
Local portal: the agent portal is local to the agent host; its service configuration and credentials are not stored in this addon repository.
Fresh Odoo 19 interface evidence
The following images were captured from the current Odoo 19.0 branch in a temporary local database. They show the current menu, box configuration, devices and jobs screens.




Compatibility and boundaries
Odoo 19 Community · Private Odoo.sh projects · On-premise deployments · Requires Community IoT Agent v0.4.0.
The addon manages the Odoo data and API boundary. It does not install, download or execute the agent, and it does not store the agent's local service configuration.
Descripción en español
Administre cajas IoT, dispositivos, latidos y trabajos de impresión desde Odoo Community 19. Community IoT Agent v0.4.0 se instala por separado en el equipo local y conecta las impresoras mediante CUPS.
Genere el token en Odoo, configúrelo únicamente en el agente local y revise la sincronización de capacidades, dispositivos y trabajos. El addon no descarga ni ejecuta código del agente.
Las capturas incluidas corresponden únicamente a la rama Odoo 19.0 y a una base temporal local con el código actual.
| Availability |
Odoo Online
Odoo.sh
On Premise
|
| Lines of code | 3675 |
| Technical Name |
community_iot_box |
| License | LGPL-3 |
| Website | https://github.com/julesprog963-stack/Iot_box_community |
IoT Box Community
Odoo 19 documentation
IoT Box Community is the Odoo-side control plane for local printers and peripherals. It stores IoT Boxes, devices, heartbeat status and idempotent print jobs. The separately distributed IoT Box Community Agent 0.4.0 runs on the host that can reach the local hardware; this addon never downloads, installs or executes agent code.
Requirements
- Odoo 19 Community or Enterprise on Odoo.sh/private infrastructure or on-premise.
- IoT Box Community Agent 0.4.0 installed on a Linux or Windows host.
- Network access from the agent host to the Odoo URL.
- A configured local printer or supported peripheral.
The Linux agent path is the validated release path. Windows is distributed as an independent agent and must be validated against the target spooler and physical printer before production rollout.
Architecture
The Odoo addon owns the inventory and queue. The agent registers the box, sends heartbeat and device discovery data, claims jobs and reports results. The normal ticket, ZPL, cash-drawer and PDF document job types remain separate so retries and idempotency are preserved.
PDF document flow
QWeb PDF -> community_iot_printing -> iot.job -> Agent 0.4.0 -> printer
PDFs are stored temporarily as protected ir.attachment records. A job payload contains metadata and a one-time download route, not the document bytes. The document endpoint requires the box token and the active job lock; the agent validates MIME type, the PDF signature, size and SHA-256 before printing. Successful or cancelled documents are deleted immediately; failed documents are retained for seven days and then removed by cron.
Configuration
- Open IoT Box Community > IoT Boxes and create a box.
- Generate the token and give it only to its matching agent host.
- Install and configure Agent 0.4.0 on that host.
- Wait for the heartbeat and confirm Online, device discovery and the pdf_print_v1 capability when PDF printing is installed.
- Open IoT Devices, select a printer and use Print test page.
- For administrative PDFs, install Community IoT Printing, grant the Community IoT Print User group and use the independent IoT Print action.
Operations and troubleshooting
- No heartbeat: check the Odoo URL, database and token in the local agent portal, then verify outbound network access.
- Box offline: confirm the agent service is running and that the token is assigned to the active box.
- Device missing: verify local discovery and wait for the next heartbeat.
- Job pending: confirm the box is online and inspect IoT Jobs for the lease and result fields.
- PDF unavailable: use only an online Standard Printer advertising pdf_print_v1; retry a failed document or create a new job if the file has expired.
Security and compatibility
Keep tokens and agent-local secrets out of screenshots and repositories. Access to boxes, devices and jobs is company-aware. The addon is intended for Odoo.sh/private projects and on-premise deployments; it is not an Odoo Online/SaaS addon because it contains Python code.
Publication evidence
The listing assets include a JDA SOLUTIONS branded cover, icon and footer, plus functional dashboard, box, device and job captures. Test data used for public captures is fictional; machine names, tokens and local credentials are not included.
Please log in to comment on this module