Page 1 of 1

Chevret : ESP and Pi need long distance communication for MQTT

Posted: 28 Apr 2020, 16:39
by xmenne
Hello

I use ESP EASY Mega on ESP8266 and MQTT Mosquitto on Pi.
My wifi link is not enough for the distance between ESP and Pi ie : 250m direct outside.

What Radio wave technology / system would you advise for this distance ?
I have no power limitation (almost :))

Thanks

Re: Chevret : ESP and Pi need long distance communication for MQTT

Posted: 28 Apr 2020, 16:46
by TD-er
You could send sensor data over km's via LoRaWAN and then let it decode via the Things Network. (TTN)
This data can then be made available via the MQTT broker of TTN.

Re: Chevret : ESP and Pi need long distance communication for MQTT

Posted: 29 Apr 2020, 12:11
by xmenne
Thanks for Lora Wan but Could RFLInk techno suit this need ?
What I want to do to forward MQTT only

ESPEASY mega esp8266 <> RFlink hardware <<<<250 meter direct visibility outside >>>>>RFLink Hardware <>Raspberry MQTT Mosquitto server
or even better
ESPEASY mega esp8266 <> RFlink hardware <<<<250 meter>>>>>RFLink Hardware <>Wifi / Internet Mosquitto server in cloud

What kink of RFLink Hardware ?
Any idea ?

Re: Chevret : ESP and Pi need long distance communication for MQTT

Posted: 29 Apr 2020, 12:25
by TD-er
Well I don't know the range of the RF-link.
Most of these use either 433 or 868 MHz, so it highly depends on the used modulation and antennas to be able to reach that distance (while still be legal).

Key factors general applicable for RF communication range:
- Higher position of antenna (receiver and/or transmitter) will increase range
- Line of sight is important
- More directional antenna does increase range
- Good antenna cable (or short cable) and proper shielding will increase range
- Proper antenna matching the specific frequency does make sure almost all RF energy is transmitted and not reflected back to the sender. It also helps filtering out signals on other frequencies that may dampen the signal you want to receive.

So I'm not saying it is impossible to do, but it may need some tweaks to have it working reliable.
The easiest ways to start with are using a directional antenna and placing at least one of them as high as possible.

Re: Chevret : ESP and Pi need long distance communication for MQTT

Posted: 07 Feb 2022, 17:12
by xmenne
To close this subject, i found a WIFI extender router accesspoint that solved my issue.
WAVLINK AC600 ;

This is a long range wifi when you dont have obstacle like trees etc...

Thanks to you all