Dashticz - Function - Action on status change

Dashticz, alternative dashboard based on HTML, CSS, jQuery

Moderators: robgeerts, htilburgs

User avatar
DewGew
Posts: 204
Joined: Thursday 21 April 2016 12:01
Target OS: Raspberry Pi
Domoticz version: V3.8799
Location: Sweden
Contact:

Re: Dashticz - Function - Action on status change

Post by DewGew » Thursday 11 January 2018 13:49

sailmich wrote:
Monday 08 January 2018 21:11
Any chance to use own mp3 sound files for change of status? Would be cool to get information by voice e.g. all blinds are closed, humidity is to high open the window.......
I have a friend with a very warm voice I would like to record sentences and use them for notifications. :D
robgeerts wrote:
Monday 08 January 2018 21:59
You can add them to the custom directory, and use something like:

Code: Select all

blocks[110] = {}
blocks[110]['playsound'] = 'custom/warmvoice.mp3';
You can add this also:

Code: Select all

blocks[IDX]['playsoundOn'] = 'custom/warmvoice.mp3';	Play a sound when a device changes to On
blocks[IDX]['playsoundOff'] = 'custom/warmvoice.mp3';	Play a sound when a device changes to Off
Raspberry Pi 2B - domoticz - Aeon Labs Z-Stick GEN5 - RFlink gateway
NanoPi NEO-air - domoticz - REGO6XX interface

Beschuitje
Posts: 16
Joined: Saturday 24 February 2018 13:07
Target OS: Raspberry Pi
Domoticz version:
Contact:

Re: Dashticz - Function - Action on status change

Post by Beschuitje » Wednesday 07 March 2018 22:10

Having a question about possibility on status change of an iframe element
IMG_9323.jpg
IMG_9323.jpg (325.56 KiB) Viewed 449 times
In Dashticz i am using an Autiplan agenda https://autiplan.nl/hoe-de-viewer-te-gebruiken for my autistic son. I am using the planviewer from Autiplan that is also used on the iPad app from Autiplan.
The viewer does a get request on http://autiplan.com/api/viewer/event?cl ... =2018-2-20. For authentication an acceskey is given as a header which is also a part of the url. This key does not change. Each person has his own key and and i am using a key where i see both my children. (family account)

This info i got from Autiplan.

Is it possible to configure an action change in Dashticz with the iframe of Autiplan?
What i want is that the pc/tablet wakes up when there is a new activity, slides to page 2 and maybe play a simple "attention" sound.

Not a lot of coding skills but i am getting there

Beschuitje
Posts: 16
Joined: Saturday 24 February 2018 13:07
Target OS: Raspberry Pi
Domoticz version:
Contact:

Re: Dashticz - Function - Action on status change

Post by Beschuitje » Friday 09 March 2018 18:31

Trying to config status change with in iframe is of no succes.
I tried to build the website in a button (like Buienradar) and go from there but Dashticz does not recognize the image. The URL works however.

Any tips?

Post Reply

Who is online

Users browsing this forum: No registered users and 2 guests