Theo Arends
9738f640cf
Merge pull request #4473 from chaosmaster/patch-1
...
PS_16_DZ: cleanup/optimize
2018-11-28 09:21:15 +01:00
Joel Stein
0ce7537371
PS_16_DZ: cleanup
2018-11-28 00:04:06 +01:00
Erik
6d3223f962
Hass: Restart if topic is changed
2018-11-27 19:31:45 +01:00
Joel Stein
f75c4a27ad
PS_16_DZ: leave space for trailing 0-byte
2018-11-27 19:01:06 +01:00
Joel Stein
49403243d5
PS_16_DZ: further optimization
2018-11-27 18:02:00 +01:00
Joel Stein
6825b78153
PS_16_DZ: optimize for size
2018-11-27 17:18:41 +01:00
Joel Stein
5099d8f20d
PS_16_DZ: reduce buffer-size and actually check for overflow
2018-11-27 16:52:09 +01:00
Joel Stein
7a2c5154aa
PS_16_DZ: only update brightness if it actually changed
2018-11-27 16:11:14 +01:00
Theo Arends
be358b3314
Prep for Software SPI
...
Prep for Software SPI used by some displays
2018-11-27 15:11:10 +01:00
Theo Arends
fd20706ef7
Move static to dynamic buffers
...
* Add support for SM Smart Wifi Dimmer PS-16-DZ (#4465 )
* Move some static (serial) buffers to dynamic buffers
2018-11-27 14:38:09 +01:00
Theo Arends
0df7df9b08
Fix dynamic buffer handling
...
Fix dynamic buffer handling
2018-11-27 12:18:27 +01:00
Theo Arends
3f33e3efa8
Add dynamic buffer space
...
Add dynamic buffer space
2018-11-27 12:09:36 +01:00
Theo Arends
a360ac4ef6
Add dynamic buffer space
...
Make serial buffer space reservation dynamic
2018-11-27 11:55:54 +01:00
Theo Arends
33a158fb0c
Merge pull request #4465 from chaosmaster/ps16dz
...
Add support for PS-16-DZ Dimmer
2018-11-27 11:16:23 +01:00
Theo Arends
101cf83d7d
Update settings.ino
2018-11-27 10:54:34 +01:00
Adrian Scillato
e3d1971e51
Add Command CalcRes
2018-11-26 23:08:23 -03:00
Joel Stein
281166841b
PS_16_DZ: cleanup code
2018-11-27 02:04:59 +01:00
Joel Stein
7e34f402c9
PS_16_DZ: GPIO13 => LED1
2018-11-27 01:30:05 +01:00
Adrian Scillato
e46a81c193
6.3.0.14 Added command CalcRes
2018-11-26 21:29:06 -03:00
Adrian Scillato
f115120d9b
6.3.0.14 Added Calc Resolution
2018-11-26 21:27:07 -03:00
Adrian Scillato
f7a8f39f89
Added command CalcRes
2018-11-26 21:22:44 -03:00
Adrian Scillato
5d11a4f444
Added command CalcRes
2018-11-26 21:16:47 -03:00
Adrian Scillato
c51e657ed9
Added command CalcRes
2018-11-26 21:16:09 -03:00
Adrian Scillato
0b988c561b
Added command CalcRes
2018-11-26 21:14:12 -03:00
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
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
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
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
andrethomas
7c84f892fc
Add target loop delay to telemetry
2018-11-25 14:29:53 +02:00