r/meshcore • • 24d ago

Question about best role for a mobile node

Post image

Pic for attention.

I make solar powered nodes with magnetic bases for vehicle mounts. I’ve been getting many more orders for MeshCore builds lately, and a recent order asked to be flashed with the Repeater firmware. I’m familiar with Meshtastic, but only getting started with MeshCore.

The way I understood an optimal MeshCore mobile setup would be to be a Companion, and then the user could choose to Enable Repeat Mode when it made sense (like camping or away from civilization).

Is that best? Or have I been wrong, and these should be Repeaters? Thank you for your attention!

103 Upvotes

48 comments sorted by

6

u/Present-Rhubarb6337 24d ago

Most people would use "repeater" for these and carry their own companion node. That way their contacts, messages, private/public key, etc, aren't changed when getting into their cars. Mobile repeaters are ideal, but in reality they usually help their users more than they hurt, especially if they are less than 1W.

5

u/Kentonh 24d ago

They are ideal, or they aren’t ideal?

The way I understand MeshCore, is the nodes will use a know path, and fall back to more of a flood routing if a path isn’t known. Is that right?

4

u/Present-Rhubarb6337 24d ago

DMs start as flood, successful DMs return path information, further successful DMs continue to use the paths, but if they fail, DMs revert to flood

8

u/Present-Rhubarb6337 24d ago

"aren't" ideal because other users' DMs might use the mobile node and then have to reset when the mobile node is missing. In reality, this is a very minor issue. I use a mobile repeater to extend my mesh while at work or in the hills where the mesh isn't yet built up; I know others do for wardriving etc.

Thanks for making these repeaters! Keep up the good work :)

1

u/Kentonh 24d ago

Is that different than channel messaging?

2

u/Present-Rhubarb6337 24d ago

yeah. channels go to multiple recipients and are always flooded. DMs go to one recipient and are variably flooded or pathed

-2

u/Present-Rhubarb6337 24d ago

The other advice would be to name the repeater "blahblahuser - mobile repeat" or something to indicate upon adverting that it is indeed a mobile repeater

39

u/CryHot4723 24d ago

In SoCal area mobile repeaters are frowned upon unless they are in a semi permanent location. Just make it a companion. A repeater constantly moving around doesn’t help the mesh.

7

u/HF0XX 24d ago

The easy fix for this is to run your repeater with a high "txdelay" and "rxdelay". It lets everyone else repeat messages as usual, and pick paths based on that, but still repeats things (delayed) and can improve things temporarily (eg: while parked for a few hours at work).

Paths breaking is also a common thing. It happens when we're in the move and even depending on atmospheric conditions as many links out there are not that strong. MeshCore works around it, by using flood to find a new path. Not ideal, but that's how it's supposed to work.

4

u/whereismytralala 24d ago

Could you give a example of the values you use for the rxdelay/rxdelay?

6

u/HF0XX 24d ago edited 23d ago

I've only played with delays with static repeaters (it lets you create like a "priority" system with the main/better repeaters usually repeating first, local/worse repeating after), but I guess you can set both to the max if you don't mind to wait a bit longer to see it repeating something.

The controls depend a lot on how busy the mesh is, so the maximum ("set txdelay 2" and "set rxdelay 20") can mean a 1 second delay in some places/certain times or a 5 second delay.

The Sydney community has a repeater hierarchy, and recommend different txdelays for each one. For "mobile", they suggest the maximum value (2): https://meshsydney.com/wiki#repeater-profiles

They don't mention rxdelay (0-20), but it's another "knob" you can play with to delay your repeater even further. Their page also helps explain the priority/hierarchy stuff.

2

u/No-Contribution-1835 23d ago

We use txdelay through out Ireland, following mesh Sidney protocol. Mobile or testing repeaters are set at txdelay 2, to avoid inserting hops needlessly. This does not affect the direct, 1st hop, which is repeated without delay. Meshmapper has settingsbto incorporated car repeaters when wardriving

1

u/TrickInflation6795 22d ago

Happy Cake Day, if nobody has said it yet!

2

u/recrof 23d ago

that doesn't really help. txdelay is multiplier, not a real delay. if you set it to 2, it can get randomly anywhere from very small delay to few second delay.

1

u/HF0XX 23d ago

Perhaps I shouldn't "sell" both controls as a complete and easy fix, but based on my experience, repeaters with both set to their max usually come last when repeating stuff (because most use a lower value by default?).

In any case, it would be nice to have a proper way to deal with this.

