Commit Graph

96 Commits

Author SHA1 Message Date
Mathieu Maret
2515e577a6 Fix indent in DHT 2016-07-08 01:02:01 +02:00
Mathieu Maret
406eaaa24e Add Esp8266-Arduino-Makefile as a submodule 2016-06-22 00:44:25 +02:00
Mathieu Maret
967c6c736f Feed Ipaddress by MQTT 2016-06-18 02:24:00 +02:00
Mathieu Maret
286844dd6d GPIO used to enter setup in now configurable 2016-06-18 01:49:29 +02:00
Mathieu Maret
ae77a7a8ee Correct bmp180 setup return value when disabled 2016-06-18 01:47:35 +02:00
Mathieu Maret
0c3ced5a7f Correct DHT Setup when disabled 2016-06-18 01:34:42 +02:00
Mathieu Maret
bd7979a1f3 Enable light sleep by default 2016-06-09 21:37:59 +02:00
Mathieu Maret
d35652dbf7 Correct DrySetup when disabled 2016-06-09 21:37:44 +02:00
Mathieu Maret
5db953072d Return dryness to http and mqtt 2016-06-04 18:45:11 +02:00
Mathieu Maret
4c09dcbb24 Add the dry sensor 2016-06-02 01:31:57 +02:00
Mathieu Maret
786fedc74f Same return value for every sensor after Setup() 2016-06-02 01:28:16 +02:00
Mathieu Maret
ff4f72e1f7 Revert "Compact some code"
Arduino Serial does not really support printf
This reverts commit 85f0bf5c78.
2016-06-02 00:40:43 +02:00
Mathieu Maret
075ed120aa EEPROM have its own header 2016-06-01 15:21:32 +02:00
Mathieu Maret
7e25978455 Disable switch off of internal LED when saving power
It may disable GPIO used by sensors
2016-06-01 01:49:04 +02:00
Mathieu Maret
69fd24b756 Start loop with a measure 2016-06-01 01:23:23 +02:00
Mathieu Maret
04690a4c66 MDNS is optionnal 2016-06-01 01:22:47 +02:00
Mathieu Maret
e97777eed3 Config option to disable MDNS 2016-06-01 01:16:01 +02:00
Mathieu Maret
4d38c2c7a5 MQTT: add user name in URL
So we can support several user on the same server.
URL are /feeds/USER/DEVICE/....
2016-06-01 00:49:42 +02:00
Mathieu Maret
85f0bf5c78 Compact some code 2016-06-01 00:44:14 +02:00
Mathieu Maret
26d3deee0e Code simplification 2016-06-01 00:36:14 +02:00
Mathieu Maret
31e9c04e82 Even initialize int 2016-04-14 01:38:06 +02:00
Mathieu Maret
5c8ab4ce97 Fix needed CONFIG_ when surrounding CONFIG is not defined 2016-04-14 01:38:06 +02:00
Mathieu Maret
3eb9298cb1 Correct mqtt simplification 2016-04-14 01:38:06 +02:00
Mathieu Maret
8101e7bd36 Simplify MQTT sensor setup 2016-04-14 01:15:42 +02:00
Mathieu Maret
6ce9e63a22 TODO: static ip conf done 2016-04-14 00:39:25 +02:00
Mathieu Maret
10e0425acd Simplify force setup code
And make sure that previous AP is not enabled
2016-04-10 02:01:25 +02:00
Mathieu Maret
4cb6516b75 Mqtt: avoid crash when not configured 2016-04-10 01:59:37 +02:00
Mathieu Maret
beae8b335b Include build date into web interface 2016-04-10 00:37:41 +02:00
Mathieu Maret
ae6e03d67e Change default config behavior
Do not force values but print error message a compile time
2016-04-10 00:10:02 +02:00
Mathieu Maret
1bbd52a234 Add MQTT generic publisher function 2016-04-08 01:03:57 +02:00
Mathieu Maret
85196a7563 Fix Warnings 2016-04-07 23:52:37 +02:00
Mathieu Maret
08a02651a6 Fix Web Gpio control configuration 2016-04-07 15:46:32 +02:00
Mathieu Maret
4536163cfd Web Interface print DHT info 2016-04-07 15:45:55 +02:00
Mathieu Maret
bdbcfd25d4 DHT: get temp and humidity
And save them with mqtt
2016-04-07 15:26:01 +02:00
Mathieu Maret
0a2f18b8ee Add info for BMP fork in code 2016-04-07 13:37:55 +02:00
Mathieu Maret
9646eab78f Use MQTT in NORMAL mode only
and fix EEPROM size configuration
2016-04-07 12:24:30 +02:00
Mathieu Maret
e1673f6c22 Display configured IP value in setup page 2016-04-07 12:05:37 +02:00
Mathieu Maret
50bf6c7d57 dht: add mqtt entries 2016-04-07 02:04:38 +02:00
Mathieu Maret
c497069bf5 add more in todo 2016-04-07 02:03:50 +02:00
Mathieu Maret
e82378e224 Save Static ip config as uint32_t 2016-04-07 02:02:51 +02:00
Mathieu Maret
96149ab5da Fix config inheritage 2016-04-07 01:59:20 +02:00
Mathieu Maret
132ba26720 Save ip config into eeprom 2016-04-06 19:34:29 +02:00
Mathieu Maret
fe3dba6cad Add CONFIG_ENABLE_POWER_SAVE
Enable light sleep
Switch off internal LED
Disable mDNS
2016-04-06 16:03:14 +02:00
Mathieu Maret
0190133bf3 Disable more code when bmp is not enabled 2016-04-06 15:51:27 +02:00
Mathieu Maret
2778443ccc Implement light sleep 2016-04-01 01:06:13 +02:00
Mathieu Maret
a204d6fddf Reindent 2016-04-01 01:05:29 +02:00
Mathieu Maret
0dd9901d19 Avoid mqtt communication if mqtt is not configured 2016-04-01 01:05:03 +02:00
Mathieu Maret
b843eeb184 Add Todo 2016-03-30 00:57:16 +02:00
Mathieu Maret
cdfafd2d45 Config EEPROM size like other configs 2016-03-30 00:49:57 +02:00
Mathieu Maret
efe135a801 Move configuration into a dedicated file 2016-03-30 00:44:37 +02:00