view service/piNode/config/main.n3 @ 1743:daf9deee42ca

deployment
author drewp@bigasterisk.com
date Thu, 09 Nov 2023 14:55:26 -0800
parents 9636e950373e
children
line wrap: on
line source

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


@prefix boardTest: <http://bigasterisk.com/homeauto/boardTest/pin/> .

ha:node10 a :PiBoard;
  :hostname "xbang";  :hasPin boardTest:GPIO18 .

boardTest:GPIO18 :gpioNumber 18; :connectedTo :testRgb .
:testRgb a :RgbPixels;
  :colorOrder order:GRB;
  :pixelGroup :testStatus, :testStrip .

:testStatus
  :startIndex 0;
  :endIndex 0;
  :src "rainbow.png";
  :x 0;
  :y 0;
  :height 1;
  :interpolate :slide;
  :rate 30 . # px/sec
:testStrip
  :startIndex 1;
  :endIndex 50;
  :src "rainbow.png";
  :x 0;
  :y 0;
  :height 50;
  :interpolate :slide .