Commit Graph

4173 Commits

Author SHA1 Message Date
Theo Arends 50d66dc39a
Merge pull request #6416 from curzon01/development
decode-config.py: adapt settings
2019-09-14 09:56:04 +02:00
Theo Arends 05727d907b
Merge pull request #6415 from Staars/obj_dump
Create an objdump from firmware.elf automatically
2019-09-14 09:54:49 +02:00
Norbert Richter 622fc70566 decode-config.py: adapt settings
- add Sensor54 (ina226_r_shunt, ina226_i_fs)
- add/change Tariffx (register8)
- add crc32 calc
2019-09-13 15:39:57 +02:00
Staars 28bd411311 call obj-dump.py as extra_script 2019-09-13 09:10:36 +02:00
Staars 83b2c85815 call obj_dump.py as extra_script 2019-09-13 09:08:15 +02:00
Staars 188e3bb65a obj_dump after .elf creation 2019-09-13 08:57:09 +02:00
Theo Arends 6aec536819
Merge pull request #6410 from effelle/development
Update it-IT.h
2019-09-12 17:52:30 +02:00
Federico Leoni 37c5bad95d
Update it-IT.h 2019-09-12 12:45:47 -03:00
Theo Arends 4db3947dc9
Merge pull request #6390 from effelle/development
Home Assistant discovery class detection
2019-09-12 14:33:34 +02:00
Theo Arends 1341db1392 Change JSON output format for some commands
Change JSON output format for commands Adc, Adcs, Modules, Gpio and Gpios from list to dictionary (#6407)
2019-09-12 14:19:44 +02:00
Theo Arends 3a0fce2503 Add command Gpios 255/All to show all available GPIO components
Add command Gpios 255/All to show all available GPIO components (#6407)
2019-09-12 12:32:33 +02:00
Theo Arends d9877e8086
Merge pull request #6409 from gemu2015/touch-fix
fixes touch controller on core > 2.42
2019-09-12 11:00:54 +02:00
gemu2015 65532af236 Update FT6236.cpp 2019-09-12 10:58:47 +02:00
Theo Arends 7479236864
Merge pull request #6406 from laurentdong/pullrequest
Rule did not been triggered if there's no comparation operator
2019-09-12 08:40:53 +02:00
Laurent ea3fcaf22c Rule did not been triggered if there's no comparation operator
Rule did not been triggered if there's no comparation operator provided as trigger.
For example:
Rule1 ON EVENT#POWERON DO ... ENDON
The rule_name should be assigned as "POWERON" by default.
2019-09-11 21:46:01 -04:00
Theo Arends 05b9317b75 Allow user control over clock text size
Allow user control over clock text size (#6395)
2019-09-11 17:04:39 +02:00
Theo Arends 56b0f6efdc Fix interlocked relays turning off
Fix interlocked relays turning off (#6385)
2019-09-11 12:14:37 +02:00
Theo Arends 33baadfafd
Merge pull request #6399 from s-hadinger/ir_hash
Rename "Data" to "Hash" and limit to 32 bits when receiving UNKNOWN IR protocol
2019-09-10 21:03:38 +02:00
Stephan Hadinger 05e9604116 Change rename "Data" to "Hash" and limit to 32 bits when receiving UNKNOWN IR protocol (see DECODE_HASH from IRremoteESP8266) 2019-09-10 20:45:27 +02:00
Theo Arends a4e1c10953 Change commands Tariff
Change commands Tariff1 22,23 = Tariff1 (Off-Peak) ST,DST   Tariff2 (Standard) 6,7 = Tariff2 ST,DST   Tariff9 0/1 = Weekend toggle (1 = Off-Peak during weekend)
2019-09-10 18:04:56 +02:00
Theo Arends 99dcfaff35
Merge pull request #6396 from Jason2866/patch-1
Use Python 3.7. for Travis...
2019-09-10 16:30:44 +02:00
Theo Arends 7e27eec94c
Merge pull request #6397 from Leuselator/development
Expose motor-commands directly
2019-09-10 16:29:39 +02:00
Theo Arends 19c42f3893
Update xdrv_25_A4988_Stepper.ino 2019-09-10 16:29:19 +02:00
Tim Leuschner 72990ad9ae
Add files via upload
Hi all,
now that it's in the world I found the implementation of my A4988 - module not good concerning usability.

I use ioBroker as Backend and the device reports there as expected with a Property named "MOTOR" but no reasonable way to pass the commands to it.
Iv'e forked Tasmota again and changed the xdrv_25_A4988_Stepper.ino.
I expose the commands directly and changed the names so they can be found close together in the propertylist.
New CommandNames: 
motorMove
motorRotate
motorTurn
motorMIS
motorSPR
motorRPM
if you pull it, I instantly would change the wiki.
2019-09-10 16:19:23 +02:00
Theo Arends 4b647928aa Bump version to 6.6.0.12
* Redesign command Tariff to now default to 0 (=disabled) and allowing to set both Standard Time (ST) and Daylight Savings Time (DST) start hour (#6282)
 *  Commands Tariff1 23 = Tariff1 ST, Tariff2 7 = Tariff2 ST, Tarriff3 22 = Tarrif1 DST, Tariff4 6 = Tariff2 DST, Tariff9 0/1 = Weekend toggle
2019-09-10 16:18:23 +02:00
Theo Arends 657dbff570 Add support for Hiking DDS238-2 Modbus energy meter
Add support for Hiking DDS238-2 Modbus energy meter by Matteo Campanella (#6384)
2019-09-10 15:14:51 +02:00
Theo Arends 9cd21815c6 Update TasmotaModbus to v1.1.1
Update TasmotaModbus to v1.1.1
2019-09-10 15:10:02 +02:00
Jason2866 cf47866c18
Use Python 3.7. for Travis...
since 2.7. goes EoL soon
2019-09-10 15:04:37 +02:00
Theo Arends 0e3a88bbe2 Add Energy Export if available
Add Energy Export if available (#6282)
2019-09-10 12:31:08 +02:00
Theo Arends b811956d2f Fix rules on core 2.3.0 compilation error
Fix rules on core 2.3.0 compilation error (#6392)
2019-09-10 11:05:53 +02:00
Theo Arends 2a9b42a2a2
Merge pull request #6394 from s-hadinger/fix_6391
TasmotaSerial 2.4.0 compilation issue on Core 2.3.0
2019-09-10 10:39:49 +02:00
Stephan Hadinger a6f68f8612 Fix #6391 2019-09-10 10:37:06 +02:00
Federico Leoni cee2248129
Update xdrv_12_home_assistant.ino 2019-09-09 15:29:05 -03:00
Theo Arends 8df36a2082 Merge branch 'development' of https://github.com/arendst/Sonoff-Tasmota into development 2019-09-09 19:22:05 +02:00
Theo Arends 50e37b43c6 Fix TasmotaSerial
Fix TasmotaSerial
2019-09-09 19:21:56 +02:00
Theo Arends b150decb92
Merge pull request #6386 from laurentdong/SupportIfUpdated
Support if updated
2019-09-09 17:43:03 +02:00
Laurent Dong 96098e4e09 Support If in Rules
The major features of IF statement are:
 - Support IF, ELSEIF, ELSE
 - Support not only comparison but also using logical expression as condition
 - Support run multiple commands
 - Support nested IF statement
 - All the commands run by IF statement will go to the BACKLOG!
 - No limit for logical operators, parenthesis and nested IF statement. Depends on your RAM!

Extended Backus-Naur Form of IF statement:
<if-statement> ::=
IF "(" <logical-expression> ")" <statement-list> {ELSEIF "(" <logical-expression> ")" <statement-list>} [ELSE <statement-list>] ENDIF
<logical-expression> :=
<comparison-expression> |
(<comparison-expression> | <logical-expression>) {(AND | OR) <logical-expression>} |
"(" <logical-expression ")" {(AND | OR) <logical expression>}
<comparison-expression> ::=
<math-expression> ("=" | "<" | ">" | "|" | "==" | "<=" | ">=" | "!=") <math-expression>
<statement-list> ::=
<statement> {";" <statement>}
<statement> ::=
<Sonoff-Tasmota-command> | <if-statement>

In English:
If statement support 3 format:
1. IF (<condition>) <statement-list> ENDIF
2. IF (<condition>) <statement-list> ELSE <statement-list> ENDIF
3. IF (<condition>) <statement-list> [ELSEIF (<condition>) <statement-list> ]* ELSE <statement-list> ENDIF

<condition> is a logical expression which can be:
1. A comparison expression for example:
   VAR1 >= 10
2. Multiple comparison expression with logical operator "AND" or "OR" between them. "AND" has higher priority than "OR". Fox example:
   UPTIME > 100 AND MEM1 == 1 OR MEM2 == 1
3. Parenthesis can be used to change the priority of logical expression. For example:
   UPTIME > 100 AND (MEM1 == 1 OR MEM2 == 1)

<statement-list> can be:
1. A Sonoff-Tasmota command. For example:
   ledpower on
2. A IF statement ("IF .... ENDIF")
3. Multiple Sonoff-Tasmota command or IF statement split with ";". For example:
   Power1 off; Ledpower on; if (mem1 == 0) Var1 Var1+1; mem1==1 endif; Delay 10; POWER1 on
4. Do not need to lead with "BACKLOG" for multiple commands.
2019-09-09 11:24:27 -04:00
Theo Arends d3997b2851
Merge pull request #6383 from s-hadinger/serial_115200_3
TasmotaSerial: Force wait for Stop Bit
2019-09-09 16:16:53 +02:00
Laurent 9a7006074f Merge remote-tracking branch 'upstream/development' into development 2019-09-08 18:37:41 -04:00
Stephan Hadinger 98378c1962 Force wait for Stop Bit 2019-09-08 22:20:34 +02:00
Theo Arends c0b69a6dde
Merge pull request #6379 from gemu2015/display-fix
epaper display 29 fix
2019-09-08 21:00:10 +02:00
gemu2015 710b576d6b epaper display 29 fix 2019-09-08 20:48:47 +02:00
Theo Arends 5c7812e964
Merge pull request #6378 from Leuselator/patch-1
Update _changelog.ino
2019-09-08 18:59:08 +02:00
Tim Leuschner eb858ed485
Update _changelog.ino
Name was misspelled ... ;-)
2019-09-08 18:56:15 +02:00
Theo Arends 18b5c2154e
Merge pull request #6377 from s-hadinger/serial_115200_2
TasmotaSerial: Reduce IRAM usage by 280 bytes and improve reliability at 115200 bauds (v2)
2019-09-08 18:52:44 +02:00
Stephan Hadinger 8e1a90932e Merge branch 'development' of https://github.com/arendst/Sonoff-Tasmota into serial_115200_2 2019-09-08 18:34:50 +02:00
Theo Arends 4910ea308a Add support for A4988 stepper-motor-driver-circuit
Add support for A4988 stepper-motor-driver-circuit by Tim Leuscher (#6370)
2019-09-08 18:32:35 +02:00
Stephan Hadinger ff688204f0 TasmotaSerial 2.3.5 2019-09-08 18:32:25 +02:00
Stephan Hadinger 41d6dd2683 Merge branch 'development' of https://github.com/arendst/Sonoff-Tasmota into serial_115200_2 2019-09-08 18:29:11 +02:00
Theo Arends 17eb9727a5
Merge pull request #6370 from Leuselator/A4988_Stepper
A4988 stepper
2019-09-08 18:14:07 +02:00