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?


Question

Posted

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

Recommended Posts

  • 0
Posted

rowi, there is no possibility to view history on your mobile device so far. But thank you for this suggestion!

  • 0
Posted

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,

  • 0
Posted
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?

  • 0
Posted

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=";-)" />

  • 0
Posted

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" />

  • 0
Posted

Hm... i tried too but still can't download... What did you do?

  • 0
Posted

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.

  • 0
Posted

How do I exclude hidden devices in the VD?

  • 0
Posted

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.

  • 0
Posted
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

  • 0
Posted

Ok, I forget about the post. Everything is ok. Thank you.

  • 0
Posted

I have to get it by using something like fibaro:getName(t.deviceID). The json doesn't include this information.

fibaro:getHidden?

  • 0
Posted

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

Thank you.

  • 0
Posted

This is managed by the app itself.

Maybe you can use two labels to show one event.

  • 0
Posted

I don't know lua that much. Explain please...

  • 0
Posted

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.

  • 0
Posted

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.

  • 0
Posted

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.

  • 0
Posted

dawiinci, good point! but even displaying one event in 2 lines in VD on my phone it looks crappy and texts get cut

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