axelclark
All of the Lights - Nerves, GrovePi, Phoenix, React-Native
I have a Nerves poncho project to control my living room lamp. The lamp is connected to a GrovePi relay switch which I spliced into an extension cord. The switch is connected to a RaspberryPi running Nerves & Phoenix. You turn the lamp on and off using Phoenix channels through a web browser. The project is called All of the Lights. I recently updated it to Nerves 1.0 ![]()
The project uses the grovepi library which allows you to use the GrovePi+ with Elixir.
I have also been learning React-Native lately, so I added a mobile app to connect to the RaspberryPi running Phoenix via channels.
The project has three folders:
- lights_ui (Phoenix)
- lights_firmware (Nerves)
- mobile_lights (React-Native)
It’s a fun little project people may be interested in checking out.
Axel
Most Liked
GregMefford
Nice work! Thanks for sharing! ![]()
tmecklem
That looks like a fun project!
Popular in Discussions
Other popular topics
Categories:
Sub Categories:
Forums
Popular Tags
- #ecto
- #liveview
- #troubleshooting
- #learning-elixir
- #deployment
- #library
- #erlang
- #testing
- #genserver
- #mix
- #absinthe
- #remote-other
- #otp
- #plug
- #how-to-question
- #macros
- #postgres
- #channels
- #elixirconf
- #exunit
- #discussion
- #code-sync
- #javascript
- #podcasts
- #onsite
- #dialyzer
- #docker
- #authentication
- #umbrella
- #full-time-contract
- #podcasts-by-brainlid
- #ecto-query
- #elixir-ls
- #phoenix_html
- #iex
- #blog-post
- #graphql
- #genstage
- #ai
- #websockets
- #supervisor
- #advent-of-code
- #elixirconf-us
- #distillery
- #processes
- #forms
- #api
- #metaprogramming
- #security
- #performance









