Create a system of templates for IoT devices.
When we are using a template we can configure a device with a simple URL configuration. The device will contact odoo and send the template name. Odoo will create the device and respond with all the expected data.
auto_awesome What this module does
AI-generated from the code · Odoo 18.0Create reusable IoT device templates so a new device can be set up automatically by simply calling a URL. Templates define the device's inputs, outputs, keys, tags, group and icon.
This module adds a Templates area under the IoT configuration menu. A template (iot.template) is a reusable blueprint for a device. On a template you can set a group, an icon, tags and an image, and you can organise templates in a parent/child hierarchy.
Each template contains: - Keys: named values that are generated automatically (for example a serial number) and can be reused in the configuration. - Inputs: named inputs that point to a model and a function, with optional parameters. When the template is applied, a real device input is created with a generated serial and passphrase. - Outputs: named outputs linked to a communication system, with optional parameters.
A manager can use the 'Add a new Device' menu to open a small wizard that shows a configuration URL to copy. The device calls that URL, sends its serial and the template name, and Odoo creates the device, applies the template (group, tags, image, icon, inputs and outputs) and returns the full configuration (host, name, inputs and outputs) as JSON. Parent templates are applied as well, so common settings can be shared.
Access is controlled: regular IoT users can only read templates, while IoT managers can create, edit and delete them. The module extends the existing iot.device, iot.device.input and iot.device.output models.
Depends on
Required by other modules
Menus it adds
Models and fields (8)
- iot.device · extends an existing model
- iot.template · new modelicon, name, key_ids, tag_ids, group_id, input_ids, parent_id, output_ids, parent_path
- iot.device.input · extends an existing modeltemplate_input_id
- iot.template.key · new modelkey, template_id
- iot.device.output · extends an existing modeltemplate_output_id
- iot.template.input · new modelname, params, template_id, call_function, call_model_id
- iot.template.output · new modelname, params, template_id, communication_system_id
- iot.device.configure · new modelurl, serial
Text generated by AI (DeepSeek) from reading the Odoo 18.0 code on GitHub; it may contain mistakes, so check the code before deciding. View the code on GitHub
Availability by version
Reviewed: 2026-11-03Confirmation status: 7 confirmed, 2 with no information of 9 versions.
Sources · Odoo 15.0
Confirmed on 2026-11-03 in branch 15.0 of OCA/iot.
terminal Installation and usage
OCA documentation · Odoo 18.0Usage
Source · Odoo 18.0- Create a template with a module or in Iot \> Templates
- Access Iot \> Config Device
- Confirm that you want to configurate a new device
- Copy the URL
- Access the device and send it the configuration url
- The device will contact odoo and automatically configure itself.
No verified information in OCA: Installation, Configuration.
Installation instructions, the distribution package, dependencies and configuration steps are not shown because they have not yet been verified in the module documentation for any version.
Data imported from GitHub: this sheet reflects the latest catalog review, not a live lookup. Always check the module documentation and staging before installing in production.