Thanks Fraser, That did the trick. I changed wx_binding to kl_binding in /usr/share/weewx/user/mqtt.py and it's working like a charm :-)
Thanks! - Gwen Op maandag 26 juni 2017 10:35:34 UTC+2 schreef Fraser Stephens: > > Hi Gewn, > > You are right - after posting this question I had a look at the source > code and found that in /usr/share/weewx/user/influx.py I could change the > term "wx_binding" to "kl_binding" and after restarting weewx it all works > a treat! > > F. > > On 25 June 2017 at 21:36, Gwen van Vugt <gwen.v...@gmail.com <javascript:> > > wrote: > >> Hi Matt, Fraser, >> >> I am having similar problems. Klimalogg with MQTT used to work fine >> always, but now I did a completely fresh reinstallation to move to OpenHab2 >> and now I can't get Weewx with MQTT to run. MQTT does run according to the >> logfile, but it never initiates a new loop when a new record arrives from >> the Klimalogg... I tried booth binding options LOOP and ARCHIVE ... both >> don't work... >> >> I am actually also wondering if this is happening because my data is in >> weewx-kl and not in the regular database... Could it be the case that the >> MQTT plugin is looking to the wrong database for new data??? >> >> Any clue how to solve this??? >> >> Regards, >> Gwen. >> >> Op zondag 18 juni 2017 00:15:51 UTC+2 schreef Fraser Stephens: >> >>> Hi Matt, >>> >>> Just come back to the project after some time away. Klimalogg has been >>> working with weewx perfectly for months, but I never got influx export to >>> work. I now see how to add user pass and I can verify that I'm creating the >>> database in influx ok and the log says "Data will be uploaded to >>> http://127.0.0.1:8086". But it never is. I've tried with and without >>> [[[inputs]]] defined in the weewx.conf file, and I am wondering is the >>> issue is that the data is my data is in weewx-kl? >>> >>> Any pointers? >>> >>> Cheers, >>> >>> Fraser. >>> >>> On Thursday, 30 March 2017 14:42:18 UTC+1, mwall wrote: >>>> >>>> fraser, >>>> >>>> in the file /usr/share/weewx/weewx/cheetahgenerator.py, make these two >>>> changes. >>>> >>>> 1) change line 480 from this: >>>> >>>> try: >>>> archive = self.generator.db_binder.get_manager() >>>> except (KeyError, weewx.UnknownBinding): >>>> pass >>>> >>>> to this: >>>> >>>> try: >>>> archive = self.generator.db_binder.get_manager() >>>> except (KeyError, weewx.UnknownBinding, weedb.NoDatabaseError): >>>> pass >>>> >>>> 2) insert a line before line 68 so that this: >>>> >>>> import weeutil.weeutil >>>> import weewx.almanac >>>> >>>> becomes this: >>>> >>>> import weedb >>>> import weeutil.weeutil >>>> import weewx.almanac >>>> >>>> then restart weewx. >>>> >>>> m >>>> >>> -- >> You received this message because you are subscribed to a topic in the >> Google Groups "weewx-user" group. >> To unsubscribe from this topic, visit >> https://groups.google.com/d/topic/weewx-user/b4BbPTjlCrw/unsubscribe. >> To unsubscribe from this group and all its topics, send an email to >> weewx-user+...@googlegroups.com <javascript:>. >> For more options, visit https://groups.google.com/d/optout. >> > > > > -- > Fraser Stephens > -- You received this message because you are subscribed to the Google Groups "weewx-user" group. To unsubscribe from this group and stop receiving emails from it, send an email to weewx-user+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.