This TRMNL plugin displays a grid of all of your temperature/humidity sensors from a YoLink account.
NOTE: It requires hosting a simple json proxy api on something like Cloudflare Worker, Netlify Function, or AWS Lambda to proxy the API requests.
Generate a User Access Credential in the YoLink app if you haven't already.
- Open YoLink App
- Click the hamburger icon in the top left.
- Click Settings > Account > Advanced Settings > User Access Credentials
- Create a new credential if you don't already have one. Otherwise, copy the UIAD and Secret Key.
- Create (or sign in to) a CloudFlare personal (free) account.
- Navigate to Computer (Workers) > Workers & Pages.
- Click on Create and then Hello World > Get Started.
- Name the worker and Click Deploy. Note the deploy URL.
- Click Edit Code and replace the contents of
worker.jsin CloudFlare with the contents ofcloudflare\worker.jsfrom this repository. - Click Deploy to deploy the worker.
- Click back to the worker overview page and Click Settings.
- Click Variables & Secrets.
- Add a Secret named
YOLINK_CLIENT_IDand set the value to the UIAD from your YoLink account. - Add a Secret named
YOLINK_CLIENT_SECRETand set the value to the Secret Key from your YoLink account.
- Add a Secret named
- Visit your deploy URL; you should see a JSON result with your temperature values and devices.
- Download the latest release zip.
- Visit the TMRNL Private Plugin Page.
- Click Import new and select the latest release zip.
- Set your Cloudflare Worker URL as well as the Subtitle Text.
Either the trmnl_preview gem or Docker must be installed.
Simply clone the repo, then run bin/dev.
