NP K7 V3 Pro app ports/protocol

Users Who Are Viewing This Thread (Total: 1, Members: 0, Guests: 1)

gmax111

Active Member
View Badges
Joined
Sep 6, 2022
Messages
114
Reaction score
113
Location
USA
Rating - 0%
0   0   0
What ports and protocol is the K7 v3 pro using to communicate from the app over wifi? I'm trying to write a script on a computer to communicate with the lights. I don't see communication over http(s) (Port 80/443).
 

joshvette001

New Member
View Badges
Joined
Nov 10, 2022
Messages
2
Reaction score
2
Location
USA
Rating - 0%
0   0   0
The lights communicate over port 8266 using a direct socket connection. I have asked the Noop Team multiple times to share information with me and they just don't even respond. I took it upon myself to reverse engineer the app and lights though. I'll be making a more public post with all the technical information as I'm working to write a few things to control my lights.

1. An app that allows you to generate the QR Codes that you can scan into their app. These are basically just a byte array encoded into a QR code. The format for instance on the SPS_DEFAULT profile is as such -

byte [] [] sps = {new byte[]{0, 0, 0, 0, 0, 0, 0, 0}, new byte[]{1, 0, 0, 0, 0, 0, 0, 0}, new byte[]{2, 0, 0, 0, 0, 0, 0, 0}, new byte[]{3, 0, 0, 0, 0, 0, 0, 0}, new byte[]{4, 0, 0, 0, 0, 0, 0, 0}, new byte[]{5, 0, 0, 0, 0, 0, 0, 0}, new byte[]{6, 0, 0, 0, 0, 0, 0, 0}, new byte[]{7, 0, 0, 0, 0, 0, 0, 0}, new byte[]{8, 0, 0, 0, 0, 0, 0, 0}, new byte[]{9, 0, 30, 30, 30, 30, 30, 30}, new byte[]{10, 0, 50, 50, 50, 50, 50, 50}, new byte[]{11, 0, 95, 95, 95, 95, 95, 95}, new byte[]{12, 0, 95, 95, 95, 95, 95, 95}, new byte[]{13, 0, 95, 95, 95, 95, 95, 95}, new byte[]{14, 0, 95, 95, 95, 95, 95, 95}, new byte[]{15, 0, 95, 95, 95, 95, 95, 95}, new byte[]{16, 0, 95, 95, 95, 95, 95, 95}, new byte[]{17, 0, 95, 95, 95, 95, 95, 95}, new byte[]{18, 0, 95, 95, 95, 95, 95, 95}, new byte[]{19, 0, 50, 50, 50, 50, 50, 50}, new byte[]{20, 0, 30, 30, 30, 30, 30, 30}, new byte[]{21, 0, 0, 0, 0, 0, 0, 0}, new byte[]{22, 0, 0, 0, 0, 0, 0, 0}, new byte[]{23, 0, 0, 0, 0, 0, 0, 0}};

Each one of these is for 1 hour of the day starting at 0:00 going to 23:59.

They send a message over the connection that has a tag and corresponding command in that tag as an example the command for connect_enable is 1, connect_disable is 2, and so on.

The message also contains an interface type which is 1 for the K7 and 2 for the x4.

Not sure why it is Noop doesn't want to be more open about this, but I have frankly just said screw it and started figuring it out myself being a software developer.


2. Working on a Reef Pi Integration for their lights.

3. Creating an internal web app that will allow you to setup and program the lights without their app as it doesn't work on any Iphone I have used, and I have had luck luster results even on Android devices.
 
OP
OP
gmax111

gmax111

Active Member
View Badges
Joined
Sep 6, 2022
Messages
114
Reaction score
113
Location
USA
Rating - 0%
0   0   0
You are absolutely awesome. I’ve thought of bumping this.

Do you know what port the k7 is transmitting stored data on? Or is it responding on the same port?

I am able to communicate with an iPhone using dhcp reservation on router and pointing to the static IP on the iPhone. The app is terrible at maintaining connection either way.
 

