-
• #2
That is cool. I see you got inspired by @benjaminbenben micro chat post.
-
• #3
That's cool stuff.
Out of curiosity, would that also work with other types of chat or websites, or is there something Slack-specific in that code?
-
• #4
would that also work with other types of chat or websites
Yes, it'd work with pretty much anything! About the only requirement is the website uses HTTPS (not HTTP)
Ever wanted to control your Espruinos from Slack? Now you can :)
Type 'slack-espruino' as the name, then paste the code below into the URL and save:
Now open Slack for the web browser. This can be a pain on Android if you have the app installed, requiring you to view the sign-in page 'as desktop browser'
Go to the specific chat you care about
Open the
slack-espruino
bookmark you just made (or copy/paste the code above into the address bar)Choose an Espruino device in the bluetooth popup that appears
Any message that anyone writes in the conversation that starts with
Espruino:
(has to be the same capitalisation) will be sent to Espruino. For example:Espruino:LED.set()
will turn the LED on!