tailcall
I literally have just started my first nerves project and thought it would be nice to get the observer up and running on the node.
I have run ‘ssh -X nerves.local’ to get to the node and that takes me to the node with the X forwarding configured.
The observer doesn’t start as it is not recognised.
(UndefinedFunctionError) function :observer.start/0 is undefined (module :observer is not available)
Can this be included in my firmware? No obvious web searches have found a solution.
Trending in Questions
I’m working on a project that simulates the bumbl example in the programming phoenix book. It acts almost like an email client. We have a...
New
Hello,
I know there is an approach for handling lists that allows for optimized traversal, but I can’t recall the specific method (somet...
New
I’m seeing that a list inside a Kino.DataTable will be interpreted as a charlist, even if the Kino.configure() is set to charlists: :as_l...
New
So my question is quite simple and i have found no conclusive answer on forum, google or AI.
Should we use :erlang.float for Integer to ...
New
Hi, I’ve just set up an application with ash_authentication. There is only magic link strategy for now, so there is no confirmation add o...
New
Documentation
While reading the Scoped Routes section, I noticed that the documentation currently refers to a problem without explainin...
New
If a change or preparation module uses Ash.Changeset.get_argument/2 or Ash.Query.get_argument/2 (or any of the other get_argument functio...
New
Other Trending Topics
I am happy to introduce the very α version of the new programming language compiled to BEAM.
Welcome Cure.
It has literally three kille...
New
Hi there! We created Gust: A task orchestrator inspired by Airflow.
For those who have never heard about Aiflow, it’s a Python-based wor...
New
Beam Bots (or just BB for short) is a framework for building fault-tolerant robotics applications in Elixir using familiar OTP patterns. ...
New
Xamal is a deployment tool for Elixir apps that deploys native releases to bare metal servers over SSH. It’s a port of GitHub - basecamp/...
New
Corex is an accessible, unstyled UI component library for Phoenix that integrates Zag.js state machines using Vanilla JavaScript and Live...
New
With AI doing more of the implementation work, I’ve been wondering how much coding I should deliberately keep doing myself.
My main conc...
New
Categories:
Sub Categories:
Forums
Popular Tags
- #ecto
- #liveview
- #troubleshooting
- #learning-elixir
- #library
- #deployment
- #erlang
- #testing
- #genserver
- #mix
- #absinthe
- #remote-other
- #otp
- #plug
- #how-to-question
- #macros
- #postgres
- #elixirconf
- #channels
- #exunit
- #discussion
- #code-sync
- #podcasts
- #javascript
- #onsite
- #dialyzer
- #docker
- #authentication
- #umbrella
- #full-time-contract
- #podcasts-by-brainlid
- #ecto-query
- #ai
- #elixirconf-us
- #blog-post
- #elixir-ls
- #phoenix_html
- #iex
- #graphql
- #genstage
- #websockets
- #supervisor
- #advent-of-code
- #distillery
- #processes
- #api
- #forms
- #hex
- #security
- #metaprogramming











Showing Posts 1 to 2- Show Best Posts
- Show All (oldest first)
- Show All (newest first)
fhunleth
Observer uses a GUI framework called Wx, and Wx doesn’t crosscompile. That means it’s unavailable for use on a Nerves device.
The good news is that Observer also works via Erlang distribution. This is a better way in almost all respects since the GUI runs directly on your laptop. Erlang distribution isn’t started by default. There are many ways of doing this, but I think the one described in the
nerves_packdocs is good for one-off uses.First,
sshinto the device and run the following:Then on your laptop, start
iexand:observer:You should see an Observer window. Go to the Nodes menu, then Connect Node. Connect to
nerves.local. If all goes well, you should see the CPU count and “compiled for” change change. Observer is now getting all of its data from the device.A note on
nerves.local: This is one of the mDNS names that Nerves devices advertise by default. If you typehostnameon the device or explore the network with an mDNS browser, you can see the other one. On my device, it’snerves-19d1.local. If you have multiple Nerves devices, you can no longer usenerves.local. Some people have trouble with mDNS and use IP addresses for Erlang distribution. The key is to make sure that the name that you use on the device (nerves@nerves.localornerves@nerves-19d1.localoranything@an.ip.add.ress) matches what you use in the Observer UI since if you don’t, you’ll get an error (probably a pang) and it might not be obvious what to do.tailcall
Many thanks for this detailed answer.