Welcome to Smart Home Forum by FIBARO
Dear Guest,
as you can notice parts of Smart Home Forum by FIBARO is not available for you. You have to register in order to view all content and post in our community. Don't worry! Registration is a simple free process that requires minimal information for you to sign up. Become a part of of Smart Home Forum by FIBARO by creating an account.
As a member you can:
- Start new topics and reply to others
- Follow topics and users to get email updates
- Get your own profile page and make new friends
- Send personal messages
- ... and learn a lot about our system!
Regards,
Smart Home Forum by FIBARO Team

Question
AvdL 4
Is it possible to change the title of a push message?
if I use the following LUA line I always get a push message with title: Push (house name) and then the message.
fibaro: call (phoneID, "sendPush", message)
See image.
Please login or register to see this attachment.
If I make an internal notification, you can set fibaro to automatically notify you by means of a push message.
However, the title of the push message is then not "Push (house name)", but the text as entered by "title" followed by (house name):
---------------- Internal notification ------------------------------
HomeCenter.PopupService.publish ({
- title (required)
title = 'XXXX.',
- subtitle (optional), e.g. time and date of the pop-up call
subtitle = os.date ("% I:% M:% S% p |% B% d,% Y"),
- content header (optional)
contentTitle = 'XXXXX',
- content (required)
contentBody = 'XXXXX',
- notification image (assigned from the variable)
img = "",
- type of the pop-up
type = 'Warning',
- buttons definition
buttons = {{caption = "OK", sceneId = 0}}
})
-------------------------------------------------- ---------------
Please login or register to see this attachment.
I would also like to change the title of a normal push message, is this possible?
Thanks in advance.
Edited by AvdL1 answer to this question
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.