Fabio Manganiello on Nostr: 📦 #Platypush 1.3.0 is out! This release turns procedures into first-class ...
📦 #Platypush 1.3.0 is out!
This release turns procedures into first-class citizens.
Procedures are the bread-and-butter of Platypush customizations. They allow you to specify some custom logic that can run within the application, either from structured requests or code snippets - both #Python and #YAML scripts are supported. They are akin to recipes in #IFTTT and tasks in #Tasker.
You can call them from an event hook when a certain condition is met, from a cronjob or an alarm, from stand-alone scripts, from other procedures, and so on.
This release improves the integration of procedures into the UI, turning them into entities that can be controlled from the entities panel - and, soon, embedded into custom dashboards.
It also introduces a new powerful procedure editor, which allows you to visually create your automation routines through an intuitive UI with drag-and-drop support (a big part of this release has been about getting drag-and-drop to work nicely on mobile too). The new UI supports nested if/for/while blocks, break/continue/return, setting context variables, variable name autocompletion, export to YAML (if you prefer to have your procedures stored in the configuration rather than the db), and more.
This UI has been inspired by the job done by Joao Dias on Tasker (I’ve always wanted to have a similarly powerful block-based UI to create custom routines also on desktop/server), and in part by IFTTT’s recipe editor.
This release also includes a new file browser component. You can now browse your files on the Platypush instance, create/edit/delete/upload/download them directly from the Platypush UI, even if you don’t have SSH access to the machine.
Happy hacking!
Python procedures can also be easily managed through a new file editor component that allows you to precisely navigate to their definition.
This release turns procedures into first-class citizens.
Procedures are the bread-and-butter of Platypush customizations. They allow you to specify some custom logic that can run within the application, either from structured requests or code snippets - both #Python and #YAML scripts are supported. They are akin to recipes in #IFTTT and tasks in #Tasker.
You can call them from an event hook when a certain condition is met, from a cronjob or an alarm, from stand-alone scripts, from other procedures, and so on.
This release improves the integration of procedures into the UI, turning them into entities that can be controlled from the entities panel - and, soon, embedded into custom dashboards.
It also introduces a new powerful procedure editor, which allows you to visually create your automation routines through an intuitive UI with drag-and-drop support (a big part of this release has been about getting drag-and-drop to work nicely on mobile too). The new UI supports nested if/for/while blocks, break/continue/return, setting context variables, variable name autocompletion, export to YAML (if you prefer to have your procedures stored in the configuration rather than the db), and more.
This UI has been inspired by the job done by Joao Dias on Tasker (I’ve always wanted to have a similarly powerful block-based UI to create custom routines also on desktop/server), and in part by IFTTT’s recipe editor.
This release also includes a new file browser component. You can now browse your files on the Platypush instance, create/edit/delete/upload/download them directly from the Platypush UI, even if you don’t have SSH access to the machine.
Happy hacking!
Python procedures can also be easily managed through a new file editor component that allows you to precisely navigate to their definition.