This file contains 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 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 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 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 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 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 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 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 testpin1 = 5; | |
void setup() { | |
pinMode(testpin1, OUTPUT); | |
} | |
void loop() { | |
Serial.begin(115200); | |
digitalWrite(testpin1, LOW); | |
delay(2000); |
This file contains 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 <SPI.h> | |
#include "nRF24L01.h" | |
#include "RF24.h" | |
int senderId; | |
// Set up nRF24L01 radio on SPI bus plus pins 9 & 10 | |
//Contacts from the radio to connect NRF24L01 pinamnam -> Arduino |
This file contains 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
void callback(char* topic, byte* payload, unsigned int length) { | |
String receivedtopic = topic; | |
String receivedpayload ; | |
for (int i = 0; i < length; i++) { | |
receivedpayload += (char)payload[i]; | |
} | |