Comments (14)
I just added support for those in my NeewerLite-Python script - they send the commands just slightly different than the RGB ones, brightness is sent to 78 82 and color temp to 78 83 - not really sure why they opted to do that, but that's how those ones work :)
from neewerlite.
Hmm, very interesting - I wasn't aware there were so many different styles of Neewer lights 😅
One thing we do know though from testing, of the lights we've both tried, the SL-80 (lightType 6), RGB480 (lightType 3) and RGB660 PRO (also lightType 3), which are all RGB style lights, all use the 87/88/89 control scheme, and (at least) the SNL-660 (lightType 7) uses the 82/83 control scheme. It would be nice to see if there was some kind of lookup table somewhere (or maybe some sort of multiplier for the bytestring?) that corresponded to those lightType(s) listed in that code section. Maybe those are just to tell the app what capabilities each one has? One other thing I found interesting, if you try the 82/83 bytestring on an 87/88/89 style light, it won't take the command - at least not with the SL-80 and RGB660 PRO, so they're definitely different use cases.
There is a command type SQLite database.
However, I couldn't find the db in app package. I suspect, the app downloads a db file from their website API.
if (ul.getCommandType(bleDevice.getLightType()) == 2)
{
....
}
public static int getCommandType(int paramInt) {
tl tl = getConfig(paramInt);
return (tl == null) ? 0 : tl.getCommandType();
}
public static tl getConfig(int paramInt) {
return (tl)SQLite.select(new com.raizlabs.android.dbflow.sql.language.property.IProperty[0]).from(tl.class).where(new SQLOperator[] { (SQLOperator)vl.k.eq(Integer.valueOf(paramInt)) }).querySingle();
}
from neewerlite.
Hi Mark
yes, it should be possible. I don't have bicolor version. yet.
I have put an order in Amazon. Once I get it I can try to code it in.
Regards,
L
from neewerlite.
Is this the version you have?
https://www.amazon.ca/Dimmable-Photography-Intelligent-Professional-3200K-5600K/dp/B07ZRLYP16?ref_=ast_sto_dp
from neewerlite.
from neewerlite.
Hi @taburineagle do you know if all bi-color lights follow the same pattern or just this Neewer 660 version?
I saw a Neewer 480 LED Bi-color light.
from neewerlite.
I'm not 100% sure on that, but I believe so - I've only been able to test those commands out with a SNL-660 so far. I'm curious if the bi-color "ring light" style lights also use those commands.
from neewerlite.
Hi @MarkFonts
I published a new build v0.5:
https://github.com/keefo/NeewerLite/releases/tag/0.5
Please let me know if you encounter any issue with 660 Bi-color light.
from neewerlite.
If it works, I will add SNL660 to the "Tested Lights" section.
from neewerlite.
I'm not 100% sure on that, but I believe so - I've only been able to test those commands out with a SNL-660 so far. I'm curious if the bi-color "ring light" style lights also use those commands.
I found a light type parsing logic in their Android app. Feel free to check out the code here:
https://github.com/keefo/NeewerLite/blob/main/NeewerLite/NeewerLite/Model/NeewerLight.swift#L201
However, I can't tell what this type means exactly.
from neewerlite.
Hmm, very interesting - I wasn't aware there were so many different styles of Neewer lights 😅
One thing we do know though from testing, of the lights we've both tried, the SL-80 (lightType 6), RGB480 (lightType 3) and RGB660 PRO (also lightType 3), which are all RGB style lights, all use the 87/88/89 control scheme, and (at least) the SNL-660 (lightType 7) uses the 82/83 control scheme. It would be nice to see if there was some kind of lookup table somewhere (or maybe some sort of multiplier for the bytestring?) that corresponded to those lightType(s) listed in that code section. Maybe those are just to tell the app what capabilities each one has? One other thing I found interesting, if you try the 82/83 bytestring on an 87/88/89 style light, it won't take the command - at least not with the SL-80 and RGB660 PRO, so they're definitely different use cases.
from neewerlite.
Interesting, interesting - I did look at the iOS package after backing up last night, there were a few .sqlite files in it, but I think those are more just used as preference files, not application data (of course, I could be wrong...)
from neewerlite.
If it works, I will add SNL660 to the "Tested Lights" section.
Hi, I tested it with SNL660 and unfortunately the search does not give any feedback. Is the version of the lamp to be supported in the future?
from neewerlite.
@elbsoft please help test the searching logic. If you find out why it is not showing up, let me know, I can fix the logic. thank you.
from neewerlite.
Related Issues (20)
- RGB 530 Pro HOT 2
- NEEWER RGB CB60 HOT 3
- Support for Loupedeck? Code for Scene Switching? HOT 2
- Scenes on NEEWER RGB168 HOT 3
- Create and save own scenes HOT 2
- using with SNL530 HOT 2
- Please Add Neewer CB 60 RGB HOT 3
- macoS Monterey v 12.6.7- Not compatible HOT 2
- Trying to figure out why the NeewerLite app on this site refuses to find the bluetooth connection for the lights? HOT 2
- Please add "NW-20200015&6C9E0100" HOT 5
- 1.0 doesn't show controls HOT 3
- App crash after finding new light HOT 3
- SL90 and Infinity lights BLE Command Structure HOT 2
- Scene commands not working HOT 1
- Connection stability HOT 2
- Linux Support HOT 1
- CCT command Issue with CB60 RGB HOT 1
- Support for MS60 series lights HOT 4
- Matter support
- setLightHSI isn't working for me HOT 7
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from neewerlite.