Welcome, Guest
You have to register before you can post on our site.



Search Forums

(Advanced Search)

Forum Statistics
» Members: 424
» Latest member: ferrim
» Forum threads: 416
» Forum posts: 2,127

Full Statistics

Latest Threads
Automate Provisioning for...
Forum: Software
Last Post: Armin@netPI
Yesterday, 03:46 PM
» Replies: 2
» Views: 25
System software V1.2.2.0 ...
Forum: News
Last Post: Armin@netPI
November-26th-2020, 04:25 PM
» Replies: 0
» Views: 44
NIOT-E-NPIX-4DI4DO with n...
Forum: Software
Last Post: zen89
November-25th-2020, 01:06 PM
» Replies: 3
» Views: 272
NIOT-E-NPI3-EN Excessive ...
Forum: Hardware
Last Post: Armin@netPI
November-25th-2020, 07:35 AM
» Replies: 11
» Views: 246
missing the menu items fr...
Forum: Software
Last Post: Armin@netPI
November-20th-2020, 07:41 AM
» Replies: 5
» Views: 175
UL certificate
Forum: Hardware
Last Post: MGharat
November-19th-2020, 11:41 AM
» Replies: 2
» Views: 68
Forum: Hardware
Last Post: Armin@netPI
November-19th-2020, 07:06 AM
» Replies: 1
» Views: 64
NPIX-4DI4DO and NetPi-Nod...
Forum: Software
Last Post: alhammi
November-16th-2020, 01:35 PM
» Replies: 4
» Views: 251
Profinet name lost after ...
Forum: Software
Last Post: Armin@netPI
November-16th-2020, 01:07 PM
» Replies: 7
» Views: 209
Get host MAC via REST API...
Forum: Software
Last Post: bschandra
November-16th-2020, 09:26 AM
» Replies: 4
» Views: 309

  netpi raspberry
Posted by: Hochschulstudent - August-12th-2020, 01:40 PM - Forum: Software - Replies (1)

Ich möchte einen Himbeer-Pi-Container auf dem Netpi erstellen
Wie konfiguriere ich es so, dass ich von einem anderen Host gehört kann kann?
Die Einstellungen von Dockerhub Funktionen nicht

  netPI Desktop java
Posted by: Hochschulstudent - August-12th-2020, 12:25 PM - Forum: Software - Replies (13)

Guten Tag, 

Ich möchte eine Java-Anwendung auf dem Dekstop Hdmi netPi oder Raspberry Pi ausführen.
Das Bild herunterladen: hilschernetpi / netpi-desktop-hdmi funktioniert einwandfrei. Die Konfiguration lautet: Netzwerk -> Bridge 
Portzuweisung: 1099: 1099 und 8080: 8080.

Java wurde über sudo apt install default-jdk installiert.
Eine JAR-Datei ist zu behandeln, auf ihrer letzten ein Agent auf Port 1099 und ein Webdienst auf 8080.

Dieser Agent kann jedoch nicht über Port 1099 kommunizieren.

Bilder im Anhang.

Attached Files Thumbnail(s)

  linux bridge eth0 and cifx0
Posted by: carmel85 - August-11th-2020, 12:56 PM - Forum: Software - Replies (3)


I'm trying to setup a linux bridge (brctl) between eth0 and cifx0 using the following setup:

brctl addbr br0

brctl addif br0 eth0
brctl addif br0 cfix0

PCs connected to eth0 and cfix0 are able to communicate with the netPI - but traffic across the bridge does not seem to be forwarded correctly (in either direction).

Is the cifx0 capable of being part of a linux bridge?
Are there and specific settings need to be applied to the cfix0 device for the bridge to be operational?


  RoHS addendum to EC declaration of conformity
Posted by: Armin@netPI - August-10th-2020, 08:21 AM - Forum: Hardware - No Replies

The RoHS directive 2011/65/EU was changed by directive 2015/863/EU.

This makes an addendum to netPI's "EC declaration of Conformity" paper necessary available in the download section here.

netPI RTE 3 addendum:

.pdf   1321.428_NIOT-E-NPI3-51-EN-RE_ROHS3_EN.pdf (Size: 234.07 KB / Downloads: 3)

