Chevret : ESP and Pi need long distance communication for MQTT

Moderators: rtenklooster, Voyager, BertB, Stuntteam

Post Reply
Message
Author
xmenne
Normal user
Posts: 22
Joined: 17 Jul 2019, 17:38
Location: Saint Ouen sur Loire France

Chevret : ESP and Pi need long distance communication for MQTT

#1 Post by xmenne » 28 Apr 2020, 16:39

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
Signed XMenne from France

TD-er
Core team member
Posts: 8643
Joined: 01 Sep 2017, 22:13
Location: the Netherlands
Contact:

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

#2 Post by TD-er » 28 Apr 2020, 16:46

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.

xmenne
Normal user
Posts: 22
Joined: 17 Jul 2019, 17:38
Location: Saint Ouen sur Loire France

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

#3 Post by xmenne » 29 Apr 2020, 12:11

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 ?
Signed XMenne from France

TD-er
Core team member
Posts: 8643
Joined: 01 Sep 2017, 22:13
Location: the Netherlands
Contact:

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

#4 Post by TD-er » 29 Apr 2020, 12:25

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.

xmenne
Normal user
Posts: 22
Joined: 17 Jul 2019, 17:38
Location: Saint Ouen sur Loire France

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

#5 Post by xmenne » 07 Feb 2022, 17:12

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
Signed XMenne from France

Post Reply

Who is online

Users browsing this forum: No registered users and 16 guests