IoT Base

iot
REPOSITORY
REPOSITORYOCA/iot
GIT
GIThttps://github.com/OCA/iot.git
GIT FOLDER
GIT FOLDERhttps://github.com/OCA/iot/tree/12.0/iot
VERSION
VERSION 1.3.1
CATEGORY
CATEGORYIoT
LICENSE
LICENSEAGPL-3
APPLICATION
APPLICATIONYes
AUTO-INSTALLABLE
AUTO-INSTALLABLENo
AUTHORS
AUTHORSOdoo Community Association (OCA), Creu Blanca
MAINTAINERS
MAINTAINERSOdoo Community Association (OCA), Creu Blanca
COMMITTERS
COMMITTERSEnric Tobella, OCA Transbot, oca-travis, Weblate, OCA-git-bot, Dimitrios T. Tanis, Jaime Arroyo
WEBSITE
WEBSITEhttps://github.com/OCA/iot
LAST TRACKING UPDATE
LAST TRACKING UPDATE2026-07-06 00:29:26
ODOO DEPENDENCIES
ODOO DEPENDENCIES odoo/odoo:
    - base
PYTHON DEPENDENCIES
PYTHON DEPENDENCIES Not have
SYSTEM DEPENDENCIES
SYSTEM DEPENDENCIES Not have
DESCRIPTION
DESCRIPTION

Code Analysis

Views touched (14)
XML IDNameModelTypeStatus
iot_device_action_tree iot.device.action.tree iot.device.action tree New
iot_device_form iot.device.form iot.device form New
iot_device_group_form_view iot.device.group.form (in iot_oca) iot.device.group form New
iot_device_group_search_view iot.device.group.search (in iot_oca) iot.device.group search New
iot_device_group_tree_view iot.device.group.tree (in iot_oca) iot.device.group tree New
iot_device_kanban iot.device.kanban iot.device kanban New
iot_device_search iot.device.search iot.device search New
iot_device_tag_form_view iot.device.tag.form (in iot_oca) iot.device.tag form New
iot_device_tag_search_view iot.device.tag.search (in iot_oca) iot.device.tag search New
iot_device_tag_tree_view iot.device.tag.tree (in iot_oca) iot.device.tag tree New
iot_device_tree iot.device.tree iot.device tree New
iot_system_action_tree iot.system.action.tree iot.system.action tree New
iot_system_form iot.system.form iot.system form New
iot_system_tree iot.system.tree iot.system tree New
Models touched (6)

New fields (18)
  • action_count Integer
    compute='_compute_action_count'
  • action_ids One2many → iot.device.action
    inverse_name='device_id' args: 'iot.device.action'
  • active Boolean
    default=True
  • color Integer
  • device_identification Char
  • group_id Many2one → iot.device.group
    args: 'iot.device.group'
  • icon Selection
    args: [('fa fa-television fa-4x', 'television'), ('fa fa-wifi fa-4x', 'wifi'), ('fa fa-laptop fa-4x', 'laptop'), ('fa fa-desktop fa-4x', 'desktop'), ('fa fa-archive fa-4x', 'archive'), ('fa fa-mobile fa-6x', 'mobile')], 'Icon'
  • image Binary
    attachment=True help='This field holds the image used as image for the equipment, limited to 1024x1024px.'
  • image_medium Binary
    attachment=True help='Medium-sized image of the equipment. It is automatically resized as a 128x128px image, with aspect ratio preserved, only when the image exceeds one of those sizes. Use this field in form views or some kanban views.' string='Medium-sized image'
  • image_small Binary
    attachment=True help='Small-sized image of the equipment. It is automatically resized as a 64x64px image, with aspect ratio preserved. Use this field anywhere a small image is required.' string='Small-sized image'
  • ip Char
    string='IP'
  • last_contact_date Datetime
    readonly=True
  • model Char
  • name Char
    required=True
  • passphrase Char
  • state Selection
    readonly=True args: []
  • system_id Many2one → iot.system
    required=True args: 'iot.system'
  • tag_ids Many2many → iot.device.tag
    args: 'iot.device.tag'
Public methods (3)
  • create(self, values)
    @api.model_create_multi
  • device_run_action(self)
    @api.multi
  • write(self, vals)
    @api.multi

