Commit Graph

2342 Commits

Author SHA1 Message Date
Theo Arends b4e2fe0439 6.3.0.13 Add command SetOption59
6.3.0.13 20181126
 * Add command SetOption59 0/1 to change state topic from tele/STATE to stat/RESULT (#4450)
2018-11-26 13:01:42 +01:00
Theo Arends eb851a9a90
Merge pull request #4450 from emontnemery/hass_send_tele
WIP - Support sending tele/STATUS as state/RESULT
2018-11-26 12:49:43 +01:00
Theo Arends 4d37683877
Merge pull request #4459 from andrethomas/patch-1
Fix math in LoadAvg
2018-11-26 11:27:44 +01:00
andrethomas acdbd39124
Fix math in LoadAvg
Fix the math in LoadAvg calculation. To keep average we take away one Nth of loops and add one Nth of current cycle ration to the average.

Now the math makes more sense... maximum load average on setoption36 0/1 = 999 (as it should be)
2018-11-26 11:37:15 +02:00
Erik eda60b6124 Support sending tele/STATUS as state/RESULT 2018-11-25 21:27:19 +01:00
Theo Arends 43d6307505
Merge pull request #4449 from ngalfas/patch-1
Update el-GR.h
2018-11-25 19:41:59 +01:00
Nick Galfas 3af44ab81f
Update el-GR.h
Improved Greek translation including the latest versions text fields
2018-11-25 20:19:20 +02:00
Theo Arends 243ec16d80 Fix another calcuation error
Fix another calcuation error
2018-11-25 17:31:53 +01:00
Theo Arends 5ebef45465
Merge pull request #4444 from andrethomas/patch-2
Remove assumption of 100% to report correctly
2018-11-25 16:59:51 +01:00
andrethomas 0b14a95082
Remove assumption of 100% to report correctly
Remove the assumption of 100% loop duty cycle as we want an accurate loop load average and not a percentage as such - so if it overshoots the value stored for setoption36 this should be known by looking at the load average and not be distorted by reducing it to 100 basis points on the assumption that my_acitivity took as long as setoption36.
2018-11-25 17:52:07 +02:00
Theo Arends 05be1ee21c Fix exception due to divide by 0
Fix exception due to divide by 0
2018-11-25 16:41:29 +01:00
Theo Arends d438007d35
Merge pull request #4441 from andrethomas/development
Add target loop delay to telemetry
2018-11-25 13:37:48 +01:00
andrethomas 7c84f892fc Add target loop delay to telemetry 2018-11-25 14:29:53 +02:00
Theo Arends bd8bd514ed
Merge pull request #4432 from andrethomas/patch-1
Update CPU average load function
2018-11-24 18:05:40 +01:00
andrethomas c22fcc2a3a
Update CPU average load function
Remove unnecessary manipulations :)
2018-11-24 19:00:42 +02:00
Theo Arends 52eeef95f0 Add CPU average load
Add CPU average load to state message (#4431)
2018-11-24 17:43:18 +01:00
Theo Arends 164db4e12b Clean up
Clean up
2018-11-24 17:22:06 +01:00
Theo Arends b061f8d135
Merge pull request #4431 from andrethomas/patch-1
Add main loop load average
2018-11-24 17:16:59 +01:00
Theo Arends 4700e49d70
Update sonoff.ino 2018-11-24 17:16:27 +01:00
andrethomas 0e56044eb5
Add main loop load average
Add main loop avarage duty cycle measured against setoption36 value to telemetry data as LoadAvg
2018-11-24 18:12:49 +02:00
Theo Arends eada06a66c
Merge pull request #4430 from chaosmaster/patch-1
OBI: make UART user configurable
2018-11-24 16:58:26 +01:00
Joel Stein f391c0fd65 OBI: make UART user configurable 2018-11-24 16:47:26 +01:00
Theo Arends 4b57bff728 Rename Module 45 to Blitzwolf SHP
Rename Module 45 to Blitzwolf SHP as it serves both SHP2 and SHP6 (among others)
2018-11-24 16:08:53 +01:00
andrethomas2 01db8fa25b
Update _changelog.ino 2018-11-24 13:28:32 +02:00
Theo Arends 4aadc328ce
Merge pull request #4423 from andrethomas/patch-1
Increase delays before web ui is refreshed
2018-11-24 12:05:08 +01:00
Theo Arends 9608bfd2e5
Update xdrv_01_webserver.ino 2018-11-24 12:04:30 +01:00
Theo Arends 263839a1a0 Fix MqttRetry values above 255
Fix MqttRetry values above 255 seconds (#4424)
2018-11-24 12:01:13 +01:00
andrethomas ef4e2b297c
Decrease update webui refresh to 5 seconds
Decrease update webui refresh to 5 seconds
2018-11-24 13:00:45 +02:00
andrethomas a6983d52f7
Increase delays before web ui is refreshed
The current 5-second delay before refreshing web ui after settings were changed is not always sufficient as wifi can take up to 10 seconds to re-connect and be available on some wireless networks, depending on the device's RSSI.

This change increases the delay from 5 seconds to 10 seconds which have been tested down to RSSI levels of 25 to be sufficient.

This change also increases the refresh delay when a local OTA is uploaded to 20 seconds which allows enough time for the cp: process to complete and the device to reconnected to wifi under >= 25 RSSI conditions.
2018-11-24 12:46:32 +02:00
andrethomas2 0daf26586d
Added icon and link to discord 2018-11-23 20:03:11 +02:00
Theo Arends 763a280903 Fix MPU6050 JSON message
Fix MPU6050 JSON message (#4412)
2018-11-23 11:04:05 +01:00
Theo Arends 8c1b966004 Move IrSend rawdata to stack
Move IrSend rawdata from heap to stack
2018-11-22 17:58:07 +01:00
Theo Arends 9ec57e0203
Merge pull request #4410 from andrethomas/patch-1
Update boot delay code
2018-11-22 16:23:07 +01:00
andrethomas c436ed5d3d
Update boot delay code
Since the driver boot delay has been removed, this is a better strategy for getting a smoother boot cpu cycle vs loop delay.
2018-11-22 17:13:55 +02:00
Theo Arends 6c87ab205a Fix possible strncat buffer overflows
Fix possible strncat buffer overflows
2018-11-22 15:41:30 +01:00
Theo Arends d71ae77900 6.3.0.12 Change boot delays
6.3.0.12 20181122
 * Remove delays introduced in 6.3.0.11 (#4233)
 * Add additional start-up delay during initial wifi connection
 * Add support for I2C MGC3130 Electric Field Effect sensor by Christian Baars (#3774, #4404)
 * Add initial support for Hass sensor discovery (#4380)
2018-11-22 12:25:18 +01:00
Theo Arends 29f46c5804
Merge pull request #4380 from emontnemery/hass_announce_dht_sensor
Add support for sensor discovery
2018-11-22 12:16:41 +01:00
Theo Arends 8cae2a5ba9
Merge pull request #4403 from ascillato/patch-1
Fix PIO Linter Warning
2018-11-22 12:04:28 +01:00
Theo Arends a9c5eeece1
Merge pull request #4404 from Staars/development
support for MGC3130
2018-11-21 21:17:17 +01:00
Christian 02dd07cb95
Language keys for MGC3130 2018-11-21 21:09:17 +01:00
Christian ae9d66bfa9
Language keys for MGC3130 2018-11-21 21:08:46 +01:00
Christian 0d6df5ed61
Language keys for MGC3130 2018-11-21 21:08:19 +01:00
Christian 08ae15db6f
Language keys for MGC3130 2018-11-21 21:07:42 +01:00
Christian 20d3343e85
Language keys for MGC3130 2018-11-21 21:07:13 +01:00
Christian ba6433ccf7
Language keys for MGC3130 2018-11-21 21:06:32 +01:00
Christian 87a9d3e0cf
Language keys for MGC3130 2018-11-21 21:06:02 +01:00
Christian e08f2126b6
Language keys for MGC3130 2018-11-21 21:05:34 +01:00
Christian 3c3ae73e60
Language keys for MGC3130 2018-11-21 21:05:09 +01:00
Christian 1961e5b9d9
Language keys for MGC3130 2018-11-21 21:04:41 +01:00
Christian 65c848e4a2
Language keys for MGC3130 2018-11-21 21:04:15 +01:00