https://github.com/themkat/emacs-envmon
Wanted another excuse to create some Emacs Lisp code, so making more environment monitors that integrates with my pico-environment-monitor :)
https://github.com/themkat/emacs-envmon
emacs emacs-lisp home-automation
Last synced: 4 days ago
JSON representation
Wanted another excuse to create some Emacs Lisp code, so making more environment monitors that integrates with my pico-environment-monitor :)
- Host: GitHub
- URL: https://github.com/themkat/emacs-envmon
- Owner: themkat
- Created: 2023-07-25T07:39:01.000Z (almost 3 years ago)
- Default Branch: main
- Last Pushed: 2024-02-24T09:37:38.000Z (over 2 years ago)
- Last Synced: 2025-10-29T04:22:34.157Z (8 months ago)
- Topics: emacs, emacs-lisp, home-automation
- Language: Emacs Lisp
- Homepage:
- Size: 321 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.org
Awesome Lists containing this project
README
* envmon.el
Wanted another excuse to create some Emacs Lisp code, so making more environment monitors that integrates with my [[https://github.com/themkat/pico-environment-monitor][pico-environment-monitor]] :)
#+ATTR_ORG: :width 800
[[./screenshot.png]]
For local development (when I don't have my pico-environment-monitor available), I use a custom mockserver setup which can be found [[https://github.com/themkat/AmiEnvMon/tree/main/utils][here (in the AmiEnvMon repo)]].
** Requirements
envmon.el depend on:
- [[https://github.com/alphapapa/plz.el][plz.el]]: For fetching data from API and getting the result as an associative list.
- [[https://github.com/magit/magit/blob/main/lisp/magit-section.el][magit-section]]: To create magit like Emacs GUI
It also requires that [[https://github.com/themkat/pico-environment-monitor][pico-environment-monitor]] is running.
** Usage
Configuration options:
- =envmon-url=: this should be configured to be the base URL or IP that your environment monitor is running on.
After making sure these are configured properly, you can simply run =M-x envmon= and the buffer with the data will show. (like the screenshot above).