able to subscribe for >10hrs and still running

Dependencies:   ADE7758_v1 Crypto DHT11 MQTT MbedJSONValue SDFileSystem SPI_TFT_ILI9341 SWSPI SetRTC TFT_fonts Touch W5500Interface mbed-rtos mbed-src tuanpm

Fork of PB_emma_controller_mbed_src by Emma

Revisions of emmaCode.cpp

Revision Date Message Actions
28:cd25d46cb141 2015-08-07 Able to subscribe to MQTT messages via ethernet for long time (as of 7 Aug 2015, longer than 8 hours) File  Diff  Annotate
27:259aaa249619 2015-08-05 able to subscribe for several times using own parser File  Diff  Annotate
25:36c6a5db50ed 2015-07-24 Change xWattHrValue to uint32_t.; Add handle to not send data if panel's or nodes' temp are wrong.; Change timing of send temp data for 15 min.; Change watt hour calibration for 700W vacuum cleaner. File  Diff  Annotate
24:5d58515ba510 2015-07-24 Add handler for free memory event in esp.; Working after emma boot up.; However not tested yet for free memory event.; File  Diff  Annotate
23:fb369e171b7d 2015-07-23 Add execution result code. File  Diff  Annotate
22:e18d361bf688 2015-07-23 Use hmacTime to send sensor data.; Tested on send panel environment data. File  Diff  Annotate
21:33bd8b82560f 2015-07-23 Add panel environment code. File  Diff  Annotate
20:ea14f175bbb4 2015-07-22 Move ADE.VRMS and ADE.IRMS to energyThread.; CheckVoltagePower just compare Vrms and Irms to threshold. File  Diff  Annotate
19:7e3e9332f719 2015-07-22 Working send energy data without check voltage and power. File  Diff  Annotate
18:87f30ba9ddc5 2015-07-15 Add lcd display in mode register and wificonfig. File  Diff  Annotate
17:b3ced0e67916 2015-07-15 Add lcd display in mode settings. File  Diff  Annotate
16:3c8d0142bf63 2015-07-15 Working energy calculation with thread.; The scalability is correct, X WattHR for 40W lamp will result 3.5X for 140W pair.; However, the calculation duration seems not consistent. e.g. 1 min is not actual 1 min. File  Diff  Annotate
15:136526c28afb 2015-07-15 Handle new format of command (include name).; Change directory name of nodeCode. File  Diff  Annotate
14:8287f0f5d987 2015-07-14 Working RTC with backup. File  Diff  Annotate
13:e8adfe305dbc 2015-07-14 Add simple lcd display in mode operation. File  Diff  Annotate
12:96f637ed37f9 2015-07-14 Working simple emmaModeSelection. File  Diff  Annotate
11:2311b2d5157d 2015-07-13 Calibrate Vrms. File  Diff  Annotate
10:1dc69e0ce7fd 2015-07-13 Working wifi config mode.; Not working operational mode with eth. File  Diff  Annotate
9:a58c04da4476 2015-07-13 Working register mode with eth. File  Diff  Annotate
8:51a0ca9079ca 2015-07-11 Working settings mode with eth. File  Diff  Annotate
7:7e8c6ad3fd64 2015-07-10 add get list of nodes from server. File  Diff  Annotate
6:45f50f1177db 2015-07-09 Add node temp reading, and working. File  Diff  Annotate
5:d00233dd36f5 2015-07-08 Add new command handler. File  Diff  Annotate
4:76ab12e2f8a3 2015-07-08 Working code for reading and sending WattHR, VRMS, and Watt data with thread. File  Diff  Annotate
3:e7fcbe6deb19 2015-07-03 edit previous commit. File  Diff  Annotate
2:fdfdeb5fd6fd 2015-07-03 Power measurement thread and send data, without MQTT command. File  Diff  Annotate
1:d314a43ae6f7 2015-07-03 Update previous commit. File  Diff  Annotate
0:f4e449fa34d7 2015-07-03 WiFi MQTT command + send data without power measurement thread. File  Diff  Annotate