December-12th-2019, 02:43 PM
Hello Martin,
your option with the SD card copy will not work. Each image is personalized for each netPI. So an image from one netPI will not start on any other, since netPI CPU chip has a different MAC-Address and CPU serial number and the values are checked during boot times against the ones found on the image.
But there another way to do it. You have to use
a.) netPI's RestFul API from your remote application - so it is a simple https request - to do the very same handling as you do manually in your web browser like login, password, time setup, enable docker. We discusses this topic already here https://forum.hilscher.com/Thread-Managi...ns-1-1-4-0
b.) User the RestFul API of portainer Web-UI for docker to deploy the containers. We discussed this topic already here https://forum.hilscher.com/Thread-netPI-...s-V1-1-4-0
If you want to debug the RestFul API right aways with your present netPI for a quick check then use your web-browser e.g. firefox and you can visualize all telegrams the browser is sending/receiving to/from netPI if you active the "web developer" menu item and then watch the network traffic recorded. If your remote application would now send/receive the very same telegrams you can do everything what the browser does controlled by your clicks with your application instead.
Thx
Armin
your option with the SD card copy will not work. Each image is personalized for each netPI. So an image from one netPI will not start on any other, since netPI CPU chip has a different MAC-Address and CPU serial number and the values are checked during boot times against the ones found on the image.
But there another way to do it. You have to use
a.) netPI's RestFul API from your remote application - so it is a simple https request - to do the very same handling as you do manually in your web browser like login, password, time setup, enable docker. We discusses this topic already here https://forum.hilscher.com/Thread-Managi...ns-1-1-4-0
b.) User the RestFul API of portainer Web-UI for docker to deploy the containers. We discussed this topic already here https://forum.hilscher.com/Thread-netPI-...s-V1-1-4-0
If you want to debug the RestFul API right aways with your present netPI for a quick check then use your web-browser e.g. firefox and you can visualize all telegrams the browser is sending/receiving to/from netPI if you active the "web developer" menu item and then watch the network traffic recorded. If your remote application would now send/receive the very same telegrams you can do everything what the browser does controlled by your clicks with your application instead.
Thx
Armin
„You never fail until you stop trying.“, Albert Einstein (1879 - 1955)