Log and Print

Hi guys,
first off I’m a noob.
As my day to day job I’m a software engineer. So I think I’m going to be able to understand somewhat fast.

I have setup a raspberry pi 4 with hassio in our family restaurant. Here in germany restaurants are forced to keep track and write down temperatures within their refrigerators/freezers.

So my thought is to put some zigbee temperature sensors into the refrigerators and let them send the information to hassio (zigbee stuff is setup).

Now comes the part where I’m quite lost. How can I store the data and send a print job to a printer everyday.

The printer would be a thermal printer.

Kind regards!

The information is stored by HA in its database.

I would write a shell script to extract the data (using SQL) and print it.

Do check though that these sensors are suitable, I know health requirements probably require greater accuracy than household sensors.