Best option for my project iot multiuser

Hello, I am doing a project to control an aquarium. Now I use blynk app but I want to change. To open source.
With a raspberry, an arduino mega with esp8266, MQTT what I can do?

It is important that it could be operated by different users. Eachone with his aquarium but in same server…..

Thanks

The nice thing about Blynk is the ease with which you can construct a phone app. I believe you can set up your own Blynk instance on a local server too.

Personally, I wouldn't want to give that piece up and have to write a native phone app. On the other hand, you can run a web server on the Pi and control your aquariums from a browser on the phone. You would need some kind of login to identify the individual users so that you know which aquarium they are trying to control.

You can run MQTT on the Pi too, and have each Aquarium get its instructions from there. I'd be more inclined to stand up a web API though so that the Aquarium controller can ask for status when it wants it, rather than having to rely on a persistent MQTT connection.

Thanks. For me it is not clear what is the best solution. Maybe an app. But i dont know how.

Blynk will deleted Blynk app legacy from stores in a future