Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Retained messages are lost on power off #55

Open
chathurangawijetunge opened this issue May 9, 2018 · 3 comments
Open

Retained messages are lost on power off #55

chathurangawijetunge opened this issue May 9, 2018 · 3 comments

Comments

@chathurangawijetunge
Copy link

When I re-boot the pi all retained messages are lost.
How to retained messages from power cycle.

@chombium
Copy link
Contributor

chombium commented May 9, 2018

You should setup the persistance,
check the example
The supported persistance type are defined in persistence.js.
Ponte uses Mosca for MQTT and persistance, so please check the persistance support wiki page to find out what additional options should be set for a particular storage type.

HTH,
Jovan

@chathurangawijetunge
Copy link
Author

chathurangawijetunge commented May 9, 2018

Sorry I'm not a expert all I want is to retained message after rebooting pls. Help

And I can't understand the example.
Where do I put this code.?
Pls advise.

@chombium
Copy link
Contributor

chombium commented May 12, 2018

please check the readme. You don't need to be an expert to read and follow the docs ;) You can either use the command line parameters to set each parameter separately or create a JSON file as in the example and start Ponte with:

$ ./bin/ponte -c /path/to/config.json

Cheers,
Jovan

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants