-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathbalena.yml
More file actions
70 lines (59 loc) · 2.79 KB
/
Copy pathbalena.yml
File metadata and controls
70 lines (59 loc) · 2.79 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
name: "BubblesNet Controller"
type: "sw.application"
description: >-
Deep-water-culture (DWC) hydroponics ... automated
post-provisioning: >-
## Introduction
BubblesNet Controller is the data-storage and user-interface component of the BubblesNet system, a Raspberry Pi 4 based device to store data about the environment inside a cabinet/tent and through commands to the edge-device to turn on and off attached relay-controlled environmental control devices (heater, humidifier ...) to keep that environment in an ideal state to grow for whatever stage the crop may be at.
- Latest PR fixes an issue with public fleets.
- Requires at least 4G RAM, preferably 8G. Developed and tested on 8G, known not to work on 1G. RAM requirement driven almost entirely by ActiveMQ.
- Bring a sandwich to this process. After you flash a micro-SD card and start it up, it can take 20+ minutes for the device to connect and update via Balena.
- This is literally an alpha-release. The underlying code has been in production for months, but the deployment to a Balena public fleet is brand new and has required a number of modifications.
THIS FLEET IS NOT READY FOR PRIMETIME YET. THIS BRANCH IS THE FINAL PUSH. ALTHOUGH THE PROJECT IS MATURE AND HAS ITERATED THROUGH A NUMBER OF CROPS, I STILL HAVE TO DEBUG A NUMBER OF ISSUES THAT ARE
UNIQUE TO BALENA PUBLIC FLEETS. THIS REQUIRES ME TO TURN PUBLIC VISIBILITY ON AND OFF FAIRLY FREQUENTLY. PLEASE DO NOT JOIN THIS FLEET UNTIL THIS MESSAGE IS GONE.
assets:
repository:
type: blob.asset
data:
url: 'https://github.com/bubblesnet/controller'
logo:
type: blob.asset
data:
url: >-
https://raw.githubusercontent.com/bubblesnet/controller/main/static/img/BubblesNetLogo.png
data:
applicationEnvironmentVariables:
- ACTIVEMQ_HOST: activemq
- ACTIVEMQ_PORT: 61614
- API_HOST: api
- REACT_API_UI_PORT: 3004
- REACT_API_API_PORT: 4004
- NODE_ENV: PRODUCTION
- ROARR_LOG: true
- SLEEP_ON_EXIT_FOR_DEBUGGING: 60
- PORTAL_SSID: BubblesNet_Controller
- PORTAL_DHCP_RANGE: '192.168.49.3,192.168.49.254'
- PORTAL_GATEWAY: '192.168.49.2'
- DEBUG: true
- NO_FAN_WITH_HEATER: false
- USERID: 90000009
- CHECK_CONN_FREQ: 3600
- LOGS_SHARED_DIRECTORY: '/logs_shared'
- POSTGRESQL_APPLICATION_DBNAME: bubbles
- POSTGRESQL_HOST: database
- POSTGRESQL_POSTGRES_PASSWORD: postgres
- POSTGRESQL_POSTGRES_USER: postgres
- POSTGRESQL_SHARED_DIRECTORY: '/postgresql_shared'
- POSTGRESQL_SYSTEM_DBNAME: postgres
- POSTGRESQL_UNIX_USER: postgres
- REACT_APP_NODE_ENV: PRODUCTION
- VERBOSE: true
defaultDeviceType: raspberry-pi
supportedDeviceTypes:
- raspberrypi4-64
- coral-dev
build-variables:
services:
ui:
- DOTENVFILE=.env.production
version: 0.9.0