We have moved at community.getvera.com

Author Topic: Remove user variables from a device  (Read 10883 times)

Offline TwannieM

  • Hero Member
  • *****
  • Posts: 522
  • Karma: +3/-2
Re: Remove user variables from a device
« Reply #15 on: March 28, 2015, 04:53:35 pm »
Follow these steps:
  • Stop LuaUPnP:
    /etc/init.d/cmh stop
  • Make a backup of you current user_data (/etc/cmh/user_data.json.lzo)
  • Uncompress user_data
    pluto-lzo d /etc/cmh/user_data.json.lzo /tmp/user_data.json

Do I need putty for the last code or run this in the terminal?[/list]

Offline RichardTSchaefer

  • Community Beta
  • Master Member
  • ******
  • Posts: 10091
  • Karma: +764/-143
Re: Remove user variables from a device
« Reply #16 on: March 28, 2015, 08:08:22 pm »
Any syntax errors (accidental edits) and your Vera will NOT restart ... be careful.

Offline aviddv1

  • Sr. Newbie
  • *
  • Posts: 29
  • Karma: +2/-0
Re: Remove user variables from a device
« Reply #17 on: April 24, 2015, 12:26:16 am »
I can confirm this method works on Vera Edge, but WTF Vera? How 'bout a little 'delete' button next to the user created variable that let's use do this easily? I'd even put up with an "Are you sure?" prompt.

Offline Spanners

  • Sr. Member
  • ****
  • Posts: 265
  • Karma: +16/-5
Re: Remove user variables from a device
« Reply #18 on: September 28, 2015, 06:52:16 am »
I can confirm this method works on Vera Edge, but WTF Vera? How 'bout a little 'delete' button next to the user created variable that let's use do this easily? I'd even put up with an "Are you sure?" prompt.

BlueSmurf likes this.

Offline OldChas

  • Newbie
  • *
  • Posts: 14
  • Karma: +1/-1
Re: Remove user variables from a device
« Reply #19 on: March 03, 2016, 04:44:00 pm »
This worked fine on my Vera3:

http://<IP>:3480/data_request?id=variableset&DeviceNum=<id>&serviceId=<service>&Variable=<variable name>&Value=

Note that the value is left empty, which is the same state as the boolean "nil". (Using "nil" just put that in the field.)

Offline Chelseagroup

  • Jr. Member
  • **
  • Posts: 63
  • Karma: +2/-0
Re: Remove user variables from a device
« Reply #20 on: February 18, 2019, 04:42:59 pm »
Worked for me - Brilliant!
Thanks