Runs the Nefit Easy HTTP server in a Docker container for easy deploying.
Build (or use the prebuild image on Docker Hub)
docker build -t trafex/nefiteasy-http-server .
docker run -d -p 3000:3000 \
-e "NEFIT_SERIAL_NUMBER=<serial number>" \
-e "NEFIT_ACCESS_KEY=<accesskey>" \
-e "NEFIT_PASSWORD=<password>" \
trafex/nefiteasy-http-server
See the List of endpoints and prefix the urls with /bridge
:
curl http://localhost:3000/bridge/ecus/rrc/uiStatus
Or use the higher-level commands API, prefixed with /api
:
curl http://127.0.0.1:3000/api/status
Communicating with the Nefit Easy is done with the Nefit Easy™ HTTP server package.