Node-RED + fram nodes
Made for netPI RTE 3, the Open Edge Connectivity Ecosystem with Real-Time Ethernet
Debian with Node-RED and fram nodes for ferroelectric random access memory access
The image provided hereunder deploys a container with installed Debian, Node-RED and fram nodes to communicate with the onboard ferroelectric random access memory.
Base of this image builds the latest version of debian:jessie with installed Internet of Things flow-based programming web-tool Node-RED and two extra nodes fram read and fram write providing access to netPI's 8kByte FRAM FM24CL64B.
To allow the access to the Node-RED programming over a web browser the container TCP port
1880 needs to be exposed to the host.
To grant access to the FRAM from inside the container the
/dev/i2c-1 host device needs to be added to the container.
STEP 1. Open netPI's landing page under
https://<netpi's ip address>.
STEP 2. Click the Docker tile to open the Portainer.io Docker management user interface.
STEP 3. Enter the following parameters under Containers > Add Container
Host "1880" (any unused one) -> Container "1880"
Restart policy" :
Runtime > Devices > add device:
Host "/dev/i2c-1" -> Container "/dev/i2c-1"
STEP 4. Press the button Actions > Start container
Pulling the image from Docker Hub may take up to 5 minutes.
After starting the container open Node-RED in your browser with
http://<netpi's ip address>:<mapped host port> e.g.
http://192.168.0.1:1880. Two extra nodes fram read and fram write in the nodes library provides you random access to netPI's FRAM. Their info tabs in Node-RED explain how to use them.
- hilscher/netPI-nodered-fram:latest - non-versioned latest development output of the master branch. Can run on any netPI RTE 3 system software version.