smart-underworld / seestar_alp

Complete Control and Automation for Seestar S50
Other
59 stars 28 forks source link

Is there a better way to show telescope level information? #155

Open erewhon opened 3 weeks ago

erewhon commented 3 weeks ago

Right now, we just show a single number in the web interface. The Seestar app on the other hand shows a two dimensional view. (At least on iOS it's the same view as the Level app.) Ideally it would be nice to have a more two dimensional representation of the level.

mconsidine commented 3 weeks ago

'get_device_settings' has a 'balance_sensor' field with x,y,z accelerometer readings and an angle calculation.  I think 'angle' is what is shown in the app.  I'll check if I've already calculated the x and y components somewhere.  Don't think I did.On Aug 22, 2024 1:43 AM, Steven Byrnes @.***> wrote: Right now, we just show a single number in the web interface. The Seestar app on the other hand shows a two dimensional view. (At least on iOS it's the same view as the Level app.) Ideally it would be nice to have a more two dimensional representation of the level.

—Reply to this email directly, view it on GitHub, or unsubscribe.You are receiving this because you are subscribed to this thread.Message ID: @.***>

quake101 commented 2 weeks ago

Do we just want to display the x,y from get_device_state?

YungKC commented 2 weeks ago

There must be a cool HTML widget for a level bubble.

On Wed, Aug 28, 2024, 6:25 PM Joe V @.***> wrote:

Do we just want to display the x,y from get_device_state?

— Reply to this email directly, view it on GitHub https://github.com/smart-underworld/seestar_alp/issues/155#issuecomment-2316540968, or unsubscribe https://github.com/notifications/unsubscribe-auth/AADWZ5CFCRYRK2I6J4L74WDZTZ2CPAVCNFSM6AAAAABM5MC6VGVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDGMJWGU2DAOJWHA . You are receiving this because you are subscribed to this thread.Message ID: @.***>

quake101 commented 2 weeks ago

Maybe we could adapt this: https://developer.mozilla.org/en-US/docs/Web/API/Device_orientation_events/Detecting_device_orientation

YungKC commented 2 weeks ago

That's pretty cool.

On Wed, Aug 28, 2024, 7:52 PM Joe V @.***> wrote:

Maybe we could adapt this: https://developer.mozilla.org/en-US/docs/Web/API/Device_orientation_events/Detecting_device_orientation

— Reply to this email directly, view it on GitHub https://github.com/smart-underworld/seestar_alp/issues/155#issuecomment-2316614596, or unsubscribe https://github.com/notifications/unsubscribe-auth/AADWZ5BKGOYTEBFQJ2EOL7TZT2EGDAVCNFSM6AAAAABM5MC6VGVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDGMJWGYYTINJZGY . You are receiving this because you commented.Message ID: @.***>