Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Unsolved
Collapse
Discussion Forum to share and further the development of home control and automation, independent of platforms.
MikeReadingtonM

MikeReadington

@MikeReadington
Gradually turn on lights.
Tom_DT
I have several lights that I would like to turn on very gradually over 15 or 20 seconds. from 0 to .25 in .01 increments. I have tried a few things that came nowhere near working, so here I am.
Multi-System Reactor
Error After Upgrade
T
Topic thumbnail image
Multi-System Reactor
Reset attribute value of entity in event handler
R
Topic thumbnail image
Multi-System Reactor
Need help figuring out how to delay a reset on reaction
T
Topic thumbnail image
Multi-System Reactor
Way to search for rules (rule state) in other rules
T
@toggledbits, not sure if this is a feature request or I'm using the search tool wrong. You have a "Search for rule" in the Rules Set tab in MSR. It works nicely to find a rule and bring up said rule, but can it/could it be used for as a "where used?" global search? For instance, I have a fairly large set of rules, divided up into 10 different rulesets. There's easily a hundred individual rules, and many of the rules have Rule State triggers, which of course refer to other rules. Amongst my troubleshooting today, I came across what may have been a duplicate or troubleshooting attempt, but I can't tell if it's actually used as a Rule State in another rule without opening each rule that I suspect it may be a part of. Thanks.
Multi-System Reactor
Links to MSR from HA
Tom_DT
I am using Home Assistant a lot recently. On a dashboard showing the devices, I would like to show a link to the MSR rule that controls the devices. Is there a way to link directly into MSR?
Multi-System Reactor
Set Reaction > Script Action
wmarcolinW
Topic thumbnail image
Multi-System Reactor
Wiring Samotech SM308-S into light fitting
F
Hi Smart Home Community. I have used a Sonos inline WiFi switch to make one of my light fittings smart, but it requires a hard reset for WiFi changes, plus it isn't zigbee compatible, which means I can't use the Hue app to control it with the rest of the lights. To that end I bought a Samotech SM308-S as it is recommended as the better than the Sonos equivalent. I am however not exactly sure how to wire it in. The manual is available here Can anyone help me by clarifying which ports I need to use, and whether I should be using the live or switched live line for live etc. I will be keeping using standard switches for a while, although hope to upgrade to tap dials once I have all the fittings upgraded. Thanks
Hardware
Errors after updating to MQTTController build 25139
tunnusT
I'm running MSR build 25139 on Docker, using MQTT controller 24293, and everything working as expected. But if I try to upgrade to MQTTController build 25139, I'm getting the following errors on MSR UI: An Entity Attribute condition in "Lay-Z-Spa auto heating off" (Terrace) failed because the referenced entity "Lay-Z-Spa States" (mqtt>layzspa_states) does not have attribute value_sensor.god Last 11:20:37 An Entity Attribute condition in "Lay-Z-Spa auto heating off" (Terrace) failed because the referenced entity "Lay-Z-Spa States" (mqtt>layzspa_states) does not have attribute temperature_sensor.green Last 11:20:37 An Entity Attribute condition in "Lay-Z-Spa filter pump auto off" (Terrace) failed because the referenced entity "Lay-Z-Spa States" (mqtt>layzspa_states) does not have attribute temperature_sensor.red Last 11:20:37 An Entity Attribute condition in "Lay-Z-Spa filter pump auto run" (Terrace) failed because the referenced entity "Lay-Z-Spa States" (mqtt>layzspa_states) does not have attribute value_sensor.pump Last 11:20:37 An Entity Attribute condition in "Lay-Z-Spa watchdog" (Terrace) failed because the referenced entity "Lay-Z-Spa States" (mqtt>layzspa_states) does not have attribute value_sensor.status Last 11:20:37 My MQTT configuration (local_mqtt_devices.yaml) for the related entity is: layzspa_message: type: ValueSensor capabilities: ["temperature_sensor", "value_sensor", "power_sensor"] primary_attribute: power_sensor.value events: "layzspa/message": "power_sensor.value": json_payload: true if_expr: '! isnull( payload?.PWR )' expr: "float(payload.PWR)" "value_sensor.air": json_payload: true if_expr: '! isnull( payload?.AIR )' expr: "float(payload.AIR)" "value_sensor.pump": json_payload: true if_expr: '! isnull( payload?.FLT )' expr: "float(payload.FLT)" "value_sensor.god": json_payload: true if_expr: '! isnull( payload?.GOD )' expr: "float(payload.GOD)" "value_sensor.lock": json_payload: true if_expr: '! isnull( payload?.LCK )' expr: "float(payload.LCK)" "value_sensor.unit": json_payload: true if_expr: '! isnull( payload?.UNT )' expr: "float(payload.UNT)" "value_sensor.error": json_payload: true if_expr: '! isnull( payload?.ERR )' expr: "float(payload.ERR)" "temperature_sensor.green": json_payload: true if_expr: '! isnull( payload?.GRN )' expr: "float(payload.GRN)" "temperature_sensor.red": json_payload: true if_expr: '! isnull( payload?.RED )' expr: "float(payload.RED)" "temperature_sensor.target": json_payload: true if_expr: '! isnull( payload?.TGT )' expr: "float(payload.TGT)" "temperature_sensor.value": json_payload: true if_expr: '! isnull( payload?.TMP )' expr: "float(payload.TMP)" "temperature_sensor.virtual": json_payload: true if_expr: '! isnull( payload?.VTM )' expr: "round(float(payload.VTM), 1)" "temperature_sensor.ambient": json_payload: true if_expr: '! isnull( payload?.AMB )' expr: "float(payload.AMB)" "layzspa/Status": "value_sensor.status": if_expr: '! isnull( payload )' expr: "payload" "layzspa/button": "value_sensor.button": if_expr: '! isnull( payload )' expr: "payload" and in reactor.yaml I have: "layzspa_states": name: "Lay-Z-Spa States" friendly_name: 'Lay-Z-Spa States' include: layzspa_message I realize my MQTT configuration might be a bit unorthodox, but could there still be something unintentional in the latest MQTTController build? If needed, I can provide detailed logs.
Multi-System Reactor
🎉 My very first MSR controller: OpenSprinkler
therealdbT
Since today is my birthday - and I still pretend to be unconventional - I'm giving away a present to this wonderful community and I'm releasing my first OpenSprinkler controller for MSR. It was real fun to code it - and while it's still WIP, it seems to work OK for me. It's polling-based at the moment, but I'll add support for updates via MQTT very soon (it's already partially coded). Get it at (install is similar to MQTTController and such): https://github.com/dbochicchio/reactor-opensprinkler Feel free to try it. It's beta software, but it's stable. I'll update it weekly until all the tasks from my todo list are empty. Since I've learnt a lot from this controller, I'll explore new controllers soon.
Multi-System Reactor
Advice reqeusted to migrate MSR from Bare Metal to Container
T
Good day all, I'm in the process of trying to shut down my 10 year old Linux home server that served many purposes, but primarily it's what I used for my NAS/Plex Media server. I migrated the NAS aspect of the server in November of last year to a true NAS solution (Ubiquti UNAS Pro), which is rack mount and much more efficient than my old tower, which it's only side benefit was heating my home office during the winter. Unfortunately it also means heating my home office during the summer, which were about to be in full swing. I have two things running on this 10 year old server at this point. MSR and pi-hole. I'm running Plex Media Server on Fedora Workstation in Podman on mini PC, which is much more energy efficient than my old tower. My next step is to migrate MSR. I know there are images of MSR out there, and creating it is well documented. I'm going to be using Podman instead of Docker for various reasons, but they work very similar. What I don't know, is what I need to do to migrate my existing Bare Metal installation over to a container. Has anyone done this? Any advice?
Multi-System Reactor
Reactor (Multi-System/Multi-Hub) Announcements
toggledbitsT
Build 21228 has been released. Docker images available from DockerHub as usual, and bare-metal packages here. Home Assistant up to version 2021.8.6 supported; the online version of the manual will now state the current supported versions; Fix an error in OWMWeatherController that could cause it to stop updating; Unify the approach to entity filtering on all hub interface classes (controllers); this works for device entities only; it may be extended to other entities later; Improve error detail in messages for EzloController during auth phase; Add isRuleSet() and isRuleEnabled() functions to expressions extensions; Implement set action for lock and passage capabilities (makes them more easily scriptable in some cases); Fix a place in the UI where 24-hour time was not being displayed.
Multi-System Reactor
Z-Wave Future....
DesTD
https://forum.z-wave.me/viewtopic.php?f=3417&t=36140 That's not a good thing I think Time to switch again?
Z-Wave.me
Can´t restart or upgrade/deploy MSR
F
Topic thumbnail image
Multi-System Reactor
[Solved] Limit HA Entity in MSR
wmarcolinW
Topic thumbnail image
Multi-System Reactor
Disaster recovery and virtualisation
CatmanV2C
Following on from my last thread, some progress has been made over the weekend. With 18G of spanky RAM in my Synology DS224+. I've jumped into the murky world of virtualisation and already eliminated the need for two Raspberry Pi's from my system. Home Assistant: In theory they provide an OVA file which is supported by the Synology. I couldn't get it to work, however, so grabbed a copy of the .img file they supply, renamed it .iso and imported it as a VM. Restored from my full back up and that all seems fantastic. Minidnla Music server: Trivial. Grabbed a Debian .iso for Bookworm and copied that onto the NAS. Created a new machine which mirrored the specs of the Raspberry Pi, booted from the ISO then did an expert install. Once that was all stable with a basic core of stuff and networking, I've made a copy of that as a good base system. Then fired up minidnla on it, mounted my media and that's also woking. Not bad for a short weekend's work. Still not sure about the main NUC though. I'm thinking of buying a new USB stick so I can mess around getting it working on the Synology before I do anything drastic. Once that hurdle is sorted I'm torn between: Using a brand new install of Bookworm, re-installing Z-way server, OpenLuup, AltUI, MSR and HA bridge, then restoring across or Making an ISO of the current system, importing that and upgrading in place (which will be pretty risk free since I can snapshot everything before I make any changes.) Decisions, decisions. C
General Discussion
Remote access of Zwave stick from Z-wave server
CatmanV2C
Topic thumbnail image
Software
Organizing/ structuring rule sets and rules
R
Hi guys, Just wondering how you guys organize your rule sets and rules. I wish I had an extra layer to have some more granularity, but my feature request was not popular. Maybe there are better ways to organize my rule sets. I use the rule sets now primarily for rooms. So a rule set per room. But maybe grouping by functionality works better. Any examples/ suggestions would be appreciated.
Multi-System Reactor
Moving MSR from a QNAP container to RP 5 - some issues
Tom_DT
Topic thumbnail image
Multi-System Reactor
Widget deletion does not work and landing page (status) is empy
M
Topic thumbnail image
Multi-System Reactor
About
Posts
70
Topics
12
Shares
0
Groups
0
Followers
0
Following
1

