Skip to content

Experimental way of automatically clustering Nerves devices with Erlang distribution.

Notifications You must be signed in to change notification settings

lawik/nerves_node

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

NervesNode

Experimental repository used for automatically connecting Nerves devices into an Erlang cluster using MdnsLite.

You can rip anything you want from this but don't use it for production stuff as is. It is literally the fastest thing I could get working.

Setup

Each Nerves device needs the mdns_lite bridge configuration.

This library handles this part plus making queries and using the responses.

Each device needs to be on the same network.

I added this as a path dependency but you could use a github dependency as well (in your mix.exs).

In my supervision tree:

{NervesNode, cookie: :myniceseecretcookie}

At the time of writing, this repo had a working setup for a Pi400 with an HDMI backpack.

About

Experimental way of automatically clustering Nerves devices with Erlang distribution.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages