Comments (2)
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.
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)
- Verschlüsselte Verbindung aufbauen HOT 1
- Unterstützung für neue x86-basierte RaspberryMatic Version
- Addon fails to install on CCU3 HOT 1
- ccu_addon-mosqitto auf Raspberry Pi 4 (mit piVCCU3) HOT 1
- "mosquitto" nach Installation auf der CCU3 in der "Zusatzsoftware" nicht sichtbar !? HOT 1
- Add funktioniert mit neuester RaspberryMatic nicht meh HOT 2
- mosquitto not working at RaspberryMatic 3.53.34.20201121 HOT 2
- Wie aboniere ich die Geräte aus RaspiMatic?
- Addon Update
- Auto-activate TLS listeners if /etc/config/server.pem exists
- MQTT 3 working but MQTT 5 seems not be supported
- When installing/updating via rmupdate mosquitto daemon doesn't start up automatically
- UI HOT 2
- CCU2 HOT 1
- Mosquitto von extern mit Daten versorgen HOT 4
- Moquitto Addon mit RaspberryMatic 3.45.5.20190330 HOT 5
- libraries in /usr/local/lib are breaking a lot of stuff HOT 4
- Wie kann ich einen User und Passwort anlegen HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from ccu-addon-mosquitto.