wago / cc100-serial-communication Goto Github PK
View Code? Open in Web Editor NEWThis repository shows how the serial interface of the CC100 can be integrated into a Docker container (Node-RED)
This repository shows how the serial interface of the CC100 can be integrated into a Docker container (Node-RED)
Hi ,
i have installed Docker on my cc100 an it runs very well, thank you for the tutorial.
My issue is when i reboot the CC100 i have to start the Docker deamon via console " /etc/init.d/dockerd start "
How can i run them automaticly ?
regards
Hello,
Here is an issue I had (and still have):
In any Docker container which use nodejs and the prebuild node-serialport may give the user a "segmentation fault" error with a hard crash of the container.
This seem to be known to happen with the prebuild binaries of node-serialport v10.x.0 (I haven't tested with the latest one at this time v10.5.0).
In case you have the same problem, here is a possible fix:
I you don't have Portainer:
Login in the CC100 with SSH then go to elevated user by using the command su -
Then use the command docker exec -ti --user root <containername> /bin/bash
to open the container console as root.
If you have Portainer, use it to log in the container console in root.
In the container console, go to the node-red data folder cd /data/
Execute the command npm rebuild --build-from-source
This will rebuild the serial node from source to the specific of the CC100 system.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.