philipparndt / mqtt-analyzer

Apache License 2.0
92 stars 6 forks source link

Can not choose broker in Shortcuts App #150

Open 8bignic8 opened 2 years ago

8bignic8 commented 2 years ago

Hey thank you for this nice App!

I encountered the problem that I can’t choose which Broker I want to use to publish or receive MQTT messages from in the Shortcuts App. Also it would be nice to have widget Support. Let me know If I can help :).

Greetings :).

C2FC3E56-CE8E-4575-96ED-BEFD8CD2932B

philipparndt commented 2 years ago

Hi @8bignic8 I tried to reproduce this without any luck. I will do some more tests.

In the meantime, you can try to update some of your broker setting in the app, maybe add a dummy setting that you delete later. The database that is used for the shortcut app will be rewritten when some settings are changed.

Regarding the widget support, what do you like to do with the widget? For all use-cases I know, widgets have to use a separate data source that will work when the network is away. I am working on a separate application that uses Influx as a data source for widgets. Currently, a lot of stuff is hard-coded, and it is a private repo due to this fact, but I plan to make this open-source as soon as it is more flexible. Here is a sneak peek:

image
8bignic8 commented 2 years ago

Looks nice, I use EasyMQTT on the side, there you can use graphs once you connect in the app to the Broker. Afterwards you can choose the Broker to connect to in the Widget.

It would be nice to have a Widget where you could more than one Input at the same time. So you could see the temp and Humidity on Y and time (with timestamp!) on the X axis.

Maybe you could use the widgets in the App and outside at the same time and mirror one to the other.?

Im normally writing Python but if you make a YouTube tutorial maybe I could help you with the Project:).

philipparndt commented 1 year ago

Hi @8bignic8,

the chance is good, that the latest release fixes your issue. Can you have a try?