Commit Graph

2400 Commits

Author SHA1 Message Date
Xose Pérez
edef1631df Merge pull request #1665 from mcspr/cse7766-count
Fix CSE7766 magnitude count
2019-03-29 13:52:44 +01:00
Xose Pérez
976be21814 Merge branch 'dev' of github.com:xoseperez/espurna into dev 2019-03-29 13:50:56 +01:00
Xose Pérez
51703f6ecf Fix some issues with 2.5 (#1565) 2019-03-29 13:50:07 +01:00
Xose Pérez
0a8b2aba07 Merge pull request #1664 from mcspr/pio/silence-uart
PlatformIO: silence postmortem stackdump for boards using serial
2019-03-29 13:46:27 +01:00
Max Prokhorov
594e97880c fix cse7766 magnitude count 2019-03-29 15:43:28 +03:00
Xose Pérez
20269fca84 Still not compiling with 2.5 2019-03-29 13:24:33 +01:00
Max Prokhorov
32615a43ac Merge remote-tracking branch 'origin/dev' into pio/silence-uart 2019-03-29 15:21:13 +03:00
Max Prokhorov
8cc389fce3 no need to conditionally redefine symbols 2019-03-29 15:20:45 +03:00
Xose Pérez
504b45a852 Fix compile typo 2019-03-29 13:15:35 +01:00
Xose Pérez
b74e02ea92 Merge pull request #1647 from CraigMarkwardt/bmx280-second-sensor
sensors - allow a second BMX280 sensor
2019-03-29 13:05:12 +01:00
Max Prokhorov
fa44908269 fix typo and link order 2019-03-29 12:24:51 +03:00
Max Prokhorov
76563d4728 Add relevant hardware 2019-03-29 11:10:34 +03:00
Max Prokhorov
f2ad37152b special dummy printf to disable Serial using some boards 2019-03-29 11:05:11 +03:00
Xose Pérez
175fcbf6cf Support for WPS in core build. Using UNUSED macro to prevent warnings 2019-03-29 07:53:39 +01:00
Xose Pérez
769d677dab Merge pull request #1662 from Niek/relay-mqtt-reporting
Fix building without MQTT_SUPPORT
2019-03-29 05:52:59 +01:00
Niek van der Maas
89a17313c2 Fix building without MQTT_SUPPORT 2019-03-27 20:51:44 +01:00
Craig Markwardt
b5748c9c26 Up to two BMX280 sensors are allowed on a single I2C bus, with addresses 0x76 and 0x77. Currently espurna only supports one of them.
This change adds a second sensor object to deal with two sensors, if BMX280_NUMBER == 2
2019-03-26 09:33:09 -04:00
Xose Pérez
21de702bcc Fix dupplicate key in platformio.ini 2019-03-25 20:10:31 +01:00
Xose Pérez
b00b159e42 Do not check line-end-style in web UI builder (#1657) 2019-03-25 13:46:25 +01:00
Xose Pérez
e037dd15fb Merge pull request #1642 from mcspr/ntp/async-state
Update NTP
2019-03-25 12:43:30 +01:00
Xose Pérez
9c3a6e6548 Merge branch 'webui/switch-typo' of https://github.com/mcspr/espurna into mcspr-webui/switch-typo 2019-03-25 12:41:28 +01:00
Xose Pérez
f40b621637 Merge branch 'sync_first' of https://github.com/foxel/espurna into foxel-sync_first 2019-03-25 12:39:35 +01:00
Xose Pérez
019dc3596b Merge pull request #1641 from irmishappy/patch-1
update hardware.h GREEN_ESP8266RELAY button1 mode
2019-03-25 12:26:50 +01:00
Xose Pérez
59e8fc21d6 Merge pull request #1650 from ColinShorts/dev
Adding support for Generic GU10 bulb
2019-03-25 12:25:48 +01:00
Xose Pérez
5d5e9155e5 Merge pull request #1603 from ElderJoy/thermostat
Add thermostat module
2019-03-25 12:23:11 +01:00
Xose Pérez
fe67fb61af Merge pull request #1645 from Niek/relay-mqtt-reporting
Add option to disable relay reporting to MQTT
2019-03-25 11:57:37 +01:00
Xose Pérez
cf4d220ee0 Merge pull request #1648 from CraigMarkwardt/sensor-custom-decimals
Sensors can determine precision of their magnitudes
2019-03-25 11:34:23 +01:00
Xose Pérez
7c930669dd Merge pull request #1649 from mcspr/event-sensor/multiple-gpio-intr
Event sensor: do not detach existing interrupts
2019-03-25 11:30:54 +01:00
Indu Prakash
d1c852eee5 Fix for #1653 2019-03-25 05:05:06 -05:00
Niek van der Maas
83dc391208 Use mqttForward() instead 2019-03-25 10:34:25 +01:00
Colin Shorts
c3a0a701c2 Adding support for Generic GU10 from #1549 2019-03-23 09:53:45 +00:00
Max Prokhorov
38a950c294 fix comment about clock cycles 2019-03-23 09:25:38 +03:00
Max Prokhorov
79c6263284 Event sensor: do not detach existing interrupts 2019-03-23 07:38:31 +03:00
Max Prokhorov
920c205d61 spaces 2019-03-23 06:41:55 +03:00
Max Prokhorov
58d911d3ed Merge remote-tracking branch 'origin/dev' into webui/switch-typo 2019-03-23 06:39:38 +03:00
Craig Markwardt
8d52078bcb Modify BaseSensor so that each sensor knows number of decimals to represent its magnitude types; update sensor.ino to take advantage of this knowledge; sensors BMX280 and Dallas OneWire are updated with this knowledge; tested with BME280 and Dallas DS18B20 sensors 2019-03-22 12:22:06 -04:00
Niek van der Maas
88135a67b3 Added in relayToggle() as well 2019-03-22 13:53:00 +01:00
Xose Pérez
0987e01950 Allow to configure all LEDs from UI (#1429) 2019-03-21 22:31:11 +01:00
Xose Pérez
13fb5fa929 Using espurna.io as CORS domain 2019-03-21 22:30:13 +01:00
Xose Pérez
546c8f09b2 Update Copyright notice 2019-03-21 17:17:33 +01:00
Xose Pérez
1f2577a4ef Update README.md 2019-03-21 17:01:29 +01:00
Niek van der Maas
a072ada7ae Add option to disable relay reporting to MQTT 2019-03-21 12:40:38 +01:00
Max Prokhorov
ad2ecc45f3 Generate sync interval exactly once 2019-03-21 05:57:57 +03:00
Max Prokhorov
494427402a WebUI: selector typo 2019-03-21 05:14:11 +03:00
Max Prokhorov
7bff68b7b5 dummy return value to fix warning 2019-03-21 04:35:53 +03:00
Max Prokhorov
91cbba3493 Update NTP
- wrapper NTPClient class to avoid inadvertently calling NTP::getTime() while
setting things up
- only call NTP::getTime() when in loop(), install async TimeLib
sync provider and manually set TimeLib time
- randomize sync and delay times
2019-03-21 04:26:06 +03:00
Xose Pérez
3b21e59635 Merge branch 'dev' of github.com:xoseperez/espurna into dev 2019-03-20 21:01:26 +01:00
irmishappy
72da00126a update GREEN_ESP8266RELAY button1 mode
Mine was not working till I added BUTTON_SET_PULLUP | BUTTON_DEFAULT_HIGH
2019-03-20 20:21:25 +02:00
AlbertWeterings
b9029020a5 CSE7766: Add reactive power calculation (#1591)
* Add reactive power calculation and bring output to in line with HLW8012 sensor based units

* Update CSE7766Sensor.h
2019-03-18 10:22:17 +03:00
Xose Pérez
0686e048a9 Cleaning up arduino.h file 2019-03-15 09:00:44 +01:00