view service/piNode/config.n3 @ 1011:d2dad0e5d380

fix n3 Ignore-this: abef835482e4f08f1bd4b84e463aa250 darcs-hash:20151107180226-312f9-61f6cb070460d4ace8b26e75bc17576b0f69ee6e
author drewp <drewp@bigasterisk.com>
date Sat, 07 Nov 2015 10:02:26 -0800
parents f2d05b425dfa
children 666e0e756ce6
line wrap: on
line source

@prefix rdfs:     <http://www.w3.org/2000/01/rdf-schema#> .
@prefix :         <http://projects.bigasterisk.com/room/> .
@prefix ha:       <http://bigasterisk.com/homeauto/> .
@prefix sensor:   <http://bigasterisk.com/homeauto/sensor/> .
@prefix houseLoc: <http://bigasterisk.com/homeauto/houseLoc/> .

@prefix board2pin: <http://bigasterisk.com/homeauto/board2/pin/> .
@prefix board2ow: <http://bigasterisk.com/homeauto/board2/oneWire/> .

ha:node2 a :PiBoard;
  :hostname "sticker";
  :onboardDevice ha:bedroomPiTemp;
  :hasPin
    board2pin:GPIO2,
    board2pin:GPIO3,
    board2pin:GPIO4,
    board2pin:GPIO17,
    board2pin:GPIO27
    .

ha:bedroomPiTemp a :OnboardTemperature .

board2pin:GPIO2 :gpioNumber 2 .
board2pin:GPIO3 :gpioNumber 3 .
board2pin:GPIO4 :gpioNumber 4 .
board2pin:GPIO17 :gpioNumber 17 .
board2pin:GPIO27 :gpioNumber 27 .

board2pin:GPIO17 :connectedTo sensor:motion1 .
sensor:motion1 a :MotionSensor;
  :sees houseLoc:bed .

:bedLedStrip a :RgbStrip;
  :redChannel board2pin:GPIO2;
  :greenChannel board2pin:GPIO3;
  :blueChannel board2pin:GPIO4 .
    
board2pin:GPIO27 :connectedTo :headboardWhite .
:headboardWhite a :LedOutput .
  
#board2pin:b29 :connectedTo board2ow: .
#board2ow: a :OneWire;
#  :connectedTo board2ow:temperatureSensor .
#board2ow:temperatureSensor a :TemperatureSensor;
#  :position :bed .