I found a nice JS library w1temp library which could be used in JS scripts on raspberry pi. So there is no need for bash, perl or other scripts and parsing data from outputs.
My simple code for read 1 sensor:
var blynkLib = require('blynk-library');
var W1Temp = require('w1temp');
var AUTH = 'HERE_COMES_YOUR_TOKEN';
// Setup Blynk (SSL)
var blynk = new blynkLib.Blynk(AUTH);
// Automatically update sensors value every 5 minutes
setInterval(function() {
W1Temp.getSensor('28-0000045c34f2').then(function (sensor) {
// print actual temperature
var temp = sensor.getTemperature();
console.log('Actual temp:', temp, '°C');
//Report it to server
blynk.virtualWrite(0, temp);
});
}, 50000);
THX to kolarcz