Directories ¶
Path | Synopsis |
---|---|
cloud
|
|
acls
Package acls is the main library used by cloud services to authenticate clients and check that they have access to named resources.
|
Package acls is the main library used by cloud services to authenticate clients and check that they have access to named resources. |
acls/deviceauth
Package deviceauth is a library for obtaining credentials on an IoT device for authenticating with some of the cloud services like StateService and CommandQueueService.
|
Package deviceauth is a library for obtaining credentials on an IoT device for authenticating with some of the cloud services like StateService and CommandQueueService. |
acls/server2serverauth
Package server2serverauth is used for sending gRPC requests between Google Cloud hosted services (like Cloud Run instances).
|
Package server2serverauth is used for sending gRPC requests between Google Cloud hosted services (like Cloud Run instances). |
google/server/fulfilment
Package fulfillment implements a server that responds to Google Smart Home "fulfilment" requests.
|
Package fulfillment implements a server that responds to Google Smart Home "fulfilment" requests. |
httpendpoint
Package httpendpoint is an OAuth 2 server for operating a home's fan coil units using Google Asistant.
|
Package httpendpoint is an OAuth 2 server for operating a home's fan coil units using Google Asistant. |
queue/queueclient
Package queueclient provides a rich client library wrapping the gRPC client for CommandQueueService.
|
Package queueclient provides a rich client library wrapping the gRPC client for CommandQueueService. |
queue/queueserver
Package queueserver implements a gRPC service run on a (cloud) server that relays Pub/Sub messages to IoT devices.
|
Package queueserver implements a gRPC service run on a (cloud) server that relays Pub/Sub messages to IoT devices. |
secrets
Package secrets is a utility library for retrieving secrets from Google Secret Manager.
|
Package secrets is a utility library for retrieving secrets from Google Secret Manager. |
stateservice
Package stateservice implements a centralized IoT device state storage service.
|
Package stateservice implements a centralized IoT device state storage service. |
cmd
|
|
authservice
Program authservice starts the AuthService.
|
Program authservice starts the AuthService. |
cloud-listener
Program cloud-listener subscribes to pub/sub thermostat commands and dispatches them to the fancoil service.
|
Program cloud-listener subscribes to pub/sub thermostat commands and dispatches them to the fancoil service. |
cloud/http-endpoint
Program http-endpoint is an OAuth 2 server for operating a home's fan coil units using Google Asistant.
|
Program http-endpoint is an OAuth 2 server for operating a home's fan coil units using Google Asistant. |
cloud/update-image-versions
Program update-image-versions generates a JSON file that resolves docker image names to digests.
|
Program update-image-versions generates a JSON file that resolves docker image names to digests. |
cx34collector
Program cx34collector collects information from the Chiltrix CX34 heat pump and logs it to a database.
|
Program cx34collector collects information from the Chiltrix CX34 heat pump and logs it to a database. |
cx34dash
Program cx34runs a dashboard that displays information about a CX34 heat pump.
|
Program cx34runs a dashboard that displays information about a CX34 heat pump. |
cx34install
Program cx34install installs a systemd service for cx34collector according to https://www.raspberrypi.org/documentation/linux/usage/systemd.md.
|
Program cx34install installs a systemd service for cx34collector according to https://www.raspberrypi.org/documentation/linux/usage/systemd.md. |
protocol-analyzer
Program waterpi reads temperature sensors.
|
Program waterpi reads temperature sensors. |
queueserver
Program queueserver is a cloud-hosted service for sending commands to IoT devices.
|
Program queueserver is a cloud-hosted service for sending commands to IoT devices. |
reverse-proxy
Program reverse-proxy forwards all http traffic from this process to a remote url.
|
Program reverse-proxy forwards all http traffic from this process to a remote url. |
stateservice
Program stateservice starts a controller.StateService intende to be hosted in Google Cloud.
|
Program stateservice starts a controller.StateService intende to be hosted in Google Cloud. |
Package cx34 provides a client for working with the Chiltrix CX34 heat pump.
|
Package cx34 provides a client for working with the Chiltrix CX34 heat pump. |
Package dashboard runs a web dashboard that displays information about a CX34 heat pump.
|
Package dashboard runs a web dashboard that displays information about a CX34 heat pump. |
Package db implements a database for storing the history of the state of the CX34
|
Package db implements a database for storing the history of the state of the CX34 |
Package fancoil communicates with a Heat Transfer Products (and presumably Chiltrix) fan coil unit.
|
Package fancoil communicates with a Heat Transfer Products (and presumably Chiltrix) fan coil unit. |
cmd/fancoil_status
Program fancoil_status prints out the status of any connected fan coil.
|
Program fancoil_status prints out the status of any connected fan coil. |
Package linuxserial provides utilitis for working with serial devices in Linux.
|
Package linuxserial provides utilitis for working with serial devices in Linux. |
Package mdtable helps construct markdown tables.
|
Package mdtable helps construct markdown tables. |
Package omron assists in deciphering omron communication protocol message.
|
Package omron assists in deciphering omron communication protocol message. |
proto
|
|
Package tempsensor provides an API for reading DS18B20-based temperature sensors.
|
Package tempsensor provides an API for reading DS18B20-based temperature sensors. |
Package units contains float64 wrappers with unit semantics relevant to the CX34 heat pump (flow rate, temperature, etc).
|
Package units contains float64 wrappers with unit semantics relevant to the CX34 heat pump (flow rate, temperature, etc). |
util
|
|
bazelrunfiles
Package bazelrunfiles helps read runtime data files for programs built using Bazel.
|
Package bazelrunfiles helps read runtime data files for programs built using Bazel. |
cmdutil
Package cmdutil contains utilities for writing CLIs.
|
Package cmdutil contains utilities for writing CLIs. |
grpcserverutil
Package grpcserverutil contains utilities for running gRPC servers.
|
Package grpcserverutil contains utilities for running gRPC servers. |
lockutil
Package lockutil provides a sync.Lock implementation that ensures a certain interval of time has passed since the last time a lock was acquired.
|
Package lockutil provides a sync.Lock implementation that ensures a certain interval of time has passed since the last time a lock was acquired. |
modbusutil
Package modbusutil provides a wrapper around a modbus.Client that allows locking the client.
|
Package modbusutil provides a wrapper around a modbus.Client that allows locking the client. |
must
Package must contains generic functions for ensuring a function is called that returns a nil error.
|
Package must contains generic functions for ensuring a function is called that returns a nil error. |
Click to show internal directories.
Click to hide internal directories.