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

Changes

RevisionDateWhoCommit message
64:2409502c3e32 2015-10-01 arsenalist Edit to fit display for Emma 3D printing casing. default tip
63:5af876b95f10 2015-09-26 arsenalist Add simple animation for emmaModeOperation ETH and WiFi.
62:03ba6e82c290 2015-09-26 arsenalist Add interactive menu for emmaModeRegister with GPRS and ETH.; Not fully tested because bad internet connection.
61:4eda981730ae 2015-09-26 arsenalist Add interactive menu for emmaModeRegister with WiFi.; Not finish with GPRS.
60:1d4232f5f9c9 2015-09-25 arsenalist Add interactive waiting for emmaModeWiFiConfig and emmaModeSettings with WiFi interface.
59:009596ea660d 2015-09-22 arsenalist Add interactive menu for emmaModeSettings with WiFi.
58:5f953f303551 2015-09-21 arsenalist Update box menu to circle menu.; Add interactive menu for emmaModeWiFiConfig.
57:4241a1711069 2015-09-17 arsenalist 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.
56:f5611e58d7f9 2015-09-16 arsenalist Update command execution for Eth, WiFi, and GPRS.; Tested for WiFi only.
55:63a616a99c9a 2015-09-16 arsenalist Get dType and commandCode from server via WiFi.
54:aa9b7a02b1d8 2015-09-15 arsenalist Just commit
53:7c23208feca1 2015-09-10 arsenalist Get alert threshold from server for ETH and GPRS interface.
52:cbe6d1d1efdc 2015-09-10 arsenalist Get alert threshold from server for WiFi interface.
51:ad6410dcaf52 2015-09-04 arsenalist Working checkVoltagePower using GPRS interface.
50:50d98fe6cc15 2015-09-03 arsenalist Change *PORT variables from string to int.; Update checkVoltagePower. Tested for WiFi.
49:d11a1914ee8b 2015-09-03 arsenalist Working send data and get command using GPRS.
48:053e92b6dc1e 2015-09-01 arsenalist Working emmaModeRegister with GPRS interface.
47:97eadcb478b2 2015-08-28 arsenalist Update checkVoltagePower requests.; Add ethernet support for checkVoltagePower.
46:86a0c2133130 2015-08-26 arsenalist Add panelEnergy, panelEnvironment, nodeTemp to emmaModeOperation ETH.
45:2406c2b6995a 2015-08-26 arsenalist Get command ETH emmaModeOperation.
44:c1d11c491237 2015-08-26 arsenalist Working ETH in emmaModeReserved.; ETH in emmaModeOperation is not fully working.
43:612547648ed1 2015-08-20 arsenalist utilize appNAME parameter.; working modeRegister and modeOperation with WiFi interface.
42:b32e51a374c7 2015-08-20 arsenalist add control for WiFi Smart Plug using WiFi interface.
41:2d023bd80a9c 2015-08-20 arsenalist support multiple command for WiFi interface.
40:77bd44f57ad3 2015-08-20 arsenalist update wifinodes with POST requests and its response using wifi interface.;
39:f51aa948acee 2015-08-19 arsenalist update emmaModeRegister with POST request for ethernet.
38:e44f35f8129d 2015-08-19 arsenalist change platformDOMAIN to mqttDOMAIN and other two params.; add appNAME, mqttSERVER, mqttPORT, restSERVER, restPORT params.; update emmaModeRegister with GET request for ethernet.
37:93f196daf5cf 2015-08-19 arsenalist Update emmaModeSettings (Eth and WiFi) text on LCD.
36:ed696fd1b44e 2015-08-14 arsenalist Working simple Ethernet with MQTT. Not tested for long time.
35:b8ba2b73201b 2015-08-14 arsenalist Update ESP firmware to return REST status code when executing command.; Update command execution handler.
34:8555d471b880 2015-08-14 arsenalist Change buffer size for larger RF code.; Use REST for send data and receive command.
33:232069745431 2015-08-12 arsenalist Second publish. Use REST for sending data and receive command.
32:78633fb9b2a1 2015-08-10 arsenalist Change GET to POST for register and verify services.; However, if we use proxy, HTTP header must be emptied so it can work.
31:e2abded4d85f 2015-08-07 arsenalist Add auto select to mode operation.
30:08d290158fa7 2015-08-06 arsenalist Free fp pointer in accessing sd card.; Currently running test.
29:4d94a03d38e0 2015-08-04 arsenalist Change server host so that accessible from internet.; Add indicator for new data logging.; Update menu box on lcd.
28:7561035e3df5 2015-07-31 arsenalist minor update.
27:562a95c120cc 2015-07-29 arsenalist Working rest.
26:79c12923e362 2015-07-25 arsenalist first published.
25:36c6a5db50ed 2015-07-24 arsenalist 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.
24:5d58515ba510 2015-07-24 arsenalist Add handler for free memory event in esp.; Working after emma boot up.; However not tested yet for free memory event.;
23:fb369e171b7d 2015-07-23 arsenalist Add execution result code.
22:e18d361bf688 2015-07-23 arsenalist Use hmacTime to send sensor data.; Tested on send panel environment data.
21:33bd8b82560f 2015-07-23 arsenalist Add panel environment code.
20:ea14f175bbb4 2015-07-22 arsenalist Move ADE.VRMS and ADE.IRMS to energyThread.; CheckVoltagePower just compare Vrms and Irms to threshold.
19:7e3e9332f719 2015-07-22 arsenalist Working send energy data without check voltage and power.
18:87f30ba9ddc5 2015-07-15 arsenalist Add lcd display in mode register and wificonfig.
17:b3ced0e67916 2015-07-15 arsenalist Add lcd display in mode settings.
16:3c8d0142bf63 2015-07-15 arsenalist 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.
15:136526c28afb 2015-07-15 arsenalist Handle new format of command (include name).; Change directory name of nodeCode.
14:8287f0f5d987 2015-07-14 arsenalist Working RTC with backup.
13:e8adfe305dbc 2015-07-14 arsenalist Add simple lcd display in mode operation.
12:96f637ed37f9 2015-07-14 arsenalist Working simple emmaModeSelection.
11:2311b2d5157d 2015-07-13 arsenalist Calibrate Vrms.
10:1dc69e0ce7fd 2015-07-13 arsenalist Working wifi config mode.; Not working operational mode with eth.
9:a58c04da4476 2015-07-13 arsenalist Working register mode with eth.
8:51a0ca9079ca 2015-07-11 arsenalist Working settings mode with eth.
7:7e8c6ad3fd64 2015-07-10 arsenalist add get list of nodes from server.
6:45f50f1177db 2015-07-09 arsenalist Add node temp reading, and working.
5:d00233dd36f5 2015-07-08 arsenalist Add new command handler.