• 0 Votes
    14 Posts
    91 Views

    @toggledbits ignorance is bliss 🙂

  • Dark Mode not Working - 24293

    Solved Multi-System Reactor
    13
    0 Votes
    13 Posts
    68 Views

    Yes, that did it! Thanks

  • 5 Votes
    110 Posts
    15k Views
    Reactor build 24293

    BARE-METAL USERS: UPDATE YOUR PACKAGES! You must remove any package-lock.json file in your Reactor install directory and run npm i --no-save --no-package-lock --omit dev after unpacking the Reactor distribution archive. Failure to do so will result in a non-functioning UI (notably non-working dark mode) and many other issues.

    POTENTIAL BREAKING CHANGE: The validity of characters in entity IDs is now enforced. Previously, only a warning was written to the log if the ID contained invalid characters; now, the entity will not be allowed to exist. If you use VirtualEntityController, MQTTController, or other Controllers where you can configurably create entities, the IDs you establish for those entities must now contain only valid characters, which are ASCII alphanumerics, dash (-), underscore (_), and the high ASCII ranges 192-214, 216-246, and 248-255 (which covers some letters with diacritics). Other characters, including Unicode characters outside this range, are not permitted.

    POTENTIAL BREAKING CHANGE: The alert attributes have been moved off of the Reactor System (reactor_system>system) entity on to a separate Reactor System Alerts (reactor_system>alerts) entity. If you have Rules or Reactions that use alert data in conditions, you will need to point them to the new entity/attributes.

    LOCALIZATION UPDATE: There are several new strings in the reference localization template (new version 24293). See the Github repository for the current reference version and change log.

    Entity action implementations can now return values/results and store them directly to a local (Rule-based) or global variable for further processing. Note that HassController was previously (in build 24115) given this ability in a slightly different form, where the response was written to a single attribute from which it could be retrieved by other expressions. HassController will support both mechanisms for the foreseeable future, but transition to the new mechanism is recommended. New Script Action action in Reactions allows you to run an expression/script in-line in a Reaction. This is intended to simplify handing of results from Entity Actions that return results. Capabilities may now define user-writable attributes, and the user may set the value of such an attribute on an entity. The intent of this feature is to provide storage for user preference in actions (such as the amount to change the light level when performing dimming.up), but could have many other uses. To make an attribute user-writable, the developer must include writable: true in the attribute definition. Attributes derived from device data (like switch state or blind position; i.e. where a Controller instance controls the value) are not writable by the user and should not be made user-writable by developers. User-writable attribute values can be set using the new Set Attribute button in Entity list detail cards, or using the reactor_entity.set_attribute action. New reactor_entity capability is extended to all entities, and contains actions to rename the entity and set its writable attributes. Additional work to preserve the state of attributes across upgrades/changes to underlying capabilities and implementations. The new Controller methods refreshCapabilites() and refreshCapability() provide a mechanism for updating an Entity's stored capability data without losing the values of attributes and metadata that exist in both the old and new versions of a capability. Logger now supports (via logging.yaml entry) the rotation of log files on specific intervals. The maxage: time configuration can be added, where time is an integer followed by secs, mins, hours, or days. These may be abbreviated to a single character (e.g. 1d or 4h). If the time is an integer only, the units are assumed to be days. DynamicGroupController now supports an expanded form of group_actions configuration to more narrowly specify which actions are to be made available as group actions. See the Group Actions section of the documentation for DynamicGroupController. UI now has a dark theme (long-awaited). UI (Reaction Editor) for HTTP Request action now shows more clearly that when storing response to a variable, it must wait for the response to complete (i.e. when you choose a target variable, it automatically checks the "Wait for" checkbox in addition to disabling it). The semantics of this have been documented since inception, but the UI now reinforces the concept in its display. UI (Entities List) detail cards for Entities now have a Perform dropdown to run actions, rather than a list of links. The selected action is performed immediately if it has no arguments; otherwise, the arguments are requested in a modal dialog as before. This should improve access to actions on entities from this area. New expression functions from updated lexpjs: isvalue(), scale(), constrain(). See docs for Expressions. PR 0000380: Resolve an issue with an optional argument in a HAss-specific service requiring a value in the action editor (service climate.set_temperature for example). A (very) simple log file viewer/fetcher is now available at /api/v1/log. The optional file query parameter can be given to select which log file (by name); by default, reactor.log is displayed. This endpoint is protected when access control is enabled, so if you are using access control, you may need to modify an existing ACL or create a new one to enable access to it. HassController: Bless Hass to 2024.10.3
  • 1 Votes
    55 Posts
    2k Views

    Just to note I installed it, set it up in about 2 minutes and it seems to work perfectly

    C

  • 0 Votes
    14 Posts
    234 Views

    @toggledbits said in Is there a way to restart an add-on in HAAS from MSR?:

    If it doesn't work, be sure to check the logs for how HASS responded (it will be logged). My guess that data: line in the service data is redundant, and it's going to complain about it, but let's see.

    I thought it might be as well, but I figured I'd start with the way it was in the YAML code. If it doesn't work, I'll remove that line. The add-on hasn't gone unresponsive since I implemented this, so I can't say if it works or not.

  • Logitech logic

    Unsolved General Discussion
    7
    0 Votes
    7 Posts
    184 Views

    Just to close this off, new unit installed today and we now have IR back up and running. Even more remarkably despite having to reconfigure my TV activity from scratch in the Harmony app, both Alexa and HASS appear to have managed to remain functional.
    Logitech were always the bees knees for Universal remote products but at some point they will turn the servers off 😞
    No apology needed for the Hijack. I'm off to look!

    C

  • Log files

    Multi-System Reactor
    8
    0 Votes
    8 Posts
    179 Views

    @toggledbits godspeed Patrick!

  • Vera PushOver notification with image

    Vera
    2
    0 Votes
    2 Posts
    262 Views

    The code in your link was messed up when they updated that forum some years ago. I've rehashed it to give it a chance of working but I suspect you may still have trouble getting it to work. Running it in the Lua test window would be your starting point after reading the
    push over api doco.

    Another alternative is to use Telegram with the Telegram plugin.

    -- Refer to pushover documentation: -- https://pushover.net/api local pushToken = "YourPushOverTokenHere" local pushUser = "YourPushOverUserCodeHere" local pushTitle = "MessageTitle" local pushMessage = "MessageContent" local snapshotFile = "/tmp/camera_snapshot.jpg" local pushPriority = "1" -- Sound could be: pushover bike bugle, cash register, classical, cosmic, falling, -- gamelan, intermission, magic, mechanical, pianobar, siren, spacealarm, tugboat, -- alien, climb, persistent, echo, updown, none local pushSound = "gamelan" -- Link to the BlueIris videostream of that camera local pushUrl = "http://xxx.xxx.xxx.xxx/mjpg/ShortCamName&user=XXX&pw=XXX" local pushUrlTitle = "Camera Name" -- This points to one of my BlueIris managed cameras local camera = "http://xxx.xxx.xxx.xxx/image/ShortCamName?q=50&s=80&user=XXX&pw=XXX" -- Get the snapshot from the camera local out = assert(io.open(snapshotFile, "wb")) local _,data = luup.inet.wget(camera) out:write(data) assert(out:close()) --Send PushOver request local curlCommandTab = {} table.insert (curlCommandTab, 'curl -s') table.insert (curlCommandTab, '-F "token=' ..pushToken ..'"') table.insert (curlCommandTab, '-F "user=' ..pushUser ..'"') table.insert (curlCommandTab, '-F "title=' ..pushTitle ..'"') table.insert (curlCommandTab, '-F "message=' ..pushMessage ..'"') table.insert (curlCommandTab, '-F attachment=@' ..snapshotFile ..'"') table.insert (curlCommandTab, '-F "sound=' ..pushSound ..'"') table.insert (curlCommandTab, '-F "priority=' ..pushPriority ..'"') table.insert (curlCommandTab, '-F "url=' ..pushUrl ..'"') table.insert (curlCommandTab, '-F "url_title=' ..pushUrlTitle ..'"') -- The .json suffix requests that the response be in JSON format table.insert (curlCommandTab, 'https://api.pushover.net/1/messages.json') local curlCommand = table.concat (curlCommandTab, ' ') print(curlCommand) local handle = io.popen(curlCommand) local result = handle:read("*a") handle:close() print (result) -- Delete temporary snapshot os.remove (snapshotFile)
  • 0 Votes
    20 Posts
    267 Views

    I'm on it. Sit tight.

  • 1 Votes
    3 Posts
    241 Views

    It’s a smart idea to use a smart plug to reset your Ecobee remotely. However, the high temperatures in the attic (up to 135°F) are definitely a concern since many smart plugs aren’t rated for that heat. Unfortunately, Wyze and Lutron Caseta don’t offer in-wall smart plugs that are rated for those temps. You might want to look into industrial-grade smart plugs that can handle extreme conditions, or maybe relocate the smart plug to a cooler spot near the attic access, if possible. Kasa makes some Wi-Fi-based options rated up to 104°F, but you'd need to confirm if they can handle brief periods of higher heat. Be sure to double-check the specs to ensure safety and longevity.

  • DIY HomeKey locks via Reactor

    Hardware
    3
    3 Votes
    3 Posts
    172 Views

    Yep, thanks to @toggledbits for adding the tag capability in a very short time frame!

  • 0 Votes
    14 Posts
    423 Views

    Perfect. Thanks for sending the log. Don't forget to remove or comment out the monitor_nodes line if you haven't already... it will consume disk space to exhaustion if you don't disable it.

    Edit: the issue, by the way, was the new device data had handling dependent on which version of Z-Wave JS was running, because the device is reported differently on earlier versions (as you pointed out earlier), but the test in the new data file was broken. Easy fix.

  • 0 Votes
    2 Posts
    137 Views

    @toggledbits It appears the ZIP file you provided me with to fix the TILT-ZWAVE2.5-ECO tilt_sensor.state issue also fixed this topic. I do not see the unusual entity names. Thanks

    image.png

    image.png

  • 1 Votes
    44 Posts
    3k Views

    New 24258 released today:

    Release 24258 · dbochicchio/reactor-mqtt-contrib Release 24258 · dbochicchio/reactor-mqtt-contrib

    Requires Reactor 24257. New templates for HomeKey-ESP32. power_source capability for Fully Kiosk

    Requires Reactor 24257.

    New template for HomeKey-ESP32 (more on that very soon) power_source capability for Fully Kiosk
  • 0 Votes
    6 Posts
    372 Views

    I have a Sonoff NSPanel connected to HASS via NSPanel_HA_Blueprint in the hallway where the physical buttons are remapped from the relays to just publish MQTT messages to left or right garage door, appreciated by the whole family. Weather and QR code for guest WiFi also used by some but the rest is just for fun and as @toggledbits said, more of a dashboard rather than a scene controller but it was mentioned 🙂

    We have Xiaomi Aqara Mini Switches in each bathroom/toilet for manual override of the extraction fan if needed.

    My only Shelly i3 is connected to a cheap dumb twilight switch so Reactor can control which lights to turn on/off rather than the actual relay.

    We have some IKEA Tradfri wireless dimmers, I had an idea to use one for manual start/stop of our Wallbox charger but it never happened as we found ourself use Siri for that when needed.

  • 0 Votes
    3 Posts
    122 Views

    I'll keep this instruction for the future. I got frustrated, reset the device and paired it again and it's now reporting good when changed. I tried everything before the inevitable dance. Who knows what was corrupted. Guess "it's just Zwave"™️ Thanks.

  • 0 Votes
    17 Posts
    514 Views

    @therealdb said in Home Assistant Door Locks via Keymaster - Adding Second Lock Not Working:

    @sammy2 yep, see for an explanation:

    DrZWave  /  Jul 13, 2021 Z-Wave Mesh Priority Routes Explained Z-Wave Mesh Priority Routes Explained

    Brief explanation of how to use Application Priority Routes in the Z-Wave Mesh to optimize delivery

    It's under network graph (left menu). You need to set return routes. I have a couple of nodes that went from 10 sec to instantly, because of an horrible set of dynamic routes calculated automatically.

    That sounds like a work day and a potential to bork my system! I think physically re-routing is probably more practical.

    My locks are all now set up and working. I had to move my NUC / Controller to a high location more central in my house and put in a wired repeater to help route around a massive masonry fireplace that goes from the floor to above the roof and is about 2 or more feet thick and the full width of the wall separating the Family Room from the Laundry Room to get the lock between the laundry room and garage to show up on the network.

    Very pleased thus far with Keymaster and now I need to set up notifications so I know when certain people are coming through the locks and into my house.

  • 0 Votes
    6 Posts
    205 Views

    @sidmsmith said in Expression Evaluation - Last Seen Date/Time:

    If I don't hear back within a few days, I will go ahead and update this as Solved.

    your solution is correct. This code will give you the ability to use it in notifications (ie: Door left open for 5 minutes) or when you want to do things programmatically (ie: house is away since 12 hours, do that, 18 hours, do this, etc).

  • Rule Execution Sequence

    Multi-System Reactor
    6
    0 Votes
    6 Posts
    186 Views

    @wmarcolin what if you do this like below:

    Rule 1: commands/reactions up to (and including) shutdown
    Rule 2: triggers when rule 1 is true with a long delay reset value (or maybe latching), and commands/reactions start with 900 s delay and the rest of the reactions

  • 5 Votes
    6 Posts
    382 Views

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

Recent Topics