Commit Graph

2114 Commits

Author SHA1 Message Date
Theo Arends 45e2812939 Add debug facilities
Add optional debug facilities and CPU load loop info (#2979)
2018-06-24 17:50:42 +02:00
Theo Arends 814c89ed83
Merge pull request #2972 from ascillato/patch-3
Add a Disclaimer to Readme
2018-06-24 17:46:20 +02:00
Theo Arends 6219dcacc0
Merge pull request #3041 from killadm/development
update of zh-CN language
2018-06-24 15:49:22 +02:00
Theo Arends 8d3b539b02
Merge pull request #3045 from renne/development
Doxygen configuration file and helper script.
2018-06-24 15:33:13 +02:00
Christian 8ee51f37db
Update xdrv_91_apds9960.ino
Changed the payload back to string.
I think this is shorter, easier to understand without any documentation and still works with rules.
e.g.
on Tele-APDS9960#Up do command endon
2018-06-23 18:37:14 +02:00
Christian ac626b30e6
Update xdrv_91_apds9960.ino
-add compiler warning (based on input from renne)
-small cosmetic/formatting cleanups
2018-06-23 12:35:16 +02:00
Christian cf545af49d
Update xdrv_91_apds9960.ino
new:
-removed NEAR/FAR because of the unreliability
-support for Rules, therefore change of the MQTT-Messages to a number format (clockwise: up,right,down,left then long and none)
Example:
rule1 on Tele-APDS9960#Gesture=1 do ... endon

-minor code changes to shorten things
2018-06-23 10:00:56 +02:00
Rene Bartsch bc64a4c8a3
Doxygen configuration file and helper script.
This commit adds a configuration file for the Doxygen documenation generator and a helper script to create/update the source code documentation. Just install Doxygen and GraphViz and run "updateDocs.sh" to create the source code documentation.
2018-06-23 03:41:36 +02:00
killadm 371aebfc15
Update zh-CN.h
Remove >>>>>>
2018-06-23 09:11:17 +08:00
killadm 0ac318d636 update of zh-CN language 2018-06-23 00:42:44 +08:00
Christian 4cc0bd44c9
Update xdrv_91_apds9960.ino
changes:
-changed from interrupt mode to polling
-fixed the mqtt-messages
-fixed command "gesture" for the console. Now every argument except 0 and 1 will report the gesture mode
-changed gesture name from "overload" to "long"
2018-06-21 14:44:53 +02:00
Christian dc67d8f264
Create xdrv_91_apds9960.ino
First version with the "new" driver model.
The driver is disabled by default to prevent side effects und must be enabled for testing by hand. 
Please uncomment:
// #define USE_APDS9960 

Use GPIO_DSB as interrupt pin as provisional hack in the web interface of tasmota.

Please expect problems (reboot, ...). My personal usage scenario is:
Sonoff -> MQTT -> Node-Red -> MQTT -> Sonoff
2018-06-20 09:03:48 +02:00
Felicia Hummel 71b29f833a When passing values for multiple WS2812 LEDs at once, updating is very slow because after each LED is set, the strip is updated. The update was so slow that it was visible with the eye. For me, it took approx 0.5 seconds to update an 28 pixel long strip.
This patch suspends updates to the strip while procesing the passed LEDs, enabling the updates afterwards.
2018-06-16 15:23:11 +02:00
Adrian Scillato 8fdaa258ed
KNX: Support for DS18S20 Temperature sensor 2018-06-12 15:30:17 -03:00
ascillato d80e3a928d KNX: Support for DS18S20 Temperature sensor 2018-06-12 14:46:52 -03:00
Adrian Scillato 51d09680aa
Update _releasenotes.ino 2018-06-12 14:35:48 -03:00
Adrian Scillato ae3f8d0535
KNX: Support for DS18S20 Temperature sensor 2018-06-12 14:17:02 -03:00
Adrian Scillato 13c159bbfa
Add a Disclaimer to Readme
Add a Disclaimer to Readme due that sonoff devices are being installed by uncertified people
2018-06-11 14:42:30 -03:00
Adrian Scillato f45dd53352
Add Arithmetic commands for VAR
New Arithmetic commands to be used with VARs:

ADD1 to ADD5: Add a value to VAR[x]
Usage: ADD1 15
Result: VAR1 = VAR1 + 15

SUB1 to SUB5: Substract a value from VAR[x]
Usage: SUB1 15
Result: VAR1 = VAR1 - 15

MULT1 to MULT5: Multiply a value to VAR[x]
Usage: MULT1 15
Result: VAR1 = VAR1 * 15

SCALE1 to SCALE5: Scale a value from a low and high limit to another low and high limit and store it in VAR[x] (directly equivalent to MAP arduino command)

Syntax: 
SCALEx value, fromLow, fromHigh, toLow, toHigh

Parameters
value: the number to scale

fromLow: the lower bound of the value’s current range

fromHigh: the upper bound of the value’s current range

toLow: the lower bound of the value’s target range

toHigh: the upper bound of the value’s target range

(omitted values are taken as zero)

Usage: SCALE1 15, 0, 100, 0, 1000
Result: VAR1 = 150
2018-06-10 02:09:11 -03:00
Adrian Scillato 09df088e83
Merge pull request #2949 from gtortone/development
update of it-IT language
2018-06-09 15:54:22 -03:00
Gennaro Tortone 47f5210b29 update of language it-IT 2018-06-09 11:08:12 +02:00
Gennaro Tortone 143dfc5abc Merge branch 'development' of https://github.com/arendst/Sonoff-Tasmota into development 2018-06-09 11:03:50 +02:00
Adrian Scillato 0dae881120
Update Template Format for Issues 2018-06-08 19:51:16 -03:00
Adrian Scillato d359c7efb7
Update Feature Request Formatting 2018-06-08 18:48:25 -03:00
Adrian Scillato 25c58d90a1
Update Bug Report Formatting 2018-06-08 18:47:32 -03:00
Adrian Scillato 79c732b34c
Update formatting of Troubleshooting 2018-06-08 18:44:07 -03:00
Adrian Scillato 18035506a3
KNX: Fix Bug when reply sensor values
Solves issue #2734
2018-06-08 00:02:41 -03:00
Adrian Scillato 75b01e231c
KNX: Fix Bug when reply sensor values 2018-06-07 23:56:52 -03:00
ascillato b0e979673a Revert "Merge branch 'development' into development"
This reverts commit 3ca69e499b, reversing
changes made to 7d8495b263.
2018-06-05 18:54:35 -03:00
ascillato 1c20dbe3a2 Revert "Revert Changes"
This reverts commit 1c337ae28e.
2018-06-05 18:54:30 -03:00
ascillato 1c337ae28e Revert Changes 2018-06-05 17:04:34 -03:00
Adrian Scillato 3ca69e499b
Merge branch 'development' into development 2018-06-05 16:51:08 -03:00
Adrian Scillato 7d8495b263
Update Stale Bot 2018-06-05 16:20:25 -03:00
Gennaro Tortone 4b2670f13f Merge branch 'development' of https://github.com/arendst/Sonoff-Tasmota into development 2018-06-05 18:59:05 +02:00
Theo Arends 0d5117cdca Add RfRaw 255 2018-06-05 18:12:18 +02:00
Theo Arends 221c420fcb Tuning LM75AD sensor driver 2018-06-05 16:55:35 +02:00
Theo Arends 43dd708413 Add I2C temperature sensor LM75AD
6.0.0a
* Add support for I2C temperature sensor LM75AD (#2909)
2018-06-05 16:14:00 +02:00
Theo Arends 006a747d10
Merge pull request #2909 from andrethomas/development
Add support for LM75AD I2C Temperature Sensor
2018-06-05 15:04:51 +02:00
andrethomas 289b662f10
Update xdrv_26_lm75ad.ino to support C or F
Update xdrv_26_lm75ad.ino to support C or F depending on Settings.flag.temperature_conversion (#define TEMP_CONVERSION 0 or 1) as stored in [SetOption8] Return temperature in (0 = Celsius or 1 = Fahrenheit)
2018-06-05 14:50:52 +02:00
Theo Arends 6e71811af1
Merge pull request #2911 from znanev/patch-1
Update Bulgarian translations to v6.0.0a
2018-06-05 13:57:11 +02:00
znanev da11ae353c
Update bg-BG.h 2018-06-05 09:34:13 +01:00
Adrian Scillato 77aaecf7f9
Updated Spanish Translation
Updated Spanish Translation
2018-06-05 00:36:27 -03:00
Adrian Scillato b23763cca3
Updated Spanish Translation 2018-06-04 20:33:02 -03:00
Adrian Scillato 145352ee27
Sync to Tasmota
Sync to Tasmota
2018-06-04 18:33:46 -03:00
andrethomas c860927857
Add support for LM75AD I2C Temperature Sensor
Add support for LM75AD I2C Temperature Sensor
2018-06-04 20:32:58 +02:00
Theo Arends d4119fe54d Add SnfBrdg EFM8BB1 fw tools
6.0.0a
* Add support for uploading Sonoff Bridge firmware found in
tools/fw_efm8bb1 folder build by Portisch using Web Gui File Upload
(#2886)
* Add command RfRaw to control Portisch firmware features
2018-06-04 18:10:38 +02:00
Adrian Scillato 16d8b8df4e
Sync to Tasmota
Sync to Tasmota
2018-06-03 13:09:55 -03:00
Theo Arends 976f167ae3 Minor fixes
Minor fixes
2018-06-03 17:09:10 +02:00
Adrian Scillato 6616dbfd66
Sync to Tasmota
Sync to Tasmota
2018-06-03 10:39:07 -03:00
Theo Arends cec701fb33 Fix Pzem004T checksum error
6.0.0a
* Fix Pzem004T checksum error
2018-06-03 14:43:17 +02:00