wokelio
Posts: 2
Joined: Mon Feb 10, 2020 11:36 pm

How to publish results on the Web from local MQTT no-Internet network?

Mon Feb 10, 2020 11:42 pm

I'm making a project where I have a local no-Internet MQTT network (scheme below).

Devices (except for RPi 3B+) needs to work outside so I can't provide them Internet access. The purpose of RPi 3B+ node is to receive sensor data and transfer it to Web server in graphic, easy-to-analyse way.

The question is: Is it possibile to switch automatically networks by RPi 3B+ node and how can I make it?

Also if anyone could recommend solution for collecting and showing data in Web server I'd really appreciate that. I'm quite newbie and it's important to me to keep the project in not over complicated way.

Thank You in advance.

Scheme:

Web server ~ . ~ . ~ RPi 3B+ ~ ~ ~ RPi 0W ~ ~ ~ ESP32 -- sensor


~ . ~ . ~ Wi-Fi connection in network with Internet access (connection to access point with Internet)

~ ~ ~ Wi-Fi connection in network without Internet access (MQTT network)

RPi 3B+ and ESP32 - MQTT clients

RPi 0W - MQTT broker and access point without Internet

User avatar
topguy
Posts: 6527
Joined: Tue Oct 09, 2012 11:46 am
Location: Trondheim, Norway

Re: How to publish results on the Web from local MQTT no-Internet network?

Tue Feb 11, 2020 10:08 am

Buy a USB Wifi dongle and connect to both wifi networks at the same time. Save hours of blood/sweat/tears.

User avatar
B.Goode
Posts: 10356
Joined: Mon Sep 01, 2014 4:03 pm
Location: UK

Re: How to publish results on the Web from local MQTT no-Internet network?

Tue Feb 11, 2020 10:27 am

For a simple and reliable solution, is it out of the question to use the cabled ethernet connection on the RPi3b+ to gain access to your internet-enabled local area network?

wokelio
Posts: 2
Joined: Mon Feb 10, 2020 11:36 pm

Re: How to publish results on the Web from local MQTT no-Internet network?

Wed Feb 12, 2020 3:37 pm

I wanted to avoid that ethernet cable thing but what I can see over the Internet it would be propably easier.

And that wifi dongle - sounds interesting, thank You very much!

PS I'm new on the forum, don't know how to anwer personally, but Thank You both very much

Return to “Networking and servers”