Pushover Notifications from Optix

Home / FactoryTalk Optix / Advanced Topics and Use Cases

Description
Amaze yourself sending Pushover notifications to your mobile phone or tablet from your machine or process, as alarms, maintenance requirements, etc! Use Optix Edge or FactoryTalk Optix, a little C# script and the help of artificial intelligence. No need to be an expert C# programmer.

Find the code here:
https://github.com/xavierflorensa/FactoryTalk_Optix_Pushover_nosecrets

Contributed by Xavier Florensa – YouTubeLinkedInGitHub


Transcript
(00:01) Hi everyone. In this video, I will show you how to send pushover notifications to a mobile phone with your optics edge or in factory optics. Let’s go to our new account. You have to create a new account in pushover. And once you do this, you’ll receive a user key. You can also test to send a message from here uh using a device and the sounds are sound whatever here you can have your application your token and there’s an API to do this through HTTP so you can Write C# code with your uh app token, user key, and the message you
(01:05) want to send. Let’s do this with optics. First, the demo. Let me start the demo. Let me make this little smaller. And here I have my mobile phone. So, it’s time I start the application. You will receive a new message right now. 35. Do it again. Start the application. I receive second message. a minute 36. So how to do this? Remember we have copied the example in C. Have copied this.
(02:13) We can start a new application in optics and we will define a new net logic new runtime net logic. We can enter into this script. We will enter Visual Studio Code and we can start asking to the compilot agent. what we want. We can place our cursor here if you want and we can start writing what I want to do. I want to
(03:21) perform an HTTP request. H time the H each time. The start method starts the HTTP request. Just copy your code from the jump. This starts thinking and here you have you have your complete code for you. You just have to keep and you have provided you with the
(04:27) token, user key and hello world message whatever you want. You have the code here and so easy. You just click on save and it will compile and you will have your application ready to go like this one. Okay, once again and here you have minute 39 your pushover notification and This is all. I hope you enjoy.