Coder Social home page Coder Social logo

jackdevey / lux Goto Github PK

View Code? Open in Web Editor NEW
64.0 3.0 4.0 358 KB

Lux is a command-line interface for controlling and monitoring Govee lighting, built in Go.

License: GNU General Public License v3.0

Go 94.69% Inno Setup 4.86% Batchfile 0.45%
lighting lighting-controller golang lux cli govee lighting-strips govee-api rgb controller

lux's Introduction

print('Hi there ๐Ÿ‘‹')

  • ๐Ÿ™‹โ€โ™‚๏ธ My name is Jack and I like to code
  • ๐ŸŽ“ I'm currently a BSc (Hons) Computer Science student
  • ๐Ÿ’ผ I'm also a Software Engineer at Atlantic Software
  • ๐Ÿ“ˆ Aside from CS, I also like maths & trains

myProjects()

  • ๐Ÿš… Track, a train logging website
  • ๐Ÿ”ฅ RepoRank, a repository ranking website
  • ๐Ÿ’ต Aside, a macOS savings manager
  • ๐Ÿ“บ Boards, a train departure board CLI
  • ๐Ÿš… LDBWS-Client, a client library for the LDBWS API
  • ๐Ÿšจ Lux, a Govee CLI made in Go
  • ๐Ÿ‘ฉโ€๐Ÿ’ป CodeView, a CodeView library made in Kotlin
  • ๐Ÿ“† Countdown, an iOS countdown widget

contributions()

I have also worked on many projects for BanDev including

  • ๐Ÿ“ฑ Buddha Quotes, an Android app made in Kotlin
  • ๐Ÿ’ป bandev.uk, developer organisation website
  • ๐Ÿค– Notify, a Discord bot made in Kotlin

socialLinks()

identityKeys()

lux's People

Contributors

dependabot[bot] avatar jackdevey avatar renovate[bot] avatar russellbanks avatar vedantmgoyal9 avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

lux's Issues

Local device control

Is your feature request related to a problem? Please describe.
A clear and concise description of what the problem is. Ex. I'm always frustrated when [...]

Describe the solution you'd like
A clear and concise description of what you want to happen.

Describe alternatives you've considered
A clear and concise description of any alternative solutions or features you've considered.

Additional context
Add any other context or screenshots about the feature request here.

add groups

adding groups so the devices can be customized at the same time would be even more practical good work so far ๐Ÿ‘

lux color command entered as show in example gives error "Not enough arguments required"

For a device that returns the following information with the lux devices complex:

DEVICE 0
  MAC Address:    E1:18:D4:AD:FC:32:23:92
  Model:          H6008
  Name:           East bulb
  Controllable:   [โœ“ Yes]
  Retrievable:    [โœ“ Yes]
  Commands:       turn, brightness, color, colorTem

This error is given following the shown command:

lux color 0 #ff0000
Not enough arguments required. E.g. lux color 0 #0067f4

The command used is taken right from the examples shown after lux help.

I can't determine any error on my part, and other commands such as lux turn 0 on/off and lux brightness 0/00 works as expected.

lux help
Welcome to Lux!
Lux v1.1.0

Is there something I'm missing?

H6163 ignores all commands despite success response

Describe the bug
A clear and concise description of what the bug is.

To Reproduce
Steps to reproduce the behavior:

  1. Send any command aside from query to an H6163 light strip
  2. It will display "success" but not actually change

Expected behavior
The requested change is carried out.

Desktop (please complete the following information):

  • OS: Windows 10

Additional context
Example of command being carried out attached.
I don't know what logs or other information is required to fix this, but I'm happy to provide whatever info I can. Thanks!

C:\Users\Leet>lux query 0
QUERY 0
  Device:         [removed MAC address]
  Model:          H6163
  Online:         [โœ— No]
  Power:          [โœ“ Yes]
  Brightness:     10%
  Colour:         #000000

