Skip to content

App HomeyScript

Arie J. Godschalk edited this page Nov 15, 2026 · 1 revision

HomeyScript integration

Home · Examples

HomeyScript can optionally prepare text or HTML for FTP Client to save. The save action expects base64 file data, not plain text.

Set up and test

  1. Install HomeyScript and verify a writable FTP directory.
  2. Follow Generate content with HomeyScript using its small HTML example.
  3. Connect the script's returned text token to Save File from base64's File field after the script succeeds.
  4. Save as index.html, download it and check the sample content.

The example converts UTF-8 bytes with Buffer.from(text, 'utf8').toString('base64'). Do not repeat that encoding on data another app already exported as base64. Saving HTML does not configure a web server, and reusing a filename replaces the existing file.

Clone this wiki locally