Commit Graph

158 Commits

Author SHA1 Message Date
Mathieu Maret
10df372293 Bunch of hack to link diode with a button on a sonoff 2017-03-18 23:20:42 +01:00
abbfec48c9 Update Readme.md to use mqtt fork 2017-03-08 15:28:46 +01:00
f31c5f3854 Merge branch 'mqtt_retain' into 'master'
Mqtt retain

See merge request !7
2017-03-08 15:26:33 +01:00
b370a109f6 Use Adafruit_MQTT fork that support retains 2017-03-08 15:12:56 +01:00
Mathieu Maret
1166ef1a79 MQTT publisher can set retain flag
Add this flag for IP adress publisher
2017-03-06 23:30:21 +01:00
b574bfbc55 Delete TODO.md.
Move information into gitlab board
2017-01-31 17:50:37 +01:00
Mathieu Maret
d954883d19 Add bureau conf 2017-01-28 14:32:17 +01:00
Mathieu Maret
d5a8232e43 Fix reconfiguration when wifi unreachable 2017-01-28 14:30:25 +01:00
e9a7cb8745 Run cppcheck with CI 2017-01-20 01:21:57 +01:00
Mathieu Maret
f99fcba6d5 Update TODO
GPIO with interupt done
MQTT optionnal
WEB itf optionnal
2017-01-06 21:58:33 +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
1a2d3a3eb6 Merge branch 'MQTT_refacto' into 'master'
Mqtt refacto

MQTT and EEPROM code simplification.
Save about 1k

See merge request !6
2016-11-20 00:30:42 +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
3527184ce0 Merge branch 'pwm' into 'master'
Pwm



See merge request !5
2016-09-28 23:14:43 +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
ad7b6b3213 Updater: Show dialog on sucsess 2016-09-22 13:20:19 +02:00
Mathieu Maret
4d918e4e15 Updater: job in a thread
Add a progress bar
Put device in OTA mode automatically
2016-09-22 12:58:55 +02:00
Mathieu Maret
a66a8fe6ec Updater: add info on espota.py 2016-09-21 23:52:52 +02:00
Mathieu Maret
238b26067e Updater: refact as a class 2016-09-21 23:48:18 +02:00
Mathieu Maret
ed0364eb7a Updater: Cleaning 2016-09-21 23:31:14 +02:00
b43feb922d Add a ugly gui for espota 2016-09-21 18:44:41 +02:00
Mathieu Maret
738ccfd14a Add Wifi Strength to HTML Info 2016-09-21 16:02:52 +02:00
b5b4220c4b Merge branch 'ci' into 'master'
Ci



See merge request !4
2016-09-20 19:18:10 +02:00
Mathieu Maret
286919e45f Add dependencies 2016-09-20 19:14:07 +02:00
Mathieu Maret
eeaab5f29e Correct sketch path 2016-09-20 18:47:00 +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
2e94b98ef2 Merge branch 'mqtts' into 'master'
Enable MQTTS using port 8883



See merge request !2
2016-09-20 12:09:37 +02:00