Commit Graph

49 Commits

Author SHA1 Message Date
Mathieu Maret
cd117f342c more const 2020-03-09 22:38:43 +01:00
Mathieu Maret
5f5bd1b8ae display bme information on webpage + refacto 2020-02-28 23:40:35 +01:00
Mathieu Maret
0c9e8b977b Bme fixes 2020-02-28 17:16:39 +01:00
Mathieu Maret
9f14016abf Add bme680 sensor 2020-02-27 00:07:30 +01:00
Mathieu Maret
9ac0f2edb8 Fix MqttBatchPublish 2019-06-04 23:18:17 +02:00
Mathieu Maret
caf88dcd98 Mqtt: use batch publish to generalize code
And fix indentation
2019-05-14 23:44:46 +02: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
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
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
6f6c0f7525 Use template for MqttPublish functions
And rename Mqtt*Publish function into MqttPublish*
2016-11-16 16:59:17 +01:00
Mathieu Maret
e0f600baf0 Possibility to disable MQTT
save ~6k
2016-10-28 18:04:30 +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
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
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
967c6c736f Feed Ipaddress by MQTT 2016-06-18 02:24:00 +02:00
Mathieu Maret
5db953072d Return dryness to http and mqtt 2016-06-04 18:45:11 +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
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
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
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
bdbcfd25d4 DHT: get temp and humidity
And save them with mqtt
2016-04-07 15:26:01 +02:00
Mathieu Maret
50bf6c7d57 dht: add mqtt entries 2016-04-07 02:04:38 +02:00
Mathieu Maret
0dd9901d19 Avoid mqtt communication if mqtt is not configured 2016-04-01 01:05:03 +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
a990ce0055 Make Serial output optionnal
Save 2k of ROM
2016-03-26 15:07:15 +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
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
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
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
f0b47e162c Send temperature information into MQTT 2016-03-11 01:39:25 +01:00