Skip to content

Update outdated browserified version #16

Open
@hunsalz

Description

@hunsalz

Current browserified version is outdated and leads to a continuous flapping with wss:// connections.

I tried to use <mqtt-elements> with cloudmqtt.com and couldn't establish a stable connection. Alternative I tried mqtt-client and could perfectly connect my setup. Unfortunately the code base seems not maintained anymore and mqttws31.js appears to me a minus to mqttjs. In addition I didn't find any other MQTT Polymer element that's up to date or ready to use.

That's why I retried <mqtt-elements> with various approaches again. With the mqtt CLI I noticed that I need --insecure as argument to subscribe to my topic. But rejectUnauthorized = false seems not to solve my problem programmatically, so that I finally started to implement the basics on my own. After browserify the current mqttjs trunk version and writing the basic JS myself everything worked perfectly in a few minutes.

I tried to use my browserified version with <mqtt-elements>, but the current version contains breaking changes, so that I was unable to use it out of the box.

Any plans to upgrade the <mqtt-elements> to the current MQTT.js version?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions