ground-up home monitoring using zmq https://www.sudo.is
Go to file
ben 00cb595c45
ben/sudoisbot/pipeline/head This commit looks good Details
update pyzmq (#23)
Reviewed-on: #23
Co-authored-by: Ben Kristinsson <ben@sudo.is>
Co-committed-by: Ben Kristinsson <ben@sudo.is>
2024-09-11 13:31:20 +00:00
.github Dependabot version updates (#21) 2023-12-30 23:54:43 +00:00
deb building .deb packages (#13) 2022-11-09 15:46:15 +00:00
docs updating readme, fixing small bugs, adding back timer as debug log message, and updated lockfile, new screenshot (#14) 2023-02-01 08:17:15 +00:00
extra some housekeeping (!8) 2022-09-19 14:49:18 +00:00
scripts building .deb packages (#13) 2022-11-09 15:46:15 +00:00
sudoisbot Noto Sans Mono (#22) 2024-01-19 00:06:42 +00:00
tests dependencies 2022-08-10 09:23:34 +02:00
.dockerignore some housekeeping (!8) 2022-09-19 14:49:18 +00:00
.flake8 dependencies 2022-08-10 09:23:34 +02:00
.gitignore adding .venv to gitignore 2023-05-22 15:18:25 +02:00
Dockerfile building .deb packages (#13) 2022-11-09 15:46:15 +00:00
Jenkinsfile building .deb packages (#13) 2022-11-09 15:46:15 +00:00
LICENSE use BSD-3-Clause-No-Military-License (#9) 2022-10-03 15:31:00 +00:00
README.md add retry logic for mysql, stop writing json to mysql, update dependencies (#19) 2023-12-30 00:13:19 +00:00
poetry.lock update pyzmq (#23) 2024-09-11 13:31:20 +00:00
pyproject.toml update pyzmq (#23) 2024-09-11 13:31:20 +00:00

README.md

sudoisbot

Build Status git github matrix BSD-3-Clause-No-Military-License

this is a home monitoring system written in Python and using ZeroMQ.

NOTE: this project will be renamed, most likely to roomie.

sudoisbot in grafna

FAQ: why zmq? dont you know about mqtt?

because i wanted a project to learn zeromq. i am aware of mqtt and that it is designed for things like this.

what is running where?

as this project hasnt been actively worked on for a while, things have drifted a little bit. here are some notes for myself.

  • the sensors are most likely running on commit 52462cb3d9 (tagged as prod-sensors).

  • the sink component was running on commit c5e9d2b412 (also tagged as prod-sink and branched as prod-sink as well).

    this is no longer true, sink is running off the main branch as of commit 0287dc196914efba4407908e020c146b1733e7ac

  • zflux: a buffering proxy (using zmq) to gracefully handle network failures, and can also do load balancing.

  • shared-jenkins-pipelines: jenkins delcarative pipelines, including the poetry.groovy pipeline used to build this project.

notes

its bedroom and ls54 that cache more and better on disconnets

architecture

  • proxy
  • sink
  • sensor
  • apis