Control the LED lamp from the PC (Bluetooth)?

Tr
3

I have an LED lamp that can be controlled with a specific app via Bluetooth. Now I want to control this lamp (without additional costs) from my PC (my laptop has integrated Bluetooth). However, there's no program for this. How do I do that? Bluestacks and other emulators and virtual boxes unfortunately do not offer support for integrated Bluetooth. I would rather have the whole thing as a program on the desktop than in a VirtualBox. That means I have to code that from scratch. How can I create a program on the PC that controls the LED lamp via Bluetooth? Is someone familiar with that?

st

The first thing that came to mind was python.

Python offers some libraries that support Bluetooth.

Whether this will be successful depends on the LED lamp.

However, you need some form of interface or something similar. Have a look at the manufacturer if they offer an API

Tr

I have managed to decompile the Java code of the original app, can you develop an API yourself if necessary and is that difficult? The manufacturer does not offer any.

st

Very cool! Then in principle you already have everything you need, provided you somehow managed to decompile everything 1: 1.

Take a look at how the APP forms the Bluetooth package and build it with Python / Java / whatever.

If it is a simple package with constant content, you can do it in Python with a 4 line