Data-Export to InfluxDB works now, too. I chose to install "node-red-contrib-influxdb" to the palette, which adds three new nodes. I use "influxdb out". Initial configuration of the node is necessary: Name --> any name you like Server --> Name of server, Version (I use 2.0), URL (IP + Port), Token Organisation --> depends on InfluxDB configuration Bucket --> the "dataspace" for this special purpose in InfluxDB Meassurement --> free to choose. If Meassurement does not exist in InfluxDB, Influx will create this on demand no "Verify server certificate" (didn't try with it, tried to avoide any extra authentification issues für testing) Configuration of InfluxDB you need a running InfluxDB System (my Influx is running as a docker container) including initial setup (user, organisation, etc) create a new bucket, for example "viessmann-data" create a new API-token, you will need this für node configuration in node red (see above) Connecting Node Red and InfluxDB by just dragging output of your "data extraction function" directly to the "InfluxDB out" node. How simple is that 🙂 Hint: My Node Red and influxDB both run as docker container. By default docker uses NAT and the containers are NOT directly connected to the host network. Therefore it is necessary to use IP and Port of the Docker host for configuration of the InfluxDB node. Might be unnecessary in other use cases, for example Node Red and DB as native instances / services on the on the same host without docker (then "localhost" should work, too). Whats the benefit? On the one hand it is kind of "onpremise copy" of the Viessmann VCare App (in lack of Vitoconnect opto interface the data is of course exclusively coming from Viessmann servers.) . Check system status from any web browser in local network, faster polling the data (ViCare App seems to need aprox. 10 seconds to connect on load), etc On the other hand (that is the main purpose for my personal needs): having all the data in timeseries in in InfluxDB I can now correlate them with other data generated in my heterogeneous smarthome ecosystem. My Viessmann Vitodens with solar, 600 litre buffer, etc have been installed just a few weeks ago. Now I can overlay Data-graphs for example flow temperature of the burner with valve status of my Homematic room thermostats. So it is possible to see, if Vitodens generates too much heat to heat up the rooms to desired temperature (room keeps warm but valves nearly closed). Or check modulation rate in correlation with room temperature and outside temperature. This helps me to adjust the heating curves (was able to flatten the curve from 1,4 to 1,2) which will lower gas consumption (of course gas consumption ist written in InfluxDB too, including a conversion to "Euro per day" to keep me scared during the ongoing raise of energy prices), etc 🙂 Regards, Daniel
... Mehr anzeigen