Ich bekomme es einfach nicht zum laufen: Es kommt beim setup:
./avrio.py --setup
Write new config file /home/pi/avrio/avrio-config.txt
Enter yes: yes
MySQL host address (default [tbd]):localhost
MySQL user name (default [tbd]):root
MySQL password (default [tbd]):******
MySQL database (default [tbd]):temperature
MySQL table (default [tbd]):temperature
check: localhost root kosmickartracer temperature temperature
Enter ok: ok
creating config file now...
look for connected sensors in /sys/devices/w1_bus_master1/w1_master_slaves
28-000003ada56a
read config file which has been created
create database incl. tables
connect to host > localhost < w/o database
CREATE DATABASE temperature
Enter yes: yes
DROP TABLE temperature
Enter yes: "hier muss die nur Enter drücken"
DROP TABLE temperature
Unexpected error: <class '_mysql_exceptions.OperationalError'>
CREATE TABLE temperature
Enter yes: yes
CREATE TABLE temperature (id INT NOT NULL AUTO_INCREMENT PRIMARY KEY, dattim TIMESTAMP, Aussen FLOAT DEFAULT '0', Innen FLOAT DEFAULT '0', Zimmer FLOAT DEFAULT '0', Balkon FLOAT DEFAULT '0', Wasser FLOAT DEFAULT '0', WW_Speicher FLOAT DEFAULT '0', Vorlauf FLOAT DEFAULT '0', Ruecklauf FLOAT DEFAULT '0' )
Unexpected error: <class '_mysql_exceptions.OperationalError'>