| Name | Websocket Ingress |
| Version | v1.0.0 |
| Dockerhub Link | beetaone/websocket-ingress |
| Authors | Mesud Pasic |
The module should connect to Websocket endpoint and listen for incoming messages. Then forward the payload to next module in beetaone appropriate JSON format.
| Environment Variables | type | Description |
|---|---|---|
| WEBSOCKET_URL | string | URL of websocket |
| Environment Variables | type | Description |
|---|---|---|
| MODULE_NAME | string | Name of the module |
| INGRESS_HOST | string | Host where app is running |
| INGRESS_PORT | string | Port where app is running |
{
"cmd": "rx",
"seqno": 2091,
"EUI": "24DD24538B444729",
"ts": 1658752736930,
"fcnt": 847,
"port": 85,
"freq": 868500000,
"rssi": -17,
"snr": 8,
"toa": 56,
"dr": "SF7 BW125 4/5",
"ack": false,
"bat": 254,
"offline": false,
"data": "017564030001045555"
}
{
"timestamp":1659608431851,
"data":{
"cmd": "rx",
"seqno": 2091,
"EUI": "24DD24538B444729",
"ts": 1658752736930,
"fcnt": 847,
"port": 85,
"freq": 868500000,
"rssi": -17,
"snr": 8,
"toa": 56,
"dr": "SF7 BW125 4/5",
"ack": false,
"bat": 254,
"offline": false,
"data": "017564030001045555"
}
}
"dependencies": {
"body-parser": "^1.19.2",
"express": "^4.17.3",
"express-winston": "^4.2.0",
"node-fetch": "^2.6.1",
"winston": "^3.6.0",
"ws": "^8.8.1"
}
Content type
Image
Digest
sha256:a5fde1601…
Size
85.9 MB
Last updated
almost 2 years ago
docker pull beetaone/websocket-ingress:v1.0.0