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?
dzVents Android app launch
Moderator: leecollings
-
- Posts: 12
- Joined: Sunday 17 December 2017 3:05
- Target OS: NAS (Synology & others)
- Domoticz version:
- Contact:
- waaren
- Posts: 6028
- Joined: Tuesday 03 January 2017 14:18
- Target OS: Linux
- Domoticz version: Beta
- Location: Netherlands
- Contact:
Re: dzVents Android app launch
If the tasker plugin can send a customEvent via JSON or MQTT on opening the app, it should be doable.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.
Debian buster, bullseye on RPI-4, Intel NUC.
dz Beta, Z-Wave, RFLink, RFXtrx433e, P1, Youless, Hue, Yeelight, Xiaomi, MQTT
==>> dzVents wiki
dz Beta, Z-Wave, RFLink, RFXtrx433e, P1, Youless, Hue, Yeelight, Xiaomi, MQTT
==>> dzVents wiki
-
- Posts: 12
- Joined: Sunday 17 December 2017 3:05
- Target OS: NAS (Synology & others)
- Domoticz version:
- Contact:
Re: dzVents Android app launch
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.
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.
Who is online
Users browsing this forum: No registered users and 1 guest