Make Homey app from source?

Hello,

I have a question if someone is able to make app for homey from this source?GitHub - MasterDevX/lampify: A simple CLI application to control the BLE lamp

Best regards

This is a horrible project in terms of legacy C code that hardly any modern programmer can understand. Also it imports a bunch of libraries that are not likely to work out of the box when trying to get similar dependencies for Homey.

You are better of finding the original documentation for the BLE lamp and building an app from scratch.

Thx for answer. I am able control my lamp from Homey by RPi and Http logic but app for homey would be a lot better.

Legacy C code? This code was modified last year.

The libraries required are pretty well known, that’s not the issue. It does not follow any good coding practices though, using magic numbers everywhere making it very hard to understand what’s going on. My guess is nobody will be willing to take the code, reverse-engineer what is going on in the business code and port it to homey. It’s just not gonna’ happen.

They are, however, BLE based. It would be fairly straightforward to reverse engineer the packets given controller (smartphone with app prolly is enough) and lamps are available. You just need someone to do it, take the outcome and write a homey app for it. I very much doubt you’ll find a volunteer to create the app and maintain it though (I’m not available unless it’s paid work - not a viable option unless you create and/or sell the damn things).

Thank You for answer.

I am trying to sniff bluetooth packets from android app with some success :slight_smile:

Best regards