Skip to content

borowka-obs/sqm-lu-linux

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

sqm-lu-linux

Remote ASCOM (using Alpyca) drivers and other software for running Unihedron SQM-LU (Sky Quality Meters) sensors on Linux, in particular Raspberry Pi.

These scripts are pretty basic and could really use some polishing, real configuration options etc.

Reading the data locally

$ python sqmlu-reader.py
#### DEBUG: received data: r, 00.00m,0000557326Hz,0000000000c,0000000.000s, 020.6C
#### DEBUG: entities: ['r', ' 00.00m', '0000557326Hz', '0000000000c', '0000000.000s', ' 020.6C']
# r, 00.00m,0000557326Hz,0000000000c,0000000.000s, 020.6C
sqm temperature=20.6,magnitude=0.0

Uploading data to InfluxDB

Data can be exported to InfluxDB. You need to set up several environment variables:

export INFLUX_TOKEN=<your secret token>
python sqmlu-reader.py | python influx-upload.py

Running ALPACA server

python sqm-reader-alpaca.py

If needed, please modify USB_PORT variable to point to your USB port that's used by the Unihedron.

Then use NINA (or any other astronomy software that's able to use remote ASCOM), connect to port 11111.

About

Remote ASCOM (using Alpyca) drivers and other software for running Unihedron SQM-LU (Sky Quality Meters) sensors on Linux, in particular Raspberry Pi.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages