Welcome to the forum!
Seems ??
should be a MQTT Broker.
recommends VerneMQ
Caveat: Just some information based on some hasty online searches …
My first rough sketch:
See if its possible to use a plugin to store information in a “data-repo” application. Then use Phoenix “Phoenix-is-not-your-application style” to serve as the web front end for the data repo application.