Laurent Dong
09732c9f2d
Add new compare operators ("==", "!=" ,">=" and "<=") for rule
...
Introduce new compare operators for rules and did some optimization as well.
The new "==" operator act as a real number comparison instead of the previous "=" operator which is doing string comparison which result in FALSE for "1 + 1 = 2". For example:
rule1 on event#test do backlog var1 1;add1 1; event CompareWith2=2 endon on event#CompareWith2=%var1% do ledpower on endon
ledpower off
rule1 on
event test
2019-02-05 09:34:17 -05:00
Theo Arends
9c8af6428e
Update xdrv_08_serial_bridge.ino
...
Fix regression
2019-02-05 14:13:53 +01:00
Theo Arends
adecf6a9ce
Fixes and Tuning
...
Fixes and Tuning
2019-02-05 12:21:31 +01:00
Theo Arends
e9ad78c616
Update xnrg_04_mcp39f501.ino
...
Fix Exception 9 (Buffer overflow)
2019-02-05 10:13:22 +01:00
Theo Arends
b839d7e80e
Add user configuration of MCP39F501
...
Add user configuration of MCP39F501 Energy Monitoring as used in Shelly2
2019-02-04 18:18:47 +01:00
Theo Arends
48faabc1cf
Revert "Add user configuration of MCP39F501"
...
This reverts commit c340e2b8bd
.
2019-02-04 18:17:50 +01:00
Theo Arends
c340e2b8bd
Add user configuration of MCP39F501
...
Add user configuration of MCP39F501 Energy Monitoring as used in Shelly2
2019-02-04 18:17:17 +01:00
Theo Arends
16ec25bdff
Prep for user config
...
Prep CSE7766 (S31 and PowR2) and MCP39F501 (Shelly2) for user configuration
2019-02-04 14:57:20 +01:00
Theo Arends
d061d5abb8
Add user configuration
...
Add user configuration of HLW8012 and HJL-01/BL0937 Energy Monitoring
2019-02-04 12:53:10 +01:00
Theo Arends
6ee3d1abc6
Fix IR local echo
...
Fix IR local echo
2019-02-03 18:45:20 +01:00
Theo Arends
54aaaf50c9
6.4.1.14 Add diag info to status 3
...
6.4.1.14 20190203
* Add SetOption32 until SetOption49 diagnostic information to Status 3 report as replacement for second property value in SetOption property name
* Add Resolution property to Status 3 report providing previous SetOption second value property
2019-02-03 12:38:41 +01:00
Theo Arends
ee5aed07d8
Merge pull request #5086 from netpok/device-waga
...
Device waga
2019-02-02 16:11:47 +01:00
Theo Arends
0c747a7499
Split module and GPIO ajax list
...
Split module and GPIO ajax list
2019-02-02 15:16:35 +01:00
netpok
4dc1d2f260
Fix led polarity
2019-02-02 01:10:35 +01:00
andrethomas
7e56dc538d
MHZ19: Allow enable and disable of ABC
2019-02-01 18:46:37 +02:00
netpok
b927237aad
Fix LED numbering
2019-02-01 15:01:45 +01:00
netpok
b2109c3eab
Merge branch 'development' into device-waga
2019-02-01 14:56:28 +01:00
netpok
1bb22c06a6
Update SP10 descriptions
2019-02-01 14:55:33 +01:00
netpok
edb0cf8f69
Add WAGA life CHCZ02MB device
2019-02-01 14:54:35 +01:00
Theo Arends
de41a88bec
Fix stop flash rotate functionality
...
Fix stop flash rotate functionality
2019-02-01 14:05:55 +01:00
Theo Arends
79e001caae
Merge pull request #5071 from netpok/device-sp10
...
Add Tuya SP10
2019-01-31 21:14:17 +01:00
andrethomas
12361df705
PN532: Fix regression
2019-01-31 22:03:47 +02:00
netpok
ed41370d24
Add Tuya SP10
2019-01-30 19:44:48 +01:00
Theo Arends
9825d6ffb6
Add resiliency to saved Settings
...
Add resiliency to saved Settings (#5065 )
2019-01-30 16:27:17 +01:00
Theo Arends
0007df121a
Update settings.ino
...
Fix for new installs
2019-01-30 15:14:24 +01:00
Theo Arends
2c164a8b4b
6.4.1.13 Add boot loop offset
...
6.4.1.13 20190130
* Add command SetOption36 to control boot loop default restoration (#4645 , #5063 )
2019-01-30 14:34:31 +01:00
Theo Arends
cb13e8b05e
Update xdrv_12_home_assistant.ino
...
Minor gain in string length
2019-01-30 14:33:20 +01:00
Theo Arends
ea59ed6abd
Merge pull request #5052 from Jason2866/development
...
Fix Alexa bug in Core v.2.4.2
2019-01-29 13:34:01 +01:00
Theo Arends
4509019d64
Fix valid button range check
...
Fix valid button range check
2019-01-28 18:04:33 +01:00
Jason2866
82b69885fe
Fix Alexa bug in Core 2.4.2.
...
Use patched Parsing.cpp only for Core 2.4.2 to fix Alexa bug
2019-01-28 17:53:25 +01:00
Theo Arends
15c5e15f7c
Update support_wifi.ino
...
Add TLS remarks (#4952 )
2019-01-28 15:13:14 +01:00
Theo Arends
304ac6fe44
6.4.1.12 code changes (byte/boolean)
...
6.4.1.12 20190128
* Change code use of boolean to bool and byte to uint8_t
* Change code uint8_t flags to bool flags
2019-01-28 14:08:33 +01:00
Theo Arends
6c8e15dadd
Fix inverted buttons
...
Fix inverted buttons
2019-01-28 10:18:44 +01:00
Theo Arends
2fc2535c7b
Remove functionality not present
...
Remove functionality not present (#5043 )
2019-01-27 15:13:57 +01:00
Theo Arends
dc75b473cf
Add support for inverted buttons
...
* Add core version conditional compile options to provided PWM files (#4917 )
* Add support for inverted buttons and inverted buttons without pullup (#4914 )
2019-01-27 14:54:28 +01:00
Theo Arends
d1c6cfb6f9
Disable patched core PWM
...
Disable patched core PWM starting with core 2.5.0-beta3
2019-01-27 12:42:05 +01:00
Theo Arends
f8350d65c4
Merge pull request #5031 from andrethomas/patch-1
...
Disable sleep 0 for scheme 0
2019-01-27 11:25:41 +01:00
Theo Arends
269258bde5
Update xdrv_04_light.ino
2019-01-27 11:25:28 +01:00
Theo Arends
2827de40a3
Set initial legacy interlock state
...
Set initial legacy interlock state
2019-01-27 11:02:12 +01:00
Andre Thomas
13b8401089
Update xsns_40_pn532_i2c.ino
2019-01-27 01:11:55 +02:00
andrethomas
5dfc8a951b
PN532:Allow RAW DATA usage by define
2019-01-27 00:53:52 +02:00
Andre Thomas
f23d18723e
Disable sleep 0 for scheme 0
...
Disable sleep 0 for scheme 0 as there is no animation required
2019-01-26 16:43:36 +02:00
Theo Arends
1fb7eb646f
Add 50 mSec delay
...
Add 50 mSec delay between interlocked relay switch
2019-01-25 18:30:10 +01:00
Theo Arends
505c4794d1
6.4.1.11 Rewrite interlock
...
6.4.1.11 20190124
* Remove command SetOption14 as it has been superseded by command Interlock
* Remove command SetOption63 as it has been superseded by command Interlock
* Add command Interlock 0 / 1 / 1,2 3,4 .. to control interlock ON/OFF and add up to 8 relays in 1 to 4 interlock groups (#5014 )
2019-01-25 17:46:27 +01:00
Theo Arends
eab6be8bcb
Fix WS2812 led command
...
Fix WS2812 led command to address last pixel (#5015 )
2019-01-24 11:55:31 +01:00
Theo Arends
ced019eaa5
Add support for MAX44009
...
Add support for MAX44009 Ambient Light sensor (#4907 )
2019-01-24 11:41:52 +01:00
Theo Arends
669f6c86c9
Merge pull request #4907 from llagendijk/development
...
Add support for MAX44009 ambient light sensor
2019-01-24 11:21:40 +01:00
Theo Arends
caabada214
Update my_user_config.h
2019-01-24 11:21:16 +01:00
Louis Lagendijk
4cdc3d5404
Implemented changes suggested by Theo (Thanks!):
...
- use functions from support.ino (had to split reading in Max4409Detect
in 2 8 bits reads as the MAX44009 only supports 16 bits reads for
luminance registers)
- Used the << instead of pow() to save a lot of xompiled code
- Improved float -> string conversion along the suggested lines
- Code size is now +/- 750 bytes (without other I2C sensors compiled in
I think
2019-01-23 22:20:29 +01:00
Louis Lagendijk
ee3ab87d07
Made requested changes:
...
- Added checks for improved MAX44009 detection
- removed HTTP_SNS_ILLUMINANCE_S (show only integer in web-interface)
- removed missed readings and repeated detection
2019-01-23 16:06:06 +01:00