OpenHausIO / connector

Connector between backend & local network
MIT License
1 stars 2 forks source link

Set options for raw socket #50

Open mStirner opened 6 months ago

mStirner commented 6 months ago

Currenlty the connector cant handle raw sockets. https://www.npmjs.com/package/raw-socket Set options to work with raw sockets. (Even with sudo, the spawend worker cant open raw socket),

Workaround:

sudo node bridge.js --upstream=ws://127.0.0.1:8080/api/devices/663bafddbdeed6806c63c3d7/interfaces/663bafddbdeed6806c63c3d8 --socket=raw --host=192.168.2.1 --port=1