OMG I didn’t know I could restrict topics using mosquitto
, do you have an example of this setup? If not, don’t worry, I’ll look for it myself. I think that might solve my problem
(at least part of it). Thanks!
@brocaar Do you think it would still be possible to easily make MQTT integrations not global but per Application? I mean to configure it like HTTP integration, where you have to indicate the server (IP and Port). And as a future proposal, make a kind of filter for topics, all from the interface. Since it would definitely be faster than modifying the mosquitto.conf configuration files or making an intermediate APP that acts as a proxy.
The thing is, I don’t know if my proposal makes sense, but MQTT integration is not by default, but rather you would choose what to send and through where the key would be. Since now, as explained by @Liam_Philipp, I understand that Chirpstack forwards everything that comes to it through the MQTT integration and that this cannot be deactivated for a specific application but for the entire Chirpstack server. Since you can remove it from:
[integration]
enabled=["mqtt"]
By doing this, what I would expect to happen is what I propose, if it is not activated globally, simply that it appear independently in each application and that it can be configured from them.
For example, it would be very useful for me if I could simply disable the MQTT integration of an application and activate the HTTP integration in exchange. This way I would be sure that EVERYTHING that comes through MQTT I want on that server. This would save me filtering, for example, for each Tennant if in 2 of the 10 applications they have I do not want them to arrive via MQTT but rather via HTTP.
Depending on what you tell me, I can open an issue on Github to propose this new feature. If not, I’ll figure it out some other way.
Thank you all.
Adrián
PS: One last question related to the case, the integration section of the chirpstack-gateway-bridge.toml configuration, what is it for? And what difference does it have with chirpstack.toml?