Author Topic: Add device to watched variables?  (Read 1139 times)

Offline n0ir

  • Sr. Member
  • ****
  • Posts: 352
  • Karma: +4/-1
Add device to watched variables?
« on: October 26, 2016, 04:13:41 am »
I am trying to understand why my door lock is unlocked in the mornings. I have had no luck getting DataMine or DataYours working and thought I should try EventWatcher.

Could someone please explain (like I am a 5 year old) how to add a specific device to the watched variables and getting a log over 24 hours? The door locks device ID on my Vera is 759.

Offline akbooer

  • Moderator
  • Master Member
  • *****
  • Posts: 6127
  • Karma: +274/-69
  • "Less is more"
Re: Add device to watched variables?
« Reply #1 on: October 26, 2016, 09:11:43 am »
Adding a specific variable is described on the last page of the documentation here http://forum.micasaverde.com/index.php/topic,37308.msg278536.html#msg278536
3x Vera Lite-UI5/Edge-UI7, 25x Fibaro, 23x TKB, 9x MiniMote, 2x NorthQ Power, 2x Netatmo, 1x Foscam FI9831P, 9x Philips Hue,
Razberry, MySensors Arduino, HomeWave, AltUI, AltHue, DataYours, Grafana, openLuup, ZWay, ZeroBrane Studio.

Offline n0ir

  • Sr. Member
  • ****
  • Posts: 352
  • Karma: +4/-1
Re: Add device to watched variables?
« Reply #2 on: October 26, 2016, 11:30:35 am »
Adding a specific variable is described on the last page of the documentation here http://forum.micasaverde.com/index.php/topic,37308.msg278536.html#msg278536

Ah, I apparently had an old user guide. The one I had ended with "Logging to syslog server".

However, I still do not understand what I have to do to have add a door lock device to the watched variables?

Offline akbooer

  • Moderator
  • Master Member
  • *****
  • Posts: 6127
  • Karma: +274/-69
  • "Less is more"
Re: Add device to watched variables?
« Reply #3 on: October 26, 2016, 12:13:34 pm »
Do you know how to create/edit a file and put it in the specified place?

The syntax is described in the docs.  Your device number is whatever it is (say, 123); the serviceId is "urn:micasaverde-com:serviceId:DoorLock1"; the variable is probably "Status" (depends on what you want to look at.)

The required line in the file would be

123.urn:micasaverde-com:serviceId:DoorLock1.Status
3x Vera Lite-UI5/Edge-UI7, 25x Fibaro, 23x TKB, 9x MiniMote, 2x NorthQ Power, 2x Netatmo, 1x Foscam FI9831P, 9x Philips Hue,
Razberry, MySensors Arduino, HomeWave, AltUI, AltHue, DataYours, Grafana, openLuup, ZWay, ZeroBrane Studio.