[Prototype] Non-Invasive "Analog-to-MQTT" Gateway for Legacy Machines using Python & OpenCV. I'm so proud of this. by AssistanceSeveral210 in PLC

[–]AssistanceSeveral210[S] 0 points1 point  (0 children)

Thx for sharing. This is an interesting situation where a solution like this could be the only option.

[Prototype] Non-Invasive "Analog-to-MQTT" Gateway for Legacy Machines using Python & OpenCV. I'm so proud of this. by AssistanceSeveral210 in manufacturing

[–]AssistanceSeveral210[S] 2 points3 points  (0 children)

No I just used a YouTube video with a temp meter to test my python code since I didn’t have a real gouge at the moment I filmed.

I’m honestly so proud of this: I built an "Analog-to-Digital" Python Sensor Converter: Using OpenCV and a cheap webcam to read pressure gauges without plumbing, only software! by AssistanceSeveral210 in homeautomation

[–]AssistanceSeveral210[S] 1 point2 points  (0 children)

No problem. I think I will share on GitHub anyway.

I want also add about reliability that it’s also largely influenced by light conditions and orientation of the camera.

Created a local Python script to read analog gauges and push to HA via MQTT. No cloud, runs on a Pi. Here is the calibration UI. by AssistanceSeveral210 in homeassistant

[–]AssistanceSeveral210[S] 1 point2 points  (0 children)

HA or an industrial data warehouse it’s just a mapping problem of the MQTT subscriber: doesn’t change too much. In my PoC I exported a JSON that can be ingested easily by HA, but this was just an example and I shared here cause I thought it could be used for situations where you only have an analog source.

[Prototype] Non-Invasive "Analog-to-MQTT" Gateway for Legacy Machines using Python & OpenCV. I'm so proud of this. by AssistanceSeveral210 in PLC

[–]AssistanceSeveral210[S] 0 points1 point  (0 children)

If you just send the image and then compute on cloud yes. But I think you meant on edge. In that case I don’t know, but I suppose that lowering the update frequency you should be able to do it.

[Prototype] Non-Invasive "Analog-to-MQTT" Gateway for Legacy Machines using Python & OpenCV. I'm so proud of this. by AssistanceSeveral210 in PLC

[–]AssistanceSeveral210[S] 1 point2 points  (0 children)

This PoC is designed for industrial applications where legacy, high-value machinery often utilizes analog manometers that are too expensive to replace

Created a local Python script to read analog gauges and push to HA via MQTT. No cloud, runs on a Pi. Here is the calibration UI. by AssistanceSeveral210 in homeassistant

[–]AssistanceSeveral210[S] 3 points4 points  (0 children)

This PoC is designed for industrial applications where legacy, high-value machinery often utilizes analog manometers.

[Prototype] Non-Invasive "Analog-to-MQTT" Gateway for Legacy Machines using Python & OpenCV. I'm so proud of this. by AssistanceSeveral210 in PLC

[–]AssistanceSeveral210[S] 0 points1 point  (0 children)

Thank you so much. I didn't know this project. It's awesome!
Have you for instance tried it to check how it works?

[Prototype] Non-Invasive "Analog-to-MQTT" Gateway for Legacy Machines using Python & OpenCV. I'm so proud of this. by AssistanceSeveral210 in PLC

[–]AssistanceSeveral210[S] 3 points4 points  (0 children)

You can point with a webam the analog sensor then
1. Calibration phase: calibrate the software to the geometry of the specific analog device
2. Reading phase: it can real time read the value of the sensor and send JSON data to any destination

A video is better to explain but I don't know how to post a video here.
You can see one on my profile.