• Stars
    star
    108
  • Rank 321,259 (Top 7 %)
  • Language
    Swift
  • License
    MIT License
  • Created almost 4 years ago
  • Updated 7 months ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

NeewerLite is an un-official Neewer LED light control app for macOS.

Logo

NeewerLite

About The Project

CI

NeewerLite is a unofficial macOS app designed for controlling Neewer LED lights.

While Neewer provides official Android and iOS app for controlling their high-CRI LED lights via Bluetooth, they do not offer a means of control from a PC or Mac.

This project aims to fill that gap by creating a macOS app that allows you to control your Bluetooth-enabled Neewer LED lights from your Mac. With NeewerLite, you can even integrate light control into your Elgato Stream Deck or shortcuts for better experince.

Here is a video I made to demo the scene:

Features

  • Power On/Off control
  • Brightness control
  • Correlated color temperature control
  • RGB color control
  • Scene control
  • Script support
  • Sync RGB lights with music

Script Usage

Open the app and let it scans all Neewer lights through Bluetooth. Once it finds lights. Then you could use command to switch On/Off lights.

Turn on all lights:

open "neewerlite://turnOnLight"

Turn off all lights:

open "neewerlite://turnOffLight"

Toggle all lights:

open "neewerlite://toggleLight"

Scan all lights:

open "neewerlite://scanLight"

Set lights CCT:

open "neewerlite://setLightCCT?CCT=3200&Brightness=100"

Set lights CCT+GM:

open "neewerlite://setLightCCT?CCT=3200&GM=-50&Brightness=100"

Most of light model support CCT range 3200K to 5600K, Some lights support long CCT range 3200K to 8500K. And some newer model of light support GM.

Set lights Hue and Saturation and Brightness:

open "neewerlite://setLightHSI?RGB=ff00ff&Saturation=100&Brightness=100"
open "neewerlite://setLightHSI?HUE=360&Saturation=100&Brightness=100"

Set lights to scene:

open "neewerlite://setLightScene?Scene=SquadCar"
open "neewerlite://setLightScene?SceneId=1&Brightness=100"

Scene Names: SquadCar, Ambulance, FireEngine, Fireworks, Party, CandleLight, Lighting, Paparazzi, Screen

Not all model follow these scene names. If your light support more scenes, you can use SceneId to switch.

SceneId Range from 1 ~ 17 depends on light type.

Turn on light by name:

open "neewerlite://turnOnLight?light=left"

The 'left' is the name I give one of my light. You could change your light's name in the app and use it in this command.

Another way to test these commands is to copy a command(the string in the double quote) into your browser address bar, and press enter.

For example,

How to use script to integrate with Elgato Stream Deck?

Read this Integrate with Elgato Stream Deck

How to use script to integrate with macOS Shortcuts?

Read this Integrate with Shortcuts

Voice Control Interaction

You could integrate these commands into Voice Control.

Open “System Preferences” -> “Accessibility” -> “Voice Control” -> “Commands”, Click the “+” button to create a new command, give a name to your new command such as “Meow” and choose “Any Application” then choose perform “Open URL”. Type in “neewerlite://toggleLight” for example.

Now, when you say “Meow” voice control will switch on/off your LED lights.

Tested Lights

TO DO LIST

If you find a way to implement these features, feel free to create a pull request.

  • Test more Neewer LED lights
  • Add support for other Neewer LED lights
  • Advanced scene management

How to add support for a new light?

If you are unable to find your Neewer light using NeewerLite, you can easily add support for it by following these steps:

  1. Use a Bluetooth app to find the name of your light.
  2. Add the name to the isValidPeripheralName function in the Model/NeewerLight.swift file.
  3. Recompile the app and test your light to ensure that it is working properly.
  4. If the light is working as expected, create a pull request on the project's GitHub repository to submit your changes.

By following these steps, you can quickly add support for your Neewer light and start controlling it using NeewerLite.

License

Follow NeewerLite, the code and examples of this project is released under MIT License.

Donations

If you would like to support me, donations are very welcome.

You can go fund this project through my sponsors page.

or

You can send bitcoin to this address:

