Skip to content

Modification Gogole Assistant SDK on Raspberry Pi with Broadlink RM Pro

Notifications You must be signed in to change notification settings

gain9999/Google-Assistant-SDK-Broadlink-RM-Pro

Repository files navigation

Google-Assistant-SDK-Broadlink-RM-Pro

Modification Gogole Assistant SDK on Raspberry Pi with Broadlink RM Pro

Requirement

To make Google Assistant run on startup:

sudo chmod +x launch-assistant.sh
sudo nano /etc/rc.local
Add python /home/pi/googleassistant.py

To learn and save IR code for each button

  1. create folder ir_codes in /home/pi
  2. run ir.py
  3. enter button name

Since Google Assistant run on Python 3 but Broadlink API run on Python 2, I cannot establish a connection with Broadlink device by Google Asssitant SDK during start so I have to wrote autocheck_ir_command.py to check the IR command from text file every 1 second in background. The IR command is created by Google Asssitant in main.py There might be a better way around to do this though.

Location of main.py: /home/pi/env/local/lib/python3.4/site-packages/google/assistant/

About

Modification Gogole Assistant SDK on Raspberry Pi with Broadlink RM Pro

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published