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
int sampleI; | |
int Number_of_Samples; | |
int sumI; | |
void setup() | |
{ | |
Serial.begin(115200); | |
sampleI = 0; | |
sumI = 0; | |
Number_of_Samples = 1000; |
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
#include <ESP8266WiFi.h> | |
#include <PubSubClient.h> | |
#include "/usr/local/src/ap_setting.h" | |
// Update these with values suitable for your network. | |
/* | |
char* topic = "/30/Status/MQTT"; | |
char* subtopic = "inTopic"; |
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
#include <ESP8266WiFi.h> | |
#include <PubSubClient.h> | |
#include "/usr/local/src/ap_setting.h" | |
// Update these with values suitable for your network. | |
char* topic = "/30/Status/MQTT"; | |
char* subtopic = "inTopic"; |
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
https://github.com/esp8266/Arduino/blob/342c4ae6fb847bfc787f80b89a2bb888d942dc32/libraries/ESP8266WiFi/src/include/UdpContext.h#L308 | |
private: | |
void _reserve(size_t size) | |
{ | |
const size_t pbuf_unit_size = 512; | |
if (!_tx_buf_head) | |
{ | |
_tx_buf_head = pbuf_alloc(PBUF_TRANSPORT, pbuf_unit_size, PBUF_RAM); |
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
#!/bin/sh | |
## you'll have to do a couple extra steps to get this running | |
## there are probably other ways to handle svncanboot, but this is from the linux forum | |
set -e | |
if | |
touch /etc/_testr_file | |
then |
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
# https://github.com/openresty/srcache-nginx-module | |
# | |
#srcache_store_max_size 5M; | |
# | |
map $cookie_ologin $skip_cookie { | |
default 0; | |
1 1; | |
} | |
# |
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
Oct 3 02:07:46 esp8266-02-syslog Sending payload: {"dustDensity":0.04,"FreeHeap":32560,"RSSI":-23,"millis":6202537} length: 66 | |
Oct 3 02:07:46 esp8266-02-syslog : wr | |
Oct 3 02:07:46 esp8266-02-syslog : sent 89 | |
Oct 3 02:07:46 esp8266-02-syslog : rch 54, 89 | |
Oct 3 02:07:46 esp8266-02-syslog : ww | |
Oct 3 02:07:46 esp8266-02-syslog Publish ok | |
Oct 3 02:07:46 esp8266-02-syslog : c 1, 54, 143 | |
Oct 3 02:07:46 esp8266-02-syslog home/check/checkhwmny => {"unihost":"2","unitot":"13"} | |
Oct 3 02:07:46 esp8266-02-syslog : c0 1, 89 | |
Oct 3 02:07:46 esp8266-02-syslog esp8266/arduino/s03 => {"dustDensity":0.04,"FreeHeap":32560,"RSSI":-23,"millis":6202537} |
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
Sep 25 14:46:42 esp8266-syslog Sending payload: {"NemoEmpty":9,"NemoEmptyStddev":0.54,"FreeHeap":29208,"RSSI":-49,"millis":71546392} length: 84 | |
Sep 25 14:46:42 esp8266-syslog Publish ok | |
Sep 25 14:46:53 esp8266-syslog Sending payload: {"NemoEmpty":8,"NemoEmptyStddev":0.90,"FreeHeap":29208,"RSSI":-48,"millis":71556955} length: 84 | |
Sep 25 14:46:53 esp8266-syslog Publish ok | |
Sep 25 14:46:58 esp8266-syslog Exception (4): | |
Sep 25 14:46:58 esp8266-syslog epc1=0x400046e4 epc2=0x00000000 epc3=0x00000000 excvaddr=0x00000024 depc=0x00000000 | |
Sep 25 14:46:58 esp8266-syslog ctx: cont | |
Sep 25 14:46:58 esp8266-syslog sp: 3ffea910 end: 3ffeac80 offset: 01a0 | |
Sep 25 14:46:58 esp8266-syslog >>>stack>>> | |
Sep 25 14:46:58 esp8266-syslog 3ffeaab0: 00040000 00000001 53002200 7fffffff |
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
Sep 21 02:07:54 esp8266-syslog Sending payload: {"NemoEmpty":34,"NemoEmptyStddev":0.92,"ScaleFreeHeap":41216,"ScaleRSSI":-54} length: 77 | |
Sep 21 02:07:54 esp8266-syslog Publish ok | |
Sep 21 02:08:05 esp8266-syslog Sending payload: {"NemoEmpty":35,"NemoEmptyStddev":0.70,"ScaleFreeHeap":41216,"ScaleRSSI":-54} length: 77 | |
Sep 21 02:08:05 esp8266-syslog Publish ok | |
Sep 21 02:08:15 esp8266-syslog Sending payload: {"NemoEmpty":35,"NemoEmptyStddev":1.00,"ScaleFreeHeap":41216,"ScaleRSSI":-54} length: 77 | |
Sep 21 02:08:15 esp8266-syslog Publish ok | |
Sep 21 02:08:20 esp8266-syslog Exception (28): | |
Sep 21 02:08:20 esp8266-syslog epc1=0x401039ab epc2=0x00000000 epc3=0x00000000 excvaddr=0x00000024 depc=0x00000000 | |
Sep 21 02:08:20 esp8266-syslog ctx: cont | |
Sep 21 02:08:20 esp8266-syslog sp: 3ffea270 end: 3ffea5f0 offset: 01a0 |
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
Press the button on the remote now - once only | |
Raw: (59) 3180, -9928, 532, -1532, 528, -520, 532, -532, 508, -516, 532, -1580, 500, -548, 504, -516, 532, -540, 512, -1548, 532, -1572, 508, -532, 508, -512, 536, -540, 508, -532, 500, -540, 500, -528, 532, -516, 532, -520, 532, -524, 536, -540, 508, -520, 532, -1596, 504, -536, 504, -1572, 508, -532, 508, -532, 508, -540, 508, -1552, 528, | |
11 1000 1000 1100 0000 0000 0101 0001 | |
Press the button on the remote now - once only | |
Press the button on the remote now - once only | |
Raw: (59) 3208, -9944, 536, -1528, 532, -536, 504, -536, 504, -544, 504, -1560, 532, -536, 504, -536, 504, -540, 508, -532, 508, -532, 508, -540, 500, -540, 500, -520, 532, -532, 508, -524, 536, -508, 532, -1572, 536, -1592, 508, -512, 536, -532, 508, -540, 500, -520, 532, -532, 508, -532, 508, -1572, 508, -1576, 504, -516, 532, -536, 504, |