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


Device list and status 2.2

   (3 reviews)

5 Screenshots

About This File

Several times I've got lost in my system to identify specific device.

I believe many of us have old devices/scenes that have been hidden or disabled. After a while, finding them again is quite a headache and not an easy task.

I have written a scene that shows all existing devices, scenes, users and mobile devices with some extra data of properties.

 

The scene output has two formats:

  1. a list of devices by rooms
  2. a plain list of all components in acceding order of IDs

 

In order to choose between two formats please change as following:

  • local plainList =false (for list by rooms)
  • local plainList=true (for plain list in acceding order)

Since the latest upgrade 4.503 there is a new type of warning "API: not found".

So during the execution you might see a lot of messages:

[DEBUG] 00:19:26: Gathering system information.....
[DEBUG] 00:19:26: [1;31m2018-07-03 00:19:26.358874 [ error] API: Not found
[DEBUG] 00:19:26: [1;31m2018-07-03 00:19:26.528578 [ error] API: Not found
[DEBUG] 00:19:26: [1;31m2018-07-03 00:19:26.669187 [ error] API: Not found
[DEBUG] 00:19:26: [1;31m2018-07-03 00:19:26.826398 [ error] API: Not found
....................................................

Please ignore the messages and wait...

I hope Fibaro team will fix it on stable release.


What's New in Version 2.2   See changelog

Released

Bug fix

 

When user removed (in Access panel) but user ID steel appears as logged user at mobile device application crashes.

Deleted user will marked red (user doesn't exist) at mobile devices list

  • Like 1


User Feedback

Recommended Comments

Got the following error:

 

Spoiler

[DEBUG] 09:32:29: 1V1.2 Scanning 396 devices. ██████████████████████████████ ̲̅ ̲̅ ̲̅ ̲̅ ̲̅ ̲̅ ̲̅ ̲̅ ̲̅ ̲̅ ̲̅ ̲̅ ̲̅ ̲̅] 81%
[DEBUG] 09:32:29: 2019-02-27 09:32:29.148826 [ fatal] Unknown exception: /opt/fibaro/scenes/115.lua:95: attempt to perform arithmetic on a nil value

Link to comment
Share on other sites

Hi,

Unfortunately it gives me an error message...

I see the post is older, I don't know if you are still dealing with it


Thanks, Norbertimage.thumb.png.342a34eb7d7f1f125c87f3dcdedeb5da.png

Link to comment
Share on other sites

1 hour ago, kopek said:

Hi,

Unfortunately it gives me an error message...

I see the post is older, I don't know if you are still dealing with it

 

Strange... works fine for me.

In any case, please try code below.

 

Device list and status-v2.1-lua.txt

 

 

Please let me know if it works

Edited by cag014
Link to comment
Share on other sites

Hi,

Thanks for the new one, but the same error message. the difference is that ........scenes/166.lua:127


Thanks, Norbert

Link to comment
Share on other sites

I think I have figured out what went wrong...

Did you delete users recently (in Access panel)? 

Looks like deleted user shown as logged in on mobile device that doesn't use Fibaro application anymore.

 

 

Let see if that's correct, please try version below

 

Device list and status-v2.2-lua.txt

Edited by cag014
Link to comment
Share on other sites

Hi,

well... all my credit to you! It works. Thank you very much for your help!

Yes, a few days ago, since the device belonged to my Mom...
However, 395=407 is the same device. as 4=121,306=307.

4 and 121 devices are disabled in the account. Yet it says that he logged in yesterday. Is/is it possible to log in for this email address?

image.png.505ae5cff5f7d3ec1913c91b1c71b232.png

Link to comment
Share on other sites

What do you mean by devices disabled?

Yes, it possible. 

Same mobile device very often identified twice (as a model number and device given name by user) usually for admin user.

 

 

Edited by cag014
Link to comment
Share on other sites

Hi,

disabled = the phone is switched off

305-407 is off
4-121 is off
274 ruined

 

Although it doesn't belong here, could you help a little with
How can I achieve "staying at home" as soon as possible?! I searched the forum, but I found a lot...
(not when I leave home or when I come home, but that I am at home)

Thank you

Link to comment
Share on other sites

There are few options to achieve that

1. GPS location - it works with some delays

2. WiFi connection - by using ARP command 

3. Quering your phone

4. For android phones you can use Text to Speech application. 

 

Personally, I'm using GPS location. Main advantage that I can know where my family members are by defining several locations.

 

1. To use GPS location, I suggest using All-In-One scene or Location Tracker

 

 

2. To use WiFi you need to write your own code using ARP query

local arpTable,status=api.post("/networkDiscovery/arp",{["args"]={}}) 

In arpTable you need to search for your MAC address, if it's there you are at home. The problem with this approach, that when your phone at sleep mode you are not connected to the Wifi. That could mean that you are not at home as well.

 

3. To query your phone (like ping), but you need to use static IP and to identify opened port at your phone even when it sleeps. 

 

4. Install TTS application and write a scene that sends command from HC2 (let's say every 2 minutes) - if status OK, you are at home

Edited by cag014
  • Like 1
Link to comment
Share on other sites

Hi,

 

Thank you for the "many, many" possibilities, as soon as I have time, I will try using the Location tracker. "All in one scene" will be too complicated for me at first. :)

 

Thanks for all your help (so far)


Norbert

  • Like 1
Link to comment
Share on other sites

5 minutes ago, kopek said:

Is it enough to fill in line "12" (gps data) or must line "18" be entered? (jm data)

lines from where?

Link to comment
Share on other sites

On 11/27/2022 at 9:11 AM, kopek said:

gpsDevice= should I specify this?

jM= or do I have to fill in this?

No, you need to fill inside some action. In your case when GPS triggered set global variable like user="at home".

Of course you need to define your location properly in your system

Edited by cag014
Link to comment
Share on other sites

Hi

I don't really understand this (not sure I know what you mean)
  "In your case when GPS triggered set global variable like user="at home"

The coordinates are given in the location panel. However, the map has not been displayed on the family panel for a while now, I don't know why. Because the scenes work when I leave my home or when I get home.

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
Add a comment...

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