some time ago I encountered the nice functionality of "scriptable for iOS" and asked myself, if there was a way to show the most important keyfigures from my node-red dashboard (like battery level, gas capacity etc.) - You must know that I am living on a boat, so some of the figures are essential.
I wanted to have a solution where I don´t need to open my dashboard and login every time, but have the necessary data on my iPhone display just when I look at it.
Therefore I checked the web to see if there is already any implementation of node-red in combination with scriptable, but I didn´t find anything. Ok, time to build something myself ...
Finally I created a scriptable-script and a node-red implementation, which is relatively easy to use and I would like to share it with you. This is my very first gitHub project, feel free to check out my implementation on https://github.com/rankerson/node-red-scriptable.
Cheers
Ranki
Current features are:
The script can process several types of data like text, numbers (will be rounded), switches (with different possibilities like SFSymbols) and circles (e.g. to show a level indicator). You can show SFSymbols related to a status or the symbol itself. The data is cached in case the connection is lost.
you are right; I changed it and now there is a json
Same would fit for the ioswidget-file, but I keep it with this; maybe I adapt it in the next release as the filename is part of the settings in the code.