netPI CORE 3 addendum:

.pdf   1321.438_NIOT-E-NPI3-EN_ROHS3_EN.pdf (Size: 233.31 KB / Downloads: 4)

  Converter from TCP/IP to ProfiNet
Posted by: WalterSchaefer - August-4th-2020, 10:22 PM - Forum: Projects - Replies (8)

We are beginners and need  help to start.

  1. We have a measurement card which sends the processed data over TCP\IP to RPI3 with Win 10 IoT Core. We would like to connect the measurement card over ProfiNet to an external controller. In our case, it is a robotic arm.
  2. We are planning to use NIOT-E-TIB 100-GB-RE or NIOT-E-NPI3-51-EN-RE. We want to run an application on NIOT-E-TIB 100-GB-RE or NIOT-E-NPI3-51-EN-RE. The application must receive requests from the controller over ProfiNet and send it over TCP/IP to the measurement card. The measurement card sends the data to  NIOT-E-TIB 100-GB-RE or NIOT-E-NPI3-51-EN-RE over TCP/IP and the data will be forward to the controller over Profinet.
Is it possible? 
What is better NIOT-E-TIB 100-GB-RE or NIOT-E-NPI3-51-EN-RE?
Is there any adapter for that?
Do you have a simulation software, to simulate the controller?

  Network issues after upgrading to Stretch + kernel to 5.4
Posted by: carmel85 - July-28th-2020, 12:38 PM - Forum: Software - Replies (2)

Recently we purchased NetPi3 (model: NIOT-E-NPI3-51-EN-RE) for evaluation.
we have our project working on RPI3 with Jessie image. (our Jessie image seems to work fine on NetPi.)
today I tried to use our new upgraded image ( Stretch + Kernel 5.4) on NetPi
but network interfaces failed
here are steps for upgrade:

  1. Update
  2. Upgrade
  3. Dist-upgrade
  4. Rpi-updtae (updates Kernel)
  5. Switch to Stretch
  6. Update
  7. Upgrade
  8. Dist-upgrade (or full-upgrade) – this is not working well, it removes our internal "SA" service and more. this mechanism is also removing packeges/services as opposed to “upgrade”
    1. So I did not performed it
  9. Rpi-updtae (for Kernel)
  10. Kernel version now is 5.4.51
Unfortunately After I inserted SD with Stretch (+new Kernel) into NetPi
It had network issue: LAN + Wifi interfaces could not be up.
attached screenshots.

Any idea why network stopped working on NetPi? (on RPI 3 it works fine with same image)


Attached Files Thumbnail(s)

  Send Data to Specific Port via UDP
Posted by: Hoeber - July-28th-2020, 09:58 AM - Forum: Projects - Replies (2)


I connected the netPi RTE 3 to a Raspberry Pi 3 B+ via LAN. I switched off DHCP and assigned a fixed IP address.
In order to send data to the netPI, I want to use UDP with Node-RED. I noticed, that Armin already posted the default UDP-Ports that the netPI listens to (see below), but I want the Port to be 9323. For this, I built up a Flow addressing the local IP of the netPI on Port 9323.
The "Listening"-Flow is running on the netPI and the "Sending"-Flow is running on the Raspberry Pi (See attachment).

The connection between them seems to be woking since I am able to Ping the netPi-IP-Address. But when I try to send messages to the mentioned Port 9323 nothing happens. Do I have to change some settings in the netPI's UI to allow listening to other Ports as well or is there another mistake I made?

Many thanks in advance,


(February-9th-2018, 01:36 PM)Armin@netPI Wrote: By default netPI listens to the following ports:

  • Port 80,nginx -> web server / reverse proxy
  • Port 443,nginx -> web server / reverse proxy
  • Port 49152, upnpd -> UPnP daemon
  • 123,ntpd -> Network Time Protocol daemon
  • 137,nbnsd -> Netbios Name Service
  • 1900, upnpd -> UPnP daemon
  • 5353, avahi-daemon -> Zeroconf
  • 60843, avahi-daemon -> Zeroconf temporary port
  • 36517, avahi-daemon -> Zeroconf temporary port
  • 41429, dnsmasq -> DNS proxy temporary port

