[Webhooks] Super Simple Motion Activated Push Notifications

Man…I cannot believe how simple it is… :stuck_out_tongue_closed_eyes: Awesome POST.

Maybe it is easy to use web hooks. The tutorial is so simple almost anyone can do it. But my problem is, I am not an operating systems guru, and because particle-cli fails to install on my W7 system, I can get no further. When looking for a way to fix this, all I find is a lot of things that are sure to mess up my computer, such as installing Visual Studio, some version of Python etc. Sorry to dump this on this thread, but I so want to test web hooks.

1 Like


Yeah…I can see where you’re coming from…It really sucks when issues with the computer prevents you from accomplishing certain things…

One idea is to try to use a Virtual Machine in which you could install another Operating System (e.g. Mac OS X, or another version of Windows). I know that this is not an easy thing to do, but thought i’d throw it in there just in case…

In terms of good tutorials that guide you through the process…Have you tried THIS ONE? (click on the link)

Also here’s another post on troubleshooting Particle CLI on Windows…HERE

I have the tutorial open on a page - node.js OpenSSL VisualStudio Python - this is what I have to install to get particle-cli. I just cant believe it. 20 years ago I said bye to CLI, and now I have to install gigas of other software to get a mandatory cli. To me this negates much of the thrill of the particle IoT adventure. I want to write just one thing - source code. The rest should be point&click. Surely this misery is a show stopper to more than me?

Apologize. Think I had a bad day yesterday. I honestly believe the Particle stuff and the movement it fuels is fantastic. Sorry I dumped my frustrations.



9 posts were split to a new topic: Help Installing Particle CLI on Windows 10

Hey @Erlend @clarissa

I hope Particle hears your frustration. If the new dashboard can handle activating webHooks that would be very useful. I teach High School Robotics using the Photon and don’t want each student to have to setup the CLI . The Awesome Particle IDE is why I am using the Photon in the classroom.

1 Like

Hi, when I type “particle webhook create webhookchannel.json” in my command prompt, I get a output “Please specify a url”. I dont undersand what i’m doing wrong. I copy paste from the web site and I changed the Access Token and the #tag. Thanks for your help

Can you show the content of webhookchannel.json without the sensitive information?

“event”: “pushbulletHOME”,
“url”: “https://api.pushbullet.com/v2/pushes”,
“requestType”: “POST”,
“headers”: {
“Authorization”: “********************************”,
“Content-Type”: “application/json”
“json”: {
“type”: “note”,
“title”: “{{SPARK_EVENT_VALUE}}”,
“body”: “”,
“channel_tag”: “https://www.pushbullet.com/channel?tag=****
“mydevices”: true

Are you in the directory containing the .json file? Be sure to CD to the directory before you run the webhook command: particle webhook create webhookchannel.json

Weird. Are you running v.1.11.0 for the CLI?

It should be webhookchannel.json without the .txt so:

particle create webhook webhookchannel.json

I did the last update, but where can I confirm it?

That what happen when I type it without the .txt:

Hmmm i think it is the way how the file was created. You used the notepad which explains the .txt extension.

Can you attempt to recreate it and change the extension to .json instead of .txt?

Thanks a lot it work without the txt extention


That’s the reason why I hate the default setting of Windows Explorer to hide file extensions.
Consider switching that off, it will save you some trouble like this :wink:

1 Like

Just catching up on this… as I’m reading I’m like “no… Windows, not again!” Anytime I install Windows (or even use Windows on someone else’s machine) I always go into Win Explorer settings and uncheck Hide Known File Extensions.


Sorry for such a newbee reply. Especially since most seem to find it super simple. Oh well, I am a newbee…

So I am missing some concepts. I want to do this with an Electron over cellular… Is it the same? How does that part of it work?