Commit Graph

107 Commits

Author SHA1 Message Date
Mathieu Maret
d5a8232e43 Fix reconfiguration when wifi unreachable 2017-01-28 14:30:25 +01:00
Mathieu Maret
678eafe1a5 Correct few warning 2017-01-01 23:35:19 +01:00
Mathieu Maret
f4541a6fd6 OTA does not need a reboot anymore 2016-12-14 22:57:01 +01:00
Mathieu Maret
0396ccfb45 Web itf show GpioObserved status 2016-12-14 22:19:17 +01:00
Mathieu Maret
3957d9645f mqtt deal with IRQ for GPIO 2016-12-14 00:08:47 +01:00
Mathieu Maret
80252f9307 Refactor GPIO listened/controlled configuration
And improve mqtt connection checking
2016-12-13 23:43:37 +01:00
Mathieu Maret
d20d756677 Do not display wifi psswd in serial 2016-12-09 22:56:26 +01:00
Mathieu Maret
13c2d23330 All controlled gpio have a single config entry
They get be set/get by mqtt and set by http
2016-12-09 22:55:12 +01:00
Mathieu Maret
207c104c07 Few little fix 2016-11-20 00:23:16 +01:00
Mathieu Maret
3691745aec Put config into a struct 2016-11-20 00:06:31 +01:00
Mathieu Maret
6f6c0f7525 Use template for MqttPublish functions
And rename Mqtt*Publish function into MqttPublish*
2016-11-16 16:59:17 +01:00
Mathieu Maret
3d82e2a200 Use Reprog button as setup button on long press 2016-11-16 00:00:47 +01:00
Mathieu Maret
d49e0a5fff Use MQTT only in normal mode 2016-11-15 23:53:48 +01:00
Mathieu Maret
d6a2be13e1 Default value for CONFIG_DISABLE{WEB,OTA,MQTT} 2016-10-28 18:06:57 +02:00
Mathieu Maret
e0f600baf0 Possibility to disable MQTT
save ~6k
2016-10-28 18:04:30 +02:00
Mathieu Maret
87085fba3d Possibility to disable OTA
save ~3k
2016-10-28 18:03:36 +02:00
Mathieu Maret
a14210e0d9 Possibility to disable Web interface
Save ~12k
2016-10-28 18:02:39 +02:00
Mathieu Maret
76c06690a2 Fix MQTT publishing when mqtt is not configured 2016-10-28 00:21:12 +02:00
Mathieu Maret
0a55298feb Add option to disable SSL
it disable mqtts but save ~50ko
2016-09-28 23:19:12 +02:00
Mathieu Maret
997f63b917 Add PWM controlled by web 2016-09-28 23:11:08 +02:00
Mathieu Maret
0ccf653cc6 Build HTML to control GPIO one time only 2016-09-28 15:28:02 +02:00
Mathieu Maret
c911376cce PWM controlled by mqtt 2016-09-28 14:08:43 +02:00
Mathieu Maret
34b624b9a0 Code cleaning 2016-09-28 13:45:01 +02:00
Mathieu Maret
640db6c27d Small Warning fix & print simplification 2016-09-28 00:34:23 +02:00
Mathieu Maret
3a6987af44 Fix strange indent in MQTT 2016-09-28 00:34:23 +02:00
Mathieu Maret
20e4869a21 Simplify MQTT code 2016-09-28 00:34:23 +02:00
Mathieu Maret
738ccfd14a Add Wifi Strength to HTML Info 2016-09-21 16:02:52 +02:00
83afc2e845 Merge branch 'WebGpioArray' into 'master'
Use Array to define GPIO controlled by Web



See merge request !3
2016-09-20 18:30:00 +02:00
Mathieu Maret
1a7b3ec53a Use Array to define GPIO controlled by Web 2016-09-20 18:28:32 +02:00
Mathieu Maret
12c5b9e1b7 Enable MQTTS using port 8883 2016-09-15 22:43:00 +02:00
Mathieu Maret
d3d7e0318a you can configure DHT type 2016-07-09 14:35:55 +02:00
Mathieu Maret
a68a207fa1 Suggest SSID name when configuring Wifi Details 2016-07-08 16:04:20 +02:00
Mathieu Maret
810c9b881c Add a way to test Wifi Config in AP mode 2016-07-08 01:03:32 +02:00
Mathieu Maret
2515e577a6 Fix indent in DHT 2016-07-08 01:02:01 +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