Berry talk at conference in AU #38
Replies: 9 comments 8 replies
-
Awesome. But I'm afraid there is material already available. I know very well the internals of Berry so happy to help if needed. |
Beta Was this translation helpful? Give feedback.
-
Thanks,
When you mention the material available, it that the documentation or other
presentations.
A review of my presentation would be very helpful. I'm certainly no expert.
I propose to:
Short discussion on the esp32
Short history of tasmota
Brief introduction of the rule engine and limitations
Introduce berry
Berry libraries
Tasmota support
Talk length 40min, including questions.
Should be time for a demo or 2
…On Mon, 11 Mar 2024, 5:04 pm s-hadinger, ***@***.***> wrote:
Awesome. But I'm afraid there is material already available. I know very
well the internals of Berry so happy to help if needed.
—
Reply to this email directly, view it on GitHub
<#38 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/ABTSUVOV2FQQUAFKBIV3D4TYXVJONAVCNFSM6AAAAABEPR3VZGVHI2DSMVQWIX3LMV43SRDJONRXK43TNFXW4Q3PNVWWK3TUHM4DONBRGU3DE>
.
You are receiving this because you authored the thread.Message ID:
***@***.***>
|
Beta Was this translation helpful? Give feedback.
-
Yes, I wanted to implement a PID loop for a little project. Grabbed a
simple python implementation and converted to Berry in about 5 minutes.
…On Tue, Mar 12, 2024, 6:48 PM s-hadinger ***@***.***> wrote:
Happy to review.
On the Berry side, you can mention that it is heavily inspired from LUA
but with a more pythonic syntax. Berry is specifically designed for a small
code footprint and low memory usage, while being functional (closures) and
object-oriented at the same time.
Berry is VM-based, it compiles to bytecode. Also worth noting that the
Berry compiler to bytecode is "single-pass", again to reduce the size of
the compiler and reduce memory usage. This limits the amount of
optimization it can do.
In term of performance, I remember that berry achieves ~1Mips (1 million
simple instruction per second), to have a rough estimate of its compute
performance, although most of the time is spent dereferencing attributes
names
—
Reply to this email directly, view it on GitHub
<#38 (reply in thread)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/ABTSUVOUWNETUFFOPWV3AVLYX26MXAVCNFSM6AAAAABEPR3VZGVHI2DSMVQWIX3LMV43SRDJONRXK43TNFXW4Q3PNVWWK3TUHM4DONJWGQZTQ>
.
You are receiving this because you authored the thread.Message ID:
***@***.***>
|
Beta Was this translation helpful? Give feedback.
-
I'd never heard of Berry until I saw the Berry console option in the beta
esp32 version.
Why choose Berry, why not Lua or micro python...
Make an interesting slide...
…On Tue, 12 Mar 2024, 7:05 pm Darryl Bond, ***@***.***> wrote:
Yes, I wanted to implement a PID loop for a little project. Grabbed a
simple python implementation and converted to Berry in about 5 minutes.
On Tue, Mar 12, 2024, 6:48 PM s-hadinger ***@***.***> wrote:
> Happy to review.
>
> On the Berry side, you can mention that it is heavily inspired from LUA
> but with a more pythonic syntax. Berry is specifically designed for a small
> code footprint and low memory usage, while being functional (closures) and
> object-oriented at the same time.
>
> Berry is VM-based, it compiles to bytecode. Also worth noting that the
> Berry compiler to bytecode is "single-pass", again to reduce the size of
> the compiler and reduce memory usage. This limits the amount of
> optimization it can do.
>
> In term of performance, I remember that berry achieves ~1Mips (1 million
> simple instruction per second), to have a rough estimate of its compute
> performance, although most of the time is spent dereferencing attributes
> names
>
> —
> Reply to this email directly, view it on GitHub
> <#38 (reply in thread)>,
> or unsubscribe
> <https://github.com/notifications/unsubscribe-auth/ABTSUVOUWNETUFFOPWV3AVLYX26MXAVCNFSM6AAAAABEPR3VZGVHI2DSMVQWIX3LMV43SRDJONRXK43TNFXW4Q3PNVWWK3TUHM4DONJWGQZTQ>
> .
> You are receiving this because you authored the thread.Message ID:
> ***@***.***
> com>
>
|
Beta Was this translation helpful? Give feedback.
-
Thanks, I have not even looked at Matter. Sounds like I should.
…On Fri, 22 Mar 2024, 8:57 pm s-hadinger, ***@***.***> wrote:
Thanks, great content. When mentioning impactful features, you can also
mention Matter protocol support. This is an important feature for many
users. It also supports ESP8266 devices via a Tasmota Matter Bridge.
—
Reply to this email directly, view it on GitHub
<#38 (reply in thread)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/ABTSUVI7JSYH67YQ52CJW7TYZQFB7AVCNFSM6AAAAABEPR3VZGVHI2DSMVQWIX3LMV43SRDJONRXK43TNFXW4Q3PNVWWK3TUHM4DQNZWGY3DQ>
.
You are receiving this because you authored the thread.Message ID:
***@***.***>
|
Beta Was this translation helpful? Give feedback.
-
I see why you bring up Matter. Implemented in Berry. I shall add that. Pushed a new version of the presentation. |
Beta Was this translation helpful? Give feedback.
-
The presentation was delivered today. Good feedback. The final version is [here] |
Beta Was this translation helpful? Give feedback.
-
Just a comment. |
Beta Was this translation helpful? Give feedback.
-
Yes, should be able to. Leave it with me.
…On Sat, 20 Apr 2024, 3:11 am s-hadinger, ***@***.***> wrote:
We discussed it and decided it would be best within the Tasmota
documentation. Is it possible to convert the presentation to a browser
friendly format to watch online?
—
Reply to this email directly, view it on GitHub
<#38 (reply in thread)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/ABTSUVO62IFR4QYMUB4QCOLY6FF3PAVCNFSM6AAAAABEPR3VZGVHI2DSMVQWIX3LMV43SRDJONRXK43TNFXW4Q3PNVWWK3TUHM4TCNRZGEZDM>
.
You are receiving this because you authored the thread.Message ID:
***@***.***>
|
Beta Was this translation helpful? Give feedback.
-
Earlier in the year I submitted a talk proposal for a conference in Australia in April 2024. The proposal was 'Tasmota and Berry, not just for home automation'. The talk was initially rejected but I have now been asked if I could present it.
My thoughts were an brief overview of ESP32 and Tasmota, then a decent review of using Berry for general purpose embedded tasks. Have there been any presentations in this context that I may use some of the material? I propose to submit the presentation here for someone to use in the future.
Beta Was this translation helpful? Give feedback.
All reactions