• Announcements regarding our smart home community

    8 Topics
    9 Posts

    Mios dashboard isn't displaying anything. Anyone know what is going on?

  • A place to talk about whatever you want

    164 Topics
    2k Posts

    Hi there.

    'Best', of course, is subjective. What are your needs/wants really?

    Also, what type of IT infrastructure do you have, or are you used to? Apple, PC, Linux, ...?

    Lots of choice, to be sure.

  • A place to put some How-To documentations

    20 Topics
    51 Posts

    @therealdb said in [How-To] Migrate from Vera to Zwave.me and then ZwaveJS in 2024:

    asking why it took me so many years to switch

    Now six years since the announcement of the acquisition. Both are dead; one of them just doesn't know it yet.

  • Share and discuss your lua creations here

    39 Topics
    230 Posts

    Why use any individual scene code at all? Per the reference docs you cited, if you define a scene_prolog global (presumably with the exact same code as your existing executeSceneNumber) that should work directly.

  • Hardware related - Small board computer to IP Camera and technologies like Zigbee or Zwave!

    183 Topics
    2k Posts

    I have an oven that I need to manage the temperature of, keeping it in the neighborhood of 600° C (1100° F). I have not been able to find a Zigbee-enabled solution to measure temps that high. Does anyone know if such a thing exists? If not, any ideas for how to roll a custom solution that I could integrate into a Sonoff ihost controller? I have no trouble finding high temperature probes, but none of them interface with my automation stack.

  • 834 Topics
    8k Posts
    refreshCapabilities()/refreshCapability)

    These methods may be called when you detect a change in the Reactor configuration or mapping implementations. It is up to your Controller class to determine how to do that. When a change is detected (more on that at the end of this post), calling refreshCapabilities() will re-apply the capabilities already extended to the target Entity and sync the attribute dictionary. Entities maintain local copies of capability definitions because an entity can tweak a capability to reflect it's actual abilities/data.

    Let's say for example that I add an attribute called ramp_rate to the system dimming capability. None of the entities that have this capability already assigned would automatically inherit ramp_rate when you upgrade Reactor. To get it, you'd have to use one of the refresh...() methods.

    Action Responses

    Returning a response from an action implementation is as straightforward as resolve()-ing the Promise than an action implementation is required to return with an argument containing the data for the response. If you are defining the action for a capability of yours, you add response: true to the action definition for the capability, so that the UI presents the field to allow you to specify where the response is stored.

    Detecting Changes -- When to Call refresh...()

    Many of the built-in Controller classes use extensive implementation maps to convert data from the related hub/source into attributes, and to provide implementations for actions. These Controllers have large and complex xxx_capabilities and xxx_devices files containing this data. When the Controller class is loaded, these data files are read, and then later the individual Controller instances then use the loaded data.

    From time to time, device support will change for one of these Controllers, so the map files change to reflect that. This is usually accompanied by a change in the version and revision values in the file header. Reactor's system-wide capabilities are defined in a similar way, and have similar version and revision values.

    The built-in Controllers look at these version & revision numbers are compare them to stored data in an Entity instance. If they are not identical, the Controller will call refreshCapabilities() on the entity.

    In some cases, like MQTTController, where configuration/implementation of an entity is derived from multiple templates in user configuration rather than system files, handling/requiring a version and revision for each template would add complexity for the user and be really tedious to deal with, so a slightly different approach is used. After all the includes are processed by the referenced templates and a full template has been assembled for the entity, it is hashed using util.hash(). The first time an entity is configured, the hash value is stored on the entity. Thereafter, the new hash derived at startup is compared to the hash stored on the entity, and if they differ, the entity is refreshed and the new hash stored on the entity.

  • The goodness of vera without the bad. Discuss installation problems and improvements.

    185 Topics
    3k Posts

    I should have thought so.

    Can you post the JSON for the scene from the console scene page?

  • Got a question, a comment about the community or the forum? Ask away!

    13 Topics
    145 Posts

    That's the beauty of community support!

  • Blog posts from individual members. Feel free to talk about your project, your smart home setup!

    11 Topics
    279 Posts

    Hey,

    I’m curating a list of smart home automation ideas, and here are 15+ ones (and still counting).

    What do you think?

    smart home automation ideas.png

    ..................................
    The smart home trend is dramatically evolving with at least 69% households in US owing at least one smart device.

    So how could they ease your work and life?

    I gathered and asked 15+ smart home professionals a same question:

    “What’s your most favorite automation (ideas) for smart homes that is improving your life?”

    Let’s check their ideas:

    (source: https//www.leadsrating.com/security-cameras/smart-home-automation-ideas/)

    Routine Checking Smart Curtain and Blinds Smart Interaction Smart LED String Lights Turn Outdoor Water On/Off Automation NFC Tags Automation Remote Control and Scenes Smart Interoperability Reducing Your Home Cleaning Job Light Control Automation Smart Blinds Light Management Adjusting Natural Light Automation Seamless Connectivity Simple Switch Bot Changing My Overall Everyday Process

Recent Topics