Attached Files
.txt   Flow_netPI.txt (Size: 427 bytes / Downloads: 1)
.txt   Flow_RaspPi.txt (Size: 1.18 KB / Downloads: 0)

  PROFINET to OPC UA data conversion with Node-RED
Posted by: Armin@netPI - July-7th-2020, 12:20 PM - Forum: Projects - No Replies

I personally checked a data conversion from PROFINET to OPC UA and vice versa using Node-RED on netPI RTE 3 successfully.

First I was loading a Node-RED container onto my netPI from here https://hub.docker.com/r/hilschernetpi/netpi-nodered. At least the version tag 1.5.6 is needed.

This Node-RED versions contains on one hand a fieldbus node that turns netPI's netX network controller into a PROFINET device. On the other hand it contains an OPC UA server node that can be addressed across port 53880 via any client.

I developed a simple Node-RED flow that creates two OPC UA objects "Inputs" and Outputs" of data type "string" and size of 2 bytes for each the data from/to PROFINET shall get exchange across on OPC UA side.

[{"id":"4489596a.516928","type":"OpcUa-Server","z":"bf08491e.4ddf1","port":"53880","name":"OPC-UA Server","endpoint":"UA/SimpleNodeRedServer","x":1120,"y":260,"wires":[["10d54ef6.e0f8a9"]]},{"id":"8123b078.34d418","type":"inject","z":"bf08491e.4ddf1","name":"Data string","topic":"","payload":"Hello World","payloadType":"str","repeat":"","crontab":"","once":false,"onceDelay":"","x":220,"y":420,"wires":[["c2559406.92e0b"]]},{"id":"8aba729c.24dae","type":"status","z":"bf08491e.4ddf1","name":"Get OPC UA server status","scope":["4489596a.516928"],"x":270,"y":120,"wires":[["cfbd0cca.68f4c8"]]},{"id":"cfbd0cca.68f4c8","type":"switch","z":"bf08491e.4ddf1","name":"If running -> continue","property":"status.fill","propertyType":"msg","rules":[{"t":"eq","v":"green","vt":"str"}],"checkall":"true","repair":false,"outputs":1,"x":660,"y":120,"wires":[["a292296a.862468","dabbc6c8.72862"]]},{"id":"f6c11eb7.173e38","type":"change","z":"bf08491e.4ddf1","name":"Command \"addVariable\"","rules":[{"t":"set","p":"payload","pt":"msg","to":"{ \"opcuaCommand\": \"addVariable\" }","tot":"json"}],"action":"","property":"","from":"","to":"","reg":false,"x":670,"y":260,"wires":[["4489596a.516928"]]},{"id":"a292296a.862468","type":"change","z":"bf08491e.4ddf1","name":"Add \"Inputs\" variable","rules":[{"t":"set","p":"topic","pt":"msg","to":"ns=1;s=Inputs;datatype=String","tot":"str"}],"action":"","property":"","from":"","to":"","reg":false,"x":260,"y":240,"wires":[["f6c11eb7.173e38"]]},{"id":"933612fe.e2fb58","type":"comment","z":"bf08491e.4ddf1","name":"Check OPC UA server status","info":"","x":200,"y":60,"wires":[]},{"id":"9ba5bd0d.da3648","type":"comment","z":"bf08491e.4ddf1","name":"Add input and output buffer to OPC UA server","info":"","x":250,"y":180,"wires":[]},{"id":"88b215a0.e3cda8","type":"comment","z":"bf08491e.4ddf1","name":"Inject Inputs manually","info":"","x":180,"y":360,"wires":[]},{"id":"3676aa42.e7c55e","type":"comment","z":"bf08491e.4ddf1","name":"PROFIBUS inputs to OPC UA server","info":"","x":220,"y":480,"wires":[]},{"id":"dabbc6c8.72862","type":"change","z":"bf08491e.4ddf1","name":"Add \"Outputs\" variable","rules":[{"t":"set","p":"topic","pt":"msg","to":"ns=1;s=Outputs;datatype=String","tot":"str"}],"action":"","property":"","from":"","to":"","reg":false,"x":260,"y":300,"wires":[["f6c11eb7.173e38"]]},{"id":"c2559406.92e0b","type":"change","z":"bf08491e.4ddf1","name":"Add variable name \"Inputs\"","rules":[{"t":"set","p":"topic","pt":"msg","to":"Inputs","tot":"str"}],"action":"","property":"","from":"","to":"","reg":false,"x":660,"y":420,"wires":[["b9696001.48685"]]},{"id":"6a96c8f3.ddc1c8","type":"change","z":"bf08491e.4ddf1","name":"Add variable name \"Inputs\"","rules":[{"t":"set","p":"topic","pt":"msg","to":"Inputs","tot":"str"}],"action":"","property":"","from":"","to":"","reg":false,"x":660,"y":540,"wires":[["d52aa695.c840a8"]]},{"id":"b9696001.48685","type":"change","z":"bf08491e.4ddf1","name":"To JSON","rules":[{"t":"set","p":"payload","pt":"msg","to":"{ \"messageType\" : \"Variable\", \"variableName\": msg.topic, \"variableValue\": msg.payload }","tot":"jsonata"}],"action":"","property":"","from":"","to":"","reg":false,"x":900,"y":420,"wires":[["4489596a.516928"]]},{"id":"d52aa695.c840a8","type":"change","z":"bf08491e.4ddf1","name":"To JSON","rules":[{"t":"set","p":"payload","pt":"msg","to":"{ \"messageType\" : \"Variable\", \"variableName\": msg.topic, \"variableValue\": msg.payload }","tot":"jsonata"}],"action":"","property":"","from":"","to":"","reg":false,"x":900,"y":540,"wires":[["4489596a.516928"]]},{"id":"1b409600.aa19f2","type":"comment","z":"bf08491e.4ddf1","name":"OPC UA server to PROFIBUS outputs","info":"","x":230,"y":620,"wires":[]},{"id":"10d54ef6.e0f8a9","type":"switch","z":"bf08491e.4ddf1","name":"\"Outputs\"?","property":"payload.variableName","propertyType":"msg","rules":[{"t":"eq","v":"Outputs","vt":"str"}],"checkall":"true","repair":false,"outputs":1,"x":210,"y":700,"wires":[["f3cc4f4a.30ef08"]]},{"id":"f3cc4f4a.30ef08","type":"function","z":"bf08491e.4ddf1","name":"string to array","func":"msg.payload.value = [];\n\nfor (let i=0; i < msg.payload.variableValue.length; i++) {\n    msg.payload.value[i] = msg.payload.variableValue.charCodeAt(i);\n}\n\ndelete msg.payload.variableValue;\ndelete msg.payload.variableName;\ndelete msg.payload.messageType;\n\nreturn msg;","outputs":1,"noerr":0,"x":420,"y":700,"wires":[["6943568d.333558"]]},{"id":"e6483c51.702b58","type":"fieldbus in","z":"bf08491e.4ddf1","name":"PROFINET IO","FieldbusNodeVersion":"1.2.7","WrapperVersion":"1.2.8","WrapperCompileDate":"Feb 18 2020/14:33:18","MinExpectedNodeJSVersion":"12.13.1","ActNodeJSVersion":"12.18.1","ActNodeREDVersion":"1.0.6","selectedSignalPath":"input~receive_001~Sig_1","fieldbusObj":"b5082b22.f82568","x":210,"y":540,"wires":[["c2fd56f0.52b8f"]]},{"id":"6943568d.333558","type":"fieldbus out","z":"bf08491e.4ddf1","name":"PROFINET IO","FieldbusNodeVersion":"1.2.7","WrapperVersion":"1.2.8","WrapperCompileDate":"Feb 18 2020/14:33:18","MinExpectedNodeJSVersion":"12.13.1","ActNodeJSVersion":"12.18.1","ActNodeREDVersion":"1.0.6","selectedSignalPath":"output~send_001~Sig_1","fieldbusObj":"b5082b22.f82568","x":620,"y":700,"wires":[]},{"id":"c2fd56f0.52b8f","type":"function","z":"bf08491e.4ddf1","name":"array to string","func":"msg.payload = Buffer.from(msg.payload.value);\nmsg.payload = msg.payload.toString();\nreturn msg;","outputs":1,"noerr":0,"x":420,"y":540,"wires":[["6a96c8f3.ddc1c8"]]},{"id":"b5082b22.f82568","type":"fieldbus interface","z":"","availableStackName":"PROFINET IO Device (version 3.12, build 0 revision 2): cifX0","interfaceComponents":"{\"fwName\":\"PROFINET IO Device\",\"boardName\":\"cifX0\",\"fwVersionMajor\":3,\"fwVersionMinor\":12,\"fwVersionBuild\":0,\"fwVersionRev\":2,\"prtName\":\"PROFINET IO\",\"className\":\"Device\",\"prtClassNumber\":21,\"commClassNumber\":10,\"channelNumber\":2,\"deviceNumber\":7660120,\"serialNumber\":21947}","clearOutputsOnDeploy":false,"traceFilePath":"/root/.node-red/node-fieldbus.log","traceLevelWrapper":"wrapper","traceLevelNode":"node"}]

