Mercurial > code > home > repos > homeauto
comparison service/wifi/index.html @ 1231:996a00d72979
use :connectedToNetwork on index table
Ignore-this: c48bd43f2b18291ec1df2b70591a74d8
darcs-hash:d05cad1f18b8421a443bc6cd7c144368048bf203
author | drewp <drewp@bigasterisk.com> |
---|---|
date | Thu, 04 Apr 2019 02:22:04 -0700 |
parents | 34de6cfa0b6b |
children | 4afb1830bb5e |
comparison
equal
deleted
inserted
replaced
1230:ec0db53aa833 | 1231:996a00d72979 |
---|---|
51 return rows[0]; | 51 return rows[0]; |
52 }; | 52 }; |
53 | 53 |
54 this.devices = []; | 54 this.devices = []; |
55 | 55 |
56 find(null, "room:connected", "http://bigasterisk.com/wifiAccessPoints" | 56 find(null, "room:connectedToNetwork", "http://bigasterisk.com/wifiAccessPoints" |
57 ).forEach(function(row) { | 57 ).forEach(function(row) { |
58 var out = { | 58 var out = { |
59 mac: N3.Util.getLiteralValue( | 59 mac: N3.Util.getLiteralValue( |
60 findOne(row.subject, "room:macAddress", null).object), | 60 findOne(row.subject, "room:macAddress", null).object), |
61 connectedAgo: N3.Util.getLiteralValue( | 61 connectedAgo: N3.Util.getLiteralValue( |