Replies: 3 comments 1 reply
-
Just as curiosity, how could you match the TCP part? As in my case I have even difficulties to match a MAC address. |
Beta Was this translation helpful? Give feedback.
-
Some of my RAK boards only report the vid and pod of the serial finish chip that is on them over serial AFAIK. Same as would be seen from arduino ide. If through BLE there must be some way to fingerprint Meshtastic devices. Through usb or usb-serial you might have to poke for whatever is standard on Meshtastic flashed boards. Like trying to read Meshtastic settings maybe? |
Beta Was this translation helpful? Give feedback.
-
I ended up collecting hwids from https://github.com/meshtastic/firmware/tree/master/boards Actually opening a connection as part of the discovery and trying read out something settings to make sure that it is actually a meshtastic device felt a bit risky. The protocol requires you to send something first on the serial, so in worst case you end up writing some data to an unknown device that might trigger unexpected things on that device. |
Beta Was this translation helpful? Give feedback.
-
Hi, I'm working on meshtastic home assistant integration and already have auto discovery for TCP (zeroconf) and bluetooth and would also like to add support for serial as well. Home assistant allows to auto discover based on USB vendor and product ID as well matching against manufacturer & description. Does anybody have an idea if there is already such a database or how to best build one?
I only have a small collection of devices and did look around a bit, seems like some devices use generic product / vendor ID from e.g. espressif, but have description that can be used to match, so in general it should be doable. Vendor and Product however will probably not be enough in all cases though.
I think the information from the most popular devices could be a good start as well.
Beta Was this translation helpful? Give feedback.
All reactions