PR58-1_MQTT Contact Closure Push Notification

Hello,
I am having a very similar issue, with my device, as “rob.arbouw” who has explained in a similar forum (PR58-1_MQTT Temperature and Humidity Sensor with Ignition SCADA) about connectivity issues between NCD and Ignition on this website.
In this forum I discovered that “TravisE” fixed a bug in the firmware and told rob to update the device.
Thinking this would help my issue as well, I took the same steps while referring to the user guide for my device.
I installed the firmware, which acted as expected, but when I installed the spiffs file, the device did not enter configuration mode after the update finished installing.
Now, my device is blinking red, every second, and I am unable to factory reset or enter configuration mode.
Respectfully, I have already tried unplugging and plugging back in.
Anything helps, thanks! :slight_smile:

Ah. Bummer. You would have already had this firmware update since it was ordered recently so the firmware update was not necessary.

Power down the device, press and hold the CFG button, then power up the device while holding the CFG button. See if the LED flashes random colors to do a factory reset. If not let me know and we can try uploading over USB.

Thank you,
Travis Elliott

I figured however, as I was running out of ideas, I tried testing anyway.

I believe I am overthinking how to power down the device because I do not really see an on or off button, really all I can do is plug/unplug the device so I just did that to power it down while following your advice.

Still no change in LED. It still blinks red and I cannot change the color at all by pressing the CFG button.

I apologize for missing your last post here Alex.

It sounds like updating firmware over USB is going to be necessary. Since the SPIFFS upload failed the firmware is not able to read the appropriate settings on boot and is thus locked up.

You can update firmware over the USB port on the board, you will need to remove it from the enclosure to access that port.

Follow the instructions detailed here:

When prompted to select a firmware enter option 30 for the MQTT V2 Push Notification device. If you have any trouble updating please let me know.

Thank you,
Travis

No worries, I appreciate any help that I can get.

I took your advice and updated the firmware over USB and selected the MQTT V2 firmware. I can now turn on the device, connect to the internet, and my broker as before.

Unfortunately, the original problem still persists. I can not connect to my MQTT broker without enabling anonymous MQTT connections.

In the past I have also been in contact with Dan, from CirrusLink support, about the MQTT modules I am using. While in contact he mentioned that a possible reason could be that the device might not be “not sending MQTT credentials properly”.

Interesting. I just reviewed the firmware and all calls to connect to the MQTT broker utilize the client ID setting.

Could I get you to send me a private message on here with screenshots of your settings? The only way I can see Client ID being blank on connection is if the field is not filled out in the settings.

Thank you,
Travis Elliott

No problem, I just sent you a message containing a screen shot of my MQTT settings. please let my know what you think!

best,
Alex Bermejo