C:\Users\Leet>lux turn 0 off
TURN 0 OFF
  power           [โœ— No]
  transaction     Success

C:\Users\Leet>lux query 0
QUERY 0
  Device:         [removed MAC address]
  Model:          H6163
  Online:         [โœ— No]
  Power:          [โœ“ Yes]
  Brightness:     10%
  Colour:         #000000

v1.0.0 Release checklist

  • All intended read functions working
  • All intended write functions working
  • Help & home pages working
  • All outputs follow design guidelines
  • All error messages working as intended
  • User can add their Govee API Key [#7]

`lux devices`, `lux devices complex`, and `lux devices simple` commands have same output

I noticed when trying to get some additional information about each of my devices that the lux devices... commands all output the same information. See below for the output of all three commands on my installation.

PS C:\Users\Beau> lux devices
DEVICE 0
  Name:           East bulb
  Model:          H6008
  Controllable:   [โœ“ Yes]
DEVICE 1
  Name:           Bedroom B
  Model:          H6008
  Controllable:   [โœ“ Yes]
DEVICE 2
  Name:           Bedroom A
  Model:          H6008
  Controllable:   [โœ“ Yes]
DEVICE 3
  Name:           North bulb
  Model:          H6008
  Controllable:   [โœ“ Yes]
DEVICE 4
  Name:           South-east bulb
  Model:          H6008
  Controllable:   [โœ“ Yes]
DEVICE 5
  Name:           South-west bulb
  Model:          H6008
  Controllable:   [โœ“ Yes]
PS C:\Users\Beau> # lux devices complex output

PS C:\Users\Beau> lux devices complex
DEVICE 0
  Name:           East bulb
  Model:          H6008
  Controllable:   [โœ“ Yes]
DEVICE 1
  Name:           Bedroom B
  Model:          H6008
  Controllable:   [โœ“ Yes]
DEVICE 2
  Name:           Bedroom A
  Model:          H6008
  Controllable:   [โœ“ Yes]
DEVICE 3
  Name:           North bulb
  Model:          H6008
  Controllable:   [โœ“ Yes]
DEVICE 4
  Name:           South-east bulb
  Model:          H6008
  Controllable:   [โœ“ Yes]
DEVICE 5
  Name:           South-west bulb
  Model:          H6008
  Controllable:   [โœ“ Yes]
PS C:\Users\Beau> # lux devices simple output

PS C:\Users\Beau> lux devices simple
DEVICE 0
  Name:           East bulb
  Model:          H6008
  Controllable:   [โœ“ Yes]
DEVICE 1
  Name:           Bedroom B
  Model:          H6008
  Controllable:   [โœ“ Yes]
DEVICE 2
  Name:           Bedroom A
  Model:          H6008
  Controllable:   [โœ“ Yes]
DEVICE 3
  Name:           North bulb
  Model:          H6008
  Controllable:   [โœ“ Yes]
DEVICE 4
  Name:           South-east bulb
  Model:          H6008
  Controllable:   [โœ“ Yes]
DEVICE 5
  Name:           South-west bulb
  Model:          H6008
  Controllable:   [โœ“ Yes]

I don't believe this is the intended output for these commands, except for perhaps the "simple" version. If this is a work-in-progress feature that hasn't been fully implemented and I missed where that was noted, please accept my apologies.

Lux instance info:

  logged in       [โœ“ Yes]
  description     Lux is a cli for controlling and monitoring Govee lighting strips
  build           v1.1.1 (x64)
  license         GPL-3.0
  repository      https://github.com/bandev/lux
  up to date      [โœ“ Yes]

No default help page

Default help that contains a list of commands should be provided for requests with no args or requests with help args.

Dependency Dashboard

This issue provides visibility into Renovate updates and their statuses. Learn more

This repository currently has no open or pending branches.


  • Check this box to trigger a request for Renovate to run again on this repository

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.