Hello everyone,
I am currently trying to read out our Analog Temperature gauges inside the Heating Room, but I am unsure where to start:
I know there is AI-On-The-Edge, but also know that this model is only trained on Electrical, Gas, or Water-Meter gauges.
But I am “Simply” trying to digitize an analog gauge, which is round and has values, which can be predicted on how the current angle of the needle is…
I guess I am not the only one having a problem like this because digital gauges (compatible with Home Assistant would be best) are costly, so I think ESP Cam is the better bet.
I already found promising (non ESP-Home, but ESP32-Cam) projects, like this one: https://circuits-ninja.pl/reading-an-indication-from-an-analog-pressure-gauge-using-the-esp32-cam-module-with-an-ov2640-and-opencv-camera/
So, my questions are:
Is anybody aware of an ESP Cam Project which could do this, similar to AI-On-The-Edge?
Has anybody experience in this with ESP32-Cam at all, or did do anything similar?
Is there maybe a simpler approach to this than an ESP32-Cam?
Would it be possible to leverage OpenCV (So the image processing could be done by HA itself) for reading out the Gauges?
Thanks to anybody who is trying to help or sharing their thoughts
2 Likes
I use OpenCV with models I’ve trained myself and I think it would be up to this task. But unfortunately it’s been broken for some time now.
I wonder if you could somehow fit a small magnet to the dial and have it drive some kind of rotary encoder on the outside?
opened 04:59AM - 07 Jul 22 UTC
closed 09:07AM - 04 Aug 23 UTC
integration: opencv
stale
### The problem
opencv library is failing to load with error message:
**No Ope… nCV library found! Install or compile for your system following instructions here: http://opencv.org/releases.html**
Other custom components based on opencv are broken with the same requirements:
```
"requirements": ["numpy==1.23.0", "opencv-python-headless==4.6.0.66"]
```
### What version of Home Assistant Core has the issue?
2022.7.0
### What was the last working version of Home Assistant Core?
2022.6.7
### What type of installation are you running?
Home Assistant Container
### Integration causing the issue
OpenCV
### Link to integration documentation on our website
https://www.home-assistant.io/integrations/opencv/
### Diagnostics information
Version | core-2022.7.0
-- | --
Installation Type | Home Assistant Container
Development | false
Supervisor | false
Docker | true
User | root
Virtual Environment | false
Python Version | 3.10.5
Operating System Family | Linux
Operating System Version | 5.15.0-40-generic
CPU Architecture | x86_64
Timezone | America/New_York
Configuration Directory | /config
### Example YAML snippet
_No response_
### Anything in the logs that might be useful for us?
```txt
...
import cv2
File "/usr/local/lib/python3.10/site-packages/cv2/__init__.py", line 181, in <module>
bootstrap()
File "/usr/local/lib/python3.10/site-packages/cv2/__init__.py", line 153, in bootstrap
native_module = importlib.import_module("cv2")
File "/usr/local/lib/python3.10/importlib/__init__.py", line 126, in import_module
return _bootstrap._gcd_import(name[level:], package, level)
ImportError: Error relocating /usr/local/lib/python3.10/site-packages/cv2/cv2.abi3.so: cblas_dgemm: symbol not found
```
### Additional information
_No response_
TL:DR
COVID lockdown life…… I love my view of the port, but operations are slow-mo, and the operations analyst in me wants to understand what is going on better!!
Display looped timelapse videos with object detection including bounding boxes in Home Assistant Lovelace frontend.
Mash a bunch of videos and some summary stats onto a dashboard. Add some automations so that when you sit on your couch it casts to a screen.
[Dashboard]
The video is a bit fluffy as I mainly did it for a general aud…
1 Like
Daxi
(Christian Daxberger)
February 3, 2023, 9:10pm
3
Why using a cam fof temperature?
You can use Dallas DS18B20 sensors for example in ESPHome.
Way simpler and also more accurate, I think.
1 Like
umutdurak
(Umut Durak)
April 26, 2023, 8:43pm
4
That is also my pet project. I would like to try that with CNNs. Check this one out: Machine Learning in Practice: Using Artificial Intelligence to Read Analog Gauges | Object Computing, Inc. . Please report any advances here.
umutdurak
(Umut Durak)
April 26, 2023, 9:12pm
5