Install w1retap-pgsql by entering the following commands in the terminal:
sudo apt update sudo apt install w1retap-pgsql
Description:
Data logger for 1-Wire weather sensors (PostgreSQL plugin)
The w1retap package reads weather sensors on a 1-Wire bus and logs the retrieved data to the configured databases or files. It supports a number of different 1-Wire host bus adapters and 1-Wire sensors designed by Dallas Semiconductor Corp (now Maxim Integrated) and compatible sensors including those from AAG Electrónica and other hobby sensors. . This provides the capability to use a PostgreSQL database for storage.
Homepage: http://www.zen35309.zen.co.uk/wx/tech.html
Version: 1.4.4-3
Section: universe/electronics