Skip to Content

Contributors

Connecting weight scales to Odoo

Hello,

I'm looking into connecting weight scales to Odoo, wither for warehouse operations or for quality controls.
For example, the Mettler-Toledo brand.

I wonder if we have something under the OCA for this?
Would PyWebDriver (https://github.com/pywebdriver/pywebdriver) be helpful here?

Thank you for sharing!

--
DANIEL REIS
MANAGING PARTNER

>> Schedule time on my calendar.
M: +351 919 991 307
E: dreis@OpenSourceIntegrators.com
A: Avenida da República 3000, Estoril Office Center, 2649-517 Cascais

[Logo OpenSourceIntegrators.com]


by Daniel Reis - 09:16 - 30 Jan 2025

Follow-Ups

  • Re: Connecting weight scales to Odoo

    Hi Tom,

    indeed that is something that is a somewhat ridiclous result of European Regulation. I do agree though:

    As long as you break Media, in the sence of

    analog -> digital -> paper <-> scan -> digital

    the weighing would no longer be conceived "integrated" and the entire thing would be legally compilant.

    From a technical standpoint this is odd because

    1.) obviously the API of a scale could easily be made "read only", controlled by the internal architecture and thererfore practically immutable

    2.) printing something on paper (only to scan it immediatly after) is a waste of natural resources 

    But lawyer, politicans and other "high profile" staff needs something to work on and live from as well ;-)

    Cheers Frederik

    Am 06.02.25 um 11:43 schrieb Tom Blauwendraat:
    Note that there is also the option to use self-service weighing which 
    prints out a barcode sticker, which can then be scanned at the checkout 
    using standard Odoo barcode nomenclature.
    

    _______________________________________________
    Mailing-List: https://odoo-community.org/groups/contributors-15
    Post to: mailto:contributors@odoo-community.org
    Unsubscribe: https://odoo-community.org/groups?unsubscribe

    -- 
    Dr.-Ing. Frederik Kramer
    Geschäftsführer
    
    initOS GmbH
    Innungsstraße 7
    21244 Buchholz i.d.N.
    
    Tel:   +49 (0) 4181 13503 12
    Fax:   +49 (0) 4181 13503 10
    Mobil: +49 (0) 179 3901819
    
    Email: frederik.kramer@initos.com
    Internet: 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.: DE815580155
    Steuer-Nr: 15/200/53247

    by Frederik Kramer - 12:22 - 6 Feb 2025
  • Re: Connecting weight scales to Odoo
    Note that there is also the option to use self-service weighing which 
    prints out a barcode sticker, which can then be scanned at the checkout 
    using standard Odoo barcode nomenclature.
    

    by Tom Blauwendraat - 11:43 - 6 Feb 2025
  • Re: Connecting weight scales to Odoo
    Yes, our system doesn't require middle things. Just direct websocket connection between browser and weighing scale.

    We also have a talk about this in Jornadas Odoo, although in Spanish (I know Daniel won't have problem with that):


    Regards.

    by Pedro M. Baeza - 12:46 - 30 Jan 2025
  • Re: Connecting weight scales to Odoo

    Hello,

    It's not a Black Box solution. We have changed it to support Epelsa Scales. The code is open, you can see the addons hw_*. If you login to the raspberry pi (it's a default raspbian) you can see that is only a Odoo that launch the hw_* addons. And can be used in a Community Versión, but only in POS. You can use it in Manufacturing.

    Greetings

    El 30/1/25 a las 10:17, Daniel Reis escribió:
    Thank you Ignacio and Frederick.

    This is an EE customer and I'm aware that the Odoo IoT box supports Mettler-Toledo scales.
    But it is kind of a black box solution.

    The OCA and open source has spoiled me, and I feel uncomfortable with anything I can't peek inside and hack in case of need :-)
    I was hoping PyWebDriver could provide a drop in replacement for this kind of use case.
    I know it already does for the POS (I used it for an EE customer, because the RaspberryPy did not do well in their work conditions).

    /Daniel

    On 30/01/2025 08:42, Ignacio (Acysos S.L.) wrote:

    Hello,

    The mettler Toledo can be connected, is in the core o Odoo. You only has to use a iotbox. Some function of iotbox are enterprise, but connect a scale to POS is open source. You can download the raspberry pi image in the Odoo website: https://nightly.odoo.com/master/iotbox/

    Greetings,
    Ignacio
    https://www.acysos.com

    El 30/1/25 a las 9:17, Daniel Reis escribió:
    Hello,

    I'm looking into connecting weight scales to Odoo, wither for warehouse operations or for quality controls.
    For example, the Mettler-Toledo brand.

    I wonder if we have something under the OCA for this?
    Would PyWebDriver (https://github.com/pywebdriver/pywebdriver) be helpful here?

    Thank you for sharing!

    --
    DANIEL REIS
    MANAGING PARTNER

    >> Schedule time on my calendar.
    M: +351 919 991 307
    E: dreis@OpenSourceIntegrators.com
    A: Avenida da República 3000, Estoril Office Center, 2649-517 Cascais

    [Logo OpenSourceIntegrators.com]

    _______________________________________________
    Mailing-List: https://odoo-community.org/groups/contributors-15
    Post to: mailto:contributors@odoo-community.org
    Unsubscribe: https://odoo-community.org/groups?unsubscribe

    --
    Ignacio - Consultor
    Acysos S.L. (www.acysos.com)
    Odoo Partner (https://www.odoo.com/es_ES/partners/acysos-s-l-80090)
    Asociado Asociación Española de Odoo (https://www.aeodoo.org/members/acysos-s-l-24)
    Odoo Community Association (https://odoo-community.org/members/acysos-s-l-ignacio-ibeas-760)
    Github (http://www.github.com/acysos)
    Odoo Apps (https://www.odoo.com/apps/modules/browse?author=Acysos S.L.)
    C/ Miguel Astrain 18, 1º Oficina A
    31006 Pamplona, Navarra.
    ignacio@acysos.com
    Tel. 948238905
    ---------------------- // -------------------
    La información contenida en este mensaje de correo electrónico es confidencial, para ser leída por la(s) persona(s) a quién se dirige. El acceso a este mensaje por otras personas no está autorizado. Si Ud. no es la persona a la que va dirigido, cualquier divulgación, copia o distribución de la información queda prohibida y puede ser ilegal. Asimismo, cualquier acción tomada o dejada de tomar basada en la información contenida en este mensaje queda prohibida y puede ser ilegal.
    The information in this e-mail is confidential and may be legally privileged. It is intended solely for the addressee. Access to this e-mail by anyone is unauthorized. If you are not the intended recipient, any disclosure, copying, distribution or any action taken or omited to be taken in reliance on it, is prohibited and may be unlawful.

    _______________________________________________
    Mailing-List: https://odoo-community.org/groups/contributors-15
    Post to: mailto:contributors@odoo-community.org
    Unsubscribe: https://odoo-community.org/groups?unsubscribe


    --
    DANIEL REIS
    MANAGING PARTNER

    >> Schedule time on my calendar.
    M: +351 919 991 307
    E: dreis@OpenSourceIntegrators.com
    A: Avenida da República 3000, Estoril Office Center, 2649-517 Cascais

    [Logo OpenSourceIntegrators.com]

    _______________________________________________
    Mailing-List: https://odoo-community.org/groups/contributors-15
    Post to: mailto:contributors@odoo-community.org
    Unsubscribe: https://odoo-community.org/groups?unsubscribe

    --
    Ignacio - Consultor
    Acysos S.L. (www.acysos.com)
    Odoo Partner (https://www.odoo.com/es_ES/partners/acysos-s-l-80090)
    Asociado Asociación Española de Odoo (https://www.aeodoo.org/members/acysos-s-l-24)
    Odoo Community Association (https://odoo-community.org/members/acysos-s-l-ignacio-ibeas-760)
    Github (http://www.github.com/acysos)
    Odoo Apps (https://www.odoo.com/apps/modules/browse?author=Acysos S.L.)
    C/ Miguel Astrain 18, 1º Oficina A
    31006 Pamplona, Navarra.
    ignacio@acysos.com
    Tel. 948238905
    ---------------------- // -------------------
    La información contenida en este mensaje de correo electrónico es confidencial, para ser leída por la(s) persona(s) a quién se dirige. El acceso a este mensaje por otras personas no está autorizado. Si Ud. no es la persona a la que va dirigido, cualquier divulgación, copia o distribución de la información queda prohibida y puede ser ilegal. Asimismo, cualquier acción tomada o dejada de tomar basada en la información contenida en este mensaje queda prohibida y puede ser ilegal.
    The information in this e-mail is confidential and may be legally privileged. It is intended solely for the addressee. Access to this e-mail by anyone is unauthorized. If you are not the intended recipient, any disclosure, copying, distribution or any action taken or omited to be taken in reliance on it, is prohibited and may be unlawful.

    by Ignacio Ibeas - 12:41 - 30 Jan 2025
  • Re: Connecting weight scales to Odoo
    Well also a solution to do it via Websockets and w/o pywebdriver even. 
    So you don't necessarily need a prepared Raspi but just an ordinary 
    Linux machine. We did something similar back in the days with a home 
    made weighing scale (built from some cheap China hardaware) even. Was 
    only for carrier clearance, but worked pretty well on several parallel 
    instances. So definitely also worth to look at
    
    Best Frederik
    
    Am 30.01.25 um 12:28 schrieb Pedro M. Baeza:
    
    > Check our developments in https://github.com/OCA/stock-weighing
    
    >
    
    > Regards.
    
    >
    
    > _______________________________________________
    
    > Mailing-List: https://odoo-community.org/groups/contributors-15
    
    > Post to: mailto:contributors@odoo-community.org
    
    > Unsubscribe: https://odoo-community.org/groups?unsubscribe
    
    >
    
    -- 
    Dr.-Ing. Frederik Kramer
    Geschäftsführer
    
    initOS GmbH
    Innungsstraße 7
    21244 Buchholz i.d.N.
    
    Tel:   +49 (0) 4181 13503 12
    Fax:   +49 (0) 4181 13503 10
    Mobil: +49 (0) 179 3901819
    
    Email: frederik.kramer@initos.com
    Internet: 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.: DE815580155
    Steuer-Nr: 15/200/53247
    
    

    by Frederik Kramer - 12:36 - 30 Jan 2025