Search found 4 matches

by mestereaga
Friday 14 June 2019 14:36
Forum: Bash / PowerShell / Batch etc.
Topic: Execute shell script when page is loading
Replies: 3
Views: 1119

Re: Execute shell script when page is loading

You welcome! Also I'm looking to extend this functionality to page refreshing too..
by mestereaga
Wednesday 12 June 2019 10:21
Forum: Bash / PowerShell / Batch etc.
Topic: Execute shell script when page is loading
Replies: 3
Views: 1119

Re: Execute shell script when page is loading

I have just found a workaround:
1. Go and create a simple switch and add the shell script for On action (or Off action as you wish).
2. Create a custom page in www/templates/ and give it a name like mypage.html
3. Add the following code into mypage.html:

<!DOCTYPE html>
<html>
<head>
<title>Test ...
by mestereaga
Saturday 08 June 2019 23:01
Forum: Bash / PowerShell / Batch etc.
Topic: Execute shell script when page is loading
Replies: 3
Views: 1119

Execute shell script when page is loading

Hi all,

I'm wondering if is possible to run a script when a specific page is loading in Domoticz, for example I have a server which is running Domoticz and a custom page, so when any user hit the page, then I want to execute a shell script to do something (in my case I want to send some data to a ...
by mestereaga
Friday 07 June 2019 8:34
Forum: Suggestions
Topic: RTMP online stream viewer
Replies: 0
Views: 934

RTMP online stream viewer

Hello,
Is there a way to add a RTMP link in domoticz and see it as camera? Then you can use this to the dashboard (aurora theme + scene + camera).
Currently I succeed to add the stream link into a custom page, and it is working, but I would like to have this as a virtual camera which supports RTMP ...