JCATL

Community Member
View Badges
Joined
Oct 13, 2022
Messages
51
Reaction score
28
Location
Atlanta
Rating - 0%
0   0   0
The lights communicate over port 8266 using a direct socket connection. I have asked the Noop Team multiple times to share information with me and they just don't even respond. I took it upon myself to reverse engineer the app and lights though. I'll be making a more public post with all the technical information as I'm working to write a few things to control my lights.
You should start a thread or put up a git or something so we can follow. I'd donate to your efforts and I'm sure others would as well. These lights are a great bargain, but the app leaves a lot to be desired from a control and management standpoint.
 

joshvette001

New Member
View Badges
Joined
Nov 10, 2022
Messages
2
Reaction score
2
Location
USA
Rating - 0%
0   0   0
Guys I clearly suck at checking my reef2reef post stats lol I ended up getting busy with my consulting job and full time job, but I will start documenting this and get something together on Git. When I do I will post up the link. Idk why Noop doesn't want to be helpful in this arena, but I just finally got my mounts for my lights to go over my INT 150 and now need to create the actual controller as my wife can't stand being unable to put the lights into a "darker" mode at night quicker than my schedule allows.

More information to follow sorry for the 2-3 month delay in responding I suck :D
 

JCATL

Community Member
View Badges
Joined
Oct 13, 2022
Messages
51
Reaction score
28
Location
Atlanta
Rating - 0%
0   0   0
Guys I clearly suck at checking my reef2reef post stats lol I ended up getting busy with my consulting job and full time job, but I will start documenting this and get something together on Git. When I do I will post up the link. Idk why Noop doesn't want to be helpful in this arena, but I just finally got my mounts for my lights to go over my INT 150 and now need to create the actual controller as my wife can't stand being unable to put the lights into a "darker" mode at night quicker than my schedule allows.

More information to follow sorry for the 2-3 month delay in responding I suck :D

Life always wins!

If you need any assistance from a data collection/capture standpoint, I'm more than happy to assist.
 

BeanAnimal

2500 Club Member
View Badges
Joined
Jul 16, 2009
Messages
3,381
Reaction score
5,152
Rating - 0%
0   0   0
Guys I clearly suck at checking my reef2reef post stats lol I ended up getting busy with my consulting job and full time job, but I will start documenting this and get something together on Git. When I do I will post up the link. Idk why Noop doesn't want to be helpful in this arena, but I just finally got my mounts for my lights to go over my INT 150 and now need to create the actual controller as my wife can't stand being unable to put the lights into a "darker" mode at night quicker than my schedule allows.

More information to follow sorry for the 2-3 month delay in responding I suck :D
I didn't feel like investing the time in port sniffing so built an external QR code tool.

You are correct, their app is an absolute train wreck at best.

It is what it is [my tool] at this point. I doubt that I will do further work on it. I am likely selling the lights as soon as my Mitras Arrive. - Not bad lights at all, but want the Mitras for control from my P4.
 

Carbonator

New Member
View Badges
Joined
Jan 16, 2023
Messages
15
Reaction score
37
Location
Montreal
Rating - 0%
0   0   0
I didn't feel like investing the time in port sniffing so built an external QR code tool.

You are correct, their app is an absolute train wreck at best.

It is what it is [my tool] at this point. I doubt that I will do further work on it. I am likely selling the lights as soon as my Mitras Arrive. - Not bad lights at all, but want the Mitras for control from my P4.
Do you have the code for this up on github or something? What you've done is already very useful and I'd love to evolve it a bit more.
 

Managing real reef risks: Do you pay attention to the dangers in your tank?

  • I pay a lot of attention to reef risks.

    Votes: 139 43.0%
  • I pay a bit of attention to reef risks.

    Votes: 113 35.0%
  • I pay minimal attention to reef risks.

    Votes: 50 15.5%
  • I pay no attention to reef risks.

    Votes: 16 5.0%
  • Other.

    Votes: 5 1.5%
Back
Top