-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #3 from chrisgilldc/dev
Control Icon Fix
- Loading branch information
Showing
25 changed files
with
268 additions
and
68 deletions.
There are no files selected for viewing
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,12 +1,12 @@ | ||
[Unit] | ||
Description=Brickmaster2 Control System | ||
After=default.target | ||
Requires=sys-subsystem-net-devices-wlan0.device | ||
After=sys-subsystem-net-devices-wlan0.device | ||
|
||
[Service] | ||
Type=idle | ||
WorkingDirectory=/home/pi/brickmaster2 | ||
ExecStart=/usr/bin/python3 /home/pi/brickmaster2/brickmaster2.py | ||
Restart=always | ||
Type=simple | ||
Environment="PYTHONPATH=/home/pi/brickmaster2-main" | ||
ExecStart=/usr/bin/python3 /home/pi/brickmaster2-main/brickmaster2/cli/bm2cli.py -c /home/pi/lego_capitol.json | ||
|
||
[Install] | ||
WantedBy=default.target |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,147 @@ | ||
{ | ||
"system": { | ||
"id": "brickmasterxl", | ||
"name": "BrickmasterXL", | ||
"log_level": "warning", | ||
"ha":{ | ||
"area": ### Area name here is recommended but not required. ### | ||
}, | ||
"mqtt": { | ||
"broker": ### Broker hostname or IP ### | ||
"user": ### MQTT Username ###, | ||
"key": ### MQTT Password ### | ||
} | ||
}, | ||
"controls": [ | ||
{ | ||
"id": "1_5v", | ||
"name": "Port 1 - 5v", | ||
"type": "aw9523", | ||
"addr": "0x58", | ||
"pin": 11 | ||
}, | ||
{ | ||
"id": "2_5v", | ||
"name": "Port 2 - 5v", | ||
"type": "aw9523", | ||
"addr": "0x58", | ||
"pin": 10 | ||
}, | ||
{ | ||
"id": "3_5v", | ||
"name": "Port 3 - 5v", | ||
"type": "aw9523", | ||
"addr": "0x58", | ||
"pin": 9, | ||
"disable": true | ||
}, | ||
{ | ||
"id": "4_5v", | ||
"name": "Port 4 - 5v", | ||
"type": "aw9523", | ||
"addr": "0x58", | ||
"pin": 8, | ||
"disable": true | ||
}, | ||
{ | ||
"id": "5_9v", | ||
"name": "Port 5 - 9v", | ||
"type": "gpio", | ||
"pin": "D5", | ||
"invert": true, | ||
"disable": false | ||
}, | ||
{ | ||
"id": "6_9v", | ||
"name": "Port 6 - 9v", | ||
"type": "gpio", | ||
"pin": "D6", | ||
"invert": true, | ||
"disable": false | ||
}, | ||
{ | ||
"id": "7_9v", | ||
"name": "Port 7 - 9v", | ||
"type": "gpio", | ||
"pin": "D7", | ||
"invert": true, | ||
"disable": true | ||
}, | ||
{ | ||
"id": "8_9v", | ||
"name": "Port 8 - 9v", | ||
"type": "gpio", | ||
"pin": "D8", | ||
"invert": "true", | ||
"disable": true | ||
}, | ||
{ | ||
"id": "9_5v", | ||
"name": "Port 9 - 5v", | ||
"type": "aw9523", | ||
"addr": "0x58", | ||
"pin": 4, | ||
"disable": true | ||
}, | ||
{ | ||
"id": "10_5v", | ||
"name": "Port 10 - 5v", | ||
"type": "aw9523", | ||
"addr": "0x58", | ||
"pin": 3, | ||
"disable": true | ||
}, | ||
{ | ||
"id": "11_5v", | ||
"name": "Port 11 - 5v", | ||
"type": "aw9523", | ||
"addr": "0x58", | ||
"pin": 2, | ||
"disable": true | ||
}, | ||
{ | ||
"id": "12_5v", | ||
"name": "Port 12 - 5v", | ||
"type": "aw9523", | ||
"addr": "0x58", | ||
"pin": 1, | ||
"disable": true | ||
}, | ||
{ | ||
"id": "13_9v", | ||
"name": "Port 13 - 9v", | ||
"type": "gpio", | ||
"pin": "D4", | ||
"invert": true, | ||
"disable": true | ||
}, | ||
{ | ||
"id": "14_9v", | ||
"name": "Port 14 - 9v", | ||
"type": "gpio", | ||
"pin": "D3", | ||
"invert": true, | ||
"disable": true | ||
}, | ||
{ | ||
"id": "15_9v", | ||
"name": "Port 15 - 9v", | ||
"type": "gpio", | ||
"pin": "D2", | ||
"invert": true, | ||
"disable": true | ||
}, | ||
{ | ||
"id": "16_9v", | ||
"name": "Port 16 - 9v", | ||
"type": "gpio", | ||
"pin": "D1", | ||
"invert": true, | ||
"disable": true | ||
} | ||
], | ||
"displays": [ | ||
], | ||
"scripts": { | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,36 @@ | ||
[project] | ||
name = "BrickMaster2" | ||
dynamic = ["version"] | ||
authors = [ | ||
{ name="Christopher Gill", email="[email protected]" }, | ||
] | ||
description = "CobraBay Parking Guidance System" | ||
readme = "README.md" | ||
requires-python = ">=3.8" | ||
dependencies = [ | ||
"adafruit-circuitpython-ht16k33", | ||
"adafruit-circuitpython-logging", | ||
"Adafruit-Blinka", | ||
"netifaces2", | ||
"paho-mqtt", | ||
"psutil", | ||
"pid" | ||
] | ||
classifiers = [ | ||
"Programming Language :: Python :: 3", | ||
"License :: OSI Approved :: MIT License", | ||
"Operating System :: OS Independent", | ||
"Development Status :: 3 - Alpha", | ||
"Topic :: Home Automation" | ||
] | ||
|
||
[project.urls] | ||
Homepage = "https://github.com/chrisgilldc/cobrabay" | ||
Issues = "https://github.com/chrisgilldc/cobrabay/issues" | ||
|
||
[build-system] | ||
requires = ["hatchling"] | ||
build-backend = "hatchling.build" | ||
|
||
[tool.hatch.version] | ||
path = "pkg/__about__.py" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes.
File renamed without changes.
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.