Posts

Recent Best Controversial

  • Version 1.0 Pre-release Discussion
    MikeReadingtonM MikeReadington

    On the constraints, once groups were introduced, I stopped using the constraint subsection unless it was a straightforward rule that did not require groups. I think opinions on this would vary based on the way people have settled in on rule construction and layout. Groups allowed me to consolidate my rule sets, so I have less use for them.

    I thought of one other thing that would be helpful to me personally...

    Would you or anyone else see any value in an "entity in use by" inspector/report generator? As things got more complex, I found myself doing a little digging when I needed to address a logic issue with an entity used in multiple sections of logic.

    Multi-System Reactor

  • Version 1.0 Pre-release Discussion
    MikeReadingtonM MikeReadington

    I was just going to reply to @Fanan about reading examples on the forum can really help point you in the right direction. @LibraSun posted some examples of some things I was struggling with, and that made all the difference. Carefully dissect the examples, refer back to the docs, and the dots will start to connect.

    One thing that I think helped me a whole bunch was an Amazon Prime "The Great Courses" course on programing called "How to Program: Computer Science Concepts and Python Exercises." (only $7.99 a month for access) While it is not an MSR programing language course, it helped give me some foundational knowledge that sort of transfers. An example of this would be the principle of "lists" in Python to help you understand the basics of "arrays" in MSR.

    Small steps and little victories will keep you going.

    Multi-System Reactor

  • Schlage Lock - Alert when PIN Entered
    MikeReadingtonM MikeReadington

    Glad you got it. It is so funny this came up today because I actually had a Schlage direction sheet open to refresh my memory on Zwave exclude and include to move it to Hubitat.

    I confirmed the reload issue would trigger the rule, and the updated 22144 resolved that for me.

    I know I have said it before, but at this point I honestly can't imagine my automation life without MSR.

    Thanks as always Patrick!

    Multi-System Reactor

  • Version 1.0 Pre-release Discussion
    MikeReadingtonM MikeReadington

    +1 on the docs. As a non-programmer, I struggled with what could probably best be described as the lack of prerequisite programming knowledge. I certainly would never expect a programming course in the docs, but examples in the "how-to" section will really help point people like me in the right direction. The installation (docker), logic, and concept sections were excellent for me, but I already had the basic gist of things from Vera Reactor.

    +1 on the virtual devices.

    Dashboard: I don't know if you view this as a separate but related project, but since MSR concentrates entities in one system, it would be a wonderful addition.

    The only other thing I had thought of was a global "pause" button. I had to make lots of controller/device changes at one point, and I found myself looking for a way to put everything on hold while I reconfigured.

    I just wanted to say thank you again for everything you have created. MSR has brought a level of maturity to my automation that was not previously possible for me to accomplish at my skill level.

    Multi-System Reactor

  • Interfacing Alexa with Reactor via Routines and Dimmer VS
    MikeReadingtonM MikeReadington

    Following you on this @librasun. I had never done anything with docker until MSR, so I have catching up to do in general.

    Home Assistant

  • Entities issue 2 bridged vera units?
    MikeReadingtonM MikeReadington

    Hi Everyone,

    First post here, so hello everyone.

    I had time today, so I figured I would get MSR up and running on my Synology Docker. Thanks to the discussions between Patrick and Libra, I had no issues with installation or configuration. I added the stand-alone test controller VeraTest to MSR, and it pulled all the entities on that controller without issue. After some poking around, I decided to add the VeraShop controller to MSR, and it only shows the following under entities.

    house mode
    Reactor System
    user (User Names)
    Vera System
    VeraShop (reactor ID)

    I thought that was odd because VeraTest worked fine.

    When I switch to the VeraHouse or VeraTest controllers, all of the expected entities on that controller show up in MSR. When I switch back to VeraShop again, no entities other than what I listed above show up.

    There are only two differences I can come up with between all three controllers.

    1. VeraTest and VeraHouse are Vera Plus units, and the VeraShop unit is a Vera Secure.
    2. VeraHouse is bridged to VeraShop to allow all of the devices on VeraHouse to show up on VeraShop.

    Any ideas? I try to work through things myself, but I am stuck short of breaking the bridged system apart. I can certainly do that, but the units are still running my property, so it's the last resort.

    Thanks again,
    Mike

    Edit: Clarification on switching controllers. I am not adding multiple controller, I am shutting down the container, editing the config file, and then starting the container to switch to the different controllers.

    Multi-System Reactor

  • Entities issue 2 bridged vera units?
    MikeReadingtonM MikeReadington

    I replied to an email you sent me with the output.

    Multi-System Reactor

  • Hubitat and virtual devices
    MikeReadingtonM MikeReadington

    Thanks guys,

    Yep, @toggledbits, I went to the Maker API app after device creation and selected the devices, but they were not selected when I went back there today. I reselected the devices, restarted MSR, and everything is as expected. Looking at the interface, I think I missed hitting the update button before I left the page.

    Ok, back to messing around.

    Thanks again

    Multi-System Reactor

  • Vera vs MSR lock code logic
    MikeReadingtonM MikeReadington

    Thank you Libra,

    I had an incomplete value in "service" when I was testing. I was so close... damnit.

    Works now, and thank you for teaching me something.

    Multi-System Reactor

  • Vera vs MSR lock code logic
    MikeReadingtonM MikeReadington

    I was going to dig into the issue further, but it would be a giant waste of time since MSR eliminates the need for Vera bridging.

    Multi-System Reactor

  • formatting of "set variable" in rules
    MikeReadingtonM MikeReadington

    Thanks, @Elcid. That was sort of a confusing example because the variable of .011 should not have been there. That was just for testing the device_set_variable action to make sure it worked.

    Thanks, @toggledbits. That is exactly what I needed. I was trying to get the value using a getEntity() without double curly braces, so it did not work. When I got the expression to pull in with the proper formatting, I never went back and applied that to the getEntity() command that I was originally trying. I've got it now, and in time I'll get better at this.

    Multi-System Reactor

  • Change in Plans (Don't Panic)
    MikeReadingtonM MikeReadington

    @toggledbits I bought 2 test controllers a while back, and I would be more than happy to help any way I can.

    Do you have any idea what use case/device interaction scope would look like to give you the data you need?

    I am pretty flexible over here...

    Multi-System Reactor

  • Schlage Lock - Alert when PIN Entered
    MikeReadingtonM MikeReadington

    Synology - Docker
    Vera - 1.7.5187 (7.31)
    MSR - latest-22144-c2512b52

    I have one lock still remaining on a Vera that sl_UserCode won't write reliably. I can confirm this works for me.

    Triggered using same code as stored sl_UserCode : Works
    Triggered using different code from stored sl_UserCode: Works

    Every trigger of the lock updates sl_UserCode_updated with a new value.

    I hope this helps.

    Screen Shot 2022-05-24 at 1.04.33 PM.png

    Multi-System Reactor

  • Synology NAS docker image replacement
    MikeReadingtonM MikeReadington

    Edited/amended

    For anyone not comfortable messing about with Docker inside of a Synology NAS, these are the steps to update to the new image.

    Regardless of what you are doing, It is always good idea to have a backup copy of your reactor data folder.

    1. Make note of the "Volume" and "Environment" variable for "TZ"
    2. Stop and delete old container
    3. Delete old image from the "Images"
    4. Download the new image
    5. Launch new container with new image
    6. Under "General Settings" set container to auto start*
    7. Under "Volume" populate reactor data folder used in your previous reactor
    8. Under "Port Settings" change local port to 8111
    9. Under "Environment" hit the plus sign and add variable "TZ" with the value of your timezone.
    10. Apply and launch.

    That should be it.

    As Patrick stated, none of your configuration data is lost since it exists outside of the container.

    Thanks again as always Patrick!

    *I missed this one because it had been so long since I had setup from scratch. If you forget to do this a restart inside Reactor will cause a shutdown.

    Multi-System Reactor

  • Synology NAS docker image replacement
    MikeReadingtonM MikeReadington

    @toggledbits

    Fair enough
    🙂

    Multi-System Reactor

  • The Home Remote with MSR
    MikeReadingtonM MikeReadington

    @cw-kid I was thinking along these lines myself when I asked that question. Any device brought into MSR could then be brought into Home Remote regardless of Home Remote's native support.

    Unless I am not understanding something correctly, MSR could be brought in essentially as a hub. If MSR could talk to it, Home Remote could talk to it. More importantly, for something I would like to do, I would like a specific triggered Home Remote function to interact with MSR. (I think you had done this already if I remember correctly)

    I think this would open lots of additional automation avenues.

    Multi-System Reactor

  • iPhone location or alternative.
    MikeReadingtonM MikeReadington

    @CatmanV2 Well, at least I know it was not just me. I knew this day was coming because he had said something in August when it was broken that he didn't know if it was fixable because of Apple's API. I am thinking they kicked everything that did not use 2FA authentication.

    @therealdb I set up Owntracks on Hubitat because it was easy, and I could play with it. Looks like it is very flexible. How hard is it on the battery? I realize mileage will vary a lot on this, but that was a feature I liked about the iPhone locator app. It ran using Apple's "Find My" that was already running on the phone. It's slow to update, but if I needed to know where the phone was, I would force a poll of location from the app. Since I started refining my logic in MSR I have been using manual polling almost exclusively. Thanks again for the point in this direction.

    Multi-System Reactor

  • iPhone location or alternative.
    MikeReadingtonM MikeReadington

    Thanks for all of the input.

    For whatever reason I am having the same spotty relationship with OwnTracks that @CatmanV2 has. One minute I think it's solved, the next minute it's missed a trigger.

    With the success others have had, including @gwp1 with the same method of deployment, I must have something wrong. I'll keep working on it as time permits.

    Thanks again

    Multi-System Reactor

  • iPhone location or alternative.
    MikeReadingtonM MikeReadington

    @catmanv2 iPhone. I just returned home and it got a location trigger, but it was far from an instant trigger. The phone was in sleep for at least 30 minutes before I crossed the perimeter, and I would say the delay was in the area of 45 seconds.

    Multi-System Reactor

  • iPhone location or alternative.
    MikeReadingtonM MikeReadington

    @catmanv2 Yeah, my use case is a little more particular. I don't have an issue with never getting notification changes, they are just more delayed than I would like. I think once you get MQTT and MSR talking a 5km is going be more than relievable enough.

    I had iPhone locator poll/force location refresh when I came in my driveway and triggered the magnetic sensor. I needed the location to be accurate and updated by the time I reached either my house or my building on property. The driveway is about 300m long as the crow flies for region radius purposes, and traversal to either location is much less than 45 seconds.

    For what it is worth, I do see instant (and I mean instant instant) location changes like @therealdb and @gwp1 reported when the app is open or recently accessed. The delay seems to come from the app being backgrounded and the phone idle for a long period.

    @gwp1 with HASS iCloud3, can you remote request a location refresh of the phone? Meaning, could I have polling suspended until I ask for an update? I think I could get exactly what I am looking for with a combination of the two and some MSR logic.

    Multi-System Reactor
  • Login

  • Don't have an account? Register

  • Login or register to search.
  • First post
    Last post
0
  • Categories
  • Recent
  • Tags
  • Popular
  • Unsolved