A Tidbyt pixel app which displays data from ioBroker
First of all thanks a lot for the inspiration from the following article and the author Tom (https://gist.github.com/tmcw) behind it: https://macwright.com/2022/03/11/tidbyt-review.html
This pixlet will enable to display data from your ioBroker on your Tidbyt device. This "self"-developed app needs to be pushed in a cycle to the Tidbyt in order not to be replaced by one of the community apps you have added in your active apps section in the mobile app. The process of how I did that is described in the following section.
- Copy the bash script and the star app to a machine which is online 24/7 (in my case I used the Raspberry PI which is also running my ioBroker instance) because you need to push your private app regularly to your Tidbyt
- make the pushToTidbyt.sh script executable by performing a chmod +x
- Add your API key and Device key in the mobile app and update the pushToTidbyt.sh file accordingly with that information
- Add the path to the folder where you stored the two files in your pushToTidbyt.sh file
- Add the execution of this script to your cronjobs At the end of the file add the following lines:
# Cronjob for displaying data on Tidbyt permanently
* * * * * sleep 0 ; <PATH_TO_YOUR_FILES>/pushToTidbyt.sh >/dev/null 2>&1
* * * * * sleep 15 ; <PATH_TO_YOUR_FILES>/pushToTidbyt.sh >/dev/null 2>&1
* * * * * sleep 30 ; <PATH_TO_YOUR_FILES>/pushToTidbyt.sh >/dev/null 2>&1
* * * * * sleep 45 ; <PATH_TO_YOUR_FILES>/pushToTidbyt.sh >/dev/null 2>&1
- Done 😄