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

Event panel in iPhone App?


rowi

Question

Hi there,

just wondering if I missed an Event Panel in the iPhone App. Just wanna know aht happens in the house when I'm not there. It works for the iPad App but I did not found something like this for the iPhone App although this might be a really handy feature to just look what's happening.

Best

Rolf

Link to comment
Share on other sites

Recommended Posts

  • 0

rowi,

You can make your own virtual device to display the latest events on the smartphone App, see here:

Please login or register to see this link.

Regards,

Link to comment
Share on other sites

  • 0
see here

That would be great, but as someone already mentioned somewhere, this forum is in french only and downloads are not available for non-registered users. Could someone maybe add this vfib file here as well?

Link to comment
Share on other sites

  • 0

robertg, this virtual device is not mine but you can register on it and create a post

Please login or register to see this link.

after you can download

Please login or register to see this image.

/emoticons/default_icon_wink.gif" alt=";-)" />

Link to comment
Share on other sites

  • 0

Thanks!

Please login or register to see this image.

/emoticons/default_icon_smile.gif" alt=":-)" /> I managed to go through registration process with google translator and grab the file

Please login or register to see this image.

/emoticons/default_smile.png" alt=":)" srcset="https://forum.fibaro.com/uploads/emoticons/[email protected] 2x" width="20" height="20" />

Link to comment
Share on other sites

  • 0

I used chrome with google translate plugin to read French content, registered, activated my account with a code sent in the email, then wrote one post

Please login or register to see this link.

and I was good to go.

Link to comment
Share on other sites

  • 0

Hello!

Can anyone please paste this VD file here? I did registered on Domotiqe, activated my account, but something is still wrong... Grrrr...

Thank you.

Link to comment
Share on other sites

  • 0
How do I exclude hidden devices in the VD?

In a similar was as temperature_sensor is ignored - just extend this if. I don't have access to json response now, but there has to be some attribute indicating that device is hidden.

if (t.deviceType == "temperature_sensor") then

Link to comment
Share on other sites

  • 0

Is it possible to get a smaller font in this virtual dev? In order to read whole event on iPhone display.

Thank you.

Link to comment
Share on other sites

  • 0

Without posting alle the code, but you can basically do this:

local j = -1

local p = 0

for i = 1, 50 do

local name = fibaro:getName(t.deviceID)

local info = --other information, like done with name

...

j = j + 1

p = p + 2

pcall(function()

fibaro:call(fibaro:getSelfId(), "setProperty", "ui.Label"..j..".value", name)

fibaro:call(fibaro:getSelfId(), "setProperty", "ui.Label"..p..".value", info)

Of course you have to define what you want in info.

Hope this helps.

Link to comment
Share on other sites

  • 0

This piece of lua will display timestamp in one label and then device status change below in second label... and so on. As there are 10 labels in VD it pulls only 5 last events.

Please login or register to see this code.

Link to comment
Share on other sites

  • 0

Remember if you filter some sensors, like not showing temperature sensors, you have to increase the number of events it looks for.

response = HC2:GET("/api/panels/event?last=1000&type=id")

..

for i = 1, 1000 do

Otherwise you don't have data if there are more than 50 temperature updates.

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