dzVents Android app launch

Easy to use, 100% Lua-based event scripting framework.

Moderator: leecollings

Post Reply
ChrisKerswell
Posts: 12
Joined: Sunday 17 December 2017 3:05
Target OS: NAS (Synology & others)
Domoticz version:
Contact:

dzVents Android app launch

Post by ChrisKerswell »

Hi,

I have a device which needs to be polled via MQTT to get the latest status.

Is there a way to trigger an event when the Android app opens, that way I run a script to poll the device when needed.

I can't find an event in any documentation that would achieve this?
User avatar
waaren
Posts: 6028
Joined: Tuesday 03 January 2017 14:18
Target OS: Linux
Domoticz version: Beta
Location: Netherlands
Contact:

Re: dzVents Android app launch

Post by waaren »


ChrisKerswell wrote:
Is there a way to trigger an event when the Android app opens, that way I run a script to poll the device when needed.
If the tasker plugin can send a customEvent via JSON or MQTT on opening the app, it should be doable.



Debian buster, bullseye on RPI-4, Intel NUC.
dz Beta, Z-Wave, RFLink, RFXtrx433e, P1, Youless, Hue, Yeelight, Xiaomi, MQTT
==>> dzVents wiki
ChrisKerswell
Posts: 12
Joined: Sunday 17 December 2017 3:05
Target OS: NAS (Synology & others)
Domoticz version:
Contact:

Re: dzVents Android app launch

Post by ChrisKerswell »

Good plan, thanks!

I have a virtual push button switch to allow me to manually trigger the commends I need so I have just set tasker to use the plugin to press that when the Domoticz app opens.
Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest