The plugin should actually show the stream status on our website as a small lamp with link to our twitch channel once the stream is online. I have temporarily adjusted the plugin via the Wordpress Customizer so that the graphic should be displayed even if the stream is not online. Unfortunately, the graphics are not displayed in online or offline mode, not even with the script you just posted a few minutes ago. It’s such a pity that the script is not developed any more and I lack the skills to program or even migrate. Only the exchange of code content or commands I still get. 
Unfortunately, there is no comparable Wordpress script, as exactly meets our requirements. That’s why I would like to have someone do it to you who knows it - of course not in vain. I’ll write you a PM if that’s okay and send you the plugin.