Jump to content

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!



Smart Home Forum by FIBARO Team

Hello All!


Recommended Posts

Hello All!

I am new here. I have just started with HC3 testing few basic sensors and options. Therefore first question: how to set up the Push notification with the date and time stamp? I want to have info when the event was triggered as the access to the network from the smartphone can be lost. I guess it has to be done via Lua Scene programming. Somebody has a quick suggestion for settings?

Please advice where to start to learn Lua Programming.



Link to comment
54 minutes ago, DariuszP72 said:

Please advice where to start to learn Lua Programming.


You made the right move, registering to this forum. There are lots of solutions already on this forum.

Also take a look at the manuals, like 


Please login or register to see this link.




Please login or register to see this link.

And creating a block scene and converting it to Lua also helps to start and understand. 


Edited by SmartHomeEddy
  • Like 1
Link to comment
  • Topic Author
  • Hello,


    Thanks for quick reply. I will study this in more details. For the moment I am learning by making Block Scenes and then converting them to Lua :-) But in this case I am missing this element. Below what I have on Action side:

    fibaro.alert('push', {[1] = 2, }, 'Toggled')
    So I get information: "Toggled" which informs me about specific even. What to add to this script to get info about time eventually also a date? In this case I would like to get a Push notification as per example: Toggled at 13:19 on 17/08/2020. Do you think it would be possible? If yes, should it be a script on Action side modified or Conditions?
    By the way what is the meaning:  {[1] = 2, }?
    I apologize if I ask for too much.
    Link to comment

    I think your looking for this Lua code


    Please login or register to see this code.

    The number 2 is the ID of the user you want to send the notification to. 


    • Like 2
    Link to comment

    Join the conversation

    You can post now and register later. If you have an account, sign in now to post with your account.

    Reply to this topic...

    ×   Pasted as rich text.   Paste as plain text instead

      Only 75 emoji are allowed.

    ×   Your link has been automatically embedded.   Display as a link instead

    ×   Your previous content has been restored.   Clear editor

    ×   You cannot paste images directly. Upload or insert images from URL.

    • Create New...