view service/reasoning/input/devices.n3 @ 1462:2b29f14eb6bd

try new graph+view widget Ignore-this: d5f9c5dc52f04324368716ba2f604fdb darcs-hash:44e85a5c075ef73c34a58deaa3a3c1e8390dae52
author drewp <drewp@bigasterisk.com>
date Sun, 24 Nov 2019 00:01:00 -0800
parents a02b1b08f24f
children 35048f629f77
line wrap: on
line source

@prefix : <http://projects.bigasterisk.com/room/>.
@prefix device: <http://projects.bigasterisk.com/device/>.
@prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> .
@prefix onewire: <http://bigasterisk.com/onewire/> .
@prefix bang: <http://bigasterisk.com/host/bang/> .
@prefix reasoning: <http://projects.bigasterisk.com/ns/reasoning/>.


:unlocked :putValue "1" .
:on :putValue "on" .
:off :putValue "off" .


<http://bigasterisk.com/host/bang/monitor>      :putUrl "http://bang:9095/monitor"; :zeroValue "off" .
<http://bigasterisk.com/host/dash/monitor>      :putUrl "http://dash:9095/monitor" .
<http://bigasterisk.com/host/frontdoor/monitor> :putUrl "http://frontdoor:9095/monitor" .

:storageCeilingLedCross
  :putUrl <http://bang:9059/output?s=http://projects.bigasterisk.com/room/storageCeilingLedCross&p=http://projects.bigasterisk.com/room/brightness>;
  :zeroValue 0.0 .

:storageCeilingLedLong
  :putUrl <http://bang:9059/output?s=http://projects.bigasterisk.com/room/storageCeilingLedLong&p=http://projects.bigasterisk.com/room/brightness>;
  :zeroValue 0.0 .

:garageOverhead
  :putUrl <http://garage.vpn-home.bigasterisk.com:9059/output?s=http://projects.bigasterisk.com/room/garageOverhead&p=http://projects.bigasterisk.com/room/brightness> .
:headboardWhite
  :putUrl <http://bed.vpn-home.bigasterisk.com:9059/output?s=http://projects.bigasterisk.com/room/headboardWhite&p=http://projects.bigasterisk.com/room/brightness> .
:bedLedStrip
  :putUrl <http://bed.vpn-home.bigasterisk.com:9059/output?s=http://projects.bigasterisk.com/room/bedLedStrip&p=http://projects.bigasterisk.com/room/color> .
  
:starTrekLight
  :putUrl <http://frontbed:9059/output?s=http://projects.bigasterisk.com/room/starTrekLight&p=http://projects.bigasterisk.com/room/brightness> .

:kitchenLight
  :putUrl <http://bang:10008/output?s=http://projects.bigasterisk.com/room/kitchenLight&p=http://projects.bigasterisk.com/room/brightness> .

:kitchenCounterLight
  :putUrl <http://bang:10008/output?s=http://projects.bigasterisk.com/room/kitchenCounterLight&p=http://projects.bigasterisk.com/room/brightness> .

:changingWhite
  :putUrl <http://changing:9059/output?s=http://projects.bigasterisk.com/room/changingWhite&p=http://projects.bigasterisk.com/room/brightness> .

:changingCamPost a :OneShotPost; :subject :changingCam; :predicate :grab .
bang: a :OneShotPost; :subject bang:; :predicate :postAction .

:livingRoomLamp1
  :putUrl <http://living:9059/output?s=http://projects.bigasterisk.com/room/livingRoomLamp1&p=http://projects.bigasterisk.com/room/brightness> .

:livingRoomLamp2
  :putUrl <http://living:9059/output?s=http://projects.bigasterisk.com/room/livingRoomLamp2&p=http://projects.bigasterisk.com/room/brightness> .

:loftDeskStrip
  :putUrl <http://frontbed:9059/output>; :putPredicate :x .
#reasoning:defaultOutput reasoning:default [ :subject :loftDeskStrip; :predicate :x; :defaultObject 0.0 ] .

:frontDoorOled :putUrl <http://frontdoor:10013/output>; :putPredicate :state .
:frontWindow :putPredicate :line1; :putUrl <http://bang:10008/output> .
:frontWindow :putPredicate :line2; :putUrl <http://bang:10008/output> .
:frontWindow :putPredicate :line3; :putUrl <http://bang:10008/output> .
:frontWindow :putPredicate :line4; :putUrl <http://bang:10008/output> .

# newer style, with distinct :putState.
:frontDoorLock
  :matchPredicate :putState;
  :putUrl <http://bang:10011/output>;
  :putPredicate :state .