May-6th-2020, 12:12 PM
Hi Carsten,
well the box has Node-RED preinstalled and Docker as only two software components you can use. You say you can't go further with Node-RED, so the only possibility to load additional software onto the box using Docker and Containers. So if you want to have your own "thoughts" in the box you can extend it yourself. There is no such thing like OPC-UA preinstalled on the box.
I am not a node.js developer so I don't know how to do it the best. From a Linux shell I found this link on google https://nodejs.org/en/docs/guides/debugg...g-started/. But what I have seen also that one of colleague using Visual Studio Code along with Raspberry Pi applications to debug from remote. There are several links on the internet such as this one explaining how to proceed: https://medium.com/@equus3144/install-vs...895a9aff6f
The most practical way to develop own software and to check is is to buy a $20 compatible Raspberry Pi 3B with Raspbian OS on it and install node.js and all its debug capabilities.
If you then think of the NIOT-E-TPI51 device that is supporting Docker as only possibility to load additional software on it ... then it turn it would be good to continue node.js developments on original Raspberry Pi but under Docker.
To install Docker on Raspberry Pi follow this link https://www.raspberrypi.org/blog/docker-...pberry-pi/. And then afterwards load a Raspbian OS container onto your Raspberry Pi 3B using the command
After the container is deployed on your Raspberry Pi then you can "jump" into it using the command
Then you can make developments in the container and test the "feeling" and have im mind that this container and everything you do in it will later work on NIOT-E-TPI device the same.
If you want to use the TPI device directly for developments and tests then I recommand to load the very same container hilschernetpi/netpi-raspbian onto your TPI51 device and access it over an SSH channel. Here is how to deploy this container on TPI to get it started: https://registry.hub.docker.com/r/hilsch...-raspbian/
Thx
Armin
well the box has Node-RED preinstalled and Docker as only two software components you can use. You say you can't go further with Node-RED, so the only possibility to load additional software onto the box using Docker and Containers. So if you want to have your own "thoughts" in the box you can extend it yourself. There is no such thing like OPC-UA preinstalled on the box.
I am not a node.js developer so I don't know how to do it the best. From a Linux shell I found this link on google https://nodejs.org/en/docs/guides/debugg...g-started/. But what I have seen also that one of colleague using Visual Studio Code along with Raspberry Pi applications to debug from remote. There are several links on the internet such as this one explaining how to proceed: https://medium.com/@equus3144/install-vs...895a9aff6f
The most practical way to develop own software and to check is is to buy a $20 compatible Raspberry Pi 3B with Raspbian OS on it and install node.js and all its debug capabilities.
If you then think of the NIOT-E-TPI51 device that is supporting Docker as only possibility to load additional software on it ... then it turn it would be good to continue node.js developments on original Raspberry Pi but under Docker.
To install Docker on Raspberry Pi follow this link https://www.raspberrypi.org/blog/docker-...pberry-pi/. And then afterwards load a Raspbian OS container onto your Raspberry Pi 3B using the command
Code:
docker run -d --privileged --network=host --restart=always --name=raspbian hilschernetpi/netpi-raspbian
After the container is deployed on your Raspberry Pi then you can "jump" into it using the command
Code:
docker exec -it raspbian /bin/bash
Then you can make developments in the container and test the "feeling" and have im mind that this container and everything you do in it will later work on NIOT-E-TPI device the same.
If you want to use the TPI device directly for developments and tests then I recommand to load the very same container hilschernetpi/netpi-raspbian onto your TPI51 device and access it over an SSH channel. Here is how to deploy this container on TPI to get it started: https://registry.hub.docker.com/r/hilsch...-raspbian/
Thx
Armin
„You never fail until you stop trying.“, Albert Einstein (1879 - 1955)