Log In Register

Mars Hydro API reverse engineered

  • Thread starter Thread starter SmokeyCoder
  • Start date Start date
  • Tagged users Tagged users None

Mars Hydro API reverse engineered

SmokeyCoder 0 Replies 26 Views
Page 1 of 1 · Replies 1–1 of 1
1
SmokeyCoder

SmokeyCoder

Posts
49
Reactions
165
Joined
Nov 30, 2025
Points
33
Hi Firstly I hope this is the right place for such a thread automation kinda equates with grow room design/set up

Secondly if this is against form rules just say so and I won't post on this topic any further.

Mars Hydro supply affordable tent equipment, the stuff is okay I guess for entry level but it is lacking in a number of areas, the standout one to me is the app and integrations like home assistants are non existent and they refuse to publish their API...

The the crux of this post is to let others know I have reverse engineered their app to reveal their entire API, endpoints, schemas etc. and share my findings and this is where perhaps the forum moderators might object to me going any further.

What I have uncovered:
  • Authorization
  • REST endpoints
  • MQTT endpoint - this is how the controller communicates with their back end think of it as poor mans web sockets
  • Object shapes for all the devices they support that I own (only thing I am missing is their smart power strips - but now I and anyone could build their own)
What have I done with this information
  • python CLI to interface with the backend to change controller settings and retrieve historical data among other things
  • MCP To give my AI agent the ability to take tent readings and make changes (don't worry I have guard rails in place)
  • iOS app to replace the clunky Mars hydro app
    • fixing a lot of the little quirks, bugs and behaviors I didn't like
    • create a dash board view
    • Build my own features such as VPD targeting
What I plan to do:
  • Alexa skill
  • raspberry pi
    • allow push notifications, send reports via email etc
    • more automation control such as integrating with IFTTT and TUA devices such as smart power boards
Possibilities are endless really, and the work I have done I think is important to share with the community.

But let's be clear Mars/LG LED Solutions stipulate in their terms and conditions they prohibit reverse engineering of their app and don't publish their api. Using the information could potentially get your account black listed (although it would be impossible for them to distinguish their app vs any other entity making requests - I used a junk account while probing their api to keep my logs clean).

Keep in mind this isn't a turn key solution for anyone unless you are a developer or someone with some coding experience the information will be lost on you.

If there is interest from the community and no objection from the site moderators I will post the API documentation I have written




10000000421000000039IMG 3582

IMG 3580IMG 3581
 
Page 1 of 1 · Replies 1–1 of 1
1
Back
Top Bottom