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!

 

Regards,

Smart Home Forum by FIBARO Team


  • 0

Commands not implemented in scene


MalvinYNJ

Question

Hi guys,

Getting my hands dirty on GPS tracking lately. I added some key commands to track if my GPS are accurately correct. Added some commands like push notifications, debug statements and email notifications. Realized that most of the time, not all commands that are implemented are fully implemented.

For example, a scene where I reached 500m within my home, it will push notification to me stating that I'm near home, debug to show the distance from home, and email the distance information to my account.

In my case, most of the time the debug statement will work. Only push and email differs in its execution. I suspect it's because I'm using fibaro:calculateDistance for both push and email, if HC2 is unable to get my location and calculate it, it will do nothing, thus the push or email does not work.

Is there anything I can confirm this? Alternately I can store it first before sending it via push and email.

Thanks

Malvin

Link to comment
Share on other sites

5 answers to this question

Recommended Posts

  • 0

Hello,

As I understand correctly, you have created debug to notify you that you are in the close range of your house. What you are concerned about is if the "fibaro:calculateDistance" command works correctly or not. So right now, you would like to confirm if the value has been calculated or not, because you do not get push/email which base on it. Could you please confirm?

Link to comment
Share on other sites

  • 0
  • Inquirer
  • Hi,

    Currently, the debug works fine with the fibaro calculate distance and fibaro get location of device.

    I'm currently using the same variables - fibaro calculate distance, fibaro get location vs home.

    However, sometimes the push notification does not come through that immediate, took some time to push or sometimes it does not push at all. but for the debug, it works fine.

    Link to comment
    Share on other sites

    • 0
  • Inquirer
  • All push notifications to iphone has to be pass on via Apple servers, am I right to say that?

    What about android?

    Link to comment
    Share on other sites

    Join the conversation

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

    Guest
    Answer this question...

    ×   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...