Python

Python API For OnStep and other LX200 Protocol Telescope Controllers

Contents: 

Tags: 

Today, I released my OnStep Python API on Github. This API allows commands to be issued from any Python 3.x program to an OnStep controlled telescope.

This allows a lot of use cases, for example, testing certain scenarios, or automating certain tasks.

Several examples are provided as starting points on how to write your own programs.

Patches for features, and fixes are welcome.

Fixing a few bugs in Python pywapi related to Canadian cities

Contents: 

Tags: 

While experimenting with the pywapi I found a few problems that require an article, in case someone is facing the same issues.

First, for Canadian cities, you need a more current version of pywapi. On Ubuntu 12.04, the python-pywapi is 0.2.2-1 and does not have the API for Weather.com. The version on 14.04 is 0.3.6, and does have that API.

Second, you need to find the code for your city. Here is a list of codes.

Subscribe to RSS - Python