I am writing my first driver, and want to send push notifications to devices registered with the mobile app.
I can see my Mobile App Device in Devices, and can send notifications via this to the mobile phone without any issue.
Having read the thread below, I was under the impression I could just use an input in my driver preferences to provide a list of devices with the notification capability and then push a message to those selected.
As @mark.cockcroft stated, only an App can subscribe events from one device and then execute a command in another device. Rule Machine can handle this for you.
As @mark.cockcroft stated, only an App can subscribe events from one device and then execute a command in another device. Rule Machine can handle this for you.
Thanks.
Is this something that is core to the way Hubitat functions, or are you aware of any plans to perhaps at least allow notifications to be sent from drivers in the future?. Apologies if you can't answer this question - your Ambassador handle implies you might have some insider info.
Yes, this is a core design element of the Hubitat architecture. Drivers are specific to a device and implement standard Capabilities. Apps subscribe to events and execute commands of devices.
While I do not speak for Hubitat, I am about 99% confident that there are no future plans to allow one device to call another device's commands.