You can see if the sensors are supported by a already existing program. Domoticz might be a good option, it supports various i2c based devices. It has a build in webserver, database and so on.Hi I have some sensors I want to address sensors via i2c and make the data visible in a browser. The site will only be used in a local website. So that the user in the network can type in an ip adress and will be presented with the data.
First question will a rapberry zero 2 w be capable to handle that. It's a really basic website with 9 data values
Second how can I do it that my Raspberry shows up as a website in my network?
It typically does a very good job on temperature sensor and electricity meters. Many years runtime and statistics. I run it still on a Pi1 but also on a Pi4 as 64-bit application. You can connect then, so 'remote sensors', internally via MQTT.
A Pi02W has only 512MiB, so a modern time-series database with Grafana and so on I am not sure. Below a 2GiB virtual machine doing this, but roughly 100 data values, every 10 seconds several of them
Code:
# free -m total used free shared buff/cache availableMem: 1959 588 61 0 1398 1371Swap: 2029 93 1936Statistics: Posted by redvli — Fri Aug 23, 2024 5:07 pm