Geekzone: technology news, blogs, forums
Guest
Welcome Guest.
You haven't logged in yet. If you don't have an account you can register now.


View this topic in a long page with up to 500 replies per page Create new topic
1 | 2 | 3 | 4 | 5 | 6 | 7 | 8
mentalinc
3384 posts

Uber Geek
+1 received by user: 1023

Trusted

  #3205281 11-Mar-2024 10:15
Send private message quote this post

Wow that map provides very accurate looking location data!




CPU: AMD 5900x | RAM: GSKILL Trident Z Neo RGB F4-3600C16D-32GTZNC-32-GB | MB:  Asus X570-E | GFX: EVGA FTW3 Ultra RTX 3080Ti| Monitor: LG 27GL850-B 2560x1440

 

Quic: https://account.quic.nz/refer/473833 R473833EQKIBX 




scottjpalmer

6032 posts

Uber Geek
+1 received by user: 790

Moderator
ID Verified
Trusted
Lifetime subscriber

  #3205287 11-Mar-2024 10:26
Send private message quote this post

mentalinc: Wow that map provides very accurate looking location data!


This might be stating the obvious for some . . . if the device has a GPS it will use that otherwise you can set a manual location in the config. Some people do that to avoid revealing the accurate location however you can't tell which is which from the map.

rp1790
751 posts

Ultimate Geek
+1 received by user: 177

Lifetime subscriber

  #3205289 11-Mar-2024 10:30
Send private message quote this post

scottjpalmer: Good to see https://meshmap.net getting more populated.

The relatively new Meshtastic NZ Facebook group is growing fast and getting some interesting posts and discussions.

A domain has been registered https://meshtastic.co.nz I'm sure the owner would be happy to take your suggestions on what you would like to see there. I can pass them on until contact details appear.

 

I still haven't been able to work out how to configure my Rakwirless kit to update the map, I'm in Titahi Bay.  Any tips on the config?




scottjpalmer

6032 posts

Uber Geek
+1 received by user: 790

Moderator
ID Verified
Trusted
Lifetime subscriber

  #3205294 11-Mar-2024 11:05
Send private message quote this post

rp1790:

scottjpalmer: Good to see https://meshmap.net getting more populated.

The relatively new Meshtastic NZ Facebook group is growing fast and getting some interesting posts and discussions.

A domain has been registered https://meshtastic.co.nz I'm sure the owner would be happy to take your suggestions on what you would like to see there. I can pass them on until contact details appear.


I still haven't been able to work out how to configure my Rakwirless kit to update the map, I'm in Titahi Bay.  Any tips on the config?



My guess is because the common RAK meshtastic devices don't have wifi they can't do the required MQTT stuff standalone unlike the devices which have wifi. Unless you have the ethernet adaptor. See here.https://meshtastic.org/docs/software/integrations/mqtt/#basic-configuration

If you take your device for a drive and get it up a bit higher, once it connects to the mesh which is through Wellington CBD and the Hutt then it will appear on the map. We're working on getting the mesh over the hills your way ;-)

scottjpalmer

6032 posts

Uber Geek
+1 received by user: 790

Moderator
ID Verified
Trusted
Lifetime subscriber

  #3225211 1-May-2024 20:41
Send private message quote this post

As a summary of my learnings with Meshtastic . . .

There are 2 main hardware (chip) choices. You can buy from Aliexpress or direct from the manufacturer. I have found the latter to be the cheaper option however with RAKwireless in particular a group buy helps dilute the shipping cost.

The most popular choice is an ESP32 based board from Heltec or Lilygo. These are the cheaper option and have both WiFi and Bluetooth but consume considerably more power. A Lilygo T-Beam is the common choice from them or a Heltec V3 of some flavour, either with or without screen, is the go to there. You want to be getting the SX1262 based options, newer and better.

The ability to connect the above boards to a network via WiFi enables MQTT to be used to upload data to web based maps such as https://meshtastic.liamcottle.net. MQTT also allows bridging to other nodes however this is often frowned upon as external traffic can quickly overwhelm the mesh and one of the main aims of Meshtastic is to be an off grid communication system.

The other popular choice is the nRF52840 based RAK4631 from RAKwireless. This is then mounted to either the standard base board if you want lots of expansion options or the mini one if you want to minimise the footprint. The power consumption of this chip is far far lower making it more suitable for solar powered nodes.

