←back to thread

770 points ananddtyagi | 4 comments | | HN request time: 1.002s | source
Show context
syntaxing ◴[] No.44485489[source]
Whoa this is really neat. I’ve been trying to get into Meshtastic but it’s hard to convince others when you need special hardware. Would be super neat if Apple did something similar. Shouldn’t be too hard since the AirTags use the same idea?

Would also be neat if there was a way to build a LoRA proxy to extend the range. I might give this a try with my meshtastic devices.

replies(7): >>44485571 #>>44485745 #>>44486004 #>>44487096 #>>44487667 #>>44488123 #>>44498072 #
1. eternityforest ◴[] No.44485571[source]
I'm working on a project that uses the same kind of idea as the Bluetooth tracking tags.

It's an Arduino library for mesh networking, that works over BLE and UDP, but it can also link to MQTT.

An MQTT node routes the packets it sees to the appropriate topics, and subscribes to topics for all the channels local nodes want, so you should be able to talk to anyone anywhere via the gateway.

The packet destination addresses are rolling codes, so you can't tell if someone's online just by watching their channel, at least not for more than an hour.

And there's a web app that talks directly to the public MQTT broker, and it can do chat and sensor data.

All payloads are Messagepack to make it easy to add new data types, and all packets are encrypted, authenticated, and timestamped to provide a bit of replay protection.

Everything is purely symmetric crypto, trust is left to a higher layer or something out of band, so you there's no handshakes or connection state management overhead, aside from one announce packet per hour to make the MQTT gateways work.

No LoRa, but the transports are modular and pluggable so you can easily add them. I just only have one LoRa Arduino node here so I haven't bothered writing a driver.

I'm also working on a Python port for easy pip-installable bots and home automation stuff.

https://github.com/EternityForest/LazyMesh#

replies(1): >>44485611 #
2. syntaxing ◴[] No.44485611[source]
Super interesting! Leaving the transport layer as modular is definitely a great choice! I like the idea of MQTT because there’s a lot of methods of serving it. I’ve been in the middle of setting up a meshtastic MQTT mode to try it out.
replies(1): >>44485702 #
3. eternityforest ◴[] No.44485702[source]
I was originally going to do OpenDHT, but that would have required building and paying to host a proxy backed for the web app.

I wonder what other transports you could do, like 38khz IR through a telescope?

replies(1): >>44485958 #
4. syntaxing ◴[] No.44485958{3}[source]
Any line of sight stuff can be tough. Another one is standard 433 radio but difficult since its such a noisy environment.