[PoC] Google Assistant Integration: Razer Chroma + LED strip using the Chroma SDK REST API

Discussion in 'Razer Chroma' started by okonietoperza, May 6, 2017.

Thread Status:
Not open for further replies.
  1. okonietoperza

    okonietoperza Active Member



    This is a (working) proof of concept, it's not a fully functional project. Just spent 2 hours tinkering with that to get everything working remotely and thought I'd share :)

    To make things fun and complicated:
    • Google Assistant is connected with my IFTTT.
    • On a keyword with a variable, GA calls IFTTT to trigger a Maker Channel request on my Home Assistant instance
    • Home Assistant then publishes an MQTT message with a specified topic
    • A reasonably simple bash script is subscribed and listening to an MQTT topic and communicating with REST API at the same time. When it receives a message it attempts to parse it
    • If message is parsed successfully, Chroma SDK color for all devices is set using the REST API and LED strip effect is set by sending an UDP packet
     
    Last edited: May 6, 2017
Thread Status:
Not open for further replies.
Sign In with Razer ID >


Don't have a Razer ID yet?
Get Razer ID >