Skip to content

Software

898 Topics 8.6k Posts

Subcategories


  • 24 Topics
    229 Posts
    CatmanV2C
    I take it back. Worked immediately! C
  • 798 Topics
    8k Posts
    therealdbT
    So, my solution, based on the logic, is this the following. Cycle Logic (pseudo-blocks) Trigger: Button press (scene controller state changes) Variables: fan1 = getEntity("zwavejs>13-1").attributes.power_switch.state fan2 = getEntity("zwavejs>13-2").attributes.power_switch.state skip (default = false) lastTurnedOff (text) Group 1 – Both OFF → Fan1 ON Condition: skip == false AND fan1 == OFF AND fan2 == OFF AND lastTurnedOff <> "fan1" Action: Turn Fan1 ON Set skip = true Group 2 – Fan1 ON → Fan1 OFF Condition: skip == false AND fan1 == ON Action: Turn Fan1 OFF Set lastTurnedOff = "fan1" Set skip = true Group 3 – Fan1 just OFF → Fan2 ON Condition: skip == false AND fan2 == OFF AND lastTurnedOff == "fan1" Action: Turn Fan2 ON Set skip = true Group 4 – Fan2 ON → Fan2 OFF Condition: skip == false AND fan2 == ON Action: Turn Fan2 OFF Set lastTurnedOff = "fan2" Set skip = true Notes The skip variable ensures only one group runs per button press. lastTurnedOff lets Reactor know which fan was just turned off by this rule (so it can toggle the other fan on next). I'll make some other tests and see if it's working as expected. I used Chat GPT 5 giving the Reactor Docs as context and deep reasoning and it helped me a lot. I just had to explain my logic, provide a couple of screenshots and ask for logic blocks instead of script action. YMMV.
  • 41 Topics
    544 Posts
    akbooerA
    That’s a really interesting read – thanks!
  • Device that comes on on Openluup restart

    5
    0 Votes
    5 Posts
    602 Views
    CatmanV2C
    @akbooer Isn't that a toggle request though, and the next line saying the Target is zero(i.e. off) C
  • Hypothetical file system monitoring question

    5
    0 Votes
    5 Posts
    522 Views
    CatmanV2C
    Thanks. I'll start there! C
  • Any HomeSeer users here?

    2
    0 Votes
    2 Posts
    525 Views
    Black CatB
    Yes, using both HS3 & HS4. Not an expert but then again it easy to use as it is without tweaking.
  • This topic is deleted!

    1
    2
    0 Votes
    1 Posts
    62 Views
    No one has replied
  • Syncing of updates...

    1
    0 Votes
    1 Posts
    224 Views
    No one has replied
  • Strange MSR behaviours after NAS reboots

    8
    4
    0 Votes
    8 Posts
    763 Views
    toggledbitsT
    I think I have a real solution for this. As part of the work on ZWaveJSController, I had to make some changes (fairly significant) that I think would stabilize entities when controller initializations are slow as you are seeing here. Most Reactor restarts occur when the hub is already running, but as you've found out, when everything comes up at once, there are nearly infinite ways things can be out of sequence or temporarily missing. Since Z-Wave and its devices can be so much more unpredictable than a running hub, at startup and during normal operation, some changes were needed. The ZWaveJSController testing folks have been using a separate version of Reactor that contains these changes, which I myself have been using for months, and I haven't heard of any issues that could be related to those changes, so I think it's about time I can bless them and put them into the mainline code branch and releases. Perhaps within the next week or so. By the way... five minutes to restart Hass? Whiskey tango...
  • ezmqtt switch control questions/issues

    15
    0 Votes
    15 Posts
    1k Views
    toggledbitsT
    Got it. Will fix that later today.
  • Using Grafana with MSR any tips ?

    Moved
    13
    1
    0 Votes
    13 Posts
    1k Views
    therealdbT
    I’ve built a migrator from datamine format to the format used by MSR in influxdb. If anyone needs it, I could think of releasing it. I’ve moved 4 years worth of data this way and it’s working beautifully, since I used to run queries with my own engine and now they’re running inside influxdb, that’s very quick, since it’s built for that purpose.
  • New toys to play with

    7
    6 Votes
    7 Posts
    753 Views
    E
    @crille i haven’t tried it wit ezmqtt i intend to try it today, but have tried it with zwavejs2mqtt and its pretty smooth.
  • This topic is deleted!

    1
    0 Votes
    1 Posts
    6 Views
    No one has replied
  • Vera Alexa TTS slowwwww (still)

    14
    0 Votes
    14 Posts
    1k Views
    therealdbT
    @toggledbits it’s not doing http calls, but it’s waiting for a bash command to complete. I’m not sure it this is correlated, but I’ll take a look.
  • Energy and data collection and graphs

    12
    1
    0 Votes
    12 Posts
    993 Views
    LibraSunL
    Speaking solely for myself, if I have data of any type that I wish to preserve/view/review, it's easiest for me just to send it to Google Spreadsheets (via a simple Form link) using MSR, where I can have charts, graphs, tables, whatever suits my needs. But understandably, most users will not want to "roll their own" in this fashion. Always nice to have easy-to-setup alternative workflows.
  • Homekit

    4
    0 Votes
    4 Posts
    430 Views
    PablaP
    Going to give this a try, first time diving into the raspberry pi world!
  • zwave-js

    4
    0 Votes
    4 Posts
    496 Views
    therealdbT
    oh, we should ping @PoltoS in order to understand if that's available to devs as well, or it's intended as a generic feature to consume websockets. websockets are a game changer.
  • Reactor save button

    5
    0 Votes
    5 Posts
    422 Views
    CatmanV2C
    @mrfarmer many thanks. Issue resolved! C

Recent Topics