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 sketch uses the MKRFox1200 SigFox module to check the input from a sensor and send a message if a threshold is crossed. | |
| */ | |
| #include <SigFox.h> | |
| #include <ArduinoLowPower.h> | |
| int ldr = A1; //set input pin | |
| void setup() { | |
| Serial.begin(9600); |
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 os | |
| import re | |
| import pyhdb | |
| import pandas as pd | |
| import xxx_dbconfig as config | |
| from lxml import html | |
| from bs4 import BeautifulSoup | |
| def get_inputhtml(base_path, print_on): | |
| input_path = base_path + '/input_html/' |
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 win32com.client, datetime | |
| from datetime import date | |
| from dateutil.parser import * | |
| import calendar | |
| import pandas as pd | |
| # Step 1, block 1 : access Outlook and get the events from the calendar | |
| Outlook = win32com.client.Dispatch("Outlook.Application") | |
| ns = Outlook.GetNamespace("MAPI") | |
| appts = ns.GetDefaultFolder(9).Items |