1A4mwftoNpuNCLbS8dHpk9XHrcyvtExrYF

More Repositories

1

CATweaker

A helper tool and an Xcode plugin for creating beautiful CAMediaTimingFunction curve
Objective-C
691
star
2

LXFoundation

Some of Cocoa Fundation Class
Objective-C
24
star
3

URLTextView

NSTextView detect URL link
Objective-C
21
star
4

BlurView

OSX real time BlurView
Objective-C
19
star
5

BCPainter

Cocoa开发简单绘画板实例
Objective-C
17
star
6

iMoo

使用OutlineView建立iTunes左侧列表风格的实例
Objective-C
15
star
7

ColorParserService

ColorParserService is a Mac OS service which show selected color string as Color in system color panel.
Objective-C
12
star
8

CAAnimationForPath

展示CALayer配合CoreAnimation沿任意路线运动。该例中,红色小球沿螺旋路线运动。
Objective-C
11
star
9

LXScrubbingBar

可拖动的播放进度条,带荧光效果。
Objective-C
11
star
10

XPCImageFetcher

Objective-C
9
star
11

LXVolumeController

Under OSX programmatically control the master volume as well as register the volume change notification.
Objective-C
8
star
12

TableView-Example-1

一个不使用IB创建NSTableView的例子。
Objective-C
8
star
13

TableViewHeaderMenu

NSTableView表头菜单的例子。
Objective-C
7
star
14

WebViewScroller

该实例教你如何改变WebView滚动条外观
Objective-C
6
star
15

CURLgui

一个GUI下载器,wrap around curl命令行程序。
Objective-C
6
star
16

WindowTitleMenu

为窗口标题栏添加popup按钮的例子。
Objective-C
6
star
17

GrowlStyleWindow

实现带有自会阴影的消息窗口
Objective-C
6
star
18

SwitchButton

create a realistic black switch button
Objective-C
5
star
19

daemon

展示macos下如何使用fork,创建一个守护进程。
Objective-C
5
star
20

UniversalDetector

UniversalDetector for macOS
HTML
5
star
21

gifdemo

Shell
4
star
22

createMultipleWindow

Cocoa里建立多窗口程序。使用几种不同的方法建立,包括从xib里建立和直接用代码建立新窗口。
Objective-C
4
star
23

LoadTTFFont

展示在Cocoa环境下,通过代码加载bundle内自带字体的例子。
Objective-C
4
star
24

ATSUI-Vertical

使用ATSUI绘制垂直文字的例子。
Objective-C
3
star
25

VerticalButtonWindow

实现垂直排列NSWindow标准按钮的例子。
Objective-C
3
star
26

QLDemo

QuickLook Demo
Objective-C
2
star
27

noiseBackground

使用CoreGraphic绘制带噪点的背景图片。
2
star
28

CoolBox

一个代码绘制的box。
Objective-C
2
star
29

NOJ

NUC Online Judge System - http://nucoj.com
PHP
2
star
30

FullScreenApp

创建一个Mac OS下的全屏幕程序。
Objective-C
2
star
31

AlphaChannelChecking

NSImage Alpha Channel Checking
Objective-C
2
star
32

buttonMadness

NSTableView里面一列互斥的checkbox按钮。
Objective-C
2
star
33

SyncScrollView

2个ScrollView同步滚动的例子。
Objective-C
2
star
34

PHPMarkdown

The famous michelf php-markdown's derivation
PHP
1
star
35

CAGridView

a general iPhoto-liked grid view controller build on top of CoreAnimation
Objective-C
1
star
36

QRCodeDemo

QRCodeDemo
C++
1
star
37

www.jjxsw.com-crawler

久久小说爬虫 www.jjxsw.com
Python
1
star
38

WebCrawler

Objective-C
1
star
39

ZeroIB

不使用IB创建Cocoa程序实例ZeroIB,顾名思义包括主菜单全部由代码生成。
Objective-C
1
star
40

LXiCloudUserDefaultSync

Sync NSUserDefaults to iCloud automatically
Objective-C
1
star
41

DailySwift

This is my Swift learning project.
Swift
1
star