Hi there,
I just bought an arduino Yun and started playing with the temboo functions.
To start with I simply tried to send an email whenever a pir sensor detect movements and this works just fine.
As soon as I start to use the Bridge functions Temboo start returning me error messages such as:
"A Step Error has occurred: "An input error has occurred. MessageBody, Password, Subject, ToAddress, and Username are required.". The error occurred in the Stop (Stop) step."
or
Error
(-c) missing choreo ID.
HTTP_CODE
000
This is the piece of code that I'm using to read via Rest a value and store it to a file, if I remove this code everything works fine.
I can't figure out why this happen, anyone could help me please? In attachment the full code.
Thanks!
/*
Checks if a label has been specified via webservices and stores it on a configuration file
If a label has not been specified, it retrieves the last on from the configuration file
*/
Bridge.get("label", lbuffer, 256);
if (String(lbuffer).length() > 0 && label != String(lbuffer)){
label = String(lbuffer);
File settings = FileSystem.open(settings_file, FILE_WRITE);
settings.print(label);
settings.close();
}
sketch_mar22b.ino (3.37 KB)