Skip to content

Instantly share code, notes, and snippets.

@petermoffat
petermoffat / HueLight.ino
Created October 10, 2016 05:36 — forked from AdySan/HueLight.ino
Philips Hue clone using ESP8266 and NeoPixels along with HAP-NodeJS
#include <ESP8266WiFi.h>
#include <WiFiClient.h>
#include <ESP8266mDNS.h>
#include <WiFiUdp.h>
#include <ArduinoOTA.h>
#include <PubSubClient.h>
#include <Adafruit_NeoPixel.h>
#define PIN D4
Adafruit_NeoPixel strip = Adafruit_NeoPixel(16, PIN, NEO_GRB + NEO_KHZ800);
2015-11-13 08:23:58 ERROR Thread-26 :: Exception generated in issue submitter, please check the log
gaierror: [Errno -2] Name or service not known
for res in getaddrinfo(host, port, 0, SOCK_STREAM):
File "/usr/lib/python2.7/socket.py", line 553, in create_connection
self.timeout, self.source_address)
File "/usr/lib/python2.7/httplib.py", line 1178, in connect
self.connect()
File "/usr/lib/python2.7/httplib.py", line 797, in send
self.send(msg)
File "/usr/lib/python2.7/httplib.py", line 835, in _send_output