Smart Meter Interface commands are not accepted in self-compiled binary on ESP32 #22327
-
I compiled tasmota32 for a generic board to use with the new electricity meter with P1 port installed at our home. Yet it doesn't seem to understand the meter descriptor syntax specified in the docs. I'm not sure if it's a bug or I'm missing something very simple. My overrides are:
Then I started with a simple script found on the docs page:
But I get this:
Any What am I missing? I'm supposed to enter the above descriptor/script in the Berry console, right? The docs doesn't say a single word about that, nor about how I'm supposed to permanently save the config I create. |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 2 replies
-
Nope, not right. You should not use the "Berry Scripting console" as that script has nothing to do with the Berry language, instead use "Edit Script". |
Beta Was this translation helpful? Give feedback.
-
Huh. Indeed - no idea why I used the console. However, part of the confusion must have stemmed from the fact stated on the docs page in the first paragraph: "Based on Tasmota's scripting language." So it's not really true that the 2 are not related. Admittedly, the syntax is different but the Smart Meter Interface uses the same layout as any Berry script. I should have read the scripting docs more carefully. Thanks for the heads-up. |
Beta Was this translation helpful? Give feedback.
Nope, not right. You should not use the "Berry Scripting console" as that script has nothing to do with the Berry language, instead use "Edit Script".