Commit Graph

1409 Commits

Author SHA1 Message Date
Izik Dubnov
8953a3237f Added relay requests flood protection and relay loop
Signed-off-by: Izik Dubnov <izik@annapurnalabs.com>
2017-03-25 22:07:41 +03:00
Xose Pérez
b0de3f5b5b Remove spaces from DEVICE names 2017-03-25 15:07:59 +01:00
Xose Pérez
325d5f9c7a Add support for ESPURNA_H board 2017-03-25 11:02:37 +01:00
Xose Pérez
cc660a5737 Add ellipsis when debug message too long 2017-03-25 11:02:15 +01:00
Xose Pérez
4b0d9e4a21 Prepare configuration for version 2.0 2017-03-24 09:12:37 +01:00
Xose Pérez
9c6ae488ca Force MQTT root topic to have a trailing slash, removing it from the subtopics 2017-03-24 08:35:11 +01:00
Xose Pérez
517d1fd3f6 Small changes in reset delays after web upgrade 2017-03-24 08:09:24 +01:00
Xose Pérez
53d7890a85 Allow changing color via REST request 2017-03-23 23:16:21 +01:00
Xose Pérez
a5f2cb6527 Upgrade form and handle code 2017-03-19 23:52:10 +01:00
Xose Pérez
2b5ee74d7a Fix typo in nofuss.ino file 2017-03-19 18:50:28 +01:00
Xose Pérez
aecbacf91b Fix MQTT will topic pointer. Thanks to Asbjorn Tronhus 2017-03-16 12:36:30 +01:00
Xose Pérez
18ec85da55 Send analog value to domoticz 2017-03-15 11:50:05 +01:00
Francesco Boscarino
7e066239b5 Merged in webfrank2/espurna/master (pull request #15)
New analog module to read raw value from A0 pin

Approved-by: Xose Pérez
2017-03-15 10:29:05 +00:00
Xose Pérez
d1c5950b48 Add RSSI report 2017-03-15 11:02:20 +01:00
Francesco Boscarino
8ba9ab4c08 New analog module to read raw value from A0 pin 2017-03-14 14:02:17 +01:00
Xose Pérez
2923be75f4 Added SSL enabled test environment in platformio.ini 2017-03-13 23:22:41 +01:00
Xose Pérez
74efdbec3b Do not save wifi conifguration to flash 2017-03-13 23:22:00 +01:00
Xose Pérez
47c0c0fa07 Fix bug in AI_LIGHT defines 2017-03-13 23:18:02 +01:00
Xose Pérez
041fc9adc5 Support for SSL in AsyncMQTTClient. Not functional yet 2017-03-13 23:17:28 +01:00
Xose Pérez
9bf4a2b725 Enable embedded web by default 2017-03-12 22:17:33 +01:00
Xose Pérez
6969ee84a0 Version bump and changelog update 2017-03-12 12:12:57 +01:00
Xose Pérez
96e847f630 Do not report wrong temperature values for DS18B20 2017-03-12 12:12:01 +01:00
Xose Pérez
a6c487fb00 Merge branch 'master' into dev
Conflicts:
	code/espurna/mqtt.ino
2017-03-12 12:07:03 +01:00
Xose Pérez
8c54488fa1 Moving debug strings to PROGMEM. ~1.5KBytes of heap memory freed 2017-03-12 11:59:55 +01:00
Xose Pérez
1be4526f3b Added testing astyle configuration file 2017-03-12 11:08:21 +01:00
Xose Pérez
6b1803d389 Refactor MQTT topics and reports setting names 2017-03-12 10:10:21 +01:00
David Guillen Fandos
d1f03b0754 Fixing use after free bug that leads to corrupted auth credentials 2017-03-10 23:41:34 +01:00
Xose Pérez
8cc1aae248 Added optional debug via UDP 2017-03-06 11:59:10 +01:00
Xose Pérez
f45db831c0 Added custom.h entry in the all.h file. See issue #104 2017-03-05 23:09:21 +01:00
Xose Pérez
fb7e08ec93 Initial support for RGB/RGBW 5050 LED strips 2017-03-05 22:56:11 +01:00
Xose Pérez
0796b0f335 Added relay and color commands to terminal 2017-03-05 22:54:07 +01:00
Xose Pérez
ffd54f1abf Do not broadcast messages via websocket if there is no client connected 2017-03-05 22:51:24 +01:00
Xose Pérez
4c6e1199dd Fix typo in mqtt reports. Added MQTT_RELAY_REPORT 2017-03-05 22:38:09 +01:00
Izik D
1aca16b168 Merged in izikd/espurna/ds18b20 (pull request #12)
Ds18b20
2017-03-01 11:23:53 +00:00
Xose Pérez
40cd0d91fb Version update 2017-03-01 12:11:42 +01:00
Xose Pérez
041d2a9f55 Using AsyncMQTTClient by default again 2017-03-01 11:53:26 +01:00
Xose Pérez
eb432ffe95 Normalize actions passed via websockets 2017-03-01 09:06:47 +01:00
Xose Pérez
aaa562696e Fix reference to old setting 2017-03-01 09:06:19 +01:00
Xose Pérez
4023cf1ba1 DEBUG_PORT enabled by default in Arduino too 2017-03-01 00:05:45 +01:00
Xose Pérez
e0abce8f0b Helper methods for MQTT sending, subscribing and forwarding 2017-03-01 00:03:01 +01:00
Xose Pérez
5c8eebe12e Updating staging version number 2017-02-28 22:58:02 +01:00
Xose Pérez
9e75bdb45a Moving light code to its own module 2017-02-28 22:57:25 +01:00
Xose Pérez
77d7a48d5f Discard empty MQTT topics when subscribing 2017-02-28 22:48:24 +01:00
Xose Pérez
9747e571e0 Disable ADC_VCC when using ADC in Emon module 2017-02-26 16:36:09 +01:00
Xose Pérez
4db64ea581 Allow two minutes between WIFI connect retries 2017-02-26 16:14:21 +01:00
Xose Pérez
a887cc8789 Moved EEPROM initialization to main sketch 2017-02-26 16:13:05 +01:00
Xose Pérez
13c53c7c6d Split data.h content in 1k chunks since Arduino IDE chokes at long lines 2017-02-26 00:20:47 +01:00
Xose Pérez
e758c2295d Restore small delay before wifi to allow autoconnection 2017-02-26 00:20:11 +01:00
Xose Pérez
79a8dc6c06 Fix unknown reference in Arduino IDE 2017-02-25 23:45:53 +01:00
Izik Dubnov
08dc5a22b0 Added DS18B20 not connected indication
Signed-off-by: Izik Dubnov <izikd@izikd.net>
2017-02-26 00:31:47 +02:00