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.
  1. Home
  2. Software
  3. Multi-System Reactor
  4. Alerts - (vera>device_699) does not have attribute ?attr?
Copying a global reaction
tunnusT
With build 25328, if you copy a global reaction, a new reaction does not appear in the UI unless you do a refresh. I recall this used to work without needing this page refresh? Anyway, only a minor nuisance.
Multi-System Reactor
[Reactor] Bug when sending MQTT boolean payloads
therealdbT
Topic thumbnail image
Multi-System Reactor
Difficulty defining repeating annual period
R
I have tried numerous ways to define a recurring annual period, for example from December 15 to January 15. No matter which method I try - after and before, between, after and/not after, Reactor reports "waiting for invalid date, invalid date. Some constructs also seem to cause Reactor to hang, timeout and restart. For example "before January 15 is evaluated as true, but reports "waiting for invalid date, invalid date". Does anyone have a tried and true method to define a recurring annual period? I think the "between" that I used successfully in the past may have broken with one of the updates.
Multi-System Reactor
Need help with sequence
T
Good evening all, For about the past week or so, I've been having problems with a specific rule in my home automation that controls when my home goes from an Away mode to Home mode. One of the conditions it checked for was my alarm panel, when it changed from Armed Away to Disarmed. There seems to have been a firmware update on the panel that added an intermittent step of "pending", and I can't say for certain it happens 100% of the time. Is there a way to write a condition that so it changes from one condition, to the next, and then another condition? As in, Home alarm changes from armed_away to pending to disarmed. Thanks.
Multi-System Reactor
Possible feature request?
CatmanV2C
No idea how easy this would be. During my migration away from Z-wave I've been replacing the Z-wave devices with Sonoff which has broken some of my automations. Any chance of a 'Test Reaction' function to call out which ones are broken because an entity no longer exists? Without actually running the reaction? Or does this exist already and I'm just not aware of how to do it? Obviously I can see entities that are no longer available, but not quite what I'm looking for. I guess it's something of an edge case so no huge issue. TIA! C
Multi-System Reactor
Logic Assistance: Exterior Lights on when Illuminance Below Threshold
PablaP
Topic thumbnail image
Multi-System Reactor
Time series documentation
tunnusT
Is the current manual (incl. examples) up to date with how retention value is handled in time series configuration? Referring to this post
Multi-System Reactor
MQTT templates for ZIgbee scene controller, or a better way?
CatmanV2C
Topic thumbnail image
Multi-System Reactor
Reset a delay
CatmanV2C
I'm sure this has been asked, and answered, but damned if I can figure it out Use case: I have a rear garden with lights. A door from the kitchen into the garden and a door from the garage. Currently if I open the kitchen door the lights come on (yay) and a 3 minute delay starts. After 3 minutes, no matter what else happens, the lights go off (Boo! But also yay!) What I would like is for the 3 minute delay until the lights go off to start from the latest door open event. That is, if I'm going from kitchen to garage, and back again, the lights stay on until there's three minutes of no activity. I've tried 'hacking' with a virtual switch, but can't seem to stop the delay. Any pointers? TIA C
Multi-System Reactor
Reactor Loading Screen Safari
S
Topic thumbnail image
Multi-System Reactor
Constraints states visually do not match actual
S
Topic thumbnail image
Multi-System Reactor
[MSR] Feature request: For Each action on arrays/groups
therealdbT
Topic thumbnail image
Multi-System Reactor
[Solved] Error: Command timeout
G
at _ClientAPI._commandTimeout (http://192.168.1.100:8111/client/ClientAPI.js:807:179 Seeing this randomly when returning to open browser tab after being away awhile. Once, maybe twice a day. "What did you do to trigger it?" Literally nothing, just walked away and returned and there it was. Actions taken in reasonably close proximity to this particular instance of it popping up: I'd restarted the MSR container in Portainer. I'll try to grab some logs here shortly.
Multi-System Reactor
Issue with MSR UI becoming unresponsive
S
I'm having an issue with MSR's UI being very unresponsive. It started happening a couple days ago and I didn't make any changes that would have caused this except adding some meross lan devices in HA. When I go into an entity action and use the search functionality, it usually will start filtering and then get to a place after a few letters are entered where it will take 30 seconds or more (sometimes minutes) for the UI to show what I am typing. During this time MSR ui is completely unresponsive. I've tried multiple browsers and multiple computers. HA and MSR are both deployed in docker. I have run HTOP on the host and when the problem happens there are no CPU/Memory spikes at all. From a functionality standpoint MSR is working perfectly. This seems to be an UI issue only. Do i need to ditch Docker and run MSR on a Proxmox VM? I have both stand alone Docker and Proxmox environments. I dont mind doing that I just want to be able to use the UI again... Installation method Home Assistant Container Core 2025.7.3 Frontend 20250702.3 nothing crazy in the logs except some openweather map stuff that doesn't make any sense as it is working fine in MSR Any help would be greatly appreciated Reactor latest-25328-b2ed1365 app 25328 configuration from /var/reactor/config NODE_PATH /opt/reactor:/opt/reactor/node_modules [latest-25328]2025-11-30T20:01:53.843Z <app:null> Reactor build latest-25328-b2ed1365 starting on v24.11.1 /usr/local/bin/node [latest-25328]2025-11-30T20:01:53.844Z <app:null> Process ID 1 user/group 0/0; docker; platform linux/x64 #161-Ubuntu SMP Tue Jul 22 14:25:40 UTC 2025; locale (undefined) [latest-25328]2025-11-30T20:01:53.844Z <app:null> Basedir /opt/reactor; data in /var/reactor/storage [latest-25328]2025-11-30T20:01:53.844Z <app:null> NODE_PATH=/opt/reactor:/opt/reactor/node_modules [latest-25328]2025-11-30T20:01:53.865Z <app:null> Resolved timezone=America/New_York, environment TZ=America/New_York; offset minutes from UTC=-300 [latest-25328]2025-11-30T20:01:53.867Z <default:null> Module i18n v25141 [latest-25328]2025-11-30T20:01:53.867Z <app:null> Configured locale (undefined); selected locale(s) en-US.UTF-8 [latest-25328]2025-11-30T20:01:53.879Z <app:null> Loaded locale en-US for en-US [latest-25328]2025-11-30T20:01:53.879Z <app:null> Local date/time using configured timezone and locale formatting is "11/30/2025, 3:01:53 PM" [latest-25328]2025-11-30T20:01:53.889Z <Structure:null> Module Structure v25326 [latest-25328]2025-11-30T20:01:53.890Z <Capabilities:null> Module Capabilities v24312 [latest-25328]2025-11-30T20:01:53.904Z <Plugin:null> Module Plugin v25141 [latest-25328]2025-11-30T20:01:53.923Z <Timer:null> Module Timer v25279 [latest-25328]2025-11-30T20:01:53.924Z <TimerBroker:null> Module TimerBroker v25314 [latest-25328]2025-11-30T20:01:53.927Z <Entity:null> Module Entity v25251 [latest-25328]2025-11-30T20:01:53.929Z <Controller:null> Module Controller v25253 [latest-25328]2025-11-30T20:01:53.930Z <AlertManager:null> Module AlertManager v25318 [latest-25328]2025-11-30T20:01:53.937Z <default:null> Module Ruleset v25283 [latest-25328]2025-11-30T20:01:53.937Z <default:null> Module Rulesets v25141 [latest-25328]2025-11-30T20:01:53.942Z <GlobalExpression:null> Module GlobalExpression v25258 [latest-25328]2025-11-30T20:01:53.953Z <Predicate:null> Module Predicate v25328 [latest-25328]2025-11-30T20:01:53.956Z <Rule:null> Module Rule v25323 [latest-25328]2025-11-30T20:01:53.958Z <GlobalReaction:null> Module GlobalReaction v25292 [latest-25328]2025-11-30T20:01:53.959Z <Engine:null> Module Engine v25325 [latest-25328]2025-11-30T20:01:53.964Z <httpapi:null> Module httpapi v25328 [latest-25328]2025-11-30T20:01:53.972Z <wsapi:null> Module wsapi v25328 [latest-25328]2025-11-30T20:01:53.994Z <TaskQueue:null> Module TaskQueue 24138 [latest-25328]2025-11-30T20:01:53.994Z <VeraController:null> Module VeraController v25141 [latest-25328]2025-11-30T20:01:54.179Z <HassController:null> Module HassController v25325 [latest-25328]2025-11-30T20:02:13.797Z <OWMWeatherController:null> Module OWMWeatherController v25268 [latest-25328]2025-11-30T20:02:13.800Z <SystemController:null> Module SystemController v25323 [latest-25328]2025-11-30T20:02:13.807Z <MQTTController:null> Module MQTTController v22092 [latest-25328]2025-11-30T20:02:20.630Z <OWMWeatherController:CRIT> FetchError: request to https://api.openweathermap.org/data/2.5/weather?lat=xxxxxxxxxx&lon=-xxxxxxxxx&appid=xxxxxxxxxxxxxxxxxxxxxxxxxx&units=standard&_r=1xxxxxxxxxxxxxxfailed, reason: [-] FetchError: request to https://api.openweathermap.org/data/2.5/weather?lat=xxxxxxxxxxx&lon=-xxxxxxxxxxxxxxxxxx&appid=xxxxxxxxxxxxxxxxxxx&units=standard&_r=xxxxxxxxxxxxxxxfailed, reason: at ClientRequest.<anonymous> (/opt/reactor/node_modules/node-fetch/lib/index.js:1501:11) at ClientRequest.emit (node:events:508:28) at ClientRequest.emit (node:domain:489:12) at emitErrorEvent (node:_http_client:108:11) at TLSSocket.socketErrorListener (node:_http_client:575:5) at TLSSocket.emit (node:events:508:28) at TLSSocket.emit (node:domain:489:12) at emitErrorNT (node:internal/streams/destroy:170:8) at emitErrorCloseNT (node:internal/streams/destroy:129:3) at processTicksAndRejections (node:internal/process/task_queues:89:21
Multi-System Reactor
Date/time condition
tunnusT
Topic thumbnail image
Multi-System Reactor
Device log?
G
@toggledbits is there a log that will show me what rule is turning on a specific device? I've got a switch that has been kicking on at 2200 ET for several nights now and the reactor.log doesn't have a thing in it that I can see on a device level (it being more rules-based).
Multi-System Reactor
Midnight crossing not working in date/time condition (build 25325)
tunnusT
Topic thumbnail image
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
[Solved] Local expression in Rule does not evaluate as they used to do
CrilleC
Topic thumbnail image
Multi-System Reactor
Home Assistant 2025.11.2 and latest-25315
CrilleC
Topic thumbnail image
Multi-System Reactor

Alerts - (vera>device_699) does not have attribute ?attr?

Scheduled Pinned Locked Moved Multi-System Reactor
32 Posts 2 Posters 4.7k Views 2 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • toggledbitsT toggledbits

    @cw-kid The alert may be new, but the error being thrown in the log file would not be, so you probably didn't notice (i.e. the new alert is generated in the same breath as the log message that's been there for a while now).

    Just to clarify, are you testing the action device or is this a virtual device you are copying to?

    If it comes up again, go the rule editor right away and see if it exists there or not. That would be instructive. Then go look on the Vera side (hard refresh your browser first to make sure the UI Variables tab is showing you current data, it rarely does). If it's there, it would be good to know what value it has.

    And a device dump from a startup may also provide a clue:

    1. Under the config section for the vera controller in reactor.yaml, add a dump_entity: line indented two spaces relative to the config.
    2. After the dump_entity: line, add "device_699": true and make sure that's indented two space from dump_entity.

    It will look like this:

    controller:
      - id: vera
        # other config redacted for clarity
        config:
          # your source and other stuff redacted for clarity
          dump_entity:              <---- add this
            "device_699": true    <--- and this
    

    Make sure you only use spaces for indenting. The restart MSR. Wait a moment, and a file called vera-device_699.json will be created in your logs directory. Grab and post here.

    cw-kidC Offline
    cw-kidC Offline
    cw-kid
    wrote on last edited by
    #3

    @toggledbits said in Alerts - (vera>device_699) does not have attribute ?attr?:

    Just to clarify, are you testing the actual device or is this a virtual device you are copying to?

    In MSR my rules trigger is looking at the "real" device the parent device and its "Tripped" variable, this is device ID 699, this is configured as a Binary Light device.

    546e69dc-6a53-4764-9289-b1541d8c420f-image.png

    The virtual motion sensor device I created and that I am copying the tripped status to from the parent, I am not using this device in MSR as a trigger. But I guess I could do instead.

    Virtual Motion Sensor:

    301060e8-c331-4186-83ef-3d07be70d671-image.png

    And this is an actual child device of the parent, which is a LUX sensor.

    2a9d24bb-7550-4e12-b84c-c88b7a79f936-image.png

    You can download the device dump for the parent device 699 here.

    1 Reply Last reply
    0
    • cw-kidC Offline
      cw-kidC Offline
      cw-kid
      wrote on last edited by
      #4

      I had to restart MSR a few times to do that device dump, after the first restart the alerts went away and cleared. After the second restart they are back again.

      Not sure I know what you mean here?

      "If it comes up again, go the rule editor right away and see if it exists there or not."

      a96f9d18-b56b-40ed-a3a1-0c53e4db3d33-image.png

      fcdb803e-f2a4-42be-b029-12a1b1b9a381-image.png

      1 Reply Last reply
      0
      • cw-kidC Offline
        cw-kidC Offline
        cw-kid
        wrote on last edited by
        #5

        Device 699 information from the Entities area:

        power_switch.state=false
        x_vera_device.configured=true
        x_vera_device.device_number=699
        x_vera_device.device_type="urn:schemas-upnp-org:device:BinaryLight:1"
        x_vera_device.failed=null
        x_vera_device.mapped_by="*;device_type=urn:schemas-upnp-org:device:BinaryLight:1"
        x_vera_device.mapped_class="generic_switch"
        x_vera_svc_micasaverde_com_HaDevice1.ChildrenSameRoom="1"
        x_vera_svc_micasaverde_com_HaDevice1.Configured="1"
        x_vera_svc_micasaverde_com_HaDevice1.FirstConfigured="1616524758"
        x_vera_svc_micasaverde_com_HaDevice1.LastUpdate="1616525032"
        x_vera_svc_micasaverde_com_HaDevice1.ModeSetting="1:;2:;3:;4:"
        x_vera_svc_micasaverde_com_HaDevice1.PollRatings="5.00"
        x_vera_svc_micasaverde_com_SecuritySensor1.Armed="0"
        x_vera_svc_micasaverde_com_SecuritySensor1.ArmedTripped="0"
        x_vera_svc_micasaverde_com_SecuritySensor1.IgnoreTripTime="2"
        x_vera_svc_micasaverde_com_SecuritySensor1.LastTrip="1617297343"
        x_vera_svc_micasaverde_com_SecuritySensor1.Tripped="0"
        x_vera_svc_micasaverde_com_ZWaveDevice1.AgiInfo="X"
        x_vera_svc_micasaverde_com_ZWaveDevice1.AlarmType="0x7,0x8,"
        x_vera_svc_micasaverde_com_ZWaveDevice1.AlarmVersion="0,2"
        x_vera_svc_micasaverde_com_ZWaveDevice1.AssociationNum="0"
        x_vera_svc_micasaverde_com_ZWaveDevice1.Capabilities="211,156,1,4,7,1,L,R,B,RS,|37S,49S:5,85,89S,90S,94,108S,112S,113S:4,114S,115S,122S,133S,134S,152,159,"
        x_vera_svc_micasaverde_com_ZWaveDevice1.ConfiguredAssoc=""
        x_vera_svc_micasaverde_com_ZWaveDevice1.ConfiguredVariable="1-PIR Trigger Off period,2d,60,2-Lux sensor threshold,2d,30,3-Lux auto report,2d,1"
        x_vera_svc_micasaverde_com_ZWaveDevice1.FirmwareInfo="96,4609,29529"
        x_vera_svc_micasaverde_com_ZWaveDevice1.LastArr="1617238811,7"
        x_vera_svc_micasaverde_com_ZWaveDevice1.LastNnu="1617238807,7"
        x_vera_svc_micasaverde_com_ZWaveDevice1.LastReset="1616524754"
        x_vera_svc_micasaverde_com_ZWaveDevice1.LastRouteUpdate="1616525092"
        x_vera_svc_micasaverde_com_ZWaveDevice1.ManufacturerInfo="96,18,1"
        x_vera_svc_micasaverde_com_ZWaveDevice1.NodeInfo="55,5e,98,9f,"
        x_vera_svc_micasaverde_com_ZWaveDevice1.PlusInfo="1,5,0,12,7,12,7"
        x_vera_svc_micasaverde_com_ZWaveDevice1.PollOk="2"
        x_vera_svc_micasaverde_com_ZWaveDevice1.PollSettings="60"
        x_vera_svc_micasaverde_com_ZWaveDevice1.SecurityFailed="0"
        x_vera_svc_micasaverde_com_ZWaveDevice1.SensorMlType="3"
        x_vera_svc_micasaverde_com_ZWaveDevice1.SubscribedAlarms=",0x7,0x8,"
        x_vera_svc_micasaverde_com_ZWaveDevice1.VariablesGet="1,60,2,30,3,1,"
        x_vera_svc_micasaverde_com_ZWaveDevice1.VariablesSet="1-PIR Trigger Off period,2d,60,2-Lux sensor threshold,2d,30,3-Lux auto report,2d,1"
        x_vera_svc_micasaverde_com_ZWaveDevice1.VersionInfo="3,4,61,1,1"
        x_vera_svc_micasaverde_com_ZWaveNetwork1.ConsecutivePollFails="0"
        x_vera_svc_micasaverde_com_ZWaveNetwork1.LastPollSuccess="1616525034"
        x_vera_svc_upnp_org_SwitchPower1.Status="0"
        x_vera_svc_upnp_org_SwitchPower1.Target="0"
        zwave_device.capabilities="211,156,1,4,7,1,L,R,B,RS,|37S,49S:5,85,89S,90S,94,108S,112S,113S:4,114S,115S,122S,133S,134S,152,159,"
        zwave_device.failed=null
        zwave_device.manufacturer_info="96,18,1"
        zwave_device.node_id=133
        zwave_device.version_info="3,4,61,1,1"
        Capabilities: power_switch, toggle, x_vera_device, x_vera_svc_micasaverde_com_EnergyMetering1, x_vera_svc_micasaverde_com_HaDevice1, x_vera_svc_micasaverde_com_SecuritySensor1, x_vera_svc_micasaverde_com_ZWaveDevice1, x_vera_svc_micasaverde_com_ZWaveNetwork1, x_vera_svc_upnp_org_SwitchPower1, zwave_device
        Actions: power_switch.off, power_switch.on, toggle.toggle, x_vera_device.set_variable, x_vera_svc_micasaverde_com_EnergyMetering1.ResetKWH, x_vera_svc_micasaverde_com_HaDevice1.AllowPairing, x_vera_svc_micasaverde_com_HaDevice1.Poll, x_vera_svc_micasaverde_com_HaDevice1.Reconfigure, x_vera_svc_micasaverde_com_HaDevice1.Remove, x_vera_svc_micasaverde_com_HaDevice1.SetPollFrequency, x_vera_svc_micasaverde_com_HaDevice1.StressTest, x_vera_svc_micasaverde_com_HaDevice1.ToggleState, x_vera_svc_micasaverde_com_SecuritySensor1.SetArmed, x_vera_svc_micasaverde_com_ZWaveNetwork1.AddNodes, x_vera_svc_micasaverde_com_ZWaveNetwork1.BackupDongle, x_vera_svc_micasaverde_com_ZWaveNetwork1.DownloadNetwork, x_vera_svc_micasaverde_com_ZWaveNetwork1.HealNetwork, x_vera_svc_micasaverde_com_ZWaveNetwork1.PollAllNodes, x_vera_svc_micasaverde_com_ZWaveNetwork1.PutByte, x_vera_svc_micasaverde_com_ZWaveNetwork1.ReconfigureAllNodes, x_vera_svc_micasaverde_com_ZWaveNetwork1.RemoveNodes, x_vera_svc_micasaverde_com_ZWaveNetwork1.ResetNetwork, x_vera_svc_micasaverde_com_ZWaveNetwork1.SendData, x_vera_svc_micasaverde_com_ZWaveNetwork1.SetPolling, x_vera_svc_micasaverde_com_ZWaveNetwork1.SimulateIncomingData, x_vera_svc_micasaverde_com_ZWaveNetwork1.UpdateNeighbors, x_vera_svc_micasaverde_com_ZWaveNetwork1.UpdateNetwork, x_vera_svc_upnp_org_SwitchPower1.SetTarget, zwave_device.poll
        
        1 Reply Last reply
        0
        • cw-kidC Offline
          cw-kidC Offline
          cw-kid
          wrote on last edited by cw-kid
          #6

          I just updated to the latest version of MSR 21091 and now I have some more new alerts regarding this particular device:

          An Entity Attribute condition in rule Deck Floodlight (Disarmed) - Tripped (Day) - Send Alert failed because the referenced entity Deck Floodlight (vera>device_699) does not have attribute x_vera_svc_micasaverde_com_SecuritySensor1.Armed

          Not sure what I can do about this Everspring flood light device and these alerts ?

          So I have edited my rules to use the virtual motion sensor device instead for their triggers instead of the parent device (Binary Light).

          Also this is a new but similar Alert regarding the Vera Day or Night plugin

          An Entity Attribute condition in rule Night - Day / Night Plugin failed because the referenced entity Day or Night (vera>device_43) does not have attribute ?attr?

          Status 1 or 0 appears to have gone missing for this rule:

          78391548-5ee2-4054-802d-9a97d6cc3038-image.png

          https://reactor.toggledbits.com/mantisbt/view.php?id=159

          toggledbitsT 1 Reply Last reply
          0
          • toggledbitsT Online
            toggledbitsT Online
            toggledbits
            wrote on last edited by toggledbits
            #7

            All x_vera_state attributes were removed several builds ago. You'll find a x_vera_svc replacement for it. You could also just use the native date/time and sunrise/sunset conditions, rather than relying on yet another plugin.

            And by the way, the alerts from 21090 will persist until you dismiss them. You should not see any {attr} in messages from 21091, but alerts from 21090, if they were not dismissed, would still have them. With a few exceptions (controller up/down), alerts don't go away until you dismiss them.

            So I have edited my rules to use the virtual motion sensor device instead for their triggers instead of the parent device (Binary Light).

            This isn't going to help the troubleshooting. Please go back to the prior configuration, and let's continue trying to figure this out.

            Author of Multi-system Reactor and Reactor, DelayLight, Switchboard, and about a dozen other plugins that run on Vera and openLuup.

            cw-kidC 1 Reply Last reply
            0
            • toggledbitsT toggledbits

              All x_vera_state attributes were removed several builds ago. You'll find a x_vera_svc replacement for it. You could also just use the native date/time and sunrise/sunset conditions, rather than relying on yet another plugin.

              And by the way, the alerts from 21090 will persist until you dismiss them. You should not see any {attr} in messages from 21091, but alerts from 21090, if they were not dismissed, would still have them. With a few exceptions (controller up/down), alerts don't go away until you dismiss them.

              So I have edited my rules to use the virtual motion sensor device instead for their triggers instead of the parent device (Binary Light).

              This isn't going to help the troubleshooting. Please go back to the prior configuration, and let's continue trying to figure this out.

              cw-kidC Offline
              cw-kidC Offline
              cw-kid
              wrote on last edited by cw-kid
              #8

              @toggledbits said in Alerts - (vera>device_699) does not have attribute ?attr?:

              ou could also just use the native date/time and sunrise/sunset conditions, rather than relying on yet another plugin.

              I think I added it just as a test to see if I could use the status of the Day or Night plugin. I've changed it to use x_vera_svc...status I didn't see that earlier when I looked.

              All my other rules are using the MSR inbuilt sunrise/sunset conditions.

              I've cleared the other Alerts and restarted MSR, as yet none have come back.

              Thanks

              1 Reply Last reply
              0
              • toggledbitsT Online
                toggledbitsT Online
                toggledbits
                wrote on last edited by toggledbits
                #9

                Now that we know exactly what state variable it was complaining about, I took a look at the vera-device_699.json file you posted earlier, and sure enough the state variable Armed is missing (go check my work, please). So that seems like there's an odd device implementation thing going on in Luup.

                I think we can work around it, though, and make it stable for your rules, by telling MSR that the device is special and instead of letting just have default Vera-specific capabilities, give it additional MSR-native capabilities. These will give you null when the variable is missing, but you can handle (or ignore) that more easily and it won't throw an error or alert. So you'll just test your device using the MSR-native attributes instead of the Vera service ones.

                I'll make up the changes to the device configuration file and PM it to you, and you can try it. It should work.

                Author of Multi-system Reactor and Reactor, DelayLight, Switchboard, and about a dozen other plugins that run on Vera and openLuup.

                cw-kidC 1 Reply Last reply
                0
                • toggledbitsT toggledbits

                  Now that we know exactly what state variable it was complaining about, I took a look at the vera-device_699.json file you posted earlier, and sure enough the state variable Armed is missing (go check my work, please). So that seems like there's an odd device implementation thing going on in Luup.

                  I think we can work around it, though, and make it stable for your rules, by telling MSR that the device is special and instead of letting just have default Vera-specific capabilities, give it additional MSR-native capabilities. These will give you null when the variable is missing, but you can handle (or ignore) that more easily and it won't throw an error or alert. So you'll just test your device using the MSR-native attributes instead of the Vera service ones.

                  I'll make up the changes to the device configuration file and PM it to you, and you can try it. It should work.

                  cw-kidC Offline
                  cw-kidC Offline
                  cw-kid
                  wrote on last edited by
                  #10

                  @toggledbits

                  On the Everspring Flood light parent device (Binary Light) I've just looked in Vera and there is no "Armed" variable.

                  There is this variable however which is strange.

                  "urn:micasaverde-com:serviceId:SecuritySensor1 / ArmedTripped"

                  I could add an "Armed" variable to the device using the "New Service" function in Vera, think I know how to do that.

                  toggledbitsT 1 Reply Last reply
                  0
                  • cw-kidC Offline
                    cw-kidC Offline
                    cw-kid
                    wrote on last edited by cw-kid
                    #11

                    New Alert just appeared

                    "An Entity Attribute condition in rule Vera Luup Reloads failed because the referenced entity vera>system could not be found"

                    The rule looks to be OK however:

                    76522677-1f76-40d4-96ab-07b12f5a30e0-image.png

                    EDIT: Actually I think this Alert might happen if I manually reload the LUUP engine on Vera.

                    This rule is meant to keep track of the number of LUUP engine reloads.

                    1 Reply Last reply
                    0
                    • cw-kidC cw-kid

                      @toggledbits

                      On the Everspring Flood light parent device (Binary Light) I've just looked in Vera and there is no "Armed" variable.

                      There is this variable however which is strange.

                      "urn:micasaverde-com:serviceId:SecuritySensor1 / ArmedTripped"

                      I could add an "Armed" variable to the device using the "New Service" function in Vera, think I know how to do that.

                      toggledbitsT Online
                      toggledbitsT Online
                      toggledbits
                      wrote on last edited by
                      #12

                      @cw-kid said in Alerts - (vera>device_699) does not have attribute ?attr?:

                      On the Everspring Flood light parent device (Binary Light) I've just looked in Vera and there is no "Armed" variable.

                      It would have to have been there at some point or you could not have chosen it for your rule. The list in the rule editor only shows what exists on the device/entity, not what it thinks would normally be there. So it was there at one point, and disappeared later, and this is not that unusual in the Vera world, sadly.

                      You can try re-creating it. It would be educational to see if it "sticks" after a reload, and after changing house mode, which aside from user action are the principal ways that variable gets played with.

                      Author of Multi-system Reactor and Reactor, DelayLight, Switchboard, and about a dozen other plugins that run on Vera and openLuup.

                      cw-kidC 1 Reply Last reply
                      0
                      • toggledbitsT toggledbits

                        @cw-kid said in Alerts - (vera>device_699) does not have attribute ?attr?:

                        On the Everspring Flood light parent device (Binary Light) I've just looked in Vera and there is no "Armed" variable.

                        It would have to have been there at some point or you could not have chosen it for your rule. The list in the rule editor only shows what exists on the device/entity, not what it thinks would normally be there. So it was there at one point, and disappeared later, and this is not that unusual in the Vera world, sadly.

                        You can try re-creating it. It would be educational to see if it "sticks" after a reload, and after changing house mode, which aside from user action are the principal ways that variable gets played with.

                        cw-kidC Offline
                        cw-kidC Offline
                        cw-kid
                        wrote on last edited by
                        #13

                        @toggledbits said in Alerts - (vera>device_699) does not have attribute ?attr?:

                        It would have to have been there at some point or you could not have chosen it for your rule

                        "Tripped" I was using "Tripped" as the trigger in the rule not "Armed".

                        Looking in the device dump .json file I did the other day I can't see "Armed" in there either. So maybe this device never had it in the first place.

                        1 Reply Last reply
                        0
                        • cw-kidC cw-kid

                          I just updated to the latest version of MSR 21091 and now I have some more new alerts regarding this particular device:

                          An Entity Attribute condition in rule Deck Floodlight (Disarmed) - Tripped (Day) - Send Alert failed because the referenced entity Deck Floodlight (vera>device_699) does not have attribute x_vera_svc_micasaverde_com_SecuritySensor1.Armed

                          Not sure what I can do about this Everspring flood light device and these alerts ?

                          So I have edited my rules to use the virtual motion sensor device instead for their triggers instead of the parent device (Binary Light).

                          Also this is a new but similar Alert regarding the Vera Day or Night plugin

                          An Entity Attribute condition in rule Night - Day / Night Plugin failed because the referenced entity Day or Night (vera>device_43) does not have attribute ?attr?

                          Status 1 or 0 appears to have gone missing for this rule:

                          78391548-5ee2-4054-802d-9a97d6cc3038-image.png

                          https://reactor.toggledbits.com/mantisbt/view.php?id=159

                          toggledbitsT Online
                          toggledbitsT Online
                          toggledbits
                          wrote on last edited by toggledbits
                          #14

                          @cw-kid said in Alerts - (vera>device_699) does not have attribute ?attr?:

                          An Entity Attribute condition in rule Deck Floodlight (Disarmed) - Tripped (Day) - Send Alert failed because the referenced entity Deck Floodlight (vera>device_699) does not have attribute x_vera_svc_micasaverde_com_SecuritySensor1.Armed

                                                                ^^^^^^^^^^^^^^^^
                          

                          Author of Multi-system Reactor and Reactor, DelayLight, Switchboard, and about a dozen other plugins that run on Vera and openLuup.

                          cw-kidC 1 Reply Last reply
                          0
                          • toggledbitsT toggledbits

                            @cw-kid said in Alerts - (vera>device_699) does not have attribute ?attr?:

                            An Entity Attribute condition in rule Deck Floodlight (Disarmed) - Tripped (Day) - Send Alert failed because the referenced entity Deck Floodlight (vera>device_699) does not have attribute x_vera_svc_micasaverde_com_SecuritySensor1.Armed

                                                                  ^^^^^^^^^^^^^^^^
                            
                            cw-kidC Offline
                            cw-kidC Offline
                            cw-kid
                            wrote on last edited by
                            #15

                            @toggledbits said in Alerts - (vera>device_699) does not have attribute ?attr?:

                            An Entity Attribute condition in rule Deck Floodlight (Disarmed) - Tripped (Day) - Send Alert failed because the referenced entity Deck Floodlight (vera>device_699) does not have attribute x_vera_svc_micasaverde_com_SecuritySensor1.Armed

                            oh LOL that was a Constraint. So yes looks like I was using "Armed" also at some point.

                            So it has vanished as you suggested.

                            1 Reply Last reply
                            0
                            • toggledbitsT Online
                              toggledbitsT Online
                              toggledbits
                              wrote on last edited by
                              #16

                              Whew! OK... that's good (no, really). So, I have the changes for the device def. I'll send that via PM. You can drop it into your reactor/server/lib directory and restart Reactor. It should give you the standard arming service, with a value report of null (if it's still missing at that point -- hope so, don't change anything on the Vera yet!). Even if you don't use it, I'd like to confirm this approach would work if it comes up for other devices.

                              Author of Multi-system Reactor and Reactor, DelayLight, Switchboard, and about a dozen other plugins that run on Vera and openLuup.

                              1 Reply Last reply
                              0
                              • cw-kidC Offline
                                cw-kidC Offline
                                cw-kid
                                wrote on last edited by
                                #17

                                OK I won't do anything on the Vera side or attempt to add back in the "Armed" variable using the New Service function.

                                1 Reply Last reply
                                0
                                • toggledbitsT Online
                                  toggledbitsT Online
                                  toggledbits
                                  wrote on last edited by
                                  #18

                                  The other issue, found that, will be fixed in today's build (restart reporting system entity missing).

                                  Author of Multi-system Reactor and Reactor, DelayLight, Switchboard, and about a dozen other plugins that run on Vera and openLuup.

                                  cw-kidC 1 Reply Last reply
                                  1
                                  • toggledbitsT toggledbits

                                    The other issue, found that, will be fixed in today's build (restart reporting system entity missing).

                                    cw-kidC Offline
                                    cw-kidC Offline
                                    cw-kid
                                    wrote on last edited by cw-kid
                                    #19

                                    @toggledbits

                                    OK I have uploaded the vera_devices.yaml file and restarted MSR.

                                    For the Everspring Flood light parent device this is what I am now seeing:

                                    07ac2434-ea57-4241-a721-22d27d39dea6-image.png

                                    ddce6d79-c6fa-46c3-b10f-f09a66ce0fda-image.png

                                    a3998565-12ff-4b98-8589-06f9f99a32c8-image.png

                                    SecuritySensor1.Armed is the last item in the list in the drop down box.

                                    276b330b-7557-4007-8f5f-614539a1fa17-image.png

                                    So what does this mean ?

                                    It can't see the actual "Armed" state if that variable has now vanished off Vera.

                                    It seems to think its "false" not null.

                                    1 Reply Last reply
                                    0
                                    • toggledbitsT Online
                                      toggledbitsT Online
                                      toggledbits
                                      wrote on last edited by toggledbits
                                      #20

                                      Your other snip shows the variable is there now, at the bottom of the list, therefore it has appeared and has a value, and null is not to be expected. This is exactly why I am taking this approach: the arming capability will make sure that its state attribute always exists with a value of true, false, or null, the first two following the value of SecuritySensor1/Armed when it is present on the device, or getting null if it is not. This is easier to handle in rules/conditions than getting an error thrown; you can treat null and false as equivalent, in all likelihood, which is exactly what a simple is TRUE condition operation would do.

                                      For the sake of clarity, the update did not make the Armed variable appear on the device. It can't do that. It only affects how it reads the device data that is available. So something created Armed on the Vera side in the interim, perhaps Vera itself.

                                      Author of Multi-system Reactor and Reactor, DelayLight, Switchboard, and about a dozen other plugins that run on Vera and openLuup.

                                      cw-kidC 1 Reply Last reply
                                      0
                                      • toggledbitsT toggledbits

                                        Your other snip shows the variable is there now, at the bottom of the list, therefore it has appeared and has a value, and null is not to be expected. This is exactly why I am taking this approach: the arming capability will make sure that its state attribute always exists with a value of true, false, or null, the first two following the value of SecuritySensor1/Armed when it is present on the device, or getting null if it is not. This is easier to handle in rules/conditions than getting an error thrown; you can treat null and false as equivalent, in all likelihood, which is exactly what a simple is TRUE condition operation would do.

                                        For the sake of clarity, the update did not make the Armed variable appear on the device. It can't do that. It only affects how it reads the device data that is available. So something created Armed on the Vera side in the interim, perhaps Vera itself.

                                        cw-kidC Offline
                                        cw-kidC Offline
                                        cw-kid
                                        wrote on last edited by
                                        #21

                                        @toggledbits said in Alerts - (vera>device_699) does not have attribute ?attr?:

                                        Your other snip shows the variable is there now, at the bottom of the list, therefore it has appeared and has a value, and null is not to be expected

                                        But I still can't see the "Armed" variable listed in Vera. I have hard refreshed the browser.

                                        1 Reply Last reply
                                        0
                                        • toggledbitsT Online
                                          toggledbitsT Online
                                          toggledbits
                                          wrote on last edited by toggledbits
                                          #22

                                          Well, it would not be listed if it hadn't come back in user_data. If, since the last MSR restart, the Vera reported that variable even once, MSR would have it. If it later is missing, there's actually no way for MSR to know it's missing, it thinks it's just not being updated/no updates for it, so it keeps it at the last value it got. The only way to reset that cached state is to restart MSR.

                                          Author of Multi-system Reactor and Reactor, DelayLight, Switchboard, and about a dozen other plugins that run on Vera and openLuup.

                                          1 Reply Last reply
                                          0
                                          Reply
                                          • Reply as topic
                                          Log in to reply
                                          • Oldest to Newest
                                          • Newest to Oldest
                                          • Most Votes


                                          Recent Topics

                                          • Copying a global reaction
                                            toggledbitsT
                                            toggledbits
                                            0
                                            3
                                            76

                                          • [HowTo] Using HABridge with Reactor
                                            CatmanV2C
                                            CatmanV2
                                            0
                                            9
                                            373

                                          • [Reactor] Bug when sending MQTT boolean payloads
                                            toggledbitsT
                                            toggledbits
                                            0
                                            4
                                            124

                                          • Genuinely impressed with Zigbee and HA / Reactor
                                            therealdbT
                                            therealdb
                                            1
                                            8
                                            284

                                          • Difficulty defining repeating annual period
                                            G
                                            gwp1
                                            0
                                            5
                                            85

                                          • Need help with sequence
                                            therealdbT
                                            therealdb
                                            0
                                            3
                                            54

                                          • Possible feature request?
                                            therealdbT
                                            therealdb
                                            0
                                            5
                                            160

                                          • Logic Assistance: Exterior Lights on when Illuminance Below Threshold
                                            CatmanV2C
                                            CatmanV2
                                            0
                                            11
                                            326

                                          • Time series documentation
                                            tunnusT
                                            tunnus
                                            0
                                            11
                                            385

                                          • MQTT templates for ZIgbee scene controller, or a better way?
                                            CatmanV2C
                                            CatmanV2
                                            0
                                            3
                                            154

                                          • Reset a delay
                                            CatmanV2C
                                            CatmanV2
                                            0
                                            8
                                            214
                                          Powered by NodeBB | Contributors
                                          Hosted freely by 10RUPTiV - Solutions Technologiques | Contact us
                                          • Login

                                          • Don't have an account? Register

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