Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Nested IF statements not working #10504

Closed
9 of 13 tasks
poggenpower opened this issue Jan 10, 2021 · 3 comments
Closed
9 of 13 tasks

Nested IF statements not working #10504

poggenpower opened this issue Jan 10, 2021 · 3 comments
Labels
duplicated Result - Duplicated Issue

Comments

@poggenpower
Copy link

PROBLEM DESCRIPTION

Nested IF Statements doesn't seems to work.
Following rule

ON Event#SetShutterBlock DO IF (%value% == 0) IF (%var3% != %var2%) Event ShutterMove=%var3% ENDIF;var1 %value% ELSEIF (%value% == 1) var1 %value% ELSE var1 0 ENDIF ENDON 

is not working as expected. The inner IF clause doesn't trigger the Event ShutterMove, here the log from the console:

17:11:12 RUL: EVENT#SETSHUTTERBLOCK performs "IF (0 == 0) IF (0.000 != 50.000) Event ShutterMove=0.000 ENDIF;var1 0 ELSEIF (0 == 1) var1 0 ELSE var1 0 ENDIF"
17:11:12 MQT: esp/esp03/stat/RESULT = {"If":"Done"}
17:11:12 MQT: esp/esp03/stat/RESULT = {"If":"Done"}
17:11:12 MQT: esp/esp03/stat/RESULT = {"Var1":"0"}

Simple IF clauses are working as expected.

REQUESTED INFORMATION

Make sure your have performed every step and checked the applicable boxes before submitting your issue. Thank you!

  • Read the Contributing Guide and Policy and the Code of Conduct
  • Searched the problem in issues
  • Searched the problem in discussions
  • Searched the problem in the docs
  • Searched the problem in the chat
  • Device used (e.g., Sonoff Basic): Shelly2.5
  • Tasmota binary firmware version number used: 9.1.0.2
    • Self-compiled
  • Flashing tools used: OTA file upload
  • Provide the output of command: Backlog Template; Module; GPIO 255:
  Configuration output here:
17:24:23 MQT: esp/esp03/stat/RESULT = {"NAME":"Shelly 2.5 (buttons)","GPIO":[320,0,34,0,224,129,0,0,640,128,608,225,3456,4736],"FLAG":0,"BASE":18}
17:24:23 MQT: esp/esp03/stat/RESULT = {"Module":{"0":"Shelly 2.5 (buttons)"}}
17:24:24 MQT: esp/esp03/stat/RESULT = {"GPIO0":{"320":"Led_i1"},"GPIO1":{"0":"None"},"GPIO2":{"34":"Button3"},"GPIO3":{"0":"None"},"GPIO4":{"224":"Relay1"},"GPIO5":{"129":"Button_in2"},"GPIO9":{"0":"None"},"GPIO10":{"0":"None"},"GPIO12":{"640":"I2C SDA"},"GPIO13":{"128":"Button_in1"},"GPIO14":{"608":"I2C SCL"},"GPIO15":{"225":"Relay2"},"GPIO16":{"3456":"ADE7953 IRQ"},"GPIO17":{"4736":"ADC Temp"}}
  • If using rules, provide the output of this command: Backlog Rule1; Rule2; Rule3:
  Rules output here:
17:25:01 MQT: esp/esp03/stat/RESULT = {"Rule1":"ON","Once":"OFF","StopOnError":"OFF","Length":138,"Free":373,"Rules":"ON Clock#Timer=1 DO ShutterPosition1 100 ENDON ON Clock#Timer=2 DO ShutterPosition1 100 ENDON ON Clock#Timer=3 DO ShutterPosition1 0 ENDON"}
17:25:02 MQT: esp/esp03/stat/RESULT = {"Rule2":"ON","Once":"OFF","StopOnError":"OFF","Length":464,"Free":47,"Rules":"ON Event#SetShutterBlock DO IF (%value% == 0) IF (%var3% != %var2%) Event ShutterMove=%var3% ENDIF;var1 %value% ELSEIF (%value% == 1) var1 %value% ELSE var1 0 ENDIF ENDON  ON Event#ShutterMove DO IF ((var1 == 0 ) AND (var2 != %value% )) ShutterPosition1 %value%;var2 %value%; publish esp/esp04/cmnd/event esp03ShutterMove=%value% ENDIF ENDON ON Event#SetVar1 DO var1 = %value% ENDON ON Event#SetVar2 DO var2 = %value% ENDON ON Event#SetVar3 DO var3 = %value% ENDON"}
17:25:02 MQT: esp/esp03/stat/RESULT = {"Rule3":"OFF","Once":"OFF","StopOnError":"OFF","Length":0,"Free":511,"Rules":""}
  • Provide the output of this command: Status 0:
  STATUS 0 output here:
