mawinkler / astrolive Goto Github PK
View Code? Open in Web Editor NEWAsynchronous ASCOM integration for Home Assistant
License: MIT License
Asynchronous ASCOM integration for Home Assistant
License: MIT License
Is it possible to have multiple Ascome Remote Servers?
I have a mini PC on each of my scopes and one for the observatory - could Ascome Live support more than one Ascome Remote server?
How do you get Switches working in the backyard.cfg.yaml ?
I have
components:
switch:
kind: switch
friendly_name: dragonfly
update_interval: 30
eg you have a method https://github.com/mawinkler/astrolive/blob/main/astrolive/observatory.py#L330
But how do I send the id of the switch to get the data for it from the config file ?
Hello,
Everything works fine except I am getting this error with the camera_file component.
2023-10-10 02:32:13 INFO (MainThread) [start_monitoring] Thread obs.telescope.camera_file started
2023-10-10 02:32:13 INFO (obs.telescope.camera_file) [_publish_camera_file] obs.telescope.camera_file: Reading image /fits/test.fits
2023-10-10 02:32:13 ERROR (obs.telescope.camera_file) [_publish_camera_file] type str doesn't define round method
Exception in thread obs.telescope.camera_file:
Traceback (most recent call last):
File "/usr/lib/python3.10/threading.py", line 1016, in _bootstrap_inner
self.run()
File "/usr/lib/python3.10/threading.py", line 953, in run
self._target(*self._args, **self._kwargs)
File "/usr/lib/python3.10/asyncio/runners.py", line 44, in run
return loop.run_until_complete(main)
File "/usr/lib/python3.10/asyncio/base_events.py", line 649, in run_until_complete
return future.result()
File "/astrolive/astrolive/mqttdevices.py", line 532, in publish_loop
await self._publish_camera_file(sys_id, device, device_type, execution_time)
File "/astrolive/astrolive/mqttdevices.py", line 694, in _publish_camera_file
raise exc
File "/astrolive/astrolive/mqttdevices.py", line 660, in _publish_camera_file
"ra_of_imaged_object": round(hdr.get("OBJCTRA", 0), 3),
TypeError: type str doesn't define round method
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.