MQTT

ColoradoSolar
Posts: 26
Joined: Fri Oct 20, 2017 9:50 pm
Location: Rocky Mountain High

MQTT

Post by ColoradoSolar » Thu Dec 08, 2022 3:01 pm

I have started playing around with MQTT and it would be nice if the dashbox would set the retain flag when publishing messages. I am working on a iOS app that will get data from the MQTT broker but nothing is available when the app starts until the dashbox publishes again.

Also I have firmware 4.2.4c9a and I see there is firmware 4.2.4c15c on your website but there are no release notes. Can someone tell me what changed in the latest firmware.

Thanks,
Eric
ColoradoSolar
Posts: 26
Joined: Fri Oct 20, 2017 9:50 pm
Location: Rocky Mountain High

Re: MQTT

Post by ColoradoSolar » Thu Dec 08, 2022 3:05 pm

Probably posted this in the wrong place. I didn't notice the other forums until after I logged in and posted.
ben
Site Admin
Posts: 4269
Joined: Fri Jun 04, 2010 9:39 am

Re: MQTT

Post by ben » Thu Dec 08, 2022 3:48 pm

I just noticed a bug with the retain, fixed it and posted a new version (c15d).

The calendar was a big part of a few of those revisions, fought with a daylight savings bug for awhile.
There's been a few changes with the RF implementation.
Multi-conditional alerts have been implemented.
Dark mode works better, shouldn't need to refresh the page also.
You can add multiple time-servers now.
Ben
Brultech Research Inc.
E: ben(at)brultech.com
ColoradoSolar
Posts: 26
Joined: Fri Oct 20, 2017 9:50 pm
Location: Rocky Mountain High

Re: MQTT

Post by ColoradoSolar » Thu Dec 08, 2022 4:14 pm

Thanks for the quick update.

We should just do away with daylight savings time and save us all a bunch of hassle :)
ColoradoSolar
Posts: 26
Joined: Fri Oct 20, 2017 9:50 pm
Location: Rocky Mountain High

Re: MQTT

Post by ColoradoSolar » Fri Dec 09, 2022 11:04 am

Ben,

So the update fixed the retain issue, however, the website is now stuck on "Page is loading..." with the attached error in the console.
Screenshot 2022-12-09 at 9.03.26 AM.png
Screenshot 2022-12-09 at 9.03.26 AM.png (12.58 KiB) Viewed 8374 times
ben
Site Admin
Posts: 4269
Joined: Fri Jun 04, 2010 9:39 am

Re: MQTT

Post by ben » Fri Dec 09, 2022 11:45 am

ColoradoSolar wrote:
Fri Dec 09, 2022 11:04 am
Ben,

So the update fixed the retain issue, however, the website is now stuck on "Page is loading..." with the attached error in the console.

Screenshot 2022-12-09 at 9.03.26 AM.png
What's the URL you're accessing?

Web browser/OS also may be handy.

Make sure you've refreshed your cache too.
Ben
Brultech Research Inc.
E: ben(at)brultech.com
ColoradoSolar
Posts: 26
Joined: Fri Oct 20, 2017 9:50 pm
Location: Rocky Mountain High

Re: MQTT

Post by ColoradoSolar » Fri Dec 09, 2022 12:25 pm

ben wrote:
Fri Dec 09, 2022 11:45 am
ColoradoSolar wrote:
Fri Dec 09, 2022 11:04 am
Ben,

So the update fixed the retain issue, however, the website is now stuck on "Page is loading..." with the attached error in the console.

Screenshot 2022-12-09 at 9.03.26 AM.png
What's the URL you're accessing?

Web browser/OS also may be handy.

Make sure you've refreshed your cache too.
I am just access the root /. I have tried via an internal DNS entry I have and by ip address.

I have tried multiple browsers and devices. Safari and Chrome on macOS, Safari on iPad and iPhone.

I did refresh the cache and some of these browsers have never accessed the dashbox in the past.
ben
Site Admin
Posts: 4269
Joined: Fri Jun 04, 2010 9:39 am

Re: MQTT

Post by ben » Fri Dec 09, 2022 2:44 pm

Sent an email with some instructions.
Ben
Brultech Research Inc.
E: ben(at)brultech.com
ColoradoSolar
Posts: 26
Joined: Fri Oct 20, 2017 9:50 pm
Location: Rocky Mountain High

Re: MQTT

Post by ColoradoSolar » Mon Dec 12, 2022 5:38 pm

OK, everything is sorted and running smoothly again.

One feature I would like to see is more frequent publishing to mqtt. I have a mobile app that among other things is displaying my Dashbox mqtt topics. Sometimes is takes a while for the Dashbox to publish a new set of data.

Thanks,
Eric
vilord
Posts: 32
Joined: Fri Aug 23, 2019 10:54 am

Re: MQTT

Post by vilord » Tue Dec 27, 2022 7:33 am

I am running c15d and just turned on MQTT publishing, it does not appear to be setting the retain flag on any of the messages. Is there a trick to this?
Post Reply