The frequency band in use in New Zealand is called ANZ in the Meshtastic firmware. This is 915.125Mhz through to 927.875MHz. There is a handy calculator here which details the various radio settings. The default channel is Channel 20 LongFast, this is the place to establish communications with other users in your area. You can add other channels later if you want.

To get started you simply flash the firmware using https://flasher.meshtastic.org, install the app on your phone and then add the device using the app. On Android at least, don’t pair the device using the phone Bluetooth menu, you have to use the app (in my experience). Set the region to ANZ and give your node a personalised name if you want and you’re good to go!

Dreamerz
52 posts

Master Geek
+1 received by user: 21


  #3231428 16-May-2024 17:56
Send private message quote this post

I should probably look at Geekzone more often.

 

I have been involved with Meshtastic from a few months after its founding that previous record was mine. I have a fair few nodes and have done some design EDA design work on some custom boards using various microcontrollers.

 

Hawkes Bay anyone want to link up let me know I have all the hardware and even a few possible repeater locations.

 

I have mostly messed around with 865mhz stuff but its exactly the same hardware (aside from the antenna) for most of the SX1262 modules and premade dev boards. (we can use 864mhz-868mhz for LoRa here too) 

 

Worth noting as well we are fortunate here to have very relaxed (in comparison to most other countries) rules around our output power and duty cycle

 

https://rrf.rsm.govt.nz/ui/licence/radio/view/238648

 

 

 

The amount of hours of passion that has gone into this project by all the community volunteers from around the world is really quite something they are all really great people.


 
 
 
 

Shop now for Lego sets and other gifts (affiliate link).

znx

znx
2 posts

Wannabe Geek


  #3256159 4-Jul-2024 09:08
Send private message quote this post

Hey, perhaps a noob question from someone that does not have much experience with radio comms but is a programmer... I know that in order for messages to be sent and received, a packet exchange is necessary between two devices, through one or more nodes. I never used Meshtastic, so maybe some of these answers will be obvious to you, but I was wondering if it would be at all possible to use it to enable HTTP protocol in a specific node to host web pages that other devices could access in some sort of "private internet" or "intranet" if you will. Does anyone know if that would be possible using the current version of the firmware? Does it allocate IPs to each one of the devices connected?

 

In my opinion, having information hosted through a service like Kiwix to enable access to Wikipedia and other informational resources in an emergency situation would be great value to the network.


scottjpalmer

6032 posts

Uber Geek
+1 received by user: 790

Moderator
ID Verified
Trusted
Lifetime subscriber

  #3256177 4-Jul-2024 09:26
Send private message quote this post

Short answer, no. It only supports basic text messaging and telemetry.

Erayd
45 posts

Geek
+1 received by user: 10


  #3256182 4-Jul-2024 09:42
Send private message quote this post

znx:

I was wondering if it would be at all possible to use it to enable HTTP protocol in a specific node to host web pages that other devices could access in some sort of "private internet" or "intranet" if you will. Does anyone know if that would be possible using the current version of the firmware?



No. Meshtastic is not an IP network; you cannot do this with any version of the meshtastic firmware. While it is technically possible to tunnel IP over the top of meshtastic, the nature of the network makes it essentially unusable for anything but the most basic of services - HTTP is simply far too large. By default, meshtastic is limited to approx 100 BYTES per second of throughout, shared among all devices in the local area. As it's a simplex mesh, packet repeats also need to fit into that 100B/s. It also has extremely high latency; RTT across a large mesh can be several minutes.

Meshtastic is best used for very small, independent packets that are not latency-sensitive, and aren't trying to provide interactive service.

Does it allocate IPs to each one of the devices connected?



No. Meshtastic is not an IP network; it does not use IP addresses at all.

While something like Kiwix-served-Wikipedia would indeed be a valuable resource, meshtastic isn't the place for it - it simply isn't practical unfortunately.

richms
29099 posts

Uber Geek
+1 received by user: 10210

Trusted
Lifetime subscriber

  #3256183 4-Jul-2024 09:46
Send private message quote this post

Its far too slow for IP over it. Would be like dialup, but worse because its a party line.

 

