sudo nano /etc/mpd.conf
..
# disable default ALSA output
..
audio_output {
type "fifo"
/** | |
* @file main-esp8266-wifi-relay.cpp | |
* @brief ESP8266 Wifi Relay Controller | |
* | |
* This file contains the implementation of an ESP8266-based relay controller | |
* | |
* @details | |
* - To install the ESP8266 board, (using Arduino 1.6.4+): | |
* - Add the following 3rd party board manager under "File -> Preferences -> Additional Boards Manager URLs": | |
* http://arduino.esp8266.com/stable/package_esp8266com_index.json |
/** | |
* @file main.cpp | |
* @brief ESP8266 Relay Controller | |
* | |
* This file contains the implementation of an ESP8266-based relay controller | |
* | |
* @details | |
* - To install the ESP8266 board, (using Arduino 1.6.4+): | |
* - Add the following 3rd party board manager under "File -> Preferences -> Additional Boards Manager URLs": | |
* http://arduino.esp8266.com/stable/package_esp8266com_index.json |
/** | |
* @file main.cpp | |
* @brief ESP8266 MQTT Relay Controller | |
* | |
* This file contains the implementation of an ESP8266-based relay controller | |
* that connects to a WiFi network and communicates with an MQTT broker. | |
* | |
* The controller subscribes to various MQTT topics to control four relays and | |
* a master switch. It also supports firmware updates via MQTT. | |
* |
/* | |
ESP 32 - Sphero R2D2 | |
*/ | |
// https://github.com/nkolban/esp32-snippets/issues/757 | |
// https://gist.github.com/sam016/4abe921b5a9ee27f67b3686910293026 | |
// neilkolban.com/esp32/docs/cpp_utils/html/class_b_l_e_remote_characteristic.html#aa00bffdf3b2843aee32a27af9b643da5 | |
// https://github.com/nkolban/ESP32_BLE_Arduino/blob/master/examples/BLE_client/BLE_client.ino | |
// https://github.com/igbopie/spherov2.js/blob/9a9fee843a9da6b26c14c60a93870ba242f03566/lib/src/toys/core.ts |
EMOTE_ALARM 0 | |
EMOTE_NO 1 | |
EMOTE_SCAN_SWEEP 2 | |
EMOTE_SCARED 3 | |
EMOTE_YES 4 | |
EMOTE_AFFIRMATIVE 5 | |
EMOTE_AGITATED 6 | |
EMOTE_ANGRY 7 | |
EMOTE_CONTENT 8 | |
EMOTE_EXCITED 9 |
CHARGER_1 0 | |
CHARGER_2 1 | |
CHARGER_3 2 | |
CHARGER_4 3 | |
CHARGER_5 4 | |
CHARGER_6 5 | |
CHARGER_7 6 | |
EMOTE_ALARM 7 | |
EMOTE_ANGRY 8 | |
EMOTE_ATTENTION 9 |
CHARGER_1 0 | |
CHARGER_2 1 | |
CHARGER_3 2 | |
CHARGER_4 3 | |
CHARGER_5 4 | |
CHARGER_6 5 | |
CHARGER_7 6 | |
EMOTE_ALARM 7 | |
EMOTE_ANGRY 8 | |
EMOTE_ANNOYED 9 |
import React, { Component } from 'react'; | |
import PropTypes from 'prop-types' | |
import ol from 'openlayers'; | |
class PoiMapContainer extends Component { | |
constructor(props) { | |
super(props); | |
this.state = { | |
map: null, |