Differences

This shows you the differences between two versions of the page.

Link to this comparison view

iothings:proiecte:2022:smart-remote [2023/01/19 20:04]
cristina.iordache98 [SinricPro utilization]
iothings:proiecte:2022:smart-remote [2023/01/20 02:47] (current)
cristina.iordache98 [Demo]
Line 16: Line 16:
  
 The project has the following functionalities: ​ The project has the following functionalities: ​
-  - when a command is issued through any google device (like //"Hey Google, turn on the air conditioning"//​), ​the system will the system will execute the command on the AC device.+  - when a command is issued through any google device (like //"Hey Google, turn on the air conditioning"//​),​ the system will execute the command on the AC device.
   - the system will also intercept commands from the regular IR remote control and update the status in the Cloud.   - the system will also intercept commands from the regular IR remote control and update the status in the Cloud.
   - the mode of the AC device will be set automatically depending on the target temperature and the current temperature and humidity in the room.   - the mode of the AC device will be set automatically depending on the target temperature and the current temperature and humidity in the room.
Line 65: Line 65:
  
  
-The execution flow in diagram ​is presented in the diagram below.+The execution flow is presented in the diagram below.
    
 {{:​iothings:​proiecte:​2022:​software-flow-smart-remote.drawio.png?​600|}} {{:​iothings:​proiecte:​2022:​software-flow-smart-remote.drawio.png?​600|}}
Line 72: Line 72:
  
 Sinric Pro is a web platform that enables developers to integrate IoT development boards with devices like Google Home. The API can be used to retrieve device logs, find devices, and update devices. For this project, SinricPro was used in order to receive commands from Google devices and send them to the ESP32 Microcontroller. ​ Sinric Pro is a web platform that enables developers to integrate IoT development boards with devices like Google Home. The API can be used to retrieve device logs, find devices, and update devices. For this project, SinricPro was used in order to receive commands from Google devices and send them to the ESP32 Microcontroller. ​
-First, an account on this platform must be made. After that log in and see the devices connect to it. 
  
-{{:​iothings:​proiecte:​2022:​sinricpro-web.png?​600|}}+{{:​iothings:​proiecte:​2022:​sinricpro-web.png?​700|}} 
 + 
 +First, an account on this platform must be made. After the account is created, log in and create an device on the platform, from //Devices// tab in the left page.  
 + 
 +{{:​iothings:​proiecte:​2022:​sinric-device-creation.png?​700|}} 
 + 
 +Here you must complete the //Device Name//, //​Description//​ and to choose the device that is going to be controlled. There are many options, including an AC.  
 + 
 +{{:​iothings:​proiecte:​2022:​sinric-choose-device.png?​700|}} 
 + 
 +After completing all the tabs, the device will be created and visible in the platform and a key will be generated. A key that will be used from the program to update the data in the cloud. Also after the account was create an //APP_KEY// and //​APP_SECRET//​ are created in order to connect to the platform from the program.  
 + 
 +  #define APP_KEY "​xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxx"​  
 +  #define APP_SECRET "​xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxx-xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxx"​  
 +  #define DEVICE_ID "​63bafbf161ff9a367127b578"​ ''​ 
 + 
 + 
 +==== Google Home app ==== 
 + 
 +In order to connect a Google device with SinricPro platform, download the //Google Home// application. After that, select the "​+"​ button from the left corner and choose //Set up a device//.  
 + 
 +{{:​iothings:​proiecte:​2022:​google-home-app1.jpeg?​200|}} 
 + 
 + 
 +Next choose //Works with Google// and there search for the platform //​SinricPro//,​ in this case. 
 + 
 +{{:​iothings:​proiecte:​2022:​google-home-app2.jpeg?​200|}} 
 + 
 +After this the connection is established. 
  
 ==== ISSUES ==== ==== ISSUES ====
Line 81: Line 109:
 ===== Demo =====  ===== Demo ===== 
  
 +[[https://​drive.google.com/​file/​d/​1P1UXjPX3kqVBHlYKMDNSrSa3bfyw2fs4/​view?​usp=share_link|Video File]]
 +
 +===== Conclusions ===== 
 +The development of this project was interesting. Because my air conditioner is not smart, now I can control it using Google Home app and for the hot summer days this will be useful. ​
 +
 +There are a lot of useful libraries developed that can be used in projects like these. The library that deals with the signal received and sent to the AC is up to date and has a wide coverage when it comes to air conditioner manufacturers. This project works for only one type of air conditioner but can be easily changed depending of the air conditioner type.
  
 ===== Resources ===== ===== Resources =====
Line 93: Line 127:
   * https://​www.instructables.com/​Arduino-Smart-Home-With-Alexa-Google-Assistant-Usi/​   * https://​www.instructables.com/​Arduino-Smart-Home-With-Alexa-Google-Assistant-Usi/​
   * https://​sinric.pro/​   * https://​sinric.pro/​
 +
 +
iothings/proiecte/2022/smart-remote.1674151492.txt.gz · Last modified: 2023/01/19 20:04 by cristina.iordache98
CC Attribution-Share Alike 3.0 Unported
www.chimeric.de Valid CSS Driven by DokuWiki do yourself a favour and use a real browser - get firefox!! Recent changes RSS feed Valid XHTML 1.0