Skip to content

Instantly share code, notes, and snippets.

@andysheen
andysheen / wpa_supplicant.conf
Created November 14, 2019 16:21
wpa_supplicant
ctrl_interface=DIR=/var/run/wpa_supplicant GROUP=netdev
update_config=1
country=US
network={
ssid="YOURSSID"
psk="YOURPASSWORD"
scan_ssid=1
}
#include <Audio.h>
#include <Wire.h>
#include <SPI.h>
#include <SD.h>
#include <SerialFlash.h>
#define BUTTON 1
AudioMixer4 mixer1; // mixers to combine wav file and audio shield inputs
AudioMixer4 mixer2;
#include <ESP8266WiFi.h>
#include <ESP8266HTTPClient.h>
#include <WiFiClient.h>
// Change these to the WiFi credentials
#define WLAN_SSID "WIFINAME"
#define WLAN_PASS "PASSWORD"
#define BUTTON 4
void setup() {
[Unit]
Description=FeederNet Containers
After=docker.service
Requires=docker.service
[Service]
ExecStartPre=/usr/local/bin/docker-compose down
ExecStart=/usr/local/bin/docker-compose up
ExecStop=/usr/local/bin/docker-compose down
WorkingDirectory=/home/pi/FeederNet