Besides using Telegram message to do display on dot matrix, we also can control things, such as relay modules, to on and off. To do that, we need to compare the message received and assign what task to do. In this video tutorial, we will share on how to control electrical appliances using Telegram messages and Raspberry Pi.
Before that, you may need to refer following tutorial first:
This video will show you on how to control electrical appliances through Telegram message using Raspberry Pi.
Untuk versi bahasa Melayu, sila rujuk video dibawah.
Item used in the video.
Wiring connection table.
|Maker pHAT||Relay 2 Channels||AC Socket||AC Plug|
This is the sample code used in the video. Anyway it will be updated from time to time.