File tree 31 files changed +32
-32
lines changed
adafruitio_03_multiple_feeds
adafruitio_05_type_conversion
adafruitio_07_digital_out
adafruitio_10_dashboard_creation
adafruitio_15_temp_humidity
adafruitio_17_time_subscribe
adafruitio_18_device_info
adafruitio_20_shared_feed_write
adafruitio_22_environmental_monitor
adafruitio_25_schedule_trigger
31 files changed +32
-32
lines changed Original file line number Diff line number Diff line change 30
30
// #define USE_WINC1500
31
31
32
32
// uncomment the following line if you are using mrk1010 or nano 33 iot
33
- //#define ARDUINO_SAMD_MKR1010
33
+ // #define ARDUINO_SAMD_MKR1010
34
34
35
35
// comment out the following lines if you are using fona or ethernet
36
36
#include "AdafruitIO_WiFi.h"
Original file line number Diff line number Diff line change 30
30
// #define USE_WINC1500
31
31
32
32
// uncomment the following line if you are using mrk1010 or nano 33 iot
33
- //#define ARDUINO_SAMD_MKR1010
33
+ // #define ARDUINO_SAMD_MKR1010
34
34
35
35
// comment out the following lines if you are using fona or ethernet
36
36
#include "AdafruitIO_WiFi.h"
Original file line number Diff line number Diff line change 28
28
// #define USE_WINC1500
29
29
30
30
// uncomment the following line if you are using mrk1010 or nano 33 iot
31
- //#define ARDUINO_SAMD_MKR1010
31
+ // #define ARDUINO_SAMD_MKR1010
32
32
33
33
// comment out the following lines if you are using fona or ethernet
34
34
#include "AdafruitIO_WiFi.h"
Original file line number Diff line number Diff line change 30
30
// #define USE_WINC1500
31
31
32
32
// uncomment the following line if you are using mrk1010 or nano 33 iot
33
- //#define ARDUINO_SAMD_MKR1010
33
+ // #define ARDUINO_SAMD_MKR1010
34
34
35
35
// comment out the following lines if you are using fona or ethernet
36
36
#include "AdafruitIO_WiFi.h"
Original file line number Diff line number Diff line change 30
30
// #define USE_WINC1500
31
31
32
32
// uncomment the following line if you are using mrk1010 or nano 33 iot
33
- //#define ARDUINO_SAMD_MKR1010
33
+ // #define ARDUINO_SAMD_MKR1010
34
34
35
35
// comment out the following lines if you are using fona or ethernet
36
36
#include "AdafruitIO_WiFi.h"
Original file line number Diff line number Diff line change 30
30
// #define USE_WINC1500
31
31
32
32
// uncomment the following line if you are using mrk1010 or nano 33 iot
33
- //#define ARDUINO_SAMD_MKR1010
33
+ // #define ARDUINO_SAMD_MKR1010
34
34
35
35
// comment out the following lines if you are using fona or ethernet
36
36
#include "AdafruitIO_WiFi.h"
Original file line number Diff line number Diff line change 30
30
// #define USE_WINC1500
31
31
32
32
// uncomment the following line if you are using mrk1010 or nano 33 iot
33
- //#define ARDUINO_SAMD_MKR1010
33
+ // #define ARDUINO_SAMD_MKR1010
34
34
35
35
// comment out the following lines if you are using fona or ethernet
36
36
#include "AdafruitIO_WiFi.h"
Original file line number Diff line number Diff line change 30
30
// #define USE_WINC1500
31
31
32
32
// uncomment the following line if you are using mrk1010 or nano 33 iot
33
- //#define ARDUINO_SAMD_MKR1010
33
+ // #define ARDUINO_SAMD_MKR1010
34
34
35
35
// comment out the following lines if you are using fona or ethernet
36
36
#include "AdafruitIO_WiFi.h"
Original file line number Diff line number Diff line change 30
30
// #define USE_WINC1500
31
31
32
32
// uncomment the following line if you are using mrk1010 or nano 33 iot
33
- //#define ARDUINO_SAMD_MKR1010
33
+ // #define ARDUINO_SAMD_MKR1010
34
34
35
35
// comment out the following lines if you are using fona or ethernet
36
36
#include "AdafruitIO_WiFi.h"
Original file line number Diff line number Diff line change 30
30
// #define USE_WINC1500
31
31
32
32
// uncomment the following line if you are using mrk1010 or nano 33 iot
33
- //#define ARDUINO_SAMD_MKR1010
33
+ // #define ARDUINO_SAMD_MKR1010
34
34
35
35
// comment out the following lines if you are using fona or ethernet
36
36
#include "AdafruitIO_WiFi.h"
Original file line number Diff line number Diff line change 30
30
// #define USE_WINC1500
31
31
32
32
// uncomment the following line if you are using mrk1010 or nano 33 iot
33
- //#define ARDUINO_SAMD_MKR1010
33
+ // #define ARDUINO_SAMD_MKR1010
34
34
35
35
// comment out the following lines if you are using fona or ethernet
36
36
#include "AdafruitIO_WiFi.h"
Original file line number Diff line number Diff line change 30
30
// #define USE_WINC1500
31
31
32
32
// uncomment the following line if you are using mrk1010 or nano 33 iot
33
- //#define ARDUINO_SAMD_MKR1010
33
+ // #define ARDUINO_SAMD_MKR1010
34
34
35
35
// comment out the following lines if you are using fona or ethernet
36
36
#include "AdafruitIO_WiFi.h"
Original file line number Diff line number Diff line change 30
30
// #define USE_WINC1500
31
31
32
32
// uncomment the following line if you are using mrk1010 or nano 33 iot
33
- //#define ARDUINO_SAMD_MKR1010
33
+ // #define ARDUINO_SAMD_MKR1010
34
34
35
35
// comment out the following lines if you are using fona or ethernet
36
36
#include "AdafruitIO_WiFi.h"
Original file line number Diff line number Diff line change 30
30
// #define USE_WINC1500
31
31
32
32
// uncomment the following line if you are using mrk1010 or nano 33 iot
33
- //#define ARDUINO_SAMD_MKR1010
33
+ // #define ARDUINO_SAMD_MKR1010
34
34
35
35
// comment out the following lines if you are using fona or ethernet
36
36
#include "AdafruitIO_WiFi.h"
Original file line number Diff line number Diff line change 30
30
// #define USE_WINC1500
31
31
32
32
// uncomment the following line if you are using mrk1010 or nano 33 iot
33
- //#define ARDUINO_SAMD_MKR1010
33
+ // #define ARDUINO_SAMD_MKR1010
34
34
35
35
// comment out the following lines if you are using fona or ethernet
36
36
#include "AdafruitIO_WiFi.h"
Original file line number Diff line number Diff line change 30
30
// #define USE_WINC1500
31
31
32
32
// uncomment the following line if you are using mrk1010 or nano 33 iot
33
- //#define ARDUINO_SAMD_MKR1010
33
+ // #define ARDUINO_SAMD_MKR1010
34
34
35
35
// comment out the following lines if you are using fona or ethernet
36
36
#include "AdafruitIO_WiFi.h"
Original file line number Diff line number Diff line change 30
30
// #define USE_WINC1500
31
31
32
32
// uncomment the following line if you are using mrk1010 or nano 33 iot
33
- //#define ARDUINO_SAMD_MKR1010
33
+ // #define ARDUINO_SAMD_MKR1010
34
34
35
35
// comment out the following lines if you are using fona or ethernet
36
36
#include "AdafruitIO_WiFi.h"
Original file line number Diff line number Diff line change 30
30
// #define USE_WINC1500
31
31
32
32
// uncomment the following line if you are using mrk1010 or nano 33 iot
33
- //#define ARDUINO_SAMD_MKR1010
33
+ // #define ARDUINO_SAMD_MKR1010
34
34
35
35
// comment out the following lines if you are using fona or ethernet
36
36
#include "AdafruitIO_WiFi.h"
Original file line number Diff line number Diff line change 30
30
// #define USE_WINC1500
31
31
32
32
// uncomment the following line if you are using mrk1010 or nano 33 iot
33
- //#define ARDUINO_SAMD_MKR1010
33
+ // #define ARDUINO_SAMD_MKR1010
34
34
35
35
// comment out the following lines if you are using fona or ethernet
36
36
#include "AdafruitIO_WiFi.h"
Original file line number Diff line number Diff line change 30
30
// #define USE_WINC1500
31
31
32
32
// uncomment the following line if you are using mrk1010 or nano 33 iot
33
- //#define ARDUINO_SAMD_MKR1010
33
+ // #define ARDUINO_SAMD_MKR1010
34
34
35
35
// comment out the following lines if you are using fona or ethernet
36
36
#include "AdafruitIO_WiFi.h"
Original file line number Diff line number Diff line change 30
30
// #define USE_WINC1500
31
31
32
32
// uncomment the following line if you are using mrk1010 or nano 33 iot
33
- //#define ARDUINO_SAMD_MKR1010
33
+ // #define ARDUINO_SAMD_MKR1010
34
34
35
35
// comment out the following lines if you are using fona or ethernet
36
36
#include "AdafruitIO_WiFi.h"
Original file line number Diff line number Diff line change 30
30
// #define USE_WINC1500
31
31
32
32
// uncomment the following line if you are using mrk1010 or nano 33 iot
33
- //#define ARDUINO_SAMD_MKR1010
33
+ // #define ARDUINO_SAMD_MKR1010
34
34
35
35
// comment out the following lines if you are using fona or ethernet
36
36
#include "AdafruitIO_WiFi.h"
Original file line number Diff line number Diff line change 30
30
// #define USE_WINC1500
31
31
32
32
// uncomment the following line if you are using mrk1010 or nano 33 iot
33
- //#define ARDUINO_SAMD_MKR1010
33
+ // #define ARDUINO_SAMD_MKR1010
34
34
35
35
// comment out the following lines if you are using fona or ethernet
36
36
#include "AdafruitIO_WiFi.h"
Original file line number Diff line number Diff line change 28
28
// #define USE_WINC1500
29
29
30
30
// uncomment the following line if you are using mrk1010 or nano 33 iot
31
- //#define ARDUINO_SAMD_MKR1010
31
+ // #define ARDUINO_SAMD_MKR1010
32
32
33
33
// comment out the following lines if you are using fona or ethernet
34
34
#include "AdafruitIO_WiFi.h"
Original file line number Diff line number Diff line change 30
30
// #define USE_WINC1500
31
31
32
32
// uncomment the following line if you are using mrk1010 or nano 33 iot
33
- //#define ARDUINO_SAMD_MKR1010
33
+ // #define ARDUINO_SAMD_MKR1010
34
34
35
35
// comment out the following lines if you are using fona or ethernet
36
36
#include "AdafruitIO_WiFi.h"
Original file line number Diff line number Diff line change @@ -80,12 +80,12 @@ void handleMessage(AdafruitIO_Data *data) {
80
80
Serial.println (data->toChar ());
81
81
82
82
// Check to see if the morning scheduled trigger has executed
83
- if (strcmp (data->toChar (), " morning " ) == 0 ) {
83
+ if (strcmp (data->toChar (), " 1 " ) == 0 ) {
84
84
Serial.println (" Turning lights ON" );
85
85
digitalWrite (RELAY_POWER_PIN, HIGH);
86
86
}
87
87
// Check to see if the evening scheduled trigger has executed
88
- else if (strcmp (data->toChar (), " night " ) == 0 ) {
88
+ else if (strcmp (data->toChar (), " 0 " ) == 0 ) {
89
89
Serial.println (" Turning lights OFF" );
90
90
digitalWrite (RELAY_POWER_PIN, LOW);
91
91
}
Original file line number Diff line number Diff line change 22
22
#define WIFI_PASS "your_pass"
23
23
24
24
// uncomment the following line if you are using airlift
25
- //#define USE_AIRLIFT
25
+ // #define USE_AIRLIFT
26
26
27
27
// uncomment the following line if you are using winc1500
28
28
// #define USE_WINC1500
Original file line number Diff line number Diff line change 22
22
#define WIFI_PASS "your_pass"
23
23
24
24
// uncomment the following line if you are using airlift
25
- //#define USE_AIRLIFT
25
+ // #define USE_AIRLIFT
26
26
27
27
// uncomment the following line if you are using winc1500
28
28
// #define USE_WINC1500
Original file line number Diff line number Diff line change 30
30
// #define USE_WINC1500
31
31
32
32
// uncomment the following line if you are using mrk1010 or nano 33 iot
33
- //#define ARDUINO_SAMD_MKR1010
33
+ // #define ARDUINO_SAMD_MKR1010
34
34
35
35
// comment out the following lines if you are using fona or ethernet
36
36
#include "AdafruitIO_WiFi.h"
Original file line number Diff line number Diff line change 30
30
// #define USE_WINC1500
31
31
32
32
// uncomment the following line if you are using mrk1010 or nano 33 iot
33
- //#define ARDUINO_SAMD_MKR1010
33
+ // #define ARDUINO_SAMD_MKR1010
34
34
35
35
// comment out the following lines if you are using fona or ethernet
36
36
#include "AdafruitIO_WiFi.h"
Original file line number Diff line number Diff line change 1
1
name =Adafruit IO Arduino
2
- version =4.3.0
2
+ version =4.3.1
3
3
author =Adafruit
4
4
maintainer =Adafruit <adafruitio@adafruit.com>
5
5
sentence =Arduino library to access Adafruit IO.
You can’t perform that action at this time.
0 commit comments