fixed the smartmeter.js, moved data writing to the now database.js named file and fixed the calculation for Erdgas consumtion in my house. This is reflected in the global files...