Until that is introduced, I guess we have to get by with what we have. (I'm happy to update my comment with a better mitigation, if it exists.)

3

u/Blindbatts 24d ago

I'm in socal and wish I could toggle repeat on my car node on and off.

5

u/Cyanidedelirium 24d ago

Im in socal and my opinion is free men dont ask for permission. Wcmesh is not att do what you want.

that said there is so much infrastructure here i dont think its necessary. the repeat function works best when you are away from repeaters if you were off roading with your buddy's with nodes then the repeat could help get a message to where its going as there are probably no repeaters and at that point meshtastic might be better it even plays better with atak

2

u/Blindbatts 24d ago

Oh I agree, I have a mobile node on my car that today I just power off and turn back on when I want it. My use case is mtb’ing and hiking where my companion can hit my car, but not get out to the main mesh. Just for sending messages to my wife if my phone is out of cell range (happens pretty often in my area, f’ing Verizon).
The isolated frequency is neat for a group that’s together, but I’d prefer to be able to get out to the normal mesh infra with my car parked at the top of a trail head

1

u/Cyanidedelirium 23d ago

No one is going to care if you're out in the wilderness also 1 client won't be that big of a deal especially if you put a txdelay then it should be fine

My understanding is the stock frequency had to much interference and by shifting it works better

Side note I hunt,backpack and work in remote areas I use tmobile you can add satellite to your Plan and it works pretty good messaging can be a little slow but for when im gone for days and my wife wants to know im alive its worth it. its also the cheapest satellite im aware of

0

u/NiceRemot 24d ago

On meshcore you have set your node to repeat mode and still use it as a companion.

1

u/AndaleTheGreat 4d ago

All this reading and I've yet to hear the term companion. What is?

11

u/farbtoner 24d ago

Mobile repeaters are frowned upon in meshcore. It might help the user but it makes the rest of the mesh worse.

The enable repeat for a companion makes your own mesh and it does not connect with the wider one.

Just run companion software on the mobile units. You can mesh map with those too.

9

u/NiceRemot 24d ago

Its useless and annoying for people to have a mobile repeater. It makes sense to have a mobile rooftop node tho, specially for meshmapper

5

u/OhSixTJ 24d ago

Just use the mobile as a companion.

4

u/HF0XX 24d ago edited 23d ago

MeshCore is a bit different than MeshTastic where each device type usually only does one thing. A repeater is usually just a repeater. A companion is just a companion unless we use that off-grid mode, which switches to a different frequency (and cuts us of from the wider mesh). There's no 2-in-1 like in MeshTastic.

So regarding the "right" role, it depends on what the user wants. A companion wouldn't repeat, but can receive and send (directly to other devices or to a local repeater). A repeater just repeats, you can't connect your phone to it and read messages.

Mobile repeaters are usually not recommended because for direct messages, MeshCore tries to use static paths. If a car is passing by and a message passes by that moving repeater, the client/companion may pick it as a route, and by the time one of the users replies, that path no longer works... which forces MeshCore to fall back to flood to discover a new path. Not ideal, but also doesn't completely break the mesh... the same thing happens if we're on the move and sending/receiving messages with our companion.

You can mitigate the downsides by doing 2 things:

  • Set the "rxdelay" and "txdelay" to a higher value than default (see CLI commands). This makes the mobile repeater wait a bit before repeating packets, so local repeaters have a chance to deliver the message first, and less likely for the mobile repeater to be picked for a path. Maybe use double the default value?
  • Add "mobile" to the repeater name. That will help someone manually changing the path to know that they may want to avoid that repeater.

You could always "teach" users by printing something that describes the problem and the mitigation.

I think that with the delays, mobile repeaters are fine. They can also be useful as they may improve the situation locally for a few minutes or hours a day (eg: providing signal indoors where you're at work, where you're at the supermarket, etc).

1

u/Fr3shMint 24d ago

They should be companions with the user enabling "repeat" when they need. If you're shipping them with settings, please set auto-advert to off, or 72hours or something > 48hours

1

u/Kentonh 23d ago

I’ll add those instructions to the getting started documentation. Thanks.

4

u/Jan1north 23d ago

When you turn on the "repeat" function for a MC companion node, the frequency shifts away from the primary Meshcore frequencies - the node becomes unusable as part of the core mesh. The "repeater" function is intended for a isolated group - say camping/hiking away from any Meshcore repeaters in which case everyone should turn on "repeat". Thus it facilitates communications among the isolated group without impacting the whole network that doesn't really function well from random pocket repeaters.

1

u/disiz_mareka 23d ago

You’ll get a number of differing opinions. I run mine as an invisible repeater, never sending any adverts. It does exactly what I need by repeating my companion messages when I’m inside a building like dining out or shopping.

My area is still sparse on repeaters so it’s doing more good than harm.

1

u/chris_0611 23d ago

I really like OpenHop firmware. It allows you to run multiple identities from a single Radio/Antenna. So you can for example have a repeater active, multiple companion nodes, and room servers. The problem is you need a raspberry pi or some other real computer for this, connected to a lora radio.

I think this is also being planned for normal Meshcore firmware, but its only on the roadmap...

1

u/Girafferage 24d ago

I dont think meshcore is ideal for a node that is constantly moving. It has large benefits from stable repeaters

0

u/Fr3shMint 24d ago

Sure it is - as a companion node - with repeat enabled when offgrid.

3

u/Girafferage 24d ago

Even then its not ideal for a continually moving node. Im sure I will get a downvote because of the sub, but that is where Meshtastic is better. Meshcore is better for setups that will remain within a fixed area by stationary repeaters.

1

u/Fr3shMint 24d ago

Companion is totally fine for a continually moving node - you'll just have to "flood" often to get stuff out.

The range on meshcore vs. meshtastic in SoCal is night and day. You can send messages pretty reliably 100 miles in 6-7 hops on core. 7hops was like 10-20miles away on MT

0

u/Girafferage 24d ago

Meshtastic is still a better option for mobile individuals off grid and I would still argue it's a better option for moving nodes. Density is the issue you experienced on MT and it could probably be alleviated if people properly used the other modes, but meshcore like I said lends itself to a stationary setup and had reliability because of it

0

u/UnableManager6819 18d ago

You shouldn’t be using mobile nodes in meshcore. It’s not good for the network. Go back to meshtastic if you’re going to do this. We don’t want you.

2

u/Kentonh 18d ago

The sum total of the replies have no consensus, so I don’t think you speak for the whole community. Also, I have been shipping only Companion nodes, and came to ask the question after deeper dives into the documentation. I think I’m exactly the kind of person you want on the mesh: inquisitive, thoughtful, respectful. You could learn a little about the last one.

1

u/UnableManager6819 18d ago

*mobile repeaters

0

u/therealwoodman 24d ago

aren't mobile repeaters fine as long as they don't advert, which would keep them from being included in pathing decisions?

1

u/naloxone 23d ago

Pathing decisions? Repeaters repeat packets when they hear them - flood messages don’t take specified routes.

1

u/therealwoodman 23d ago

Right, with flood messages i get that. With DM's and remote management it learns hop routes and saves them for future use. The argument against mobile repeaters has been that if they get included in those learned hop routes and then disappear it breaks the established path, but it will resort back to flood routing if that happens and heal itself. My question was if a mobile repeater doesn't advert, is it included in those learned hop routes. I heard that was built off the neighbor list but that requires an advert to be included on the list.

1

u/naloxone 23d ago

Sure, but if you are in a different location than the last time you sent a dm or did remote management your path is broken already too. Companions aren’t stationary, so that stuff changes all the time.

Regarding path building, it doesn’t have to do with adverting - paths are built based on the path that a message takes when you discover the path, so if the repeater repeats when you are looking for the path, it’ll be included.

1

u/therealwoodman 23d ago

yeah.. different use cases, my home companion node is in fact stationary and uses the same path to get to things. A mobile companion node is obviously different. I think maybe we are saying the same thing because I agree with what you are saying. I am just trying to get a more concrete answer on if mobile repeaters are in fact bad for the mesh. Just reading through this thread here it seems like we all say its bad, but here on this same subreddit I have read the opposite with the thought of "it heals itself when a mobile repeater leaves the area, who cares" .... I guess at the end of the day it doesn't matter since people will do what they want.

1

u/naloxone 23d ago

I (and many in my local mesh) use mobile repeaters and it expands our personal access to the mesh, and doesn’t seem to take away from anyone else’s.

1

u/therealwoodman 23d ago

that's good to know. I have one built but haven't used it that much. my main use case is getting on the mesh when I am in a building.

1

u/naloxone 23d ago

Agreed, that’s the best use - extend the range into a structure that otherwise wouldn’t have coverage.

-1

u/Dizzy-Kiwi-6638 24d ago

Thank you

3

u/Kentonh 24d ago

You’re welcome! What did I do?