Mercurial > code > home > repos > homeauto
comparison service/arduinoNode/config/slash.n3 @ 456:12f9f1838fb5
arduinoNode: build updates, stats support, etc
Ignore-this: 39386eb7644e3cf522e0f72a874eadba
author | drewp@bigasterisk.com |
---|---|
date | Sat, 20 Apr 2019 23:28:29 -0700 |
parents | 6614416dd2c3 |
children |
comparison
equal
deleted
inserted
replaced
455:7e09c0d0a86e | 456:12f9f1838fb5 |
---|---|
32 shopPin:d10 :pinNumber 10; :connectedTo shopShift:data . | 32 shopPin:d10 :pinNumber 10; :connectedTo shopShift:data . |
33 shopPin:d11 :pinNumber 11; :connectedTo shopShift:briteLatch . | 33 shopPin:d11 :pinNumber 11; :connectedTo shopShift:briteLatch . |
34 shopPin:d12 :pinNumber 12; :connectedTo shopShift:lightClock . | 34 shopPin:d12 :pinNumber 12; :connectedTo shopShift:lightClock . |
35 shopPin:d13 :pinNumber 13; :connectedTo shopShift:briteClock . | 35 shopPin:d13 :pinNumber 13; :connectedTo shopShift:briteClock . |
36 | 36 |
37 shopPin:a4 :pinNumber "a4"; :connectedTo shopPwm:sda . | |
38 shopPin:a5 :pinNumber "a5"; :connectedTo shopPwm:scl . | |
39 | |
40 shopOw: a :OneWire; | |
41 :connectedTo shopOw:dev-28bf08d101000026 . | |
42 shopOw:dev-28bf08d101000026 a :TemperatureSensor; | |
43 :position :workshop; | |
44 :influxMeasurement [ | |
45 :measurement "temperatureF"; | |
46 :predicate :temperatureF; | |
47 :tag [:key "host"; :value "slash"], [:key "location"; :value "workshop"]]. | |
48 | |
49 shopPwm:roomLights a :PwmBoard; | |
50 :scl shopPwm:scl; | |
51 :sda shopPwm:sda; | |
52 :output | |
53 [:area shopPwm:sewingLight; :channel 0; :wattage 7], | |
54 [:area shopPwm:shopLight0; :channel 1; :wattage 10], | |
55 [:area shopPwm:shopLight1; :channel 2; :wattage 10], | |
56 [:area shopPwm:ariLight; :channel 3; :wattage 10], | |
57 [:area shopPwm:shopLight2; :channel 4; :wattage 10], | |
58 [:area shopPwm:shopLight3; :channel 6; :wattage 8] . | |
59 | |
60 # shiftbrite EI (arduino d12) still needs to be connected to +5 | 37 # shiftbrite EI (arduino d12) still needs to be connected to +5 |
61 | 38 |
62 #barcode red: +5V | 39 #barcode red: +5V |
63 #barcode white: gnd | 40 #barcode white: gnd |
64 #SoftwareSerial barcode = SoftwareSerial(/* rx pin, green */ 3, | 41 #SoftwareSerial barcode = SoftwareSerial(/* rx pin, green */ 3, |