Commit Graph

450 Commits

Author SHA1 Message Date
Xose Pérez
65de183a07 Added onPublish and onSubscribe callback and onDisconnect reasons to MQTT debug log 2017-08-11 23:10:08 +02:00
Xose Pérez
0e682ce399 Update third party libs 2017-08-11 16:55:07 +02:00
Xose Pérez
41189a65b4 API returns processed values for HLW and EMON. 404 means no data yet. Some clean up 2017-08-11 16:18:51 +02:00
Xose Pérez
14cbfb623f Remove unused variable 2017-08-11 12:14:36 +02:00
Xose Pérez
fc0d050b51 Remove debug messages on websocket events 2017-08-09 23:36:18 +02:00
Xose Pérez
d52dc4b653 /set as default MQTT setter postfix 2017-08-09 17:16:49 +02:00
Xose Pérez
c066d7165d Added comments to general.h file 2017-08-09 16:29:57 +02:00
Xose Pérez
92ba00b285 Issue #167. Using DOUT flash mode on all Sonoff devices 2017-08-07 14:48:14 +02:00
Xose Pérez
dc768afada Allow WiFi more time to connect 2017-08-07 14:42:46 +02:00
Xose Pérez
e6e9f9d6d4 Change the double click delay from the web interface 2017-07-24 00:22:38 +02:00
Xose Pérez
252f4ee594 Updating version 2017-07-23 22:10:22 +02:00
Xose Pérez
82beb8930f Issue #171. Fix corrupted will message 2017-07-23 21:58:46 +02:00
Xose Pérez
a27c8a3145 Return time in ISO format 2017-07-23 21:49:19 +02:00
Xose Pérez
eb4855d5e6 Add option to merge messages into a JSON payload to web interface 2017-07-23 19:54:00 +02:00
Xose Pérez
629309bde2 Define MQTT mode with a soft setting 2017-07-23 18:04:24 +02:00
Xose Pérez
af0cb7b64a Merge branch 'dev' into mqttjson 2017-07-23 17:36:45 +02:00
Xose Pérez
0535fcee5e Issue #170. Using updated DebounceEvent library to allow disabling double click option and get faster click responses 2017-07-23 17:17:48 +02:00
Xose Pérez
59ced72001 Rename settings names from POW to HLW8012 2017-07-23 16:42:37 +02:00
Xose Pérez
a67c80de69 Small changes 2017-07-23 16:39:04 +02:00
Xose Pérez
4db8d27fdb Added H801 to arduino.h 2017-07-21 16:12:35 +02:00
Xose Pérez
47e2847e79 Cleanup gulp files 2017-07-21 13:32:20 +02:00
Xose Pérez
4c5d8d804b Helper methods to aggregate MQTT messages in JSON format 2017-07-19 01:51:54 +02:00
Xose Pérez
e327a219a8 Added Sonoff Touch to build-all script 2017-07-17 06:32:08 +02:00
Xose Pérez
15650a6521 Version bump 2017-07-16 23:42:43 +02:00
Xose Pérez
811b8cb119 Merge branch 'influxdb' into dev 2017-07-16 23:22:25 +02:00
Xose Pérez
17722d55b5 Enable WIFI debug on hardware (button long press) reset 2017-07-16 23:22:03 +02:00
Xose Pérez
e349c6991b Added custom reset messages 2017-07-16 23:21:05 +02:00
Xose Pérez
67811f76ff Check wifi connection before trying to connect to influxdb host 2017-07-16 18:22:54 +02:00
Xose Pérez
65f30c668f Merge branch 'influxdb' into dev
Conflicts:
	code/espurna/static/index.html.gz.h
2017-07-16 17:09:32 +02:00
Xose Pérez
79a0816053 Accept decimals in pulse time, limit it to 60s 2017-07-16 09:10:57 +02:00
Xose Pérez
cad507034b Remove gulp temporary files 2017-07-15 11:31:13 +02:00
Xose Pérez
55bec8f033 Direct InfluxDB HTTP support 2017-07-15 11:30:32 +02:00
Xose Pérez
3d1ac421ca Using dynamic webport on MDNS setup 2017-07-14 23:01:59 +02:00
Xose Pérez
295c0518cb Cleanup gulp dependencies 2017-07-14 23:00:04 +02:00
Lauris Ieviņš
f0c1f591a9 Merged in laurisievins/espurna/pulse_fix (pull request #20)
Each relay has its own pulse ticker.

Approved-by: Xose Pérez <xose.perez@gmail.com>
2017-06-28 10:00:29 +00:00
Lauris Ieviņš
41b0f7d4e4 Merged in laurisievins/espurna/pow_changes (pull request #19)
Correct units for apparent and reactive power; 1ma current resolution; power factor value change

Approved-by: Xose Pérez <xose.perez@gmail.com>
2017-06-28 09:58:41 +00:00
Lauris
2eed5f4ac2 Each relay has its own pulse ticker. This fixes issue #149 2017-06-23 01:45:53 +03:00
Xose Pérez
b84c48d8f0 Moved HLW8012 interrupt wrappers to IRAM 2017-06-20 15:17:30 +02:00
Lauris
618ff879e4 Reverting binary data 2017-06-19 14:41:50 +03:00
Lauris
5b28c51d2d Changed Powef Factor to be dimensionless number instead of % (used more often that way) 2017-06-18 22:52:01 +03:00
Lauris
39c09a3615 Using correct units for Apparent Power and Reactive Power
Change resolution of current to 1ma (3 decimal places)
2017-06-18 13:33:01 +03:00
Xose Pérez
5e546d4cd6 Issue #148. Fix bug in conditional compilation check 2017-05-31 22:55:27 +02:00
Xose Pérez
20681bcd04 Fix no relay control bug for Sonoff Dual devices 2017-05-22 09:34:26 +02:00
Xose Pérez
df321e952f Version bump 2017-05-21 15:15:12 +02:00
Xose Pérez
43ab00d491 Enable gamma correction for RGB strips 2017-05-21 12:20:52 +02:00
Xose Pérez
4d96cac751 Improve support fro H801 led controller, thanks to Minh Phuong Ly 2017-05-21 11:55:54 +02:00
Xose Pérez
3958c3eaad Fix references to Serial 2017-05-21 11:55:13 +02:00
Xose Pérez
245549f7be Remove RELAY_MODE_FOLLOW 2017-05-20 23:51:08 +02:00
Xose Pérez
c8eba6a979 NTP configuration in web interface 2017-05-20 23:50:26 +02:00
Xose Pérez
ec963a7568 Fix typo 2017-05-20 22:08:00 +02:00