krambox / mqtt-knx Goto Github PK
View Code? Open in Web Editor NEWKNX to MQTT Bridge
License: Other
KNX to MQTT Bridge
License: Other
When i try to start the application i got an error that the config.yml file is missing.
but i don't see anything in your readme about a config file.
./knx2mqtt.js -h 172.16.20.176
fs.js:436
return binding.open(pathModule._makeLong(path), stringToFlags(flags), mode);
^
Error: ENOENT, no such file or directory '/etc/knx-mqtt/config.yml'
at Object.fs.openSync (fs.js:436:18)
at Object.fs.readFileSync (fs.js:290:15)
at read (/etc/knx-mqtt/node_modules/node-yaml-config/lib/node-yaml-config.js:28:27)
at Object.load (/etc/knx-mqtt/node_modules/node-yaml-config/lib/node-yaml-config.js:48:12)
at Object.<anonymous> (/etc/knx-mqtt/knx2mqtt.js:7:26)
at Module._compile (module.js:456:26)
at Object.Module._extensions..js (module.js:474:10)
at Module.load (module.js:356:32)
at Function.Module._load (module.js:312:12)
at Function.Module.runMain (module.js:497:10)
Hello I followed your instructions in the readme.
But when i start it with : sudo ./mqtt-knx.js -m localhost -e 192.168.101.19 -p 3671
Following error occurs:
`
//mqtt-knx-master/node_modules/eibd/lib/connection.js:189
self.socket.write(buf, callback);
^
TypeError: Cannot read property 'write' of undefined
at Connection.sendRequest (/mqtt-knx-master/node_modules/eibd/lib/connection.js:189:14)
at Connection.openGroupSocket (/mqtt-knx-master/node_modules/eibd/lib/connection.js:84:8)
at /mqtt-knx-master/mqtt-knx.js:51:14
at Connection.socketRemote (/mqtt-knx-master/node_modules/eibd/lib/connection.js:28:7)
at Object. (/mqtt-knx-master/mqtt-knx.js:50:10)
at Module._compile (module.js:541:32)
at Object.Module._extensions..js (module.js:550:10)
at Module.load (module.js:458:32)
at tryModuleLoad (module.js:417:12)
at Function.Module._load (module.js:409:3)`
is there any solution?
i came in trouble with the start command:
your first example: ./mqtt-knx.js -b -h -p
a line under this example you describe the options and so i used also the command:
./mqtt-knx.js -m localhost -e 192.168.101.19 -p 3671
instead of -b for the broker -m
instead of -h for the KNX host -e
i hope you know a answer!
i can reach the KNX network only over the setting tunnel/unicast and not routing/multicast in node-red ... If you know this great IoT tool
Best regards
Max
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.