In what way handle retained topics? You mean retained messages persisting after restart of the broker?
I am experimenting with the Aedes persistance possibilities. The only possibility is the use of the NeDB persistance as that is a nodejs implementation of a subset of the MongoDB API.
Looking at the files that this persistance framework is storing in /userdata, retained topics should be supported:
mqtt.incoming.db
mqtt.outgoing.db
mqtt.retained.db
mqtt.subscriptions.db
mqtt.wills.db
But how this actually works in real life, I do not know.
From what I can see, the only other local persistence layer is based on LevelDB, which is going to be a pain to maintain because it requires compiled modules.
FWIW, thereās an NeDB fork which looks like itās still being maintained.
Lol, review of the fix for 7.4.0 RCās got rejected:
ā The app image is not up to our standars, the image depicts a black shape on a white background. Read our App Store guidelines section 1.4.2 App images for more information and examples.
Anyone feels like creating something that would pass this check? It was OK for the last 4 yearsā¦
Hi, I got such comments, too (no dark image background, device images too identicalā¦). But with passing the app. There seems to be somone new who would like to make his reviewer job as best as possible
You can send me the images as PM and I will take a look at it.
Whatās the exact reason? Only the mosquitto icon like image?
If there should be a nice colored image, I can perhaps create one.
But itās hard to go with the Athom policy for āvirtualā devices if you canāt make a photo from
Ivo responded on the github issue that he is going to create the icons as soon as possible. Right now if you really need the broker app, you can do two things:
Do not update the firmware
Install the 1.0.6 test version from the store that solves the problem, but got rejected for publishing due to the icon problem.
When 1.0.6 with is published, I will publish a new test version (2.0.0) that replaces the current broker library with aedes and that also adds persistence as soon as I adjusted the internal settings logic to the new library (currently running on my homey for a while with static settings).
I have uploaded 2.0.0 to test and submitted for certification. I have been running this for weeks on my homey and seems stable for me so far. This includes Aedes as broker library and NeDB for persistence. I have not tested persistence. So if someone would like to report their findings if the use of NeDB solves any persistence problems, let me know
MQTT broker stopped working since 1.0.6 and also 2.0.0 does not work
The broker not started at all. I rebooted Homey and also did a PTP reboot.
Deinstalled the app and installed again without any change in de behavior.
Please help.