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


Recommended Posts

  • Topic Author
  • Posted

    attached AOR version includes setIcon command and email,push notification fix when HC2 defined as a master controller.

     

    Please login or register to see this attachment.

    Posted
    2 hours ago, cag014 said:

    @SmartLifeSystems

    Attached version includes an option to change icons of devices and scenes. (HCL, HC2, HC3). The command is setIcon

    Please make sure to provide correct icon ID

    1. device icon must be a number for all controllers.
    2. scene icon should be a number  for HCL and HC2 and Icon name for HC3

    Here an example how to do it in action tables:

    for devices:

    trueAct={"300","setIcon,1010"}

    trueAct={"400'hc2","setIcon,1010"}

    for scenes:

    trueAct=("_35","setIcon,scene_movie"}   --- HC3

    trueAct=("_35'hc2","setIcon,100"} -- HCL,HC2

     

    All standard parameters could be in use (delay,conditions and etc)

     

    Please login or register to see this attachment.

     

    Hi @cag,

     

    Sorry, but I get an error message.

     

    Please login or register to see this attachment.

  • Topic Author
  • Posted
    26 minutes ago, SmartLifeSystems said:

     

    Hi @cag,

     

    Sorry, but I get an error message.

     

    Please login or register to see this attachment.

    Ooops, my bad

    Fixed

     

    Please login or register to see this attachment.

  • Topic Author
  • Posted

    @SmartLifeSystems

    Sorry about extra "stupid" bug... when setIcon executed correctly it displayed as an [ERROR] instead of [TRACE].

    fixed

     

    Please login or register to see this attachment.

    Posted (edited)
    3 hours ago, cag014 said:

    @SmartLifeSystems

    Sorry about extra "stupid" bug... when setIcon executed correctly it displayed as an [ERROR] instead of [TRACE].

    fixed

     

    Please login or register to see this attachment.

    How to get the number of an icon (HC3)?

    Edited by Rover
  • Topic Author
  • Posted (edited)
    1 hour ago, Rover said:

    How to get the number of an icon (HC3)?

    place mouse cursor on the icon, press right button and choose "Inspect Element"

    Please login or register to see this spoiler.

    Now go to http://<HC3-IP>/api/icons

    in device table find the icon name and use the ID: number.  Please not some of the names are in Polish....

     

    For scenes use the icon name without suffix .png. Like User1001.png use User10001

     

    Edited by cag014
    • Thanks 1
    Posted

    If I remove a Wall Plug, f.i. the Wall Plugs I am using in the Christmas period, mail notifications are sent that the device is dead or device wake up. in itself a nice feature.

    However it would be nice if devices could be temporarily inactivated while still present in jM lines, so that no notifications about dead status have to be sent.

  • Topic Author
  • Posted
    5 hours ago, Rover said:

    If I remove a Wall Plug, f.i. the Wall Plugs I am using in the Christmas period, mail notifications are sent that the device is dead or device wake up. in itself a nice feature.

    However it would be nice if devices could be temporarily inactivated while still present in jM lines, so that no notifications about dead status have to be sent.

    First of all, AOS,AOQ and AOR are monitoring all devices in the system  regardless if they are in use in jM lines  and notification sent in case they are dead.

    If you decided to remove device ( I understand you mean the device just disconnected from the power) I suggest to disable the device in the system. No notification will be generated.

    Posted (edited)
    4 hours ago, cag014 said:

    First of all, AOS,AOQ and AOR are monitoring all devices in the system  regardless if they are in use in jM lines  and notification sent in case they are dead.

    If you decided to remove device ( I understand you mean the device just disconnected from the power) I suggest to disable the device in the system. No notification will be generated.

    Yes I mean just disconnected from the power until next Christmas. But if I disable the device in the AOQ system, that means commenting the device in jS2n, all jM lines containing this device are complaining (f.i. the jM line turning off all 30 lights when going to sleep, inclusively the Christmas tree). 

    So my request was to be able to disactivate the physically removed wall plug in AOQ, while all jM lines containing this device remains working independently of the state of the disactivated device.

     

     

     

    I tried today the working of Geofencing using my iPhone.

    {"$geoAction", {state="enter", trueAct={"Geofencing","sendEmail,2","Komt er aan"}, falseAct={"Geofencing","sendEmail,2","Gaat weg"}}},

    The result was:

    Please login or register to see this spoiler.

    So two notifications after another when coming home, but no notification when going away from home.

    Edited by Rover
    Posted
    23 hours ago, cag014 said:

    @SmartLifeSystems

    Sorry about extra "stupid" bug... when setIcon executed correctly it displayed as an [ERROR] instead of [TRACE].

    fixed

     

    Please login or register to see this attachment.

     

    Hi @cag014,

     

    I tested it. Working fine. Nice job! :) 

  • Topic Author
  • Posted (edited)
    6 hours ago, Rover said:

    Yes I mean just disconnected from the power until next Christmas. But if I disable the device in the AOQ system, that means commenting the device in jS2n, all jM lines containing this device are complaining (f.i. the jM line turning off all 30 lights when going to sleep, inclusively the Christmas tree). 

    So my request was to be able to disactivate the physically removed wall plug in AOQ, while all jM lines containing this device remains working independently of the state of the disactivated device.

     

     

     

    I tried today the working of Geofencing using my iPhone.

    {"$geoAction", {state="enter", trueAct={"Geofencing","sendEmail,2","Komt er aan"}, falseAct={"Geofencing","sendEmail,2","Gaat weg"}}},

    The result was:

    Please login or register to see this spoiler.

    It happens sometime when your mobile phone suddenly sends previous and current location. (Might be depends on phone sleep mode... try to configure that the phone won't put the app to the sleep mode)

    The Geo-location is  totally depends on your fibaro app. on the phone.

    Based on  my experience  the new app. sends more precise data than old one.

    I think iPhone app less reliable than android also.

    is anyone that uses GPS functionality can provide more information about GPS performance?

     

    By the way if you're using Android phone, may I suggest  to install

    Please login or register to see this link.

    app and to send push notification (instead of email). In this case you'll hear voice (Text-to-Speech) notification about users' location (have found that's very convenient for me)

     

    Edited by cag014
  • Topic Author
  • Posted (edited)
    5 hours ago, SmartLifeSystems said:

     

    Hi @cag014,

     

    I tested it. Working fine. Nice job! :) 

    Thanks,

    I'm curious, what exactly it does for you? I mean in what kind of situation you need to change the icon on the fly?

    Edited by cag014
    Posted (edited)
    10 hours ago, cag014 said:

    Thanks,

    I'm curious, what exactly it does for you? I mean in what kind of situation you need to change the icon on the fly?

     

    I bought a Netatmo weather station. I change its icon depending on the weather.

    2 minutes ago, SmartLifeSystems said:

     

    Vettem egy Netatmo meteorológiai állomást. Az időjárás függvényében megváltoztatom az ikonját.

     

    And another notice.

    What is this warning message? It appears every ~5 minutes.

     

    Please login or register to see this attachment.

    A

    Edited by SmartLifeSystems
  • Topic Author
  • Posted (edited)
    2 hours ago, SmartLifeSystems said:

     

    I bought a Netatmo weather station. I change its icon depending on the weather.

     

    And another notice.

    What is this warning message? It appears every ~5 minutes.

     

    Please login or register to see this attachment.

    A

    It means your HC3 has slow communication ... Please check CPU and RAM.

    You can increase the limit from by defining the limit of the slaveApiTime (in ms)

            home={user="xxx",passwd="xxx",ip="10.0.0.1",slaveApiTime=600}  
     
    Edited by cag014
    Posted
    23 hours ago, cag014 said:

    Yes I mean just disconnected from the power until next Christmas. But if I disable the device in the AOQ system, that means commenting the device in jS2n, all jM lines containing this device are complaining (f.i. the jM line turning off all 30 lights when going to sleep, inclusively the Christmas tree). 

    So my request was to be able to disactivate the physically removed wall plug in AOQ, while all jM lines containing this device remains working independently of the state of the disactivated device.

    Is this possible? We have this problem with several devices.

  • Topic Author
  • Posted
    1 hour ago, Rover said:

    Is this possible? We have this problem with several devices.

    No, I I mean disable the device in the system

    Please login or register to see this spoiler.

     

    Posted (edited)
    8 hours ago, cag014 said:

    No, I I mean disable the device in the system

    Please login or register to see this spoiler.

    If a device has been disabled in the system and present in jS2n, is this device then also conditionally disabled in a jM line, or is it true or false in a jM line?

    Edited by Rover
  • Topic Author
  • Posted
    5 hours ago, Rover said:

    If a device has been disabled in the system and present in jS2n, is this device then also conditionally disabled in a jM line, or is it true or false in a jM line?

    It's still a live in jM lines, but as I thought you have disable the line?

    By the way to disable the line in jM doesn't mean to make the line as a remark. Set timeSpan  to negative value -1. (see below)

    {-1,"device",{state="true..........}}},

    Now all your lines with references will work as expected.

    Posted (edited)
    37 minutes ago, cag014 said:

    It's still a live in jM lines, but as I thought you have disable the line?

    By the way to disable the line in jM doesn't mean to make the line as a remark. Set timeSpan  to negative value -1. (see below)

    {-1,"device",{state="true..........}}},

    Now all your lines with references will work as expected.

    No I have not disabled a line. I just want to remove wall plugs without disturbing the AOQ behaviour or disabling a jM line by -1.

    Situation: 30 devices are to be turnOff by one line (grouped device alias). If a few devices in that group have been disabled by system, what is then the resulting behaviour of the jM line? And what is the behaviour if these devices are not disabled by system, but simply physically removed from the wall?

    Situation: a jM line containes as condition the value of a by system disabled device. Resulting behaviour jM line?

    Edited by Rover
  • Topic Author
  • Posted (edited)
    52 minutes ago, Rover said:

    No I have not disabled a line. I just want to remove wall plugs without disturbing the AOQ behaviour or disabling a jM line by -1.

    Situation: 30 devices are to be turnOff by one line (grouped device alias). If a few devices in that group have been disabled by system, what is then the resulting behaviour of the jM line? And what is the behaviour if these devices are not disabled by system, but simply physically removed from the wall?

    Situation: a jM line containes as condition the value of a by system disabled device. Resulting behaviour jM line?

    I think you do have a point... I will add to check devices status , the question how to use this data?

    1. in displayed command to set note that the device is didabled?

    2. to remove the device from the jM list during initialization (and to display the list of disabled devices) and entirely to ignore it during operation?

     

    I think the second option is better solution.

    Let me know if you have any other idea.

    BTW - please notify that if the disabled device is part of conditions then the parameter value will be the last saved state always w/o any changes

    Edited by cag014

    Join the conversation

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

    Guest
    Reply to this topic...

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