Public | Automated Build

Last pushed: 2 months ago
Short Description
Debian(jessie) with Node-RED and FRAM node for netPI
Full Description

netPI

Industrialized Raspberry Pi for Custom Automation Projects

For platform details read on here.

The image - Debian(jessie) with Node-RED and FRAM node

Base of this image builds a tagged 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.

Container prerequisites

Port mapping

To grant access to the Node-RED porgramming tool in the container its used port 1880 needs to be mapped to a free netPI host port.

Host device

To grant access to the FRAM from inside the container netPI's i2c-1 host device needs to be exposed to the container.

Getting started

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

  • Image: hilschernetpi/netpi-nodered-fram

  • Port mapping: Host "1880" (any unused one) -> Container "1880"

  • Restart policy" : always

  • 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.

Accessing

After starting the container open Node-RED in your browser with http://<netPI 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.

GitHub sources

The image is built from the GitHub project netPI-nodered-fram. It complies with the Dockerfile method to build a Docker image automated.

To allow building ARM containers on x86 platforms under Dockerhub the Dockerfile uses the method described here resin.io.

References:

Hilscher Gesellschaft für Systemautomation mbH www.hilscher.com

Docker Pull Command
Owner
hilschernetpi
Source Repository

Comments (0)