eclipse-aaspe / package-explorer

AASX Package Explorer
Other
43 stars 12 forks source link

How to make MQTT work in package explorer? #145

Open vpvikasp opened 11 months ago

vpvikasp commented 11 months ago

Well i have a file on the AASX server and i want to read the values from it through an MQTT client which is built in the package explorer but its only subscribing to the submodels and not to the values inside it can anyone help how to configure the submodel so that it reads the exact values.

AAS MQTT TOPIC

mn2698 commented 8 months ago

Hello,

Yes, I do have the same doubt, How can I proceed with Package explorer if all my data is coming from MQTT? . I donot see the MQTT plugin working as well. Any leads would be very helpful :)

MichaelHoffmeisterFesto commented 4 months ago

Hello,

thanks for the feedback. If you look to the screenshot (great to have it), you see, that it is about publishing. So, the function takes changes to the AAS (from the Package Explorer) and publishes it to the outside.

See: Source code file

Therefore, we currently have no function to intake data from MQTT, even if it would be desirable. May be you want to contribute -- would be great!

2nd question was to see the values as all: Try to tick the checkboxes:

If you want to have changing MQTT values for your demonstration, you have to receive AAS events (currently difficult) or to use value animation via "Animate.Args".

Plotting readme Source

In order to operate, enable "Animation" in the AASX PE and save the file once (Ctrl-S). You have to "kick" the prgram a little that it understands that this background function is to be executed.

If it is not working, please contact me via email.

Best, Michael

roastedDD commented 1 month ago

Dear @MichaelHoffmeisterFesto, Is it possible to publish just a single submodel or a just a single submodel property? I noticed that the MQTT publisher always publish the entire AAS