Skip to content

Instantly share code, notes, and snippets.

View rogiervandenberg's full-sized avatar

Rogier van den Berg rogiervandenberg

View GitHub Profile
@rogiervandenberg
rogiervandenberg / FrontdoorSensorPushover.ino
Created April 21, 2015 16:40
Listens for incoming RF-communication about the status of my front door. The Internet Arduino sends API calls to Pushover.
#include <SPI.h>
#include <Ethernet.h>
#include <HttpClient.h>
#include <SoftwareSerial.h>
// MAC address for your Ethernet shield
byte mac[] = { 0xDE, 0xAD, 0xBE, 0xEF, 0xFE, 0xED };
// Pushover settings
char pushoversite[] = "api.pushover.net";
@rogiervandenberg
rogiervandenberg / SwitchLightsRFLearning.ino
Created April 21, 2015 15:42
Control lights with an Arduino remotely with 433Mhz, Source code as used in the video
#include <RemoteSwitch.h>
#include <RemoteReceiver.h>
#include <Ethernet.h>
#include <SPI.h>
#include <WebServer.h>
#include <EEPROM.h>
#include <EEPROMAnything.h>
//Connections to the Arduino board
const int ledPin = 9;
@rogiervandenberg
rogiervandenberg / SwitchLightsGetRF.ino
Last active August 29, 2015 14:19
Control lights with an Arduino remotely with 433Mhz, Simplified source using GET requests and without 7-segment LED display
#include <RemoteTransmitter.h>
#include <Ethernet.h>
#include <SPI.h>
#include <WebServer.h>
//Connections to the Arduino board
const int ledPin = 9;
const int transmitterPin = 8;
//Duration of a RF command
@rogiervandenberg
rogiervandenberg / JourneyExtractor.php
Last active March 1, 2024 11:51
Journal (by Journey) extractor. Journey is a great Diary app for Android and Google Chrome. But, your files are only accessible by Journey itself. Do you want to move away from Journey to another diary app? Do you want to have a readable export of your diary? This script converts Journey backup/export files to managable Markdown files. One file …
<?php
/*
Journal (by Journey) extractor
Journey is a great Diary app for Android and Google Chrome. But, your files are
only accessible by Journey itself.
Do you want to move away from Journey to another diary app? Do you want to have
a readable export of your diary? This script converts Journey backup/export
<link rel="import" href="../core-scaffold/core-scaffold.html">
<link rel="import" href="../core-header-panel/core-header-panel.html">
<link rel="import" href="../core-menu/core-menu.html">
<link rel="import" href="../core-item/core-item.html">
<link rel="import" href="../core-icon-button/core-icon-button.html">
<link rel="import" href="../core-toolbar/core-toolbar.html">
<link rel="import" href="../core-field/core-field.html">
<link rel="import" href="../core-icon/core-icon.html">
<link rel="import" href="../core-input/core-input.html">
<link rel="import" href="../google-map/google-map-search.html">