Contributors mailing list archives

contributors@odoo-community.org

Browse archives

Avatar

Re: MQTT client for Odoo

by
InitOS GmbH, Florian Kantelberg
- 18/01/2024 18:26:52
Hello,

I would also throw my approach in the ring 
https://github.com/fkantelberg/interfaces/tree/15.0/mqtt

There are basically events you can configure which trigger on specific 
things (like create, write, delete of records, there is an extra module 
to trigger on user login) and convert the record/changes to a MQTT 
payload and send it on the bus. The sub side is handled by the 
processors where you can define code which handles incoming payload. It 
also includes a small framework to subscribe model functions directly 
(see readme/USAGE.rst).

The demo basically demonstrates a sync between 2 Odoo systems of some 
fields for res.partner. Should be portable to any newer Odoo versions 
quite well and I can make sure to push it to the OCA. (got distracted 
and forgot about it)

Best regards,

Florian

Am 13.01.24 um 08:06 schrieb Apm Consultancy:

> Dears,

>

> Please can one who already experienced to pub/sub on topics of MQTT 

> broker share the approach or the pieces of use?

>

>

> Best regards,

> MiroL

>

>

> - iPhone -

>

> _______________________________________________

> Mailing-List: https://odoo-community.org/groups/contributors-15

> Post to: mailto:contributors@odoo-community.org

> Unsubscribe: https://odoo-community.org/groups?unsubscribe

>

-- 
Mit freundlichen Grüßen

Florian Kantelberg
Softwareentwickler

initOS GmbH
Innungsstraße 7
21244 Buchholz i.d.N.

Tel.: +49 (0) 4181 1350344
Fax: +49 (0) 4181 1350310

Email: florian.kantelberg@initos.com
Internet: https://www.initos.com

Geschäftsführung:
Dr.-Ing. Frederik Kramer & Dipl.-Ing. (FH) Torsten Francke

Sitz der Gesellschaft: Buchholz i.d.N.
Amtsgericht: Tostedt, HRB 205226
USt-IdNr: DE 815580155
Steuer-Nr: 15/200/53247

Reference