Commit Graph

202 Commits

Author SHA1 Message Date
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
Mathieu Maret 45fac78797 bmp180 is on pins 12 14 2016-03-28 23:28:33 +02:00
Mathieu Maret 11bb75e45b Correct ENABLE_EXTRA_GPIO usage 2016-03-27 00:51:33 +01:00
Mathieu Maret ce1f4fc3b2 bmp180: give sda,scl param in constructor 2016-03-26 15:30:18 +01:00
Mathieu Maret 55beced1f8 Make BMP180 optionnal
Save 1.5ko of ROM
2016-03-26 15:27:23 +01:00
Mathieu Maret a990ce0055 Make Serial output optionnal
Save 2k of ROM
2016-03-26 15:07:15 +01:00
Mathieu Maret 7682a85982 Improve HTML presentation 2016-03-26 01:26:36 +01:00
Mathieu Maret dfb5746180 Add hostname in mqtt topics
So we are able to have several devices
2016-03-25 01:08:48 +01:00
Mathieu Maret d51df5dd64 Add first draft for pressure calulation a see level 2016-03-25 00:06:33 +01:00
Mathieu Maret ff6ab5755d Show hostname of web page 2016-03-25 00:03:25 +01:00
Mathieu Maret a89a8a0727 Change function naming to be coherent across files 2016-03-24 14:54:55 +01:00
Mathieu Maret d729750ed5 General way to deal with GPIO by mqtt 2016-03-23 00:34:50 +01:00
Mathieu Maret a391cd0369 Draft for subscription to all gpio 2016-03-22 23:39:30 +01:00
Mathieu Maret 7ee04eecc4 Try mqtt subscription 2016-03-21 00:56:27 +01:00
Mathieu Maret e99f63ef41 Keep bmp180 status information 2016-03-20 00:14:24 +01:00
Mathieu Maret 9ca3c49aa2 Print mqtt port at boot 2016-03-19 23:49:52 +01:00
Mathieu Maret d6ae3ca283 Serve information about memory 2016-03-19 23:47:32 +01:00
Mathieu Maret ad74c2a8d7 Merge branch 'master' of gitlab.mathux.org:Mathieu/Domotique 2016-03-19 23:46:36 +01:00
Mathieu Maret e38edf0dbc Do not use so much RAM for eeprom 2016-03-18 01:19:35 +01:00
Mathieu e78856eb09 Add license 2016-03-17 23:56:31 +01:00
Mathieu Maret d92fe1ce99 Auto refresh home page 2016-03-17 01:05:19 +01:00
Mathieu Maret c255862617 Complete Readme 2016-03-16 01:16:36 +01:00
Mathieu Maret b66769f9d6 Add http request to reboot ESP
GPIO0 should be at 3.3v to boot correctly
2016-03-16 01:09:25 +01:00
Mathieu Maret ff178ce940 Get pressure mesure from BMP180 2016-03-16 00:54:13 +01:00
Mathieu Maret 4f50d6f175 Fix temperature type 2016-03-16 00:16:19 +01:00
Mathieu Maret a145dc9a9c Home page show mqtt status 2016-03-16 00:16:19 +01:00
Mathieu Maret cbbf4b2b3d Improve form for Setup 2016-03-16 00:16:19 +01:00
Mathieu Maret 25010e63c0 Save mqtt port into eeprom 2016-03-16 00:16:08 +01:00
Mathieu Maret dc47c61775 Save MQTT config into EEPROM 2016-03-14 01:47:43 +01:00
Mathieu Maret 5007b652d9 Do not need to be setup to play with gpio or OTA
And reindent
2016-03-11 01:42:27 +01:00
Mathieu Maret f0b47e162c Send temperature information into MQTT 2016-03-11 01:39:25 +01:00
Mathieu Maret f03299cc64 Add Readme.md 2016-03-11 00:46:22 +01:00
Mathieu Maret 390b18b592 Take measure of Temperature from BMP180 2016-03-11 00:43:24 +01:00
Mathieu Maret 758c9f8808 Split Sketch in several files 2016-03-10 23:36:09 +01:00
Mathieu Maret 1e20d8a397 Set Gpio mode to output before changing it 2016-03-10 23:16:51 +01:00
Mathieu Maret b9b8253adc Add to possibility to use GPIO 1&3
On ESP01, Serial won't be available anymore
2016-03-04 01:02:11 +01:00
Mathieu Maret aec6e58fed implement OTA 2016-03-04 00:49:16 +01:00
Mathieu Maret 2fccb805df More Clear Message for Setup Boot handling 2016-03-04 00:48:28 +01:00
Mathieu Maret e10ba9f881 Say to User when to reboot 2016-03-04 00:46:53 +01:00
Mathieu Maret 037bab422e Add function to just change bootmode 2016-03-04 00:46:06 +01:00
Mathieu Maret fc619d7ac1 More Documentation 2016-03-04 00:44:17 +01:00
Mathieu Maret 7292b20d87 Add support for several bootmode 2016-03-03 21:41:12 +01:00
Mathieu Maret 1f9986da85 Add link to play with gpio 2
On root page add html link to play with gpio 2
2016-03-03 00:54:32 +01:00
Mathieu Maret d1db2b5d70 Add Project for configuring WiFi 2015-10-26 01:35:48 +01:00
Mathieu Maret 40afb5b8de Complete documentation 2015-10-01 01:07:11 +02:00