Import this flow for own tests with copy and paste across your clipboard and insert it via the Node-RED embedded "import" function. Before it runs fine you need to double click one of the PROFINET nodes and select "open" to open the Fieldbus configuration web page and configure "2 send bytes" and "2 receive bytes" in exactly that order and click Project "save". Then you can deploy the flow.

Please to not forget to give the new netPI PROFINET device a name over Ethernet using tools supporting the DCP protocol that is explained here what it is: https://profinetuniversity.com/naming-ad...finet-dcp/. The default name is "niotenpi351gbenre" and stated in the GSDML file that can be download in the fieldbus configrator as well.

As counterpart on OPC UA side I was using a free OPC UA client from company Unified Automation that everybody can download from here after registration: https://www.unified-automation.com/downl...ients.html

Since the OPC UA server node does not send the user a message when it is finished initializing, I am using a "status" node as a trick to get triggered when the status of the OPC UA node changes to "green" in order to have an indication when the objects "Inputs" and "Outputs" can be created. If you are not wating creating such objects will fail!

Because the OPC UA server node just supports the data type "string" as only object that is of type array I am using that one to exchange data from/to PROFINET.

Have fun.

  connecting a microphone via USB
Posted by: tad - July-6th-2020, 06:53 AM - Forum: Software - Replies (16)

