notify single mobile

Moderator: leecollings

Post Reply
Vandaag
Posts: 5
Joined: Saturday 16 November 2013 23:23
Target OS: Raspberry Pi / ODroid
Domoticz version:
Contact:

notify single mobile

Post by Vandaag »

Hello,

I have looked at this for a long time, but I have no idea how I am able to notify a single domoticz app directly.

It should be possible as you are able to send a test message directly to a mobile device, but I have not yet found the way. Can anyone tell me if it is possible annd if so, how.

Regards,

RIchard
User avatar
waaren
Posts: 6028
Joined: Tuesday 03 January 2017 14:18
Target OS: Linux
Domoticz version: Beta
Location: Netherlands
Contact:

Re: notify single mobile

Post by waaren »

Vandaag wrote: Saturday 19 December 2020 20:02 I have looked at this for a long time, but I have no idea how I am able to notify a single domoticz app directly.

It should be possible as you are able to send a test message directly to a mobile device, but I have not yet found the way. Can anyone tell me if it is possible and if so, how.
Have a look at the dzVents domoticz.notify method and specifically at Google Firebase notification subsystem.
And at this post
Debian buster, bullseye on RPI-4, Intel NUC.
dz Beta, Z-Wave, RFLink, RFXtrx433e, P1, Youless, Hue, Yeelight, Xiaomi, MQTT
==>> dzVents wiki
brjhaverkamp
Posts: 56
Joined: Wednesday 06 December 2017 16:42
Target OS: Raspberry Pi / ODroid
Domoticz version:
Contact:

Re: notify single mobile

Post by brjhaverkamp »

In dZvents I think it was already possible for a while. use the extradata parameter and put "midx_xx" in there.
xx is the index of the phone that you want the message sent to. You can find it in the mobile devices screen.

a few weeks ago I created a pull request to add this capability also to MQTT. It is in the development branch now.
With this you can easily notify mobiles from Node-Red through Domoticz with an MQTT message.

Regards,

Bert
Post Reply

Who is online

Users browsing this forum: No registered users and 0 guests