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


Question

Posted (edited)

Hi Everyone

 

v 2.6 now available for users that have the SMsgH installed

 

Three offerings - Please read below to see which is right for you

1) WWWAPI Monitor {v1.0} - New (Mar8th) - vd that monitors only availability of the internet with option for sonos-api device. (leverages

Please login or register to see this link.

 {v1.0} 

 

2) Network Device Monitor VD {v2.5} - vd that can monitor several + devices and has built-in alert notification options (pushover/pc2popup/hc2email/allinone)

         or 

3) Network Device Monitor VD {v2.6}  - vd that can monitor several + devices and deigned to be used with the recently released 

Please login or register to see this link.

 {v1.0} 

 

Regards

[Autofrank]

 

LAN Monitor / Network Device  Monitor {v2.6} ------ to be used with Smart Message Hub {v 1.0}

Modified to to be used with Smart Message Hub

- Label check removed to simplify virtual device

4 simple steps to upgrade from v2.5 to v2.6

  1. Import the new virtual device
  2. Configure your SendMsg preferences 
  3. Copy your v2.5 jsonNetwork table to v 2.6 and set UpdateData to 'true'
  4. Set UpdateData to 'false' and that's it !!

 

LAN Monitor / Network Device  Monitor {v2.5} ------ has built in Notification Services

The main difference between 2.0 and 2.5 are the following

  • Virtual Device ONLY - ( no need for separate scene, table updates are now done through VD)
  • Global variable table is created automatically created for new users
  • Added HC2 Popup service as an extra notification option

 

The following features are still available

  • Individual LAN devices can be marked for Alert
  • Alert Notification options configurable for HC2 email (default), pushover, or ALLINONE (@jompa68)
  • One Alert will be received when device goes offline and another when it comes back online
  • Online/Offline status is captured in global table that can be used to trigger other events
  • Debug routine called vdCheck will verify that correct quantity of vd labels and format was setup
  • Status/Error/Check feedback through the virtual device log console as visible through the Web UI 

 

I use this to monitor Internet, Unifi Security Gateway, HC2, Sonos API (pi), TV's, Sat Box, Apple TV, Droid Box, Alarm Panel, Alarm Gateway, Syn NAS Global cache device, Cameras, Tablets, Sonos players, Access points and phones. Alerts setup for Internet, USG, Sonos API, Access points, cameras, Sonos players, Alarm panel, alarm gateway and NAS. There are some nuances with some devices such as TV's and Phones.

 

Open Ports of some devices that were shared by users

  • Internet google (port 80)
  • Sonos players/zone (port 1400)
  • Sonos API (port 5005 or 5006)
  • Raspberry Pi Hosting API (port 22)
  • iPhone Port (port 62078)
  • Smarter coffee maker (port 2081)
  • Smarter iKittle (port 2081)
  • Philips TV 47PFL5000 (port 1925)
  • Foscam cameras (port 88)
  • NAS Netgear U6 (port 80)
  • Global cache GC100-12 (port 21)
  • Humax FoxSat satellite receiver(port 80)
  • Apple TV Gen 3 (port 5000)
  • NPET MXQ Pro TV Box - Android 5.1 (port 7002)
  • Sony TV’s (port 80)
  • Samsung TV (port 8080)
  • Synology NAs DS415Play (port 80)
  • SPC Gateway (port 80)
  • Siemens Alarm Panel (port 443)
  • HKVision IP Camera (port 80)
  • Unifi security Gateway (port 80)
  • Unifi UniFi AC LR Access Point (port 22)
  • Samsung Galaxy S6 / S7 (port 5060)
  • Samsung Tablet (port 5060)
  • Generic Android Tablets (port 5060)
  • Airport Express and Airport Extreme (port 5009)
  • Amazon Echo Dot and Fullsize Echo (port 4070)

 

== INSTALLATION: Upgrading from 2.0 ==
    - Import the LAN Monitor 2.5 VD and copy in device table from Update Network Table 2.0
    - Run VD with updateData  = "true" to update the Network table (default setting is false)
    - Run VD with updateData  = "false" to operate in normal mode
    - Update notification and frequency of update options

 

== INSTALLATION: First Time Users ==
STEP 1  - Import the LAN Monitor 2.5 virtual device
        - Populate the device table. Device, ip, port and enter alert = "1" for device notification

               - alert is user configurible per device

               - alert = 1 (enable alerts - alerts sent if it goes offline or comes back online )

               - alert = 0 (disable alerts for this device)

        - Select the notification options 
        - Run VD with updateData  = "true" to populate the device table
        - Run VD with updateData  = "false" to operate in normal mode

