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

Add support for MQTT pver SSL and update to attemp disconnects and extra loggin on mqtt failures #125

Merged
merged 7 commits into from
Dec 13, 2022

Commits on Dec 5, 2022

  1. Add support for SSL when using mqtt

    Add support for a local mqtt broke that uses ssl.  Allow user to add in their ca,crt file and if exists use SSL for mqtt uploads.
    dave-ct committed Dec 5, 2022
    Configuration menu
    Copy the full SHA
    1eb3059 View commit details
    Browse the repository at this point in the history
  2. SSL update for MQTT

    Added new mqtt parameter to the config_template for ca.crt file location and added check for ca.crt parameter variable incase it is not there in user's config
    dave-ct committed Dec 5, 2022
    Configuration menu
    Copy the full SHA
    a1e2454 View commit details
    Browse the repository at this point in the history

Commits on Dec 11, 2022

  1. On Low disk space try to upload readings. Plus sleep on boot

    When low disk space detected try to upload the readings to free up the disk space.  On Boot sleep for 0.5 seconds at start.
    dave-ct committed Dec 11, 2022
    Configuration menu
    Copy the full SHA
    c902806 View commit details
    Browse the repository at this point in the history
  2. Attempt to disconnect MQTT cleanly if error occurs during upload

    Have monitored different errors from MQTT during upload after connection.  In the event of an OSError or IndexError try to disconnect MQTT to see if it prevents hangs.
    dave-ct committed Dec 11, 2022
    Configuration menu
    Copy the full SHA
    d3f63d3 View commit details
    Browse the repository at this point in the history
  3. Update gitignore to ignore .idea/

    If edit made in pycharm ignore .idea/ structure
    dave-ct committed Dec 11, 2022
    Configuration menu
    Copy the full SHA
    073518f View commit details
    Browse the repository at this point in the history

Commits on Dec 13, 2022

  1. Configuration menu
    Copy the full SHA
    2389b29 View commit details
    Browse the repository at this point in the history
  2. Corrected logging in mqtt updateas missing import on error

    Corrected logging in mqtt update as missing import on error
    dave-ct committed Dec 13, 2022
    Configuration menu
    Copy the full SHA
    223ece1 View commit details
    Browse the repository at this point in the history