Closed tj2000bch closed 3 years ago
Hi @tj2000bch,
Did you also try the script with a new firmware?
I have not tried with the latest firmware.
Are you using Linux or Mac?
Hi @Sandeepmistry
I’m using Linux. Bat now I have deleted the following part of the script and it works again.
/* function(callback) { console.log('readFriendlyName'); flowerPower.readFriendlyName(function(error, friendlyName) { console.log('\tfriendly name = ' + friendlyName);
console.log('writeFriendlyName');
flowerPower.writeFriendlyName(friendlyName, callback);
});
},
*/
/* function(callback) { console.log('readCalibratedEa'); flowerPower.readCalibratedEa(function(error, ea) { console.log('calibrated EA = ' + ea.toFixed(2));
callback();
});
},
function(callback) {
console.log('readCalibratedEcb');
flowerPower.readCalibratedEcb(function(error, ecb) {
console.log('calibrated ECB = ' + ecb.toFixed(2) + ' dS/m');
callback();
});
},
function(callback) {
console.log('readCalibratedEcPorous');
flowerPower.readCalibratedEcPorous(function(error, ecPorous) {
console.log('calibrated EC porous = ' + ecPorous.toFixed(2) + ' dS/m');
callback();
});
},
*/
Ok, seems like a reasonable workaround.
Thank you for the correction
Hi all,
I try to make it working on Rpi3 but I only get
connectAndSetup
disconnected!
with no info. I also tryed to remove the above parts of the script, with no success. Anyone would have an idea of how to make it good again?
Thx!
Hi Sandeepmistry After I updatet the "flower power" to the version v.2.0.3 the script does not get all information. Did you also try the script with a new firmware?
Regards, Tobi
connectAndSetup readSystemId system id = a0:14:3d:00:00:84:xx:xx readSerialNumber serial number = PI040298ADxxxxxxx����� readFirmwareRevision firmware revision = 2016-09-14_hawaii-2.0.3_hardware-config-MP readHardwareRevision hardware revision = 2013-07-26_hawaiiProduction-1.2_protoDV-bootloader readManufacturerName manufacturer name = Parrot readBatteryLevel battery level = 39 readFriendlyName friendly name = Flower power 86xx� writeFriendlyName disconnected!