Dear Armin,

To run a container application which is developed on commercial raspberry pi, I need to map a microphone via USB port.
I think a directory '/dev/snd' must be mounted when creating a new container on netPI.

But,  the attached failure message appears when deployed.
Is there any solution to activate the microphone device?

Thank you very much for your support.
Best regards,

Attached Files Thumbnail(s)

  DHCP server not working
Posted by: m-yoshikawa - June-22nd-2020, 01:59 AM - Forum: Software - Replies (20)

Dear all experts,

I am using netpi with firmware virsion V1.2.0.0.
I want to use netpi as a access point with a dhcp server.
Since, I changed netpi's wifi settings as the attached picture.
For a short time, it works well.

However, after a particular reboot, the dhcp server does not works.
A client(Windows machine) can connect to netpi through wifi, but no ip adresses are assigned.

It can recover by resetting netpi's wifi configuration by pushing "Save changes" button.
However, after a while, the problem occurs again after a reboot.

For your information, the followings are dnsmasq error messages in syslog. 

<30>1 2020-06-19T02:46:40+00:00 NTB827EBE916A2 NetworkManager 953 - - dnsmasq: failed to create listening socket for Cannot assign requested address
<26>1 2020-06-19T02:46:40+00:00 NTB827EBE916A2 dnsmasq 1745 - - failed to create listening socket for Cannot assign requested address
<26>1 2020-06-19T02:46:40+00:00 NTB827EBE916A2 dnsmasq 1745 - - FAILED to start up
<4>1 2020-06-19T02:46:40+00:00 NTB827EBE916A2 NetworkManager 953 - - <warn>  [1592534800.5257] dnsmasq[0x22ebcd8]: dnsmasq exited with error: Network access problem (address in use, permissions) (2)

I want to know the cause of this problem and how can I avoid it.

Best regards.