Collect electricity teleinfo from linky base on serial connection. And send data to a remote InfluxDB.
Edit deploy/hosts
file to set your host.
Create config file /etc/linky-teleinfo.conf
on target host.
[influxdb]
host=domain.tld
path=influxdb
username=user
password=pass
db=teleinfo
[tags]
host=home
region=linky
And run ansible
ansible-playbook -i deploy/hosts deploy/playbooks/main.yml