This file contains hidden or 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
##### | |
# This is a custom 'getting started' script, made with care for [email protected]. | |
# If you have any questions, please email us! [email protected] | |
##### | |
# Import the ISStreamer module | |
from ISStreamer.Streamer import Streamer | |
# Import time for delays | |
import time |
This file contains hidden or 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
#include <WiFi.h> | |
#include <HTTPClient.h> | |
//-------- User Settings ----------- | |
const char* ssid = "WiFi NAME"; | |
const char* password = "WiFi PASSWORD"; | |
const char* accesskey = "ENTER ACCESS KEY HERE"; | |
const char* bucketkey = "ENTER BUCKET KEY HERE"; | |
const char* signalname = "ENTER SIGNAL NAME"; | |
//---------------------------------- |
This file contains hidden or 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
#include <WiFi.h> | |
#include <HTTPClient.h> | |
//-------- User Settings ----------- | |
const char* ssid = "WiFi NAME"; | |
const char* password = "WiFi PASSWORD"; | |
const char* accesskey = "ENTER ACCESS KEY HERE"; | |
const char* bucketkey = "ENTER BUCKET KEY HERE"; | |
//---------------------------------- |
This file contains hidden or 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
import time | |
import board | |
import adafruit_bh1750 | |
from ISStreamer.Streamer import Streamer | |
# --------- User Settings --------- | |
SENSOR_LOCATION_NAME = "Office" | |
BUCKET_NAME = "House Plant" | |
BUCKET_KEY = "soilsensor" | |
ACCESS_KEY = "ENTER ACCESS KEY HERE" |
This file contains hidden or 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
import time | |
from ISStreamer.Streamer import Streamer | |
from board import SCL, SDA | |
import busio | |
from adafruit_seesaw.seesaw import Seesaw | |
# --------- User Settings --------- | |
SENSOR_LOCATION_NAME = "House Plant" | |
BUCKET_NAME = "House Plant" | |
BUCKET_KEY = "soilsensor" |
This file contains hidden or 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
import time | |
from board import SCL, SDA | |
import busio | |
from adafruit_seesaw.seesaw import Seesaw | |
i2c_bus = busio.I2C(SCL, SDA) | |
ss = Seesaw(i2c_bus, addr=0x36) |
This file contains hidden or 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
# SPDX-FileCopyrightText: 2020 Bryan Siepert, written for Adafruit Industries | |
# SPDX-License-Identifier: Unlicense | |
import time | |
import board | |
import adafruit_bh1750 | |
i2c = board.I2C() | |
sensor = adafruit_bh1750.BH1750(i2c) |
This file contains hidden or 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
import adafruit_dht | |
from ISStreamer.Streamer import Streamer | |
import time | |
import board | |
# --------- User Settings --------- | |
SENSOR_LOCATION_NAME = "Office" | |
BUCKET_NAME = ":partly_sunny: Room Temperatures" | |
BUCKET_KEY = "dht22sensor" | |
ACCESS_KEY = "ENTER ACCESS KEY HERE" |
This file contains hidden or 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
#!/usr/bin/python | |
# ---------------------------------------------------------------------------- | |
# BoatMonitor Version 1.0 May 2017 | |
# This is a Python 2.7.9 script for sending data from | |
# from a Raspberry Pi 3 and an interface board. | |
# It reports on various parameters | |
# on a boat under these conditions which are checked every 5min: | |
# 1. if shore power is off | |
# 2. if batteries are below 12vdc |
This file contains hidden or 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
#include <WiFi.h> | |
#include <HTTPClient.h> | |
#include "DHT.h" | |
#define DHTPIN 4 // Digital pin connected to the DHT sensor | |
#define DHTTYPE DHT22 | |
DHT dht(DHTPIN, DHTTYPE); | |
//-------- User Settings ----------- | |
const char* ssid = "SSID"; |
NewerOlder