emma controller code in production board v1

Dependencies:   ADE7758_v1 Crypto DHT11 MQTT MbedJSONValueEmma SDFileSystem TFT_ILI9341 SWSPI SetRTC TFT_fonts Touch W5500Interface mbed-rtos mbed-src SoftSerial

Fork of emma_controller_energy by Emma

Revisions of emmaCode.cpp

Revision Date Message Actions
64:2409502c3e32 2015-10-01 Edit to fit display for Emma 3D printing casing. File  Diff  Annotate
63:5af876b95f10 2015-09-26 Add simple animation for emmaModeOperation ETH and WiFi. File  Diff  Annotate
62:03ba6e82c290 2015-09-26 Add interactive menu for emmaModeRegister with GPRS and ETH.; Not fully tested because bad internet connection. File  Diff  Annotate
61:4eda981730ae 2015-09-26 Add interactive menu for emmaModeRegister with WiFi.; Not finish with GPRS. File  Diff  Annotate
60:1d4232f5f9c9 2015-09-25 Add interactive waiting for emmaModeWiFiConfig and emmaModeSettings with WiFi interface. File  Diff  Annotate
59:009596ea660d 2015-09-22 Add interactive menu for emmaModeSettings with WiFi. File  Diff  Annotate
58:5f953f303551 2015-09-21 Update box menu to circle menu.; Add interactive menu for emmaModeWiFiConfig. File  Diff  Annotate
57:4241a1711069 2015-09-17 Update to get multiple dType with WiFi.; Update check connection so it doesn't try to connect via GPRS if already connect with Eth or WiFi.; Handle notification of under-voltage of first reading. File  Diff  Annotate
56:f5611e58d7f9 2015-09-16 Update command execution for Eth, WiFi, and GPRS.; Tested for WiFi only. File  Diff  Annotate
55:63a616a99c9a 2015-09-16 Get dType and commandCode from server via WiFi. File  Diff  Annotate
53:7c23208feca1 2015-09-10 Get alert threshold from server for ETH and GPRS interface. File  Diff  Annotate
52:cbe6d1d1efdc 2015-09-10 Get alert threshold from server for WiFi interface. File  Diff  Annotate
51:ad6410dcaf52 2015-09-04 Working checkVoltagePower using GPRS interface. File  Diff  Annotate
50:50d98fe6cc15 2015-09-03 Change *PORT variables from string to int.; Update checkVoltagePower. Tested for WiFi. File  Diff  Annotate
49:d11a1914ee8b 2015-09-03 Working send data and get command using GPRS. File  Diff  Annotate
48:053e92b6dc1e 2015-09-01 Working emmaModeRegister with GPRS interface. File  Diff  Annotate
47:97eadcb478b2 2015-08-28 Update checkVoltagePower requests.; Add ethernet support for checkVoltagePower. File  Diff  Annotate
46:86a0c2133130 2015-08-26 Add panelEnergy, panelEnvironment, nodeTemp to emmaModeOperation ETH. File  Diff  Annotate
45:2406c2b6995a 2015-08-26 Get command ETH emmaModeOperation. File  Diff  Annotate
44:c1d11c491237 2015-08-26 Working ETH in emmaModeReserved.; ETH in emmaModeOperation is not fully working. File  Diff  Annotate
43:612547648ed1 2015-08-20 utilize appNAME parameter.; working modeRegister and modeOperation with WiFi interface. File  Diff  Annotate
42:b32e51a374c7 2015-08-20 add control for WiFi Smart Plug using WiFi interface. File  Diff  Annotate
41:2d023bd80a9c 2015-08-20 support multiple command for WiFi interface. File  Diff  Annotate
40:77bd44f57ad3 2015-08-20 update wifinodes with POST requests and its response using wifi interface.; File  Diff  Annotate
39:f51aa948acee 2015-08-19 update emmaModeRegister with POST request for ethernet. File  Diff  Annotate
38:e44f35f8129d 2015-08-19 change platformDOMAIN to mqttDOMAIN and other two params.; add appNAME, mqttSERVER, mqttPORT, restSERVER, restPORT params.; update emmaModeRegister with GET request for ethernet. File  Diff  Annotate
37:93f196daf5cf 2015-08-19 Update emmaModeSettings (Eth and WiFi) text on LCD. File  Diff  Annotate
36:ed696fd1b44e 2015-08-14 Working simple Ethernet with MQTT. Not tested for long time. File  Diff  Annotate
35:b8ba2b73201b 2015-08-14 Update ESP firmware to return REST status code when executing command.; Update command execution handler. File  Diff  Annotate
34:8555d471b880 2015-08-14 Change buffer size for larger RF code.; Use REST for send data and receive command. File  Diff  Annotate
33:232069745431 2015-08-12 Second publish. Use REST for sending data and receive command. File  Diff  Annotate
32:78633fb9b2a1 2015-08-10 Change GET to POST for register and verify services.; However, if we use proxy, HTTP header must be emptied so it can work. File  Diff  Annotate
31:e2abded4d85f 2015-08-07 Add auto select to mode operation. File  Diff  Annotate
30:08d290158fa7 2015-08-06 Free fp pointer in accessing sd card.; Currently running test. File  Diff  Annotate
29:4d94a03d38e0 2015-08-04 Change server host so that accessible from internet.; Add indicator for new data logging.; Update menu box on lcd. File  Diff  Annotate
28:7561035e3df5 2015-07-31 minor update. File  Diff  Annotate
27:562a95c120cc 2015-07-29 Working rest. 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