Hello sir, I've managed to find the errors for future people who is gonna try and redo this experiment.
http://wirebeings.com/arduino-intruder-alarm.html
First the it needs the #include <TembooYunShield.h> header.
next I replaced TembooChoreo SendSMSChoreo(which is probably deprecated) into TembooYunShieldChoreo SendSMSChoreo;
also I've tried tampering with the E:\arduino\arduino-1.8.8\libraries\Temboo file, replacing it with the Temboo android java then bringing back the 1.2.1 Temboo file. Since, I can't make the greater than version 2 of temboo work Download :: Temboo.
There are some weird problems notification (but no longer an "error" - since it uploads to the arduino uno or arduino leonardo with the iduino yun board - but a notification error?). That I failed to fix, but the alarm is going in the serial monitor.
I'm still trying to fix the twilio functionality. It keeps saying error 400 connection lost.
ERRORS:
E:\arduino\arduino-1.8.8\libraries\Temboo\src\Temboo.cpp: In member function 'int TembooChoreo::run(IPAddress, uint16_t, uint16_t)':
E:\arduino\arduino-1.8.8\libraries\Temboo\src\Temboo.cpp:309:52: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings]
if (!m_client.findUntil("HTTP/1.", HTTP_EOL)) {
^
E:\arduino\arduino-1.8.8\libraries\Temboo\src\Temboo.cpp:329:62: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings]
if (m_client.findUntil("x-temboo-time:", HTTP_EOH)) {
^
e:/arduino/arduino-1.8.8/hardware/tools/avr/bin/../lib/gcc/avr/5.4.0/../../../../avr/bin/ld.exe: Console.cpp.o: plugin needed to handle lto object
e:/arduino/arduino-1.8.8/hardware/tools/avr/bin/../lib/gcc/avr/5.4.0/../../../../avr/bin/ld.exe: Mailbox.cpp.o: plugin needed to handle lto object
Sketch uses 11634 bytes (40%) of program storage space. Maximum is 28672 bytes.
Global variables use 917 bytes (35%) of dynamic memory, leaving 1643 bytes for local variables. Maximum is 2560 bytes.
intruderAlarmTest.ino (2.46 KB)