Welcome to Smart Home Forum by FIBARO
Search the Community
Showing results for tags 'energy consumption'.
73 downloadsThis is a scene for Fibaro HC2 which sends energy consumption data for selected devices to a logger function at the end of each day. The logger runs on a Raspberry PI on the same network and simply saves the data in a .CSV file on the Pi for later import into a spreadsheet. Remember to chose UTF-8 format in Excel when you import it, or special and national characters will be lost. The code running on Raspberry Pi is run as a service under systemd, hence the .service unit file. You should drop the .txt file extension when copied to the Pi. Tutorial about running services under systemd: https://tecadmin.net/setup-autorun-python-script-using-systemd/