Changes for page 05 Lua Script

Last modified by Hunter on 2026/02/25 18:55

From version 7.1
edited by Hunter
on 2026/02/25 18:54
Change comment: There is no comment for this version
To version 4.1
edited by Joe
on 2025/12/08 15:29
Change comment: There is no comment for this version

Summary

Details

Page properties
Author
... ... @@ -1,1 +1,1 @@
1 -XWiki.Hunter
1 +XWiki.joe
Content
... ... @@ -696,24 +696,11 @@
696 696  (% style="text-align:center" %)
697 697  [[image:xT8f08pfY0.png]]
698 698  
699 -= 26 Send attachment picture with SMTP by Gmail =
699 += [[26. Send attachment picture with SMTP by Gmail>>https://ftp.we-con.com.cn/Download/WIKI/PI%20HMI/Demo/Lua%20Script/SMTP%20for%20Gmail%28with%20Attachment%20picture%20%29.zip]] =
700 700  
701 701  The project is to send mail message with text and attachment picture called test.png.
702 702  
703 -[[Download link>>https://ftp.we-con.com.cn/Download/WIKI/PI%20HMI/Demo/Lua%20Script/SMTP%20for%20Gmail%28with%20Attachment%20picture%20%29.zip]]
704 704  
705 -= 27 TTS function =
704 += [[27. Music Player and alarm>>https://ftp.we-con.com.cn/Download/WIKI/PI%20HMI/Demo/Lua%20Script/Music%20player.pi2]] =
706 706  
707 707  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.
708 -
709 -[[Download link>>https://ftp.we-con.com.cn/Download/WIKI/PI%20HMI/Demo/Lua%20Script/Music%20player.pi2]]
710 -
711 -= 28 Google Sheets API =
712 -
713 -The example shows how to send the data into the Google sheets API via Lua script. Jump to Video
714 -
715 -{{warning}}
716 -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.
717 -{{/warning}}
718 -
719 -[[Download link>>https://ftp.we-con.com.cn/Download/WIKI/PI%20HMI/Demo/Lua%20Script/GoogleSheet.zip]]