Push library

<< Click to Display Table of Contents >>

Navigation:  Project > Scripts > ST language > Embedded functions >

Push library

Previous pageReturn to chapter overviewNext page

sendpush(Input1, Input2) -  send push notifications (Push notifications should be enabled and topic should be setup). Input1 contains title of the notification, Input2 contains message of the notification.

 

Example:

sendpush("Alarm", "Temperature is too hight");