Switched to fs.readFileSync for reading from file
Switched to fs.readFileSync for reading from file

Due to fs.readFile working asynchronously, (sporadically) OWFS was updating the file while main.js was reading it over several cycles resulting in corrupted results. For the function "read from file" (e.g. /mnt/1-wire) I have switched the code to fs.readFileSync resulting in stable readings.
ioBroker/ioBroker.owfs,ioBroker/ioBroker.owfs