Commit Graph

31 Commits

Author SHA1 Message Date
Theo Arends 5e805e0c4a Move Settings from DRAM to heap 2021-06-11 18:14:12 +02:00
seeers e11db3aebd
prevent keep state output toggle on reboot
prevents the switched-on outputs from being switched quickly during a restart
2021-06-01 21:07:13 +02:00
nngg 74f0bbaf9c
Update xsns_29_mcp230xx.ino
when more than single out pin is configured this prevents non unique key (for how assistant auto configuration) due too long string being ignored.
2021-05-07 06:54:27 -07:00
Theo Arends 2f5c20a42f Add more rule triggers 2021-04-07 15:07:05 +02:00
Simon Ratcliffe 247ff59b78 Remove superfluous debug messages 2021-03-21 12:00:33 +11:00
Simon Ratcliffe 880380194c Squashed commit of the following:
commit 9f11b10407c823d693ffb76c84fabec1027229c0
Author: Simon Ratcliffe <simon@proatomic.com.au>
Date:   Sat Mar 20 17:25:43 2021 +1100

    Add output mode 2
    Fix display of output pins
    Update code sizes
2021-03-20 17:59:34 +11:00
Theo Arends c2800ec0cd
Merge pull request #11385 from theOzzieRat/MCP230xx_pinmode6_fix
MCP230xx fix savestate for pinmode=6 and init with so0=1
2021-03-19 09:17:04 +01:00
Simon Ratcliffe 6ef79cdd00 MCP230xx fix savestate for pinmode=6 and init with so0=1 2021-03-19 14:00:09 +11:00
Simon Ratcliffe b857ff5e68 Remove superfluous "END":1 from telemetry 2021-03-19 10:35:50 +11:00
Simon Ratcliffe 6a3d6c7e5e Fix MCP2300x initialisation. 2021-03-17 14:28:04 +11:00
Barbudor e8e2280bb3 allows switch pinmode from output to input 2021-02-23 15:21:33 +01:00
Theo Arends aea856ca2c Refactor command line arguments 2021-01-30 12:48:44 +01:00
Theo Arends ac054ea666 Refactor AddLog usage 2021-01-23 17:10:06 +01:00
Theo Arends dcbb3f1e0e Happy New Year 2021-01-01 13:44:04 +01:00
Leon Wright a328f0e4de Only apply mcp230xx_oldoutpincount when USE_MCP230xx_OUTPUT set 2020-12-30 15:23:34 +08:00
Theo Arends fa7fdbd51a Consolidate `AddLog_P`
Consolidate `AddLog_P` into `AddLog_P2` and rename to `AddLog_P`
2020-11-06 17:09:13 +01:00
Theo Arends af5082320d Use global struct 2020-10-30 12:29:48 +01:00
Theo Arends 280f0a9de7 Use global struct 2020-10-29 13:37:09 +01:00
stefanbode 35b0d671b7
Update xsns_29_mcp230xx.ino
- Removed custom code for INTERLOCK. referenced to normal INTERLOCK groups trough POWER command.
- Compiler Options to save space
- redirect sensor29 set relay status to POWER command
2020-08-04 08:31:50 +02:00
stefanbode b966a5a933
Exposed OUT Pin as Relays 2020-08-03 18:02:27 +02:00
Theo Arends 5f386cc164 Fix MCP230xx telemetry JSON message
Fix MCP230xx telemetry JSON message (#8965)
2020-07-23 14:52:29 +02:00
nagyrobi 29177652dd
Add SetOption59 capability to MCP230XX 2020-05-16 17:30:43 +02:00
Theo Arends 8aa9109656 Happy New Year
Happy New Year
2019-12-31 14:23:34 +01:00
Theo Arends 24b71c5ba3 Refactor I2C driver detection phase 6 2019-11-11 17:32:44 +01:00
Theo Arends 48e15216be Refactor Sensor MQTT data adding rule support 2019-11-10 17:40:37 +01:00
Theo Arends 492260cb7e Refactor I2C driver detection phase 4 2019-11-09 18:34:22 +01:00
Theo Arends 538d40ab72 Change default I2C address ranges
* Change supported PCF8574 I2C address range to 0x20 - 0x26 allowing other I2C devices with address 0x27 to be used at the same time
 * Change supported PCF8574A I2C address range to 0x39 - 0x3F allowing other I2C devices with address 0x38 to be used at the same time
 * Change supported MCP230xx I2C address range to 0x20 - 0x26 allowing other I2C devices with address 0x27 to be used at the same time
2019-11-08 17:48:19 +01:00
Theo Arends b46c6ef3e5 Refactor I2c drivers 2019-11-04 10:38:05 +01:00
Theo Arends 1e29593469 Bump version 7.0.0.3
Initial support for I2C driver runtime control using command I2CDriver and document I2CDEVICES.md
2019-11-03 17:54:39 +01:00
Theo Arends 5f4e38023d Add SetOption comments to code 2019-11-03 12:33:36 +01:00
Theo Arends 0e07397ff7 Change Sonoff-Tasmota to Tasmota 2019-10-27 12:04:08 +01:00