New fields (5)
  • date_ok Datetime
    readonly=True string='Ok date'
  • device_id Many2one → iot.device
    readonly=True required=True args: 'iot.device'
  • result Text
  • status Selection
    default='pending' required=True args: [('ok', 'Ok'), ('pending', 'Pending'), ('failed', 'Failed')]
  • system_action_id Many2one → iot.system.action
    required=True args: 'iot.system.action'
Public methods (2)
  • run(self)
    @api.multi
  • run_extra_actions(self, status, result)

New fields (1)
  • name Char
    required=True
Public methods (0)

No public methods.

New fields (2)
  • color Integer
    string='Color Index'
  • name Char
    required=True
Public methods (0)

No public methods.

New fields (3)
  • device_ids One2many → iot.device
    inverse_name='system_id' args: 'iot.device'
  • name Char
    required=True
  • system_action_ids One2many → iot.system.action
    inverse_name='system_id' args: 'iot.system.action'
Public methods (0)

No public methods.

New fields (2)
  • name Char
    required=True
  • system_id Many2one → iot.system
    required=True args: 'iot.system'
Public methods (1)
  • run(self, device_action)
REPOSITORY
REPOSITORYOCA/iot
GIT
GIThttps://github.com/OCA/iot.git
GIT FOLDER
GIT FOLDERhttps://github.com/OCA/iot/tree/11.0/iot
VERSION
VERSION 1.0.2
CATEGORY
CATEGORYIoT
LICENSE
LICENSEAGPL-3
APPLICATION
APPLICATIONYes
AUTO-INSTALLABLE
AUTO-INSTALLABLENo
AUTHORS
AUTHORSOdoo Community Association (OCA), Creu Blanca
MAINTAINERS
MAINTAINERSOdoo Community Association (OCA), Creu Blanca
COMMITTERS
COMMITTERSPedro M. Baeza, GitHub, Enric Tobella, OCA Transbot, oca-travis, OCA-git-bot, OCA Git Bot
WEBSITE
WEBSITE
LAST TRACKING UPDATE
LAST TRACKING UPDATE2026-07-06 00:24:03
ODOO DEPENDENCIES
ODOO DEPENDENCIES odoo/odoo:
    - base
PYTHON DEPENDENCIES
PYTHON DEPENDENCIES Not have
SYSTEM DEPENDENCIES
SYSTEM DEPENDENCIES Not have
DESCRIPTION
DESCRIPTION

Code Analysis

Views touched (7)
XML IDNameModelTypeStatus
iot_device_action_tree iot.device.action.tree iot.device.action tree New
iot_device_form iot.device.form iot.device form New
iot_device_kanban iot.device.kanban iot.device kanban New
iot_device_tree iot.device.tree iot.device tree New
iot_system_action_tree iot.system.action.tree iot.system.action tree New
iot_system_form iot.system.form iot.system form New
iot_system_tree iot.system.tree iot.system tree New
Models touched (4)

New fields (7)
  • action_count Integer
    compute='_compute_action_count'
  • action_ids One2many → iot.device.action
    inverse_name='device_id' args: 'iot.device.action'
  • ip Char
  • model Char
  • name Char
    required=True
  • state Selection
    readonly=True args: []
  • system_id Many2one → iot.system
    required=True args: 'iot.system'
Public methods (1)
  • device_run_action(self)
    @api.multi

New fields (5)
  • date_ok Datetime
    readonly=True string='Ok date'
  • device_id Many2one → iot.device
    readonly=True required=True args: 'iot.device'
  • result Text
  • status Selection
    default='pending' required=True args: [('ok', 'Ok'), ('pending', 'Pending'), ('failed', 'Failed')]
  • system_action_id Many2one → iot.system.action
    required=True args: 'iot.system.action'
Public methods (2)
  • run(self)
    @api.multi
  • run_extra_actions(self, status, result)

New fields (3)
  • device_ids One2many → iot.device
    inverse_name='system_id' args: 'iot.device'
  • name Char
    required=True
  • system_action_ids One2many → iot.system.action
    inverse_name='system_id' args: 'iot.system.action'
Public methods (0)

No public methods.

New fields (2)
  • name Char
    required=True
  • system_id Many2one → iot.system
    required=True args: 'iot.system'
Public methods (1)
  • run(self, device_action)