May-20th-2020, 10:13 AM
Hello Armin,
now the work is almost done:
Now, where are 2 points left, to get ready-to-show:
Do you have a good idea to deal with this?
CU,
Carsten
Solved!!!
I have added my scripts in the entrypoint shell script.
Now the missing GPIO PIN 17 is rewritten on every boot and my service is started headless.
Many many thanks to Armin for your big support, endurance and patience!!!!
now the work is almost done:
- The netPI is running in Docker
- Node.js + needed modules installed
- OPC/UA-Server is running
- MODBUS-RTU connection to Mitsubishi FX PLC controller is up
- Data interchange is running, the data-format from Mitsubishi is a little bit confusing
- Node-Script can be started as service
Now, where are 2 points left, to get ready-to-show:
- after reboot, the export of GPIO-PIN-17 got lost
A litte shell-script fixes this
pin17.sh.txt (Size: 274 bytes / Downloads: 2)
But this is a little bit silly - Script should start automatically at startup, but this fials.
I adapted a wild-card script for init.d. This works on the console but not at startup.Maybe, because the GPIO PIN 17 is missing?Script prototype:
amadaserver.txt (Size: 2.06 KB / Downloads: 2) installing service:
installservice.sh.txt (Size: 182 bytes / Downloads: 1)
Do you have a good idea to deal with this?
CU,
Carsten
Solved!!!
I have added my scripts in the entrypoint shell script.
Now the missing GPIO PIN 17 is rewritten on every boot and my service is started headless.
Many many thanks to Armin for your big support, endurance and patience!!!!