tysonpower / starlinkstatus Goto Github PK
View Code? Open in Web Editor NEWstarlinkstatus.space - Starlink Statuspage with Speedtest
starlinkstatus.space - Starlink Statuspage with Speedtest
HI,
I seem to be having trouble creating a station via your site, I have an account, API key and also have the client software running thanks to the native windows install.
But for the life of me, i can't create a station, I go to my dash and click the create a station button, asks me if I want to create another station so click ok but nothing happens after that
i'm not sure what I'm doing wrong so thought i would raise an issue and see if i can get some help
thanks in advance
I've noticed for a while now that the obstruction GRPC data hasn't been pulling via the provided script and decided to look into it.
I'm not too tech advanced so I can't say for sure how it's changed but I can say that the data is still pullable but the readout/endpoint has changed. It's still provided in the debug data pulls "copy debug data" from the webapp and the android/ios app.
It'd be nice to get this data option working again.
grpcurl is now located in /home/user/go/pkg/mod/github.com/fullstorydev/[email protected]/cmd/grpcurl
what needs to be done, if anything, besides version number, retry curl to get ping servers, and removal of unsupported api?
Unfortunately I'm a heavy internet user. I will have to discontinue my contribution the the starlink status. Thank you for service!
Don't know if any of you use Home Assistant but it's the defaco goto for Home Automation in Open Source. All of its third party apps use GitHub and docker to run.
This would be really could I'd you could find a way to make it an install and run on there. I know there's a lot of people who would use it.
With ping I would expect the 95% to be 95% of the time it should be less than X so the avg/mean should be below that number.
Likewise with upload and download I would expect 95% of the time the speed should be greater than X so the avg/mean should be above the 95% number.
Or am I reading this wrong? Or is the wrong 95% value being picked?
Following the instructions for macOS install presented several issues I had to work around. I was able to resolve the issues I experienced with the prerequisites go
and grpcurl
. However, the commands provided for setting up crontab on macOS just didn't work at all.
, even prefixing the commands with sudo
. Either I got a permission error on the crontab file or there was no error, but no crontab entry was created for the user or the system.
In the end, I was forced to start a root shell (i.e., sudo -i
) and then edit /private/etc/crontab
manually. This got the cron job scheduled and it began running.
Now that the cron job is running, it appears to be failing. log show --process cron --info --debug
reports the following:
Filtering the log data using "process BEGINSWITH[cd] "cron""
Timestamp Thread Type Activity PID TTL
2022-06-15 10:15:00.035107-0600 0xdf8b1 Info 0x0 13991 0 cron: (/opt/repos/Tysonpower/starlinkstatus/starlinkstatus_client.sh) CMD (-k 'XXXXX' -s -d)
2022-06-15 10:15:00.040779-0600 0xdf8b0 Info 0x0 13990 0 cron: (/opt/repos/Tysonpower/starlinkstatus/starlinkstatus_client.sh) MAIL (mailed 105 bytes of output but got status 0x0001
Is the MAIL message a problem? If so, any idea how to fix that?
FWIW, here is /etc/crontab
(which is actually, /private/etc/crontab
):
8,23,38,53 * * * * /opt/repos/Tysonpower/starlinkstatus/starlinkstatus_client.sh -k XXXXX -s -d
NOTE: The value of the
-k
parameter is my actual API Key which is masked here... ;)
@Tysonpower @puchol SNR data becomes irrelevant (no longer provided/accessible) with Dishy Firmware update 3155b85a-29b0-4de0-8c5e-c23c321bf245.uterm.release
When I tried to install the "Retesting Speedtest" fails after waiting for several minutes.
New version of client which will be uploaded soon runs natively in Windows Power shell will be added in Pull Request
speedtest --version
speedtest-cli 2.1.3
Python 3.9.2 (default, Mar 12 2021, 04:06:34) [GCC 10.2.1 20210110]
usage: speedtest [-h] [--no-download] [--no-upload] [--single] [--bytes]
[--share] [--simple] [--csv] [--csv-delimiter CSV_DELIMITER]
[--csv-header] [--json] [--list] [--server SERVER]
[--exclude EXCLUDE] [--mini MINI] [--source SOURCE]
[--timeout TIMEOUT] [--secure] [--no-pre-allocate]
[--version]
speedtest: error: unrecognized arguments: -V --accept-license --accept-gdpr
speedtest is running...
usage: speedtest [-h] [--no-download] [--no-upload] [--single] [--bytes]
[--share] [--simple] [--csv] [--csv-delimiter CSV_DELIMITER]
[--csv-header] [--json] [--list] [--server SERVER]
[--exclude EXCLUDE] [--mini MINI] [--source SOURCE]
[--timeout TIMEOUT] [--secure] [--no-pre-allocate]
[--version]
speedtest: error: unrecognized arguments: -f json
Dropping the bad arguments allows the script to finish, but no speedtest data is captured to transmit (both 0 mbps). Was working until 10/29 so I bet apt had an update to Speedtest that busted it, which means it is coming for everyone eventually.
Hi - getting the following errors when trying to run.
pi@raspi4-8gb-argon:~/Downloads/starlinkstatus-main/docker $ docker-compose up -d
Building starlinkstatus
Sending build context to Docker daemon 4.608kB
Step 1/9 : FROM alpine:latest
---> 78571b13081b
Step 2/9 : RUN apk update && apk add curl bash go
---> Running in ff2ea009d6a0
fetch https://dl-cdn.alpinelinux.org/alpine/v3.15/main/armv7/APKINDEX.tar.gz
fetch https://dl-cdn.alpinelinux.org/alpine/v3.15/community/armv7/APKINDEX.tar.gz
ERROR: https://dl-cdn.alpinelinux.org/alpine/v3.15/main: temporary error (try again later)
WARNING: Ignoring https://dl-cdn.alpinelinux.org/alpine/v3.15/main: No such file or directory
3069449104:error:0D0D90AD:asn1 encoding routines:ASN1_TIME_adj:error getting time:crypto/asn1/a_time.c:330:
3069449104:error:0D0D90AD:asn1 encoding routines:ASN1_TIME_adj:error getting time:crypto/asn1/a_time.c:330:
3069449104:error:0D0D90AD:asn1 encoding routines:ASN1_TIME_adj:error getting time:crypto/asn1/a_time.c:330:
3069449104:error:0D0D90AD:asn1 encoding routines:ASN1_TIME_adj:error getting time:crypto/asn1/a_time.c:330:
3069449104:error:1416F086:SSL routines:tls_process_server_certificate:certificate verify failed:ssl/statem/statem_clnt.c:1914:
ERROR: https://dl-cdn.alpinelinux.org/alpine/v3.15/community: Permission denied
WARNING: Ignoring https://dl-cdn.alpinelinux.org/alpine/v3.15/community: No such file or directory
2 errors; 14 distinct packages available
The command '/bin/sh -c apk update && apk add curl bash go' returned a non-zero code: 2
ERROR: Service 'starlinkstatus' failed to build : Build failed
Service Class
UNKNOWN_USER_CLASS_OF_SERVICE
Howdy, I seem to be having issues getting ping to work properly via cron on my Mac install, so I got this up and running on my Pi. Everything seems to be working as designed, but I get the error message above.
most apps have a couple lines you you can pop in to a debian based distro with some copy paste commands and BAM! it's done. bada-bing bada-boom just a 2 liner. this has .sh files and other icky things. eeewwwww
In the last 48 hours or so the average values on the graph no longer seem correct. I have not had any change in my hourly ping times and yet the graph shows a large increase in the average values.
See https://starlinkstatus.space/stations/296
I installed your software on my Win10 machine.
Since a few days, when checking my status page: https://starlinkstatus.space/stations/500
it tells me: "Please update your Client!"
I'm not very technically savvy, can you please give some instructions on how to update the client in my Win10 install?
Thank you very much!
Installed golang using apt install.
go get github does a lot and compiles a lot but finishes giving the following error (below is from re-run...):-
go get github.com/fullstorydev/grpcurl/...
go/src/google.golang.org/grpc/credentials/tls.go:233:2: undefined: tls.TLS_AES_128_GCM_SHA256
go/src/google.golang.org/grpc/credentials/tls.go:234:2: undefined: tls.TLS_AES_256_GCM_SHA384
go/src/google.golang.org/grpc/credentials/tls.go:235:2: undefined: tls.TLS_CHACHA20_POLY1305_SHA256
go/src/golang.org/x/net/http2/client_conn_pool.go:305:6: undefined: errors.Is
go/src/golang.org/x/net/http2/server.go:234:72: undefined: tls.VersionTLS13
Regards
You can directly pull GPS location data from the dish with the grpcurl command grpcurl -plaintext -emit-defaults -d '{"getLocation":{}}' 192.168.100.1:9200 SpaceX.API.Device.Device/Handle
as long as the end user has the required setting enabled in their app Settings > Advanced > Debug Data > Starlink Location [Allow access on local network]
Should this be applied in a future update of this script it would allow more streamlined station creations directly from the script.
Hey!
Noticed that my Station was outdate so I scraped it and created a new one using the docker command but I still get the Oudated signal.
Is this expected ?
With the new data caps being instituted, I think it would be good to add an estimate for the expected data usage to the Readme for potential users.
I've done speed tests before on 5G UWB and gone through a gigabyte of download data in 10 seconds so speed tests every 15 mins could definitely add up quickly.
during install, requests change ip to starlink, Space Exploration Technologies is my IP, isn't this starlink?
needs to run an extra command I think, after Ookla install: speedtest --accept-license
grpcurl dev build <no version set>
getting Dishy Data...
Failed to dial target host "192.168.100.1:9200": dial tcp 192.168.100.1:9200: connect: connection refused
speedtest is running...
==============================================================================
You may only use this Speedtest software and information generated
from it for personal, non-commercial use, through a command line
interface on a personal computer. Your use of this software is subject
to the End User License Agreement, Terms of Use and Privacy Policy at
these URLs:
https://www.speedtest.net/about/eula
https://www.speedtest.net/about/terms
https://www.speedtest.net/about/privacy
==============================================================================
To accept the message please run speedtest interactively or use the following:
speedtest --accept-license
Request from IP: 89.x.x.x - Key not Valid...\n
Going to starlinkstatus.space results in SSL errors.
Appears to be because the root CA that the cert was generated under has expired.
Resolution: generate new certificate from your CA for the website.
Details:
https://www.ssllabs.com/ssltest/analyze.html?d=starlinkstatus.space&latest
After copying the full path, I get a red message in the shell stating that running scripts have been disabled.
Windows PowerShell
Copyright (C) Microsoft Corporation. All rights reserved.
Install the latest PowerShell for new features and improvements! https://aka.ms/PSWindows
PS C:\WINDOWS\system32> powershell.exe -noprofile -executionpolicy bypass -file /install.ps1
At line:1 char:57
~
The '<' operator is reserved for future use.
+ CategoryInfo : ParserError: (:) [], ParentContainsErrorRecordEx
ception
+ FullyQualifiedErrorId : RedirectionNotSupported
PS C:\WINDOWS\system32>
PS C:\WINDOWS\system32> install.ps1
install.ps1 : The term 'install.ps1' is not recognized as the name of a
cmdlet, function, script file, or operable program. Check the spelling of the
name, or if a path was included, verify that the path is correct and try again.
At line:1 char:1
+ CategoryInfo : ObjectNotFound: (install.ps1:String) [], Command
NotFoundException
+ FullyQualifiedErrorId : CommandNotFoundException
PS C:\WINDOWS\system32> C:\Users\depty\Downloads\Install.ps1
C:\Users\depty\Downloads\Install.ps1 : File
C:\Users\depty\Downloads\Install.ps1 cannot be loaded because running scripts
is disabled on this system. For more information, see about_Execution_Policies
at https:/go.microsoft.com/fwlink/?LinkID=135170.
At line:1 char:1
+ CategoryInfo : SecurityError: (:) [], PSSecurityException
+ FullyQualifiedErrorId : UnauthorizedAccess
PS C:\WINDOWS\system32> powershell.exe -noprofile -executionpolicy bypass -file /install.ps1
At line:1 char:57
~
The '<' operator is reserved for future use.
+ CategoryInfo : ParserError: (:) [], ParentContainsErrorRecordEx
ception
+ FullyQualifiedErrorId : RedirectionNotSupported
PS C:\WINDOWS\system32> C:\Users\depty\Downloads\Install.ps1
C:\Users\depty\Downloads\Install.ps1 : File
C:\Users\depty\Downloads\Install.ps1 cannot be loaded because running scripts
is disabled on this system. For more information, see about_Execution_Policies
at https:/go.microsoft.com/fwlink/?LinkID=135170.
At line:1 char:1
+ CategoryInfo : SecurityError: (:) [], PSSecurityException
+ FullyQualifiedErrorId : UnauthorizedAccess
PS C:\WINDOWS\system32>
The statistics at the top of the front page show speeds around ~40 Mbit/s in the Download and ~9 Mbit/s in the Upload. The graph below shows much higher Download AVG speeds if zero values are neglected. See also screenshot.
Probably the numbers at the top also consider measurements which report zero bandwidth (at the beginning of measurements in March/April/May and recently no active users in France), which leads to rather poor numbers at the top of the front page.
I'd suggest to discard reports with zero bandwidth and/or inactive users...
There seems to be an issue with running the sh script as a cronjob since the end of january.
It's very strange and hard to reproduce for me, but it seems that it is caused by an old script version.
If you are affected by this, please write a quick comment if this works:
rm starlinkstatus_client.sh
wget https://raw.githubusercontent.com/Tysonpower/starlinkstatus/main/starlinkstatus_client.sh
chmod +x starlinkstatus_client.sh
I will update this issue if I can debug the specific problem.
None of the data seems to load if opening a station's details page in Safari. I see this on both macOS and iOS.
I have the Square Dishy with the V2 router (with ethernet adapter) providing my existing network with its WAN connection.
I have the Starlink router in bypass mode, is it possible to still get -d stats with this or not because the router is truely "disabled"? (Even though I can view stats "remotely" through the app still)
Thanks!
Script output below:
C:\users*****\documents\StarlinkScripts already exists.
VERBOSE: GET https://raw.githubusercontent.com/Tysonpower/starlinkstatus/main/windowsinstall/messages.json with 0-byte payload
VERBOSE: received 1086-byte response of content type text/plain; charset=utf-8
VERBOSE: GET https://raw.githubusercontent.com/Tysonpower/starlinkstatus/main/windowsinstall/Starlinkstatus_client.ps1 with 0-byte payload
VERBOSE: received 3713-byte response of content type text/plain; charset=utf-8
VERBOSE: GET https://raw.githubusercontent.com/Tysonpower/starlinkstatus/main/windowsinstall/starlinkstatusstarter.ps1 with 0-byte payload
VERBOSE: received 309-byte response of content type text/plain; charset=utf-8
https://github.com/tevslin/Starlink-Statuspage-Clients/raw/main/exes.zip downloaded
exes.zip unzipped
https://install.speedtest.net/app/cli/ookla-speedtest-1.0.0-win64.zip downloaded
ookla-speedtest-1.0.0-win64.zip unzipped
testing speedtest...
retesting speedtest...
{"type":"log","timestamp":"2022-03-03T14:36:42Z","message":"Error: [0] Cannot open socket: ","level":"error"}
speedtest failure
{"type":"log","timestamp":"2022-03-03T14:39:25Z","message":"Error: [0] Cannot open socket: ","level":"error"}
{"type":"log","timestamp":"2022-03-03T14:43:01Z","message":"Error: [0] Cannot open socket: ","level":"error"}
error
Cannot write: A connection attempt failed because the connected party did not properly respond after a period of time, or established connection failed because connected host ...
speedtest failure
Latency test failed for both TCP, and no HTTP URL available.
{"type":"log","timestamp":"2022-03-03T14:45:56Z","message":"Error: [0] Cannot open socket: ","level":"error"}
{"type":"log","timestamp":"2022-03-03T14:47:03Z","message":"Error: [0] Cannot open socket: ","level":"error"}
speedtest failure
Latency test failed for both TCP, and no HTTP URL available.
Hello,
tried this today on a Pne64
but it stalled at point 2
(after installing the Google SDK as you suggested)
test@pine64:~/Baixades$ export PATH=$PATH:/usr/local/go/bin test@pine64:~/Baixades$ go version go version go1.18.8 linux/arm64 test@pine64:~/Baixades$ cd .. test@pine64:~$ nano .bashrc test@pine64:~$ go get github.com/fullstorydev/grpcurl/... go: go.mod file not found in current directory or any parent directory. 'go get' is no longer supported outside a module. To build and install a command, use 'go install' with a version, like 'go install example.com/cmd@latest' For more information, see https://golang.org/doc/go-get-install-deprecation or run 'go help get' or 'go help install'.
I'm not sure what could be happening.
I tried with 2 keys (different stations)
#######:starlinkstatus:# ./starlinkstatus_client.sh -k 'xxxxxxxxxxx' -s -d
starlinkstatus.space Client - Version 1.21
API Key: xxxxxxxxxxx
Starting Ping Test (Servers: 7)...
Ping to 1.1.1.1: 35.673
Ping to tynet.eu: 346.777
Ping to fl-us-ping.vultr.com: 149.523
Ping to lax-ca-us-ping.vultr.com: 154.915
Ping to wa-us-ping.vultr.com: 196.393
Ping to tor-ca-ping.vultr.com: 169.022
Ping to syd-au-ping.vultr.com: 332.912
grpcurl dev build <no version set>
getting Dishy Data...
speedtest is running...
Request from IP: 138.x.x.x - Key not Valid...\n
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.