diff --git a/docs/Berry.md b/docs/Berry.md index 7f52f88d7b..a3d94c7793 100644 --- a/docs/Berry.md +++ b/docs/Berry.md @@ -506,6 +506,8 @@ tasmota.remove\_driver|`(instance tasmota.gc|`() -> int`
Triggers garbage collection of Berry objects and returns the bytes currently allocated. This is for debug only and shouldn't be normally used. `gc` is otherwise automatically triggered when necessary. tasmota.urlfetch|`(url:string [, filename:string]) -> bytes:int`
Download a url (http or https) and store the content in the filesystem
`filename` is optional, needed if you want to change the name of the file from the url suffix. Returns the number of bytes downloaded or -1 if failed. tasmota.urlbecload|`(url:string) -> bool`
Download `.bec` file from a url and run it, return `true` if sucessful. This allows to run complementary code like Partition Wizard from precompiled Berry. +tasmota.scale\_uint|`(value:int, fromMin:int, fromMax:int, toMin:int, toMax:int) -> Linear scaling of an integer range, based on two points on the line, typically min and max for "from" and "to" ranges. + #### Functions used to retrieve Tasmota configuration