Giter Site home page Giter Site logo

Comments (2)

hobbyquaker avatar hobbyquaker commented on May 26, 2024

Das sollte eigentlich bereits der Fall sein. Siehe https://github.com/hobbyquaker/ccu-addon-mosquitto/blob/master/addon_files/mosquitto/etc/conf.d/persistence.conf
Ich hab auch regelmäßig Meldungen im Syslog:

Jul 24 19:51:57 raspberrymatic daemon.info mosquitto[782]: Saving in-memory database to /usr/local/addons/mosquitto/var/mosquitto.db.
Jul 24 20:21:58 raspberrymatic daemon.info mosquitto[782]: Saving in-memory database to /usr/local/addons/mosquitto/var/mosquitto.db.
Jul 24 20:51:59 raspberrymatic daemon.info mosquitto[782]: Saving in-memory database to /usr/local/addons/mosquitto/var/mosquitto.db.
Jul 24 21:22:00 raspberrymatic daemon.info mosquitto[782]: Saving in-memory database to /usr/local/addons/mosquitto/var/mosquitto.db.

Wenn Du die config ergänzen willst um die autosave_* optionen empfehle ich dafür ein neues conf file in /usr/local/addons/mosquitto/etc/conf.d anzulegen z.B. custom-persistence.conf - dann wird es bei einem evtl update nicht überschrieben. Bin mir noch etwas unschlüssig wie ich das mit den conf files handeln soll in Zukunft, speziell die Frage wie ein User vorhandene defaults überschreiben kann bereitet mir noch Kopfzerbrechen.

from ccu-addon-mosquitto.

Hypnos3 avatar Hypnos3 commented on May 26, 2024

Vielen Dank, das hatte ich übersehen!

Ich habe mitbekommen, das in NodeRed 0.19 es die Möglichkeit geben soll flow oder global context persistent zu speichern. Damit gestaltet sich das noch einfacher als über mosquitto zu gehen.

from ccu-addon-mosquitto.

Related Issues (19)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.