Garage Door Not Showing

Posted on
Tue Nov 20, 2018 8:32 pm
farberm offline
Posts: 393
Joined: Feb 24, 2008

Garage Door Not Showing

What am I missing in this script to show my two garage doors in the Window and Door Panel.
This is the name of my Garage Doors in Indigo
Lynne's Garage Door
Mark's Garage Door

{
"backgroundColor": "rgba(128,128,128,0.1)",
"colorMaps": [
{
"color": "#7EB26D",
"text": "Closed"
},
{
"color": "#890f02",
"text": "Open"
}
],
"crosshairColor": "#8F070C",
"datasource": "Indigo",
"display": "timeline",
"expandFromQueryS": 1440,
"extendLastValue": true,
"gridPos": {
"h": 6,
"w": 12,
"x": 0,
"y": 8
},
"highlightOnMouseover": true,
"id": 12,
"legendMaxValues": 2,
"legendSortBy": "-ms",
"lineColor": "rgba(0,0,0,0.1)",
"links": [],
"metricNameColor": "#584477",
"rangeMaps": [
{
"from": "1",
"text": "Open",
"to": "1"
},
{
"from": "0",
"text": "Closed",
"to": "0"
}
],
"rowHeight": 24,
"showLegend": true,
"showLegendNames": true,
"showLegendPercent": true,
"showLegendTime": true,
"showLegendValues": true,
"showTimeAxis": true,
"targets": [
{
"alias": "$tag_name",
"groupBy": [
{
"params": [
"name"
],
"type": "tag"
}
],
"measurement": "device_changes",
"orderByTime": "ASC",
"policy": "default",
"refId": "A",
"resultFormat": "time_series",
"select": [
[
{
"params": [
"onState.num"
],
"type": "field"
}
]
],
"tags": [
{
"key": "name",
"operator": "=~",
"value": "/Window$/"
},
{
"condition": "OR",
"key": "name",
"operator": "=",
"value": "/Garage$/"
},
{
"condition": "OR",
"key": "name",
"operator": "=",
"value": "/Door$/"
}
]
}
],
"textSize": 12,
"textSizeTime": 9,
"timeTextColor": "#d8d9da",
"title": "Doors & Windows",
"type": "natel-discrete-panel",
"units": "short",
"valueMaps": [
{
"op": "=",
"text": "N/A",
"value": "null"
}
],
"valueTextColor": "#3f6833",
"writeAllValues": false,
"writeLastValue": true,
"writeMetricNames": true
}

Posted on
Wed Nov 21, 2018 10:10 am
dduff617 offline
Posts: 659
Joined: Jul 05, 2006
Location: Massachusetts, USA

Re: Garage Door Not Showing

can't 'tell from your description exactly what kind of indigo-visible device you have attached to your door.

have you tried selecting the Plugins>Grafana Home Dashboard>Explore Device command and selecting the device in question? that should show you what states are being recorded for that device. not all states from all devices are captured by default.

If I remember correctly, I had to manually add my IOLinc devices to the "Include Specific Devices" list within GHD configuration dialog.

Posted on
Thu Nov 22, 2018 10:29 am
farberm offline
Posts: 393
Joined: Feb 24, 2008

Re: Garage Door Not Showing

Device Stats. Not sure if this helps.

