Skip to content

Instantly share code, notes, and snippets.

Simon Moreau simonmoreau

Block or report user

Report or block simonmoreau

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
simonmoreau /
Created Feb 24, 2019
A Python script to send values from an Adafruit DHT22 to an Azure Cosmos DB database
import Adafruit_DHT
import azure.cosmos.cosmos_client as cosmos_client
import time
def reading():
config = {
'PRIMARYKEY': my Azure Cosmos DB Key',
'DATABASE': 'bim42db',
You can’t perform that action at this time.