Usability of device agent with no direct internet connection to flowfuse cloud

When my device has no direct internet connection available but we do have an internal mqtt broker in bridge-mode with an hivemq-cloud broker as a kind of forward proxy, could this work with flowfuse cloud? Using only mqtt as connection to flowfuse cloud?

Hi @BasSw

As it stands, we don't provide a way to tunnel connections via other brokers. The Device Agent needs to be able to make a connection directly back to the FlowFuse platform as described here:

The Device Agent needs to be able to make both an MQTT connection back to the platform as well as a WebSocket connection when the remote Device Editor is enabled.

Ok thanks for your reply, we have no need for a remote device editor so I was wondering if this websocket was an optional connection only needed for remote editor.

The WebSocket connection to app.flowfuse.com:443 is only used for the Device Editor.

The connection back to the platform for pushing updates and status info is done via MQTT over WebSockets to mqtt.flowfuse.cloud:443.

As mentioned in the docs, the device agent also expects to be able to run npm install to manage dependencies; so access to the npm registry is needed by default. It is possible to work around that part as described here: Running the Agent • FlowFuse Docs

Also each device needs to authenticate to the mqtt.flowfuse.cloud broker on it's own, so the right set of topic ACLs can be applied, this is to prevent different devices being able to interfere with each other.

The other option would be to run a FlowFuse instance on the internal network.