JSON representation of device Mark’s Garage Door (CG0846002B7E):
Grafana Home Dashboard NOTE: Device "Mark’s Garage Door (CG0846002B7E)" is INCLUDED in your config and therefore all states are sent to InfluxDB
Grafana Home Dashboard state.doorStatus.Unknown: False (INCLUDED)
Grafana Home Dashboard state.doorStatus.Closed: True (INCLUDED)
Grafana Home Dashboard protocol: 999.0 (INCLUDED)
Grafana Home Dashboard state.doorStatus.Stopped: False (INCLUDED)
Grafana Home Dashboard state.doorStatus.Stopped.num: 0.0 (INCLUDED)
Grafana Home Dashboard state.doorStatus: Closed (INCLUDED)
Grafana Home Dashboard state.doorStatus.Closed.num: 1.0 (INCLUDED)
Grafana Home Dashboard pluginId: com.flyingdiver.indigoplugin.myq (INCLUDED)
Grafana Home Dashboard state.doorStatus.Unknown.num: 0.0 (INCLUDED)
Grafana Home Dashboard buttonGroupCount.num: 0.0 (INCLUDED)
Grafana Home Dashboard state.doorStatus.Disconnected: False (INCLUDED)
Grafana Home Dashboard measurement: device_changes (INCLUDED)
Grafana Home Dashboard lastSuccessfulComm: 1542838754.0 (INCLUDED)
Grafana Home Dashboard state.onOffState.ui: locked (INCLUDED)
Grafana Home Dashboard buttonGroupCount: 0.0 (INCLUDED)
Grafana Home Dashboard id: 289465133.0 (INCLUDED)
Grafana Home Dashboard state.doorStatus.Closing: False (INCLUDED)
Grafana Home Dashboard onState.num: 1.0 (INCLUDED)
Grafana Home Dashboard supportsAllOff: False (INCLUDED)
Grafana Home Dashboard errorState: (INCLUDED)
Grafana Home Dashboard deviceTypeId: myqOpener (INCLUDED)
Grafana Home Dashboard configured.num: 1.0 (INCLUDED)
Grafana Home Dashboard enabled.num: 1.0 (INCLUDED)
Grafana Home Dashboard subModel: (INCLUDED)
Grafana Home Dashboard displayStateId: onOffState (INCLUDED)
Grafana Home Dashboard state.doorStatus.Opening.num: 0.0 (INCLUDED)
Grafana Home Dashboard state.onOffState: True (INCLUDED)
Grafana Home Dashboard supportsStatusRequest: True (INCLUDED)
Grafana Home Dashboard configured: True (INCLUDED)
Grafana Home Dashboard state.doorStatus.Disconnected.num: 0.0 (INCLUDED)
Grafana Home Dashboard state.doorStatus.Closing.num: 0.0 (INCLUDED)
Grafana Home Dashboard model: MyQ Door Opener (INCLUDED)
Grafana Home Dashboard displayStateValUi: locked (INCLUDED)
Grafana Home Dashboard remoteDisplay.num: 1.0 (INCLUDED)
Grafana Home Dashboard description: Opener Device auto-created by MyQ plugin from gateway information (INCLUDED)
Grafana Home Dashboard id.num: 289465133.0 (INCLUDED)
Grafana Home Dashboard onState: True (INCLUDED)
Grafana Home Dashboard supportsAllLightsOnOff.num: 0.0 (INCLUDED)
Grafana Home Dashboard address: 1702086913 (INCLUDED)
Grafana Home Dashboard folderId: 1102028478.0 (INCLUDED)
Grafana Home Dashboard address.num: 1702086913.0 (INCLUDED)
Grafana Home Dashboard state.doorStatus.Opening: False (INCLUDED)
Grafana Home Dashboard name: Mark’s Garage Door (CG0846002B7E) (INCLUDED)
Grafana Home Dashboard supportsStatusRequest.num: 1.0 (INCLUDED)
Grafana Home Dashboard lastChanged: 1542838754.0 (INCLUDED)
Grafana Home Dashboard state.onOffState.num: 1.0 (INCLUDED)
Grafana Home Dashboard enabled: True (INCLUDED)
Grafana Home Dashboard folderId.num: 1102028478.0 (INCLUDED)
Grafana Home Dashboard supportsAllOff.num: 0.0 (INCLUDED)
Grafana Home Dashboard remoteDisplay: True (INCLUDED)
Grafana Home Dashboard supportsAllLightsOnOff: False (INCLUDED)
Grafana Home Dashboard displayStateImageSel: 111.0 (INCLUDED)
Grafana Home Dashboard displayStateValRaw: True (INCLUDED)
Grafana Home Dashboard state.doorStatus.Open: False (INCLUDED)
Grafana Home Dashboard state.doorStatus.Open.num: 0.0 (INCLUDED)

Posted on
Fri Nov 23, 2018 9:46 pm
dduff617 offline
Posts: 659
Joined: Jul 05, 2006
Location: Massachusetts, USA

Re: Garage Door Not Showing

so if i'm understanding the json you posted in your first post, it looks like your query is selecting the device state "onState.num".

it looks like the device you have attached to your door is an instance of the MyQ Plugin. It appears to have a lot of states. are you sure that you have selected the correct field? what exactly are you trying to show? i presume you trying to show whether the door is open/closed? i see a bunch of other states that look like they are connected to whether the door is open. it is not obvious to me that "onState" or "onState.num" are. they could be -- i'm not that familiar with how the plugin works.

i know from experience, specifically trying to plot some states from the nest thermostat plugin that some sometimes a state that's used by a conventional thermostat is present but not used by Nest plugin, and instead there is another state that fulfills essentially the same function.

sorry if this is too obvious, but have you tried plotting other states and see if you have better results? how about for example state.doorStatus.Closed or (if you need a numeric value for your plot) state.doorStatus.Closed.num?

Posted on
Sun Nov 25, 2018 3:38 pm
vtmikel offline
Posts: 628
Joined: Aug 31, 2012
Location: Boston, MA

Re: Garage Door Not Showing

OnState.num appears to show if the door is open or not. Is no data appearing when you graph this? It'd be helpful if you posted a picture of your metric query.

Page 1 of 1

Who is online

Users browsing this forum: No registered users and 1 guest