Changes for page 05 Lua Script
Last modified by Hunter on 2026/02/25 18:55
Summary
-
Page properties (2 modified, 0 added, 0 removed)
Details
- Page properties
-
- Author
-
... ... @@ -1,1 +1,1 @@ 1 -XWiki. joe1 +XWiki.Hunter - Content
-
... ... @@ -704,3 +704,14 @@ 704 704 = [[27. TTS function>>https://ftp.we-con.com.cn/Download/WIKI/PI%20HMI/Demo/Lua%20Script/Music%20player.pi2]] = 705 705 706 706 The project is to show a Music Player and alarm sound with TTS function in Lua script. Please note that use PI version 10.4 or higher to open the project. 707 + 708 + 709 += 28 Google Sheets API = 710 + 711 +The example shows how to send the data into the Google sheets API via Lua script. Jump to Video 712 + 713 +{{warning}} 714 +since the HMI lacks a built-in library for cryptographic signatures (RS256/JWT), user can automate this by sending the token to the HMI via external communication. Token need to be manual input in this project. 715 +{{/warning}} 716 + 717 +[[Download link>>https://ftp.we-con.com.cn/Download/WIKI/PI%20HMI/Demo/Lua%20Script/GoogleSheet.zip]]