Giter Site home page Giter Site logo

iot's Introduction

Runboat Pre-commit Status Build Status codecov Translation Status

iot

Internet Of Thing modules

Available addons

addon version maintainers summary
iot_amqp_oca 14.0.1.0.0 Integrate Iot Outputs with AMQP
iot_input_oca 14.0.1.0.1 etobella IoT Input module
iot_key_employee_rfid 14.0.1.0.0 Use an Employee RFID Card as an IoT Key
iot_oca 14.0.1.0.0 IoT base module
iot_option_oca 14.0.1.0.0 Allow to define custom field for IoT
iot_output_oca 14.0.1.0.2 IoT allow multiple outputs
iot_rule 14.0.1.0.1 Define IoT Rules (Keys that control Inputs)
iot_template_oca 14.0.1.0.1 IoT module for managing templates

Licenses

This repository is licensed under AGPL-3.0.

However, each module can have a totally different license, as long as they adhere to Odoo Community Association (OCA) policy. Consult each module's __manifest__.py file, which contains a license key that explains its license.


OCA, or the Odoo Community Association, is a nonprofit organization whose mission is to support the collaborative development of Odoo features and promote its widespread use.

iot's People

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

iot's Issues

[IDEA] Module for storing generic IOT event / message

I think we should create a module to handle generic input FROM IOT devices and allow to store them to a separated model.

Rough Analysis:
Up to now installing an IOT module gives you the possibility to handle IOT devices and allow methods to update data in Odoo.
The thing here is there is so much data that can come from an IOT device that does not correlate to any model in Odoo or it does not make sense to, but useful conclusions can come from consolidating and analyzing that data.
A very rough example is a simple magnetic switch in a door for a controlled environment room. Creating a new module to hold data from that single sensor is an overkill but having an analysis on when / how often the door is opened / closed can give useful insights.

So my proposal is to create a module eg iot.event that will have:

  • datetimestamp
  • date (calculated from datetimestamp)
  • time (calculated from datetimestamp)
  • device_id
  • value

The separate date and time fields are to allow grouping and pivoting by date and time respectively.
For the value field we can copy the definitions from base_custom_info in server-tools to handle all data types.

There will be a check box in device input to allow logging in the event table as well as a data type selection.
A separate menu will be created along with tree, pivot and graph views to allow for some analysis.

As a side-note, using that data with mis_builder can create a multitude of KPIs
Disclaimer: I am about to implement a module around the same concept (in-house) so if there is interest I would be happy to work with the community and push it to OCA.

MQTT support

Odoo server should have a broker process to handle mqtt requests.

Do we have any document link for this repo ?

I am a members of china local odoo cummunity. some of my team mate try to help OCA upgrade iot modules to 16.0.

all the modules can be installed successfully on latest odoo16.0 community version.

Now we are not sure how to set up a environment for basic test before send PR here.

Do we have any document for reference ?

Input method with a complex parameter.

I have a device that sends many data at a time. For example, it sends x, y, and z related to an employee id. So the value itself is a dict with many entries.

If the input action accepts JSON request, then we can pass a complex value such as a dict.

The current implementation accepts FORM data.

In the other case, we could call an input action with many parameters.

archived devices are still responsive

iot.device

Archived Devices are currently still accepting inputs and can be "checked".
Calls to archived devices should, for example, return an error instead. ("error": "device archived")

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.