Skip to content

Crash when PWM1i is defined when using command wakeup #9465

Closed
@Jason2866

Description

@Jason2866

Define a GPIO with function PWM1i.
Use command LedTable 1 and Dimmer 3 after that fire command wakeup it crashes.
Sometimes it already crashes with the Dimmer command.
Compiling Tasmota @160Mhz for the ESP makes it even worse.

The issue is already discussed in Discord. The crash is proabably caused from the used PWM code.
Tasmota actual uses PR esp8266/Arduino#7022 for Tasmota core 2.7.4.1
( https://github.com/tasmota/Arduino/tree/2.7.4.1-tasmota )

With some! tests it seems the issue is fixed using PR esp8266/Arduino#7231 instead.
( https://github.com/tasmota/Arduino/tree/2.7.4.1-PR7231 )

The shutter part and the AC-Zero-Cross Dimmer needs testing for compability for the changed PWM part.
@stefanbode and everyone else is invited to do tests. Thx in advance for doing.

For doing this download the provided platformio_override.ini.txt. Rename it to platformio_override.iniand copy it to your
root file of the Tasmota project folder. Rename your override file before ;-)

platformio_override.ini.txt

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 the docs
  • Searched the problem in the forum
  • Searched the problem in the chat
  • Device used (e.g., Sonoff Basic): NodeMCU
  • Tasmota binary firmware version number used: latest dev
    • Pre-compiled
    • Self-compiled
      • IDE / Compiler used: VSC with latest PlatformIO
  • Flashing tools used: Platformio / Esptool
  • Provide the output of command: Backlog Template; Module; GPIO 255:
  Configuration output here:


  • If using rules, provide the output of this command: Backlog Rule1; Rule2; Rule3:
  Rules output here:


  • Provide the output of this command: Status 0:
  STATUS 0 output here:


  • Provide the output of the Console log output when you experience your issue; if applicable:
    (Please use weblog 4 for more debug information)
  Console output here:


TO REPRODUCE

see above

EXPECTED BEHAVIOUR

no crash

Metadata

Metadata

Assignees

No one assigned

    Labels

    template missing/incompleteAction - Template Missing or incomplete (issue will be closed)

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions