Orphan device - how to remove it?

Hi, so I must have done something stupid … anyway I now have an orphan device because it was deleted but the plug-in still seems to think it should exist.

At start up I get loads and loads of these messages:
Reactor: Reactor device 1538 (nil) tick failed: "[string "–[[…"]:1089: attempt to index field ‘?’ (a nil value)

The deleted device was 1538.

I looked for the device in ALTUI but it’s not there.

Anyone any ideas?

Try requesting this URL in a new browser tab, putting the local IP address of your Vera where indicated:

http://ip_address/port_3480/data_request?id=device&action=delete&device=1538

I then recommend you reload Luup:

http://ip_address/port_3480/data_request?id=reload

Then close the tab, go back to the Devices list, and do a hard refresh of your browser: CTRL-F5 for Chrome/Win, SHIFT-F5 for Firefox, CMD+SHIFT+R for Mac.

Make sure you reload Luup and do that hard refresh any time you delete any device.

No joy i’m afraid. The delete returned an ‘ERROR’… maybe because it isn’t there anymore?

Well, if you are getting errors logged for it, it’s there in some part. Let’s see if we can figure out what’s left of it. Try this:

http://your-vera-ip/port_3480/data_request?id=lr_Reactor&action=status

Use copy-paste on the above to make sure you capture it exactly. PM me the output (do not post it as a reply here). When you paste it, put ``` (three back-ticks, on the same key as ~ on US keyboards) on a line by itself both before and after, like this:

```

{ "lots of stuff": "in here" }

```

Ok sent via your web site… thanks.

Oops. Sorry, that won’t work. You need to PM it to me here through these forums using the formatting trick I described in my instructions above. My web form cuts off messages that are over 512 bytes.

OK. Getting settled back in and making my way through the backlog…

Got your email, looked it over. I see why it’s griping, and despite the challenge getting to this point, the fix is trivial.

Go into your Reactor master device, “Advanced” tab, “Variables” subtab, and set the runscene variable value to {}. Then reload Luup and hard-refresh your browser. Let me know if that takes care of it.

It worked! Thank you so much. Reactor is a game changer for Vera.

1 Like