Skip to content

Power stats and updated starlink dashboard #16

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 5 commits into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
33 changes: 33 additions & 0 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
#Use to rebuild the docker image if https://github.com/sparky8512/starlink-grpc-tools.git is ever updated.

FROM python:3.9
LABEL maintainer="neurocis <neurocis@neurocis.me>"

RUN true && \
\
ARCH=`uname -m`; \
if [ "$ARCH" = "armv7l" ]; then \
NOBIN_OPT="--no-binary=grpcio"; \
else \
NOBIN_OPT=""; \
fi; \
# Install python prerequisites
pip3 install --no-cache-dir $NOBIN_OPT \
croniter==2.0.5 pytz==2024.1 six==1.16.0 \
grpcio==1.62.2 \
influxdb==5.3.2 certifi==2024.2.2 charset-normalizer==3.3.2 idna==3.7 \
msgpack==1.0.8 requests==2.31.0 urllib3==2.2.1 \
influxdb-client==1.42.0 reactivex==4.0.4 \
paho-mqtt==2.0.0 \
pypng==0.20220715.0 \
python-dateutil==2.9.0 \
typing_extensions==4.11.0 \
yagrc==1.1.2 grpcio-reflection==1.62.2 protobuf==4.25.3

WORKDIR /app
RUN git clone https://github.com/sparky8512/starlink-grpc-tools.git
RUN cp -r starlink-grpc-tools/* /app/


ENTRYPOINT ["/bin/sh", "/app/entrypoint.sh"]
CMD ["dish_grpc_influx.py status alert_detail"]
9 changes: 3 additions & 6 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# Starlink Dishy Grafana Dashboards

![Docker Pulls](https://img.shields.io/docker/pulls/sponsianus/starlink-grpc-tools) [![GitHub stars](https://img.shields.io/github/stars/sponsianus/dishy_grafana)](https://github.com/sponsianus/dishy_grafana/stargazers)


Docker compose project for tracking Starlink Dishy and Network statistics with Grafana.

Expand All @@ -14,7 +14,7 @@ Docker compose project for tracking Starlink Dishy and Network statistics with G
1. Clone the repo. (Suggested to clone into your `/opt` directory)

```bash
git clone https://github.com/sponsianus/dishy_grafana
git clone https://github.com/bigmike613/dishy_grafana
```

1. Copy `default.env.tpl` to `default.env` and **edit the variables** to suite your needs.
Expand Down Expand Up @@ -82,13 +82,10 @@ From the directory containing the `docker-compose.yml` file:

## Support

- Open an issue in the [GitHub repo](https://github.com/sponsianus/dishy_grafana/issues/new).
- Discussion on Reddit in [r/Starlink](https://www.reddit.com/r/Starlink/comments/nhwb6w/dishy_grafana_monitoring/).

## Resources

- See [starlink-grpc-tools](https://github.com/sparky8512/starlink-grpc-tools) for the GRPC tools used in this project.

## License

[MIT](LICENSE.md)
[MIT](LICENSE.md)
4 changes: 2 additions & 2 deletions docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -38,8 +38,8 @@ services:
restart: always

grpc:
image: sponsianus/starlink-grpc-tools
command: "dish_grpc_influx.py -t 1 -a -v status obstruction_detail alert_detail ping_drop ping_run_length ping_latency ping_loaded_latency usage bulk_history"
image: miketomasulo/starlink-grpc-tools
command: "dish_grpc_influx.py -t 1 -a -v status power obstruction_detail alert_detail ping_drop ping_run_length ping_latency ping_loaded_latency usage bulk_history"
depends_on:
- influxdb
env_file:
Expand Down
Loading