Message packets are fully received by a node before it sends them on. There is not exchanges of them, you either get the packet, and rebroadcast it with the counter decrimented, or you dont get it. IP would be a constant stream of packets and just cause collisions. Not to say that there isn't IP over Lora done by someone, but its a terrible idea unless it was all pre-configured UDP stuff where you were not wasting many timeslots before you even got around to sending your actual message. You would not want to do a mesh with IP over something so collision prone and slow as Lora.





Richard rich.ms

znx

znx
2 posts

Wannabe Geek


  #3256187 4-Jul-2024 10:11
Send private message quote this post

Yeah, it makes sense.


 
 
 

Shop on-line at New World now for your groceries (affiliate link).
JimmyK
6 posts

Wannabe Geek
+1 received by user: 1


  #3268403 5-Aug-2024 18:04
Send private message quote this post

I wonder if any of the folk here more up with the meshtastic play than I can offer some wisdom on the initial setup?

I'm just playing around with some old TTGO Lora V1 boards (I know these are having support phased out) while I wait for some newer V2 boards to arrive. I can get them to talk to each other up here, but to date haven't once seen any messages pop up from other users. I'm up in Hawkes Bay so that could be because there aren't many people within range of me, but i've even tried enabling one of them to talk mqtt and don't see anything in the messages from there either when I was sort of expecting to be so flooded with messages that the thing would crash.

 

I have basically set almost everything to be the defaults - so i'm wondering if there's some base config needed that isn't detailed in the getting started guides (perhaps because some of the settings are specific to the region?). I've now tried changing the name of the Primary channel from blank to 'LongFast' but still not seeing anything show up though watching the mqtt server with a desktop app (MQTT Explorer) I can see new messages showing up in that topic so would have thought they might show up on one of my devices :)

Anybody got any detailed guide or advice on what I might be missing?


Erayd
45 posts

Geek
+1 received by user: 10


  #3268404 5-Aug-2024 18:08
Send private message quote this post

Which region did you set? It should be ANZ (not NZ_865) to ensure you're in the right band. The frequency slot should be 20 (aka 919.875MHz), which will be the default unless you messed with the channel order or renamed LongFast to something else. If you did, then you'll need to manually set the frequency slot back to 20.


JimmyK
6 posts

Wannabe Geek
+1 received by user: 1


  #3268409 5-Aug-2024 18:56
Send private message quote this post

Wow, thanks for replying so quickly!

I have set ANZ as the region, but I left everything else as it was on both of the nodes I have - one I access with the built-in web client, the other with the iOS app & bluetooth.

 

In the LoRa settings it shows Frequency Slot 0, in the web client it has no other comment, but on the iOS client it notes "if set to 0 this value will be calculated automatically based on the primary channel name." Both of them are using the modem preset Long Fast.

 

As far as the channel goes - on both this came up by default labelled as Primary, but neither of them were named so I set the name "LongFast" on each to see if that would help get messages to arrive.

 

Anyway, given your note about the frequency slot I guess i'll try setting that to 20 on both and see what happens. Would this impact whether the node sees MQTT delivered messages as well as LoRa ones?


Erayd
45 posts

Geek
+1 received by user: 10


  #3268414 5-Aug-2024 19:11
Send private message quote this post

For most config fields in meshtastic, if you set them to zero (for numeric fields) or empty (for string fields), they will use the default. For the ANZ region, that is frequency slot 20, and primary channel name according to the modem preset (so for the LONG_FAST modem preset - which is also the default - the default channel name is LongFast). Note that the iOS app may mask the channel name.

Those settings don't affect MQTT, but the firmware version will. Which version are you running on those devices currently? Note that there have been some recent changes to MQTT topics that will prevent some versions from seeing each other.

Which root topic have you configured for MQTT?

Do you know whether there are any other devices with decent line of sight to your location?

The frequency slot should not affect MQTT.

1 | 2 | 3 | 4 | 5 | 6 | 7 | 8
View this topic in a long page with up to 500 replies per page Create new topic








Geekzone Live »

Try automatic live updates from Geekzone directly in your browser, without refreshing the page, with Geekzone Live now.



Are you subscribed to our RSS feed? You can download the latest headlines and summaries from our stories directly to your computer or smartphone by using a feed reader.