Step 2 (optional) - create labels to display device status in VD
        - Create one label for each device in the global variable table, use the default ID - Label1, Label2, etc. 
        - Enter Label Names (1, 2, 3, etc) to match order order of devices in Table (devices can be skipped but ID's must match)
        - Select Main  label to display one device when observing through Web UI 
        - If you want to use all labels you can use Set vdCheck = "true" to confirm correct quantity and format of labels.

 

 

Please login or register to see this attachment.

    

 

== FILES ==

Use the version if you don't have Smart Message Hub installed

>> Network device Monitor VD {v2.5} ------------> 

Please login or register to see this attachment.

 

Use this version if you HAVE Smart Message Hub installed

>> Network Device Monitor VD {v 2.6} -----------> 

Please login or register to see this attachment.

 

 

 

Thanks to @jompa68 , @petergebruers , @sonnyboy and @boerremk for their input

 

Regards

-f

 

Edited by AutoFrank
  • Like 2
  • Thanks 1

Recommended Posts

  • 0
  • Inquirer
  • Posted
    5 minutes ago, rasiam said:

    Just a thought, how can the hc2 send out a alert to let me know that the internet is down, if the internet is down. Doesn't it use the internet to send out notifications, when I am away from home? :0)

     

    hi @rasiam

     

    you're correct :-) .. however

    I'm just finishing another scene to handle all message/TTS types and re-route accordingly if internet or other services are offline

    I'll then be updating the LAN Monitor to use this new single notification service which will send an "internet down" state to a popup and a queue for when it comes back up....

     

     

     

     

    • 0
    Posted

    hello!

     

    one question, what port is needed for iphone? or can I just specify a port in my router and bind it to my iphones ip? and then enter that portnumber in the VD?

    • 0
  • Inquirer
  • Posted
    6 minutes ago, oceank said:

    hello!

     

    one question, what port is needed for iphone? or can I just specify a port in my router and bind it to my iphones ip? and then enter that portnumber in the VD?

     

    Hi @oceank

    Sorry I don't own an iphone. The best way I found is to scan your network and when you find the iphone scan for open ports

    I use fing. You will need a port on the device itself.

     

    Phones are the most unreliable (depending on what you want to trigger) as they can shut off the wifi adpaters even when they go to sleep.

    for instance my galaxy s6 stays connected yet my wifes galaxy s7 switches off the wif1 adpater  and shows offline when you 'lock' the phone.

     

    .. hope this helps

    -f

     

     

    • 0
    Posted
    9 minutes ago, AutoFrank said:

     

    Hi @oceank

    Sorry I don't own an iphone. The best way I found is to scan your network and when you find the iphone scan for open ports

    I use fing. You will need a port on the device itself.

     

    Phones are the most unreliable (depending on what you want to trigger) as they can shut off the wifi adpaters even when they go to sleep.

    for instance my galaxy s6 stays connected yet my wifes galaxy s7 switches off the wif1 adpater  and shows offline when you 'lock' the phone.

     

    .. hope this helps

    -f

     

     

     

     

    Thanx dude! I Did just find one port for the iPhone. Typed it in the vd but nothing happens, still show offline, hmmmm do I need to do anything else in the vd code for it to search that port on my iPhones ip??

     

    thanx for the help 

    • 0
  • Inquirer
  • Posted
    14 minutes ago, oceank said:

     

     

    Thanx dude! I Did just find one port for the iPhone. Typed it in the vd but nothing happens, still show offline, hmmmm do I need to do anything else in the vd code for it to search that port on my iPhones ip??

     

    thanx for the help 

     

    Hi @oceank

     

    I just scanned my wifes ipad air which may be close to a iphone I scanned the using fing and found port 62078

    Is this the same port ?

     

    Just enter it in the vd alert for the device = 1 adn it should work.... but as I said be careful phones are funny...;-);-)

    Have you other devices working okay ?

     

    • 0
    Posted

    port number 62078  works for my iphone

     

    What if a device doesn't have an open port~ is there still a way, by means of an implemented "Ping" to see if device is online or offline ?

    • 0
    Posted

    Hi @AutoFrank,

     

    Great VD!! Just installed and working fine! I added following devices and all working (tested):

     

    - Smarter coffee maker (port 2081)

    - Smarter iKittle (port 2081)

    - Philips TV 47PFL5000 (port 1925)

    - Foscam cameras (port 88)

    - NAS Netgear U6 (port 80)

     

     

    Please login or register to see this attachment.

     

    Here is also icon that I used for this VD:

     

    Please login or register to see this image.

    /monthly_2017_03/network_monitor.png.f2459f9af6407c136b58fc910dd4e9ef.png" alt="network_monitor.png" />

     

    This VD opens new possibilities for my Angelina! Thank you! 

     

     

     

    • Like 1
    • 0
  • Inquirer
  • Posted
    2 hours ago, Sankotronic said:

    Hi @AutoFrank,

     

    Great VD!! Just installed and working fine! I added following devices and all working (tested):

     

    - Smarter coffee maker (port 2081)

    - Smarter iKittle (port 2081)

    - Philips TV 47PFL5000 (port 1925)

    - Foscam cameras (port 88)

    - NAS Netgear U6 (port 80)

     

     

    Please login or register to see this attachment.

     

    Here is also icon that I used for this VD:

     

    Please login or register to see this link.

     

    This VD opens new possibilities for my Angelina! Thank you! 

     

     

     

     

    thanks @Sankotronic

    Glad you like and thanks also for the icon

     

    I'm going to start a section on the first post for ports that people have verified and I can use yours and mine as a start.

     

    -f

    • 0
    Posted

    What if a device doesn't have an open port~ is there still a way, by means of an implemented "Ping" to see if device is online or offline ?

    • 0
    Posted

    Very good work. Thanks for sharing.
    I would like to know if that application can be adapted to determine when a node is sleeping, such as the swipe. To be able to wake up before wanting to do an action with it. Thank you

    • 0
  • Inquirer
  • Posted
    26 minutes ago, Rafael Suarez said:

    Very good work. Thanks for sharing.
    I would like to know if that application can be adapted to determine when a node is sleeping, such as the swipe. To be able to wake up before wanting to do an action with it. Thank you

     

    Hi @Rafael Suarez

    Unfortunately that's not possible. 

    the scene is either able to connect or not connect, it can't determine the type of connection, such as sleep mode

    I'm not sure if there is a fibaro command available that allows a user to determine if the swipe of awake or asleep..

     

      

    • 0
  • Inquirer
  • Posted
    40 minutes ago, samuel said:

    What if a device doesn't have an open port~ is there still a way, by means of an implemented "Ping" to see if device is online or offline ?

     

    Hi @samuel

     

    This is one of the limitations. The scene tries to make a tcpsocket connection but it's not a true ping.

    I don't know of any other way to do this with lua :-/ 

     

    • 0
    Posted

    Thank you very much for replying so quickly. I hope that at some point can be done. I have had problems with swipe, that does not respond to the first command I give it. it is asleep.

    • 0
    Posted

    i just search the web: i came across this:

     

    Please login or register to see this code.

     

    Please login or register to see this link.

     

    is this something to work with?

     

    • 0
  • Inquirer
  • Posted
    3 minutes ago, samuel said:

    i just search the web: i came across this:

     

    Please login or register to see this code.

     

    Please login or register to see this link.

     

    is this something to work with?

     

     

    Hi @samuel

     

    I came across that as well but was told that fibaro's lua interpretation didnt support os.execute and I couldn't get it to work :-(

     

    • 0
  • Inquirer
  • Posted
    7 minutes ago, Rafael Suarez said:

    Thank you very much for replying so quickly. I hope that at some point can be done. I have had problems with swipe, that does not respond to the first command I give it. it is asleep.

     

     

     

    Hi @Rafael Suarez

    Some phones have the same issue with sleep states

    • 0
    Posted
    19 hours ago, Rafael Suarez said:

    Very good work. Thanks for sharing.
    I would like to know if that application can be adapted to determine when a node is sleeping, such as the swipe. To be able to wake up before wanting to do an action with it. Thank you

     

    Hi @Rafael Suarez,

     

    When z-wave devices are sleeping they are not listening to the gateway so there is no way to wake them up that way. Fibaro swipe when battery operated then before giving first command you need to bring your palm in front of it to wake it up (you will hear beep) and then you swipe your command.

     

     

     

    • 0
  • Inquirer
  • Posted

    Hi

    I added a list or devices and open ports that I compiled from my own setup and some information shared by other users

    This is now in post 1

     

    -f

    • 0
  • Inquirer
  • Posted

    Hi Everyone

     

    Adding LAN Monitor v2.6 to the offering

     

    LAN Monitor / Network Device  Monitor {v2.6} ------ to be used with Smart Message Hub {v 1.0}

    Modified to to be used with Smart Message Hub

    - Label check removed to simplify virtual device

     

    4 simple steps to upgrade from v2.5 to v2.6

    1. Import the new virtual device
    2. Configure your SendMsg preferences 
    3. Copy your v2.5 jsonNetwork table to v 2.6 and set UpdateData to 'true'
    4. Set UpdateData to 'false' and that's it !!

     

    Enjoy !!

    -f

    • 0
    Posted
    On 2/24/2017 at 2:17 PM, samuel said:

    ok, thanks

     

    What is the portnumber of the following items?

    - sonos speaker 

    - apple router

    - internet 

     

     

    You can use port 5009 for the Airport Express and Airport Extreme

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