Skip to content

missing light #74

@jimlynnjulian

Description

@jimlynnjulian

Just` downloaded and opened OpenHUE CLI.
openhue get lights' listed six of seven lights.

C:\Programs Dump\Openhue_Windows_x86_64>openhue get lights

C:\Programs Dump\Openhue_Windows_x86_64>openhue get lights
ID Name Type Status Brightness Room (From 'Groups')


043a91ff-d96d-49c8-b6a8-398af83070fd workbench L4 sultan_bulb [ ] 100% LR HDD lamp
2c4d7572-7264-4da4-a76f-f197e7f9d5c7 kitchen L6 sultan_bulb [ ] 100% Kitchen
d77d2e80-af59-4eaa-8057-5efdb9587f5c bedroom L5 sultan_bulb [ ] 100% Bedroom
d1491ac7-d780-4abe-aeb5-6c7a427dd7a9 front porch L1 sultan_bulb [on] 70.08% Front porch
0f03ba3b-5ea7-4e47-96db-9b48f111706f front porch L2 sultan_bulb [on] 70.08% Front porch
a73a6bb6-066b-4605-b6b0-0d8203da7a61 end table L3 sultan_bulb [ ] 36.22% LR Table lamp

From Clip.html:
11 "name": "workbench L4"
13 "name": "kitchen L6"
12 "name": "bedroom L5"
8 "name": "front porch L1"
9 "name": "front porch L2"
10 "name": "end table L3"

Missing light/group:
light #14 "name": "back porch L7", not shown,
goup #3, light #14, "name": "BkPorch",

Groups #3 & #1 are porch lights, on a daily schedule to turn on at 8PM and off at 6AM.
Group #1 is both front porch lights, #8,#9.

Don't know if this is related, but:

C:\Programs Dump\Openhue_Windows_x86_64>openhue get scene
panic: runtime error: invalid memory address or nil pointer dereference
[signal 0xc0000005 code=0x0 addr=0x0 pc=0x11ef748]

goroutine 1 [running]:
openhue-cli/cmd/get.PrintScene({{{0xc00001b5f0, 0x24}, {0xc00030b740, 0x7}, {0x133c6b7, 0x5}, 0xc00011ef80, 0xc0000651c0}, {0x0, 0x0}, ...})
/home/runner/work/openhue-cli/openhue-cli/cmd/get/get_scene.go:75 +0x88
openhue-cli/util.PrintTable[...]({{0x0?, 0x0}, {0x13edfe0, 0xc000056058}, {0x13ee000, 0xc000056060}, {0x13ee000, 0xc000056068}}, {0xc00032a608, 0xa, ...}, ...)
/home/runner/work/openhue-cli/openhue-cli/util/utils.go:42 +0x255
openhue-cli/cmd/get.(*SceneOptions).RunGetSceneCmd(0xc000008258, 0xc000066240, {0x172e080?, 0x0?, 0x0?})
/home/runner/work/openhue-cli/openhue-cli/cmd/get/get_scene.go:64 +0x297
openhue-cli/cmd/get.NewCmdGetScene.func1(0xc000176908?, {0x172e080?, 0x0?, 0x0?})
/home/runner/work/openhue-cli/openhue-cli/cmd/get/get_scene.go:46 +0x2c
github.com/spf13/cobra.(*Command).execute(0xc000176908, {0x172e080, 0x0, 0x0})
/home/runner/go/pkg/mod/github.com/spf13/cobra@v1.9.1/command.go:1019 +0xa7b
github.com/spf13/cobra.(*Command).ExecuteC(0xc000170008)
/home/runner/go/pkg/mod/github.com/spf13/cobra@v1.9.1/command.go:1148 +0x40c
github.com/spf13/cobra.(*Command).Execute(...)
/home/runner/go/pkg/mod/github.com/spf13/cobra@v1.9.1/command.go:1071
openhue-cli/cmd.Execute(0xc000164510)
/home/runner/work/openhue-cli/openhue-cli/cmd/root.go:89 +0x8a7
main.main()
/home/runner/work/openhue-cli/openhue-cli/main.go:17 +0xca

end of message.

Sub-issues

Metadata

Metadata

Assignees

No one assigned

    Labels

    questionFurther information is requested

    Type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions