Created
May 3, 2018 11:11
-
-
Save UNSWmir/30df012a900155c13966dec074550def to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
const String CHANNEL_ID = "XXXXXXXXX"; // The Readiness.io channel ID | |
const String SENSOR_ID = "XXXXXXXXX"; // Your AgriWebb or made up sensor ID | |
const String TOPIC = "solenoid-valve"; // The type of sensor or name of the data your sending | |
const String VERSION = "1"; | |
const String FORMAT = ""; | |
const char* WIFI_SSID = "XXXXXXXXX"; // Your WiFi SSID / name | |
const char* WIFI_PASS = "XXXXXXXXX"; // Your WiFi password | |
const uint16_t UPDATE_RATE = 5; // How long to wait between sending data back (in seconds) | |
const uint8_t TIMEZONE_OFFSET = 10; // The timezone the sensor is located in (eg. 10 for GMT) | |
const String LISTEN_TOPIC = "water-level"; // the name of the sensor that you are listening to | |
// make your solenoid valve change. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment