-
Notifications
You must be signed in to change notification settings - Fork 4.8k
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
Set USER_TEMPLATE doesn't work anymore. #9506
Comments
Fix Template using ``#define USER_TEMPLATE`` (#9506)
@kugelkopf123 have you tried? Please close when the issue is solved. |
@arendst @Jason2866 |
I Get a crash on ESP32 when I configure USER_TEMPLATE. |
Thx. JSMN tries to use the text buffer for indexing JSON values but as there is no text buffer (direct string) it fails. I'll implement your suggestion. |
I ended up putting it in JsonTemplate . figured it was safer there |
Fix ESP32 LoadStoreError when using ``#define USER_TEMPLATE`` (#9506)
After compiling with #define USER_TEMPLATE , I flashed it. But the template was still not activated. |
@ramanraja - this is a closed issue. You would need to reset the device, as technically a template was selected already, the firmware is what is selected when the device is blank. I think a note on this wiki page covering templates is probably warranted, as it has come up a few times. I'll see if I can come up with something. |
@techman83, thank you very much.
|
A follow up on the above: I had the same observation about enabling timers also. I have posted the following question on the Telegram channel: |
@ramanraja posting on a closed issue is not recommended. |
#ifdef USER_BACKLOG |
PROBLEM DESCRIPTION
Setting a user defined template while while compiling doesn't work anymore.
Perhaps the same with the Fallback topic.
REQUESTED INFORMATION
Make sure your have performed every step and checked the applicable boxes before submitting your issue. Thank you!
Backlog Template; Module; GPIO 255
:Backlog Rule1; Rule2; Rule3
:Status 0
:(Please use
weblog 4
for more debug information)TO REPRODUCE
Add following Lines to the User_config_override.h
Also tried the old Values:
EXPECTED BEHAVIOUR
After Flashing and "reset 1" the Shelly should use the right template instantly.
SCREENSHOTS
If applicable, add screenshots to help explain your problem.
ADDITIONAL CONTEXT
I think it has to do with the new GPIO Update.
(Please, remember to close the issue when the problem has been addressed)
The text was updated successfully, but these errors were encountered: