@caseywebb/growhaus

Raspberry Pi Based Grow Room Automation

Usage no npm install needed!

<script type="module">
  import caseywebbGrowhaus from 'https://cdn.skypack.dev/@caseywebb/growhaus';
</script>

README

growhaus

Raspberry Pi Based Grow Room Automation

Installation

$ yarn global add @caseywebb/growhaus
$ sudo growhaus

Optionally copy the systemd unit file to /etc/systemd/system/growhaus.service and run sudo systemctl start growhaus && sudo systemctl enable growhaus to enable on boot.

API

A minimal webserver is exposed for retrieving and temporarily overriding the brightness.

Get

$ curl localhost:8080

Set

$ curl --data '{ "brightness": <1-255> }' -H "Content-Type: application/json" -X POST localhost:8080