When i read through the complete documetation of weewx *puh that much... i try to create a service/extension that reads mqtt lines, i add archive and values "premade" to the database like mqtt_sources.sdb create new tables sensor001... sensor999 where i can fill the custom values.
later grab data with custom names for the templates. So anybody can add custom cheap sensors to weewx. I think easyesp as a mqtt publish source is user friendly enough to make it work easier. or is there an easier way? Not that i dev what already exists :) Am Donnerstag, 18. Januar 2018 13:36:53 UTC+1 schrieb Andreas Landixus: > > Ah i understand deeper. > > So i can use the same database too. Because i have control what i send > with my nodemcu. > > I send over mqtt to the driver for example: > > [[label_map]] > SEN1 = Sensor1Meter > SEN2 = Sensor2Meter > SEN3 = Sensor3Meter > SEN4 = Sensor4Meter > > > and "TIME = dateTime" for the key, > > Because when i have different named values it does not affect the > "current" data and i use "latest" values? :) > > I hope i thinking it right. > > > Am Donnerstag, 18. Januar 2018 12:50:55 UTC+1 schrieb gjr80: >> >> Certainly can, if you've not already been there have a look at Using >> multiple bindings >> <http://weewx.com/docs/customizing.htm#Using_multiple_bindings> in the >> Customization Guide. It covers both tags in reports and images. >> >> Gary >> >> >> On Thursday, 18 January 2018 20:22:11 UTC+10, Andreas Landixus wrote: >>> >>> >>> Hmmm ok if i run a second instance i have 2 confs: >>> >>> ws2080.conf >>> mqttmesh.conf >>> >>> then i have 2 databases (ws2080.sdb and mqttmesh.sdb) >>> >>> then i can read both databases? >>> >> >> Like: >>> >>> [Databases] >>> # This section binds to the actual database to be used >>> >>> [[archive_sqlite1]] >>> database_type = SQLite >>> database_name = ws2080.sdb >>> [[archive_sqlite2]] >>> database_type = SQLite >>> database_name = mqttmesh.sdb >>> >>> >>> >>> Am Donnerstag, 18. Januar 2018 08:34:44 UTC+1 schrieb Andreas Landixus: >>>> >>>> Can you please answer me some questions. >>>> >>>> >>>> >>>
