Hi,
You first need to register all the probe with the application.
Then, grab credentials for your account.
You will be able to make PUT request only on registered probes.
We will soon publish a complete application example using a Raspberry Pi !
Best,
Jerome
that sounds great for me too and comes at the right time, thx a lot!
So will your example contain the use of Bluetooth- and Web-API or just one of them?
When do you think you could publish the example for the rasberry.
It would be great for my watering system in the garden :0)
I hope soon ;0) because the summer here is over in a few weeks
module.js:340
throw err;
^
Error: Cannot find module './index’
at Function.Module._resolveFilename (module.js:338:15)
at Function.Module._load (module.js:280:25)
at Module.require (module.js:364:17)
at require (module.js:380:17)
at Object. (/home/pi/FlowerPower-Tools/BLE-cloud-bridge/app.js:4:19)
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)
Now has this:
login error: premature end-of-file
login error: invalid credentials: code=undefined results=undefined
getGarden: premature end-of-file
/home/pi/FlowerPower-Tools/BLE-cloud-bridge/app.js:102
var uuid1 = tabSensors[a].toLowerCase();
^
ReferenceError: a is not defined
at discoUuid (/home/pi/FlowerPower-Tools/BLE-cloud-bridge/app.js:102:31)
at async.series.loop1 (/home/pi/FlowerPower-Tools/BLE-cloud-bridge/app.js:117:4)
at /home/pi/node_modules/async/lib/async.js:763:21
at /home/pi/node_modules/async/lib/async.js:391:17
at iterate (/home/pi/node_modules/async/lib/async.js:181:13)
at /home/pi/node_modules/async/lib/async.js:192:25
at /home/pi/node_modules/async/lib/async.js:393:21
at /home/pi/node_modules/async/lib/async.js:768:34
at /home/pi/FlowerPower-Tools/BLE-cloud-bridge/app.js:87:9
at /home/pi/node_modules/node-flower-power-cloud/flower-power-cloud.js:157:26