![]() When you send a matching event, the hook will send a request to your web application with all the details! Webhooks listen for events from your devices. Webhooks are a simple and flexible way for your devices to make requests to almost anything on the Internet. What is a webhook, after all? From particle's site: We need to create a piece of software called a webhook and configure it to connect to pushbullet. I can't help to notice that what we insist on calling firmware (a permanent software programmed into a read-only memory, according to Google, or the program that runs your particle) is today so easy to change that in reality is another piece of software. You can add there what is relevant to you and your project. ![]() Or even knowing the status of your garage door: Particle.publish("pushbullet", "Your garage door is " + garage_status_string, 60, PRIVATE) ![]() Of course, you can add there a variable for getting the temperature of your pool like this: Particle.publish("pushbullet", "Your pool is at " + String(pool_temperature) + " degrees", 60, PRIVATE) We need to add the following line of code in the particle's firmware: Particle.publish("pushbullet", "Your clothes are dry", 60, PRIVATE) Note: do not share this Pushbullet Access Token, since it grants access to your account! Pay a visit to the pushbullet site, sign up for an account if you don't have one already and get your Pushbullet Access Token from the settings page.
0 Comments
Leave a Reply. |