Commit Graph

2681 Commits

Author SHA1 Message Date
Joel Stein 7931b3433a PS_16_DZ: bright as int 2018-11-27 01:07:57 +01:00
Theo Arends c3f07f0bd2 Fix WifiManager functionality
Fix WifiManager functionality on initial installation (#4433)
2018-11-26 17:00:18 +01:00
Joel Stein 6f6e4382ec PS_16_DZ: change logprefix to PSZ 2018-11-26 15:27:51 +01:00
Joel Stein 375a684adf PS_16_DZ: merge development 2018-11-26 15:09:35 +01:00
Joel Stein 87d7609b97 PS_16_DZ: init sequence as 0 2018-11-26 13:53:33 +01:00
Joel Stein 3650ab5fd3 PS_16_DZ: use unix-timestamp as sequence 2018-11-26 13:49:21 +01:00
Joel Stein 41ddab2cbe PS_16_DZ: flush serial after sending command 2018-11-26 13:29:00 +01:00
Joel Stein a6124c376e Revert "PS_16_DZ: wait for acknoledgement before sending more commands"
This reverts commit 7203d6ad03.
2018-11-26 13:27:30 +01:00
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
Joel Stein 7203d6ad03 PS_16_DZ: wait for acknoledgement before sending more commands 2018-11-26 03:20:15 +01:00
Joel Stein 1dc7a5847c PS_16_DZ: correctly parse sequence 2018-11-26 02:22:18 +01:00
Joel Stein 283f023f29 PS_16_DZ: move in nicelist 2018-11-26 01:19:09 +01:00
Joel Stein 985db96f91 PS_16_DZ: print correct sequence 2018-11-26 00:47:00 +01:00
Joel Stein b7a18f7bcc PS_16_DZ: tryfix dimming 2018-11-26 00:31:45 +01:00
Joel Stein 977822f131 PS_16_DZ: start must be 'A' 2018-11-25 23:41:11 +01:00
Joel Stein 0f2ea2800e PS_16_DZ: start must be 'A' 2018-11-25 23:39:44 +01:00
Joel Stein e024ca3beb PS_16_DZ: start sequence with 1529000000000 2018-11-25 23:09:58 +01:00
Joel Stein 5ce19fc3f7 PS_16_DZ: don't use String class 2018-11-25 22:43:28 +01: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
Joel Stein 9574fc7c65 PS_16_DZ: fixes 2018-11-24 16:24:44 +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
Joel Stein 34da2859ba PS_16_DZ: fixes 2018-11-24 05:08:14 +01:00
Joel Stein 55b287d6da PS_16_DZ: fix define in xdrv04 2018-11-24 04:09:57 +01:00
Joel Stein dfc154ab16 PS_16_DZ: remove unwanted file 2018-11-24 03:38:55 +01:00