17:25:27 MQT: esp/esp03/stat/STATUS = {"Status":{"Module":0,"DeviceName":"WZ Rolladen","FriendlyName":["up","down"],"Topic":"esp03","ButtonTopic":"0","Power":0,"PowerOnState":3,"LedState":1,"LedMask":"FFFF","SaveData":1,"SaveState":1,"SwitchTopic":"0","SwitchMode":[0,0,0,0,0,0,0,0],"ButtonRetain":0,"SwitchRetain":0,"SensorRetain":0,"PowerRetain":1}}
17:25:27 MQT: esp/esp03/stat/STATUS1 = {"StatusPRM":{"Baudrate":115200,"SerialConfig":"8N1","GroupTopic":"tasmotas","OtaUrl":"http://ota.tasmota.com/tasmota/release/tasmota-minimal.bin.gz","RestartReason":"Software/System restart","Uptime":"1T00:00:10","StartupUTC":"2021-01-09T16:25:17","Sleep":50,"CfgHolder":4617,"BootCount":19,"BCResetTime":"2020-12-03T23:57:37","SaveCount":334,"SaveAddress":"FB000"}}
17:25:27 MQT: esp/esp03/stat/STATUS2 = {"StatusFWR":{"Version":"9.1.0.2(thl-rule)","BuildDateTime":"2021-01-09T17:22:35","Boot":31,"Core":"2_7_4_7","SDK":"2.2.2-dev(38a443e)","CpuFrequency":80,"Hardware":"ESP8266EX","CR":"465/699"}}
17:25:27 MQT: esp/esp03/stat/STATUS3 = {"StatusLOG":{"SerialLog":2,"WebLog":2,"MqttLog":0,"SysLog":0,"LogHost":"","LogPort":514,"SSId":["iot",""],"TelePeriod":300,"Resolution":"558180C0","SetOption":["000AC029","2805C8000100060000005A00000000000000","40000209","00206000","00000000"]}}
17:25:27 MQT: esp/esp03/stat/STATUS4 = {"StatusMEM":{"ProgramSize":629,"Free":372,"Heap":19,"ProgramFlashSize":1024,"FlashSize":2048,"FlashChipId":"15701C","FlashFrequency":40,"FlashMode":3,"Features":["00000809","8FCAE5D7","04268001","000000CF","010013C0","C000F981","00004004","00001000"],"Drivers":"1,2,3,4,5,6,8,9,10,12,16,18,19,22,24,26,27,29,30,35,37,45","Sensors":"1,2,3,4,5,6"}}
17:25:27 MQT: esp/esp03/stat/STATUS5 = {"StatusNET":{"Hostname":"esp03","IPAddress":"192.168.7.104","Gateway":"192.168.7.248","Subnetmask":"255.255.255.0","DNSServer":"192.168.2.248","Mac":"48:3F:DA:82:36:99","Webserver":2,"WifiConfig":4,"WifiPower":17.0}}
17:25:27 MQT: esp/esp03/stat/STATUS6 = {"StatusMQT":{"MqttHost":"haus.wupp","MqttPort":8885,"MqttClientMask":"esp03","MqttClient":"esp03","MqttUser":"esp03","MqttCount":1,"MAX_PACKET_SIZE":1200,"KEEPALIVE":30}}
17:25:27 MQT: esp/esp03/stat/STATUS7 = {"StatusTIM":{"UTC":"2021-01-10T16:25:27","Local":"2021-01-10T17:25:27","StartDST":"2021-03-28T02:00:00","EndDST":"2021-10-31T03:00:00","Timezone":"+01:00","Sunrise":"08:41","Sunset":"17:14"}}
17:25:27 MQT: esp/esp03/stat/STATUS9 = {"StatusPTH":{"PowerDelta":[0,0,0],"PowerLow":0,"PowerHigh":0,"VoltageLow":0,"VoltageHigh":0,"CurrentLow":0,"CurrentHigh":0}}
17:25:27 MQT: esp/esp03/stat/STATUS10 = {"StatusSNS":{"Time":"2021-01-10T17:25:27","ANALOG":{"Temperature":46.9},"ENERGY":{"TotalStartTime":"2020-12-03T23:57:37","Total":0.000,"Yesterday":0.000,"Today":0.000,"Power":[0,0],"ApparentPower":[0,0],"ReactivePower":[0,0],"Factor":[0.00,0.00],"Frequency":0,"Voltage":0,"Current":[0.000,0.000]},"Shutter1":{"Position":100,"Direction":0,"Target":100},"TempUnit":"C"}}
17:25:27 MQT: esp/esp03/stat/STATUS11 = {"StatusSTS":{"Time":"2021-01-10T17:25:27","Uptime":"1T00:00:10","UptimeSec":86410,"Heap":19,"SleepMode":"Dynamic","Sleep":50,"LoadAvg":19,"MqttCount":1,"POWER1":"OFF","POWER2":"OFF","Wifi":{"AP":1,"SSId":"iot","BSSId":"78:8A:20:49:35:67","Channel":11,"RSSI":76,"Signal":-62,"LinkCount":1,"Downtime":"0T00:00:03"}}}
17:25:27 MQT: esp/esp03/stat/STATUS13 = {"StatusSHT":{"SHT0":{"Relay1":1,"Relay2":2,"Open":230,"Close":200,"50perc":50,"Delay":0,"Opt":"0000","Calib":[300,500,700,900,1000],"Mode":"0"}}}
17:25:28 MQT: esp/esp03/tele/STATE = {"Time":"2021-01-10T17:25:28","Uptime":"1T00:00:11","UptimeSec":86411,"Heap":19,"SleepMode":"Dynamic","Sleep":50,"LoadAvg":37,"MqttCount":1,"POWER1":"OFF","POWER2":"OFF","Wifi":{"AP":1,"SSId":"iot","BSSId":"78:8A:20:49:35:67","Channel":11,"RSSI":74,"Signal":-63,"LinkCount":1,"Downtime":"0T00:00:03"}}
17:25:28 MQT: esp/esp03/tele/SENSOR = {"Time":"2021-01-10T17:25:28","ANALOG":{"Temperature":47.0},"ENERGY":{"TotalStartTime":"2020-12-03T23:57:37","Total":0.000,"Yesterday":0.000,"Today":0.000,"Period":0,"Power":[0,0],"ApparentPower":[0,0],"ReactivePower":[0,0],"Factor":[0.00,0.00],"Frequency":0,"Voltage":0,"Current":[0.000,0.000]},"Shutter1":{"Position":100,"Direction":0,"Target":100},"TempUnit":"C"}
17:25:29 MQT: esp/esp03/tele/HASS_STATE = {"Version":"9.1.0.2(thl-rule)","BuildDateTime":"2021-01-09T17:22:35","Module or Template":"Shelly 2.5 (buttons)","RestartReason":"Software/System restart","Uptime":"1T00:00:12","Hostname":"esp03","IPAddress":"192.168.7.104","RSSI":"72","Signal (dBm)":"-64","WiFi LinkCount":1,"WiFi Downtime":"0T00:00:03","MqttCount":1,"LoadAvg":24}
  • Set weblog to 4 and then, when you experience your issue, provide the output of the Console log:
  Console output here:
17:26:33 CMD: Event SetShutterBlock=0
17:26:33 SRC: WebConsole from 192.168.11.200
17:26:33 CMD: Group 0, Index 1, Command "EVENT", Data "SetShutterBlock=0"
17:26:33 MQT: esp/esp03/stat/RESULT = {"Event":"Done"}
17:26:33 RUL: EVENT#SETSHUTTERBLOCK performs "IF (0 == 0) IF (0.000 != 50.000) Event ShutterMove=0.000 ENDIF;var1 0 ELSEIF (0 == 1) var1 0 ELSE var1 0 ENDIF"
17:26:33 SRC: Rule
17:26:33 CMD: Group 0, Index 1, Command "IF", Data "(0 == 0) IF (0.000 != 50.000) Event ShutterMove=0.000 ENDIF�var1 0 ELSEIF (0 == 1) var1 0 ELSE var1 0 ENDIF"
17:26:33 MQT: esp/esp03/stat/RESULT = {"If":"Done"}
17:26:33 SRC: Backlog
17:26:33 CMD: Group 0, Index 1, Command "IF", Data "(0.000 != 50.000) Event ShutterMove=0.000 ENDIF"
17:26:33 MQT: esp/esp03/stat/RESULT = {"If":"Done"}
17:26:33 SRC: Backlog
17:26:33 CMD: Group 0, Index 1, Command "VAR", Data "0"
17:26:33 MQT: esp/esp03/stat/RESULT = {"Var1":"0"}
17:26:34 ADE: 6053101, 4475, [1773, -40, 638, 10], [1773, 9, 639, 5]
17:26:34 ADE: U 6053101, C 4475, I 0 + 0 = 0, P 0 + 0 = 0
17:26:35 ADE: 6051327, 4475, [1773, 16, 638, 46], [1773, -3, 639, -1]
17:26:35 ADE: U 6051327, C 4475, I 0 + 0 = 0, P 0 + 0 = 0
17:26:36 ADE: 6065728, 4475, [1773, -57, 640, 51], [1773, -29, 640, 33]

TO REPRODUCE

Steps to reproduce the behavior:
Create rule like this:
ON Event#SetShutterBlock DO IF (%value% == 0) IF (%var3% != %var2%) Event ShutterMove=%var3% ENDIF;var1 %value% ELSEIF (%value% == 1) var1 %value% ELSE var1 0 ENDIF ENDON

Ensure you have set var2 and var3 to different values

trigger the rule via:
Event SetShutterBlock=0

EXPECTED BEHAVIOUR

A clear and concise description of what you expected to happen.
Event ShutterMove should get triggered if var2 =! var3
Means the inner IF clause gets evaluated and the should be executed.

SCREENSHOTS

If applicable, add screenshots to help explain your problem.
N/A

ADDITIONAL CONTEXT

Add any other context about the problem here.
From https://tasmota.github.io/docs/Rules/#conditional-rules

 1> <statement-list>
 2> - A Tasmota command (e.g.,LedPower on)
 3> - Another IF statement (IF ... ENDIF)
 4> - Multiple Tasmota commands or IF statements separated by ;. For example:
 5> Power1 off; LedPower on; IF (Mem1==0) Var1 Var1+1; Mem1 1 ENDIF; Delay 10; Power1 on
 6> Backlog is implied and is not required (saves rule set buffer space).
 7> 
 8> But not like this: Power1 off; LedPower on; IF (Mem1==0) Var1 Var1+1; Mem1 1 ENDIF; Delay 10; Power1 on
 9> 
10> You should split it in two lines like: ON Power2#state=1 DO Power1 off; LedPower on; ENDON ON 11> Power2#state=1 DO IF (Mem1==0) Var1 Var1+1; Mem1 1 ENDIF; Delay 10; Power1 on ENDON```

So in a `<statement-list>` another IF statement is allowed (line 3).
But some things are not clear to me: Line 5 and 8 gives the same rule, but one is wrong!? 

**(Please, remember to close the issue when the problem has been addressed)**
@ascillato2
Copy link
Collaborator

Closing this issue as it is duplicated. Sorry.

This question has been answered before. Nested IF are not supported and will not be supported due to Flash and RAM restrictions. Please, rewrite your IF logic in the supported format.

If you need help on that, please address this to the Tasmota support chat. Thanks.

Remember to read the Contributing Guideline and Policy. Thanks.


Support Information

See Docs for more information.
See Chat for more user experience.
See Community for forum.
See Code of Conduct

@ascillato2 ascillato2 added the duplicated Result - Duplicated Issue label Jan 10, 2021
@poggenpower
Copy link
Author

@ascillato2
https://tasmota.github.io/docs/Rules/#conditional-rules says it is supported:

Syntax

IF statement supports 3 formats:

    IF (<logical-expression>) <statement-list> ENDIF
    IF (<logical-expression>) <statement-list> ELSE <statement-list> ENDIF
    IF (<logical-expression>) <statement-list> [ELSEIF (<logical-expression>) <statement-list> ] ELSE <statement-list> ENDIF
[...]
<statement-list>
- A Tasmota command (e.g.,LedPower on)
- Another IF statement (IF ... ENDIF)
- Multiple Tasmota commands or IF statements separated by ;
[...]

@poggenpower
Copy link
Author

Filed tasmota/docs#589 for the doc repo

barbudor added a commit to tasmota/docs that referenced this issue Mar 13, 2021
blakadder added a commit to tasmota/docs that referenced this issue Apr 21, 2021
* Update PZEM-0XX.md

changed pzem templates. switched tx & rx to use Hardware serial.

* add new commands and aliases

* add all commands

* remove VirtualCT synonym

* add missing synonyms

* formatting

* Update P1-Smart-Meter.md

Fix typo + add note about Smart Meter Interface.

* Update Smart-Meter-Interface.md

Align documentation with arendst/Tasmota#11082 and do some arrangements, add new meter example.

* Update Smart-Meter-Interface.md

Re-organized information in tables so it can be overseen better.

* Add file Resol_VBus_adaptor_to_WemosD1Mini.png

Soon to be used in https://tasmota.github.io/docs/Smart-Meter-Interface/ documentation with VBus protocol integration description.

* Update Rules.md

* Update Zigbee.md

Added rule for sending zigbee sensor data into own topics

* update release tag

* Update Blinds-and-Shutters.md

added servo motors. updated log file output

* Update Resol_VBus_adaptor_to_WemosD1Mini.png

More precise drawing

* Add files via upload

* Update Blinds-and-Shutters.md

Update callibration doku. There was an error in what you get.

* Update Smart-Meter-Interface.md

Completion for arendst/Tasmota#11114 (VBus support)
Further looks ans structure improvements, typo fixes.

* Add files via upload

* Renumbered DevGroupSend commands

The commands started at 3 and 9 was listed twice. Changed it so it starts at 2, just like it is at https://tasmota.github.io/docs/Commands/

* Update PZEM-0XX.md

* ESP32 LAN not only Olimex

* Update Commands.md

* Update Commands.md

* Update Smart-Meter-Interface.md

Further arrangement and table of content fixes.

* add ESP_flasher

* core2 via module

* USE_ESP32MAIL

* Update Sonoff-4CH-Pro.md

* Update Smart-Meter-Interface.md

My last attempt to try to fix table of contents. I double-checked with external markup editors too. If this doesn't fix it, I don't see what causes things to be misunderstood by the webpage rendering engine.

* Update Smart-Meter-Interface.md

Looks like there was one last rebel not wanting to align in the table of contents. +other typos noticed.

* Update Smart-Meter-Interface.md

Another attempt to try to fix, and also a clarification to avoid confusion arendst/Tasmota#10988 (reply in thread)

* remark on ssd1351 3 wire mode

* corrected shutterstop command to stop shutter

because different versions of shutters need different relays to stop the shutter it is best to use the shutterstop command. This will take the right action anyway. Funny Thing: I want to add a rule for shelly2.5 and shutter overload and saw: already done! nice work

* remarks on display choice and connections

* Update Smart-Meter-Interface.md

* Update Smart-Meter-Interface.md

Fix script for Sanxing SX6x1

* Update Smart-Meter-Interface.md

Update documentation for arendst/Tasmota#11184
Also compact tables with <BR> instead of distinct rows.

* Update Smart-Meter-Interface.md

Fix recently added Logarex LK13BE meter and fix tables.

* remove #define ili9342, add cmd displayilimode

* Update Commands.md

Add note about Palette not saving to flash.

* Fix fan configuration examples

* Add template for M5Stack Atom lite

* M5Stack Atom Lite IR send not receive

* clarify supported E-paper displays

* Update ESP32.md

Added link to the orphan TouchPin page

* Update Device-Groups.md

Fixed omission in DevGroupSend "toggle all relays" example.

* Add M5Stack Atom

* Update Commands.md

Clarification about split between topic and payload for command arguments.

* Update MQTT.md

Clarification about separating command arguments into payload field.

* Mac ESP_Flasher

* Fixed SetOption101 alias

* Update TuyaMCU.md

Improve documentation for temperature dpid in TuyaMCU

* Remove Beta state

* homekit

* remark on software serial

* linker flags needed for HomeKit

* Removing reference to nested IF statements

#589
arendst/Tasmota#10504

* Publish the max value of a sensor every minute

#447

* Adding reference to US-100 as compatible

#369

* Update Commands.md

Updated PWMFrequency possibilities for ESP82xx and ESP32

* Update Home-Assistant.md

* Add configration example for ISKRA MT 681

Add script for ISKRA MT 681

* homekit changes

* Tasmota supports 300 cm

* Add ABB B23 MODBus meter

Here is working descriptor for ABB B23 energy meter.

* Started documenting new toy Inkbird IHC-200

* Guide the reader where they can check their tasmota version.

* Update Home-Assistant.md

* Update Mirabella-Genio-Bulb.md

* Reworked

* Minor fix

* Add Berry logo svg file

* Add berry logo

* Improve

* Fix link for logo

* Try different layout

* clarify e-paper type

* global variable example

* add cmd app

* Update KS-602S-Switch.md

* some formatting

* clarify USE_SML_SCRIPT_CMD

* Ai tinker template update

* fix gas meter example

* Update lights

* Add I2C

* Try fix

* fix `or`

* Add I2C example

* Add link to cookbook

* Update TuyaMCU.md

* Update Sonoff-RF-Bridge-433.md

bbconv.hrbl.pl does not work without https

* added WEMOS / LOLIN D32 as known working device

* Update exceptions

* env:tasmota32_base

* Update ESP32.md

* Add Driver definition

* Add step by step I2C driver

* Add Berry

* Update Device-Groups.md

Fix DevGroupSend item codes. There were right but were changed to the wrong values by #649

* Update Commands.md

Fix DevGroupSend item codes and examples.

* support for all serial protocols

* Note format

* add theme switching and some other new features

* Update Berry-Scripting.md

Fixing typo

* Update Commands.md

Note if you have more than 8 relays: Definded PulseTime for relays <1-8> will also be active for correspondent Relay <9-16>.

* Clarify Teleinfo SetOption parameters

* Update Berry-Scripting.md

Fix typo and removing \ escapes from _ when not in a table.

* Added custom PCB for multiconnect CC2538+CC2592

* Added light module

* Update Commands.md (#676)

fixed typo in pwmfrequency

* Update Commands.md

* add a new displays

* Fix syntax of resp_cmnd

* Fixed image links (was working only in preview) (#702)

* Update Zigbee.md

* Create ufs.md (#703)

* Create ufs.md

documentation for Tasmota UFS

* Update ufs.md

* Update and rename ufs.md to UFS.md

* Update UFS.md

* Update UFS.md

* Update UFS.md

* Update UFS.md

* Update UFS.md

* Update mkdocs.yml

* Update Commands.md (#705)

add UFS.md link

* No more SetOption78

Removed some time ago

* Update Zigbee.md

Corrected the second example for low-level commands.
Replaced "0008_04" with "0008!04"

* universal display driver

* some udpates about UFS

* universal display driver update

* adding images in the repo

* Simplyfied Platformio compile

* Platformio changes

* Delete outdated platformio stuff

* Remove wrong Atom doc

* Delete wrong info

* Link to Platformio

how to select build variant

* Select firmware via VSC menu

* Update PlatformIO.md

* Ci fails ?!

* Ci fails

* Try 2

* Once again

* universal display descriptor update

* Add config options (#713)

* Add config options

Added a few lines explaining config settings for AM312 and HC-SR501 so people don't have to search for how to set them up. Also added warning line about flash writes and PIR sensors.

* Update PIR-Motion-Sensors.md

Co-authored-by: blakadder <blakadder@users.noreply.github.com>

* Update Getting-Started.md

Added info about using NodeMCU as an USB/serial adapter.

* add loadable ram fonts

* Update ESP32.md

* add multiple displays

* Upgrade path point to OTA server (#715)

* upgrade path point to ota server

* screenshot with ota url

* 2 displays example

* ordered list formatting

* Projector and touch control are two points

* Temp sensor esp32

* Solo1

* new ESP32 info

* germglish intervention

* ESP-Flasher

* mv ESP-Flasher

* Add ESP32 Bluetooth

* add ESP32 BLE

* formatting

* fix ota link

* formatting edit

* remove outdated line

* edit

* Update Smart-Meter-Interface.md (#717)

Add description:  "- IEEE754 decode " to two lines in Meter Metrics

* link update

Co-authored-by: MrBiscuit <68326434+scroatamus@users.noreply.github.com>
Co-authored-by: nagyrobi <robreg@zsurob.hu>
Co-authored-by: Jeroen <jeroenst@users.noreply.github.com>
Co-authored-by: stefanbode <stefan_bode@web.de>
Co-authored-by: Jeroen Eeuwes <JeroenEeuwes@users.noreply.github.com>
Co-authored-by: Jason2866 <24528715+Jason2866@users.noreply.github.com>
Co-authored-by: Andrii Podanenko <podarokua@gmail.com>
Co-authored-by: gemu <gmutz2010@googlemail.com>
Co-authored-by: alfakenzo <77204926+alfakenzo@users.noreply.github.com>
Co-authored-by: Paul Diem <48815242+pcdiem@users.noreply.github.com>
Co-authored-by: Erik Montnemery <erik@montnemery.com>
Co-authored-by: s-hadinger <49731213+s-hadinger@users.noreply.github.com>
Co-authored-by: sfromis <47082390+sfromis@users.noreply.github.com>
Co-authored-by: Elahd Bar-Shai <elahd@users.noreply.github.com>
Co-authored-by: jaymemaurice <38895319+jaymemaurice@users.noreply.github.com>
Co-authored-by: Barbudor <barbudor@barbudor.net>
Co-authored-by: hk2k2 <70974088+hk2k2@users.noreply.github.com>
Co-authored-by: Nugman <rb@nugman.de>
Co-authored-by: kadlecp <kadlecp@gmail.com>
Co-authored-by: Nemo <me@captnemo.in>
Co-authored-by: lowgoz <47404041+lowgoz@users.noreply.github.com>
Co-authored-by: Stephan Hadinger <stephan.hadinger@gmail.com>
Co-authored-by: dfaour <dfaour@gmail.com>
Co-authored-by: cweinhofer <7067427+cweinhofer@users.noreply.github.com>
Co-authored-by: rapi3 <18531150+rapi3@users.noreply.github.com>
Co-authored-by: Charles <challard@ch2i.eu>
Co-authored-by: BusinessClaes <79754463+BusinessClaes@users.noreply.github.com>
Co-authored-by: pkkrusty <79770016+pkkrusty@users.noreply.github.com>
Co-authored-by: sawacs <48694194+sawacs@users.noreply.github.com>
blakadder added a commit to tasmota/docs that referenced this issue Jun 17, 2021
* M5Stack Atom Lite IR send not receive

* clarify supported E-paper displays

* Update ESP32.md

Added link to the orphan TouchPin page

* Update Device-Groups.md

Fixed omission in DevGroupSend "toggle all relays" example.

* Add M5Stack Atom

* Update Commands.md

Clarification about split between topic and payload for command arguments.

* Update MQTT.md

Clarification about separating command arguments into payload field.

* Mac ESP_Flasher

* Fixed SetOption101 alias

* Update TuyaMCU.md

Improve documentation for temperature dpid in TuyaMCU

* Remove Beta state

* homekit

* remark on software serial

* linker flags needed for HomeKit

* Removing reference to nested IF statements

#589
arendst/Tasmota#10504

* Publish the max value of a sensor every minute

#447

* Adding reference to US-100 as compatible

#369

* Update Commands.md

Updated PWMFrequency possibilities for ESP82xx and ESP32

* Update Home-Assistant.md

* Add configration example for ISKRA MT 681

Add script for ISKRA MT 681

* homekit changes

* Tasmota supports 300 cm

* Add ABB B23 MODBus meter

Here is working descriptor for ABB B23 energy meter.

* Started documenting new toy Inkbird IHC-200

* Guide the reader where they can check their tasmota version.

* Update Home-Assistant.md

* Update Mirabella-Genio-Bulb.md

* Reworked

* Minor fix

* Add Berry logo svg file

* Add berry logo

* Improve

* Fix link for logo

* Try different layout

* clarify e-paper type

* global variable example

* add cmd app

* Update KS-602S-Switch.md

* some formatting

* clarify USE_SML_SCRIPT_CMD

* Ai tinker template update

* fix gas meter example

* Update lights

* Add I2C

* Try fix

* fix `or`

* Add I2C example

* Add link to cookbook

* Update TuyaMCU.md

* Update Sonoff-RF-Bridge-433.md

bbconv.hrbl.pl does not work without https

* added WEMOS / LOLIN D32 as known working device

* Update exceptions

* env:tasmota32_base

* Update ESP32.md

* Add Driver definition

* Add step by step I2C driver

* Add Berry

* Update Device-Groups.md

Fix DevGroupSend item codes. There were right but were changed to the wrong values by #649

* Update Commands.md

Fix DevGroupSend item codes and examples.

* support for all serial protocols

* Note format

* add theme switching and some other new features

* Update Berry-Scripting.md

Fixing typo

* Update Commands.md

Note if you have more than 8 relays: Definded PulseTime for relays <1-8> will also be active for correspondent Relay <9-16>.

* Clarify Teleinfo SetOption parameters

* Update Berry-Scripting.md

Fix typo and removing \ escapes from _ when not in a table.

* Added custom PCB for multiconnect CC2538+CC2592

* Added light module

* Update Commands.md (#676)

fixed typo in pwmfrequency

* Update Commands.md

* add a new displays

* Fix syntax of resp_cmnd

* Fixed image links (was working only in preview) (#702)

* Update Zigbee.md

* Create ufs.md (#703)

* Create ufs.md

documentation for Tasmota UFS

* Update ufs.md

* Update and rename ufs.md to UFS.md

* Update UFS.md

* Update UFS.md

* Update UFS.md

* Update UFS.md

* Update UFS.md

* Update mkdocs.yml

* Update Commands.md (#705)

add UFS.md link

* No more SetOption78

Removed some time ago

* Update Zigbee.md

Corrected the second example for low-level commands.
Replaced "0008_04" with "0008!04"

* universal display driver

* some udpates about UFS

* universal display driver update

* adding images in the repo

* Simplyfied Platformio compile

* Platformio changes

* Delete outdated platformio stuff

* Remove wrong Atom doc

* Delete wrong info

* Link to Platformio

how to select build variant

* Select firmware via VSC menu

* Update PlatformIO.md

* Ci fails ?!

* Ci fails

* Try 2

* Once again

* universal display descriptor update

* Add config options (#713)

* Add config options

Added a few lines explaining config settings for AM312 and HC-SR501 so people don't have to search for how to set them up. Also added warning line about flash writes and PIR sensors.

* Update PIR-Motion-Sensors.md

Co-authored-by: blakadder <blakadder@users.noreply.github.com>

* Update Getting-Started.md

Added info about using NodeMCU as an USB/serial adapter.

* add loadable ram fonts

* Update ESP32.md

* add multiple displays

* Upgrade path point to OTA server (#715)

* upgrade path point to ota server

* screenshot with ota url

* 2 displays example

* ordered list formatting

* Projector and touch control are two points

* Temp sensor esp32

* Solo1

* new ESP32 info

* germglish intervention

* ESP-Flasher

* mv ESP-Flasher

* Add ESP32 Bluetooth

* add ESP32 BLE

* formatting

* fix ota link

* formatting edit

* remove outdated line

* edit

* Update Smart-Meter-Interface.md (#717)

Add description:  "- IEEE754 decode " to two lines in Meter Metrics

* link update

* remove some headers from toc

* img links bahd

* note on bidirectional serial io

* Use OTA server for ESP32 release version

* Update ESP32.md

* Update Home-Assistant.md

* Update Commands.md -> wi-fi cmd (#719)

corrected typo "wi-fi" to "wifi", add description

* Update TuyaMCU.md

* Add script and documentation for EasyMeter Q3D (#720)

EasyMeter two-direction energy meter readout, needs 9600 7E1 serial mode - patch included in description.

* Update Commands.md (#721)

* clean up formatting

* Update Scripting-Language.md

* Update Displays.md

* Update Displays.md

* Update Home-Assistant.md

* Update Home-Assistant.md

* add I2C support + example

* add i2c define

* PID is updated and does work (again)

* Not a fork anymore

* Remove sonoff google group

* Typo

* some edit an udisplay format

* Add gpio module

* Try bold titles

* Add bold tiltes

* Add rtc, time_dump, time_str

* Remove superfluous line

* fix logging example

* update

* add dfplayer mini

* add dfplayer

* Update Upgrading.md

Short note about other releases from OTA server

* remove github release links

* dispdesc.txt not dspdesc.txt

* rename dispdesc.txt  to display.ini

* Same style for Ramfonts

* Update Blinds-and-Shutters.md

Correct shuttermode4 for stepper motors. shuttermode3 is garage door

* Fix merge errors

* clean up BT and add easy obtain bind_key route

* update formatting

* fix header

* add lang formatting

* Update Zigbee.md (#723)

* Update Zigbee.md

Update Zigbee.md

* Mention IKEA TRÅDFRI ICC-A-1 Module for DIY

Mention IKEA TRÅDFRI ICC-A-1 Module for DIY

* Update Getting-Started.md

* Update Commands.md (#724)

In addition to status, TelePeriod also sends sensor messages on command.

* Final Configuration (#725)

Part of configuration not after configuration

* Initial documentation (#729)

* Update Zigbee.md (#728)

add Osram Smart+ Switch Mini Example

* minor formatting changes (#731)

* Update Blinds-and-Shutters.md

* Update mkdocs.yml

* updated to new onboarding process

* change wifi password length

* updates

* update README with new formatting options

* emphasis on some stuff, new d1 mini link

* remove video link, outdated

* formatting fix

* add i2c wrx,  LVGL support

* color swap for LVGL

* Added example rule events for DS18x20 sensor (#732)

* Wrong trigger names for Wifi

As actual JSON has the object "Wifi" instead of "Wifi1", the trigger names should match.

* Update Smart-Meter-Interface.md (#734)

Fix for Easymeter Q3D A1004

* Update RF-Protocol.md (#737)

Fix small typo in ifndef

* Update AM2301.md (#738)

- Adjusted link to datasheet of AMS2301
- Clarified connection of supply voltage

* LVGL placeholder

* add SPS30 links

* add

* Update Pinouts.md

* Update TSL2561.md (#739)

Update to confirm `USE_TSL2561` no longer in sensors, and fix copy/paste error.

* Update Home-Assistant.md

* Update index.md

* Update Commands.md

* Add web_send

* Layout fix

* Update Smart-Meter-Interface.md (#743)

* Update index.md

* Update Home-Assistant.md (#747)

For PIR and Door sensor, change topic in Rule from "hall" to "tasmota" to be consistant with the yaml examples.

* Update Home-Assistant.md (#748)

Add warning to Zigbee examples about setoptions
Fix layout issue in S31 example block
Change "Hall" to "tasmota" in PIR and door sensor Rules.

* Update Home-Assistant.md

* Fix Zigbee warning format (#750)

* Fix Zigbee warning format

* Update Home-Assistant.md

Co-authored-by: blakadder <blakadder@users.noreply.github.com>

* Update TM163x.md (#752)

* Update TM163x.md

There was not mention to the "Relay" like button to turn ON the display.

* Update TM163x.md

Co-authored-by: blakadder <blakadder@users.noreply.github.com>

* Update WS2812B-RGB-Shield.md

* Update WS2812B-RGB-Shield.md

* Update mkdocs.yml

* Update requirements.txt

* Added tasmota.memory()

* Change return type of load()

* Correct light example (#754)

* Update BlitzWolf-SHP6.md (#756)

Troubleshooting notes for V2

* add SK6812

* edit

* berry redirect

* redirect to Berry

* redirect 2

* redirect again

* -

* release 9.5

* missed a command

* Add modes to WIFI command (#751)

Co-authored-by: blakadder <blakadder@users.noreply.github.com>

* Update Commands.md (#722)

* Update Commands.md

Added "Wifi 0/1" command to esp8266 as it is released in 9.4.0.1.

* Update Commands.md

Co-authored-by: blakadder <blakadder@users.noreply.github.com>

Co-authored-by: s-hadinger <49731213+s-hadinger@users.noreply.github.com>
Co-authored-by: gemu <gmutz2010@googlemail.com>
Co-authored-by: sfromis <47082390+sfromis@users.noreply.github.com>
Co-authored-by: Elahd Bar-Shai <elahd@users.noreply.github.com>
Co-authored-by: Jason2866 <24528715+Jason2866@users.noreply.github.com>
Co-authored-by: jaymemaurice <38895319+jaymemaurice@users.noreply.github.com>
Co-authored-by: Barbudor <barbudor@barbudor.net>
Co-authored-by: hk2k2 <70974088+hk2k2@users.noreply.github.com>
Co-authored-by: Nugman <rb@nugman.de>
Co-authored-by: kadlecp <kadlecp@gmail.com>
Co-authored-by: Nemo <me@captnemo.in>
Co-authored-by: lowgoz <47404041+lowgoz@users.noreply.github.com>
Co-authored-by: Stephan Hadinger <stephan.hadinger@gmail.com>
Co-authored-by: dfaour <dfaour@gmail.com>
Co-authored-by: cweinhofer <7067427+cweinhofer@users.noreply.github.com>
Co-authored-by: Paul Diem <48815242+pcdiem@users.noreply.github.com>
Co-authored-by: rapi3 <18531150+rapi3@users.noreply.github.com>
Co-authored-by: Charles <challard@ch2i.eu>
Co-authored-by: Jeroen <jeroenst@users.noreply.github.com>
Co-authored-by: BusinessClaes <79754463+BusinessClaes@users.noreply.github.com>
Co-authored-by: pkkrusty <79770016+pkkrusty@users.noreply.github.com>
Co-authored-by: sawacs <48694194+sawacs@users.noreply.github.com>
Co-authored-by: Gifford47 <49484063+Gifford47@users.noreply.github.com>
Co-authored-by: ul-gh <stellplatz-nr.13a@datenparkplatz.de>
Co-authored-by: bahnuhr <dieter@dbrp-mueller.de>
Co-authored-by: stefanbode <stefan_bode@web.de>
Co-authored-by: Hedda <rockerc.harley@gmail.com>
Co-authored-by: flywire <flywire0@gmail.com>
Co-authored-by: ksaye <ksaye@saye.org>
Co-authored-by: fototeddy <christopher.taeufert@icloud.com>
Co-authored-by: aefo <aefo-dev@ormerods.net>
Co-authored-by: Martin <martin.gerken@web.de>
Co-authored-by: Massimo Schiavon <schmaxit@users.noreply.github.com>
Co-authored-by: levant8 <80256534+levant8@users.noreply.github.com>
Co-authored-by: sillyfrog <816454+sillyfrog@users.noreply.github.com>
Co-authored-by: BACnetStoni <84911956+BACnetStoni@users.noreply.github.com>
Co-authored-by: rebel7580 <30353207+rebel7580@users.noreply.github.com>
Co-authored-by: Eduardo Spremolla <lalo-uy@users.noreply.github.com>
Co-authored-by: Erik Montnemery <erik@montnemery.com>
Co-authored-by: Ramūnas Bunokas <brunonas@gmail.com>
Co-authored-by: Adrian Scillato <35405447+ascillato@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
duplicated Result - Duplicated Issue
Projects
None yet
Development

No branches or pull requests

2 participants