Skip to content

Setting up local MQTT connection without SSL #10

@f-fritz

Description

@f-fritz

Thanks a lot for your how-to guide!

I was mostly interested in the local MQTT connection - without the relay back to AWS, so that's the part of the tutorial that I focused on. I'd like to share that I could not get the MQTT connection to my local Mosquitto server to work unless I removed ca_cert, certificate and private_key. Actually, that makes perfectly sense and it's exactly what you wrote in your guide. However, the http://tibber_bridge/params website wouldn't let me save an empty string. Storing a single space (" ") instead lead to MQTT SSL errors. What finally solved my problem was to use the bridges console at http://tibber_bridge/console/

Disclaimer: If you are about to try the solution below, please backup the original values, e.g. by storing http://tibber_bride/params.json and make sure to double check the used commands and the suggested keys below as they could potentially change with a future update of the bridges firmware. Use at your own risk.

According to the command param_list, ca_cert, certificate and private_key have the keys 5,6 and 7 - at least on my firmware version. I was then able to effectively delete the values using the command param_set <key> \0 where \0 encodes the empty string. The changed parameters yet need to be persistently stored, e.g. by using the params page (that wouldn't load or show warnings - at least in case of obvious errors, so I'd suggest using that. I didn't test whether the respective console command would check the values as well) and hit the "save and update params" button at the bottom.

EDIT: my bridge runs version 3a8a35b8

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions