Lightex is a device that can automatically control lights by detecting the proximity of your chosen slave device, using BT's iBeacon technology.
iBeacon is a small, cheap and long-lasting device that sends signals periodically to the master device(Lightex), also in theory, any device can be used as an iBeacon device as long as it supports Bluetooth 4.0+. (such as your smartphone most conveniently)
The project is primarily intended to be used with RV light systems, but can potentially be used to control any 10Amp AC/DC device, not just RV lights.
When the photoresistor extension is connected to the Lightex, it can detect day or night, and only turns ON by NIGHT.
If the photoresistor extension is not connected, it detects that as NIGHT, and in that case, it's always ON.
If Lightex is in NIGHT mode, as long as the user(iBeacon) is in range, the lights are turned ON, when the user gets out of range, the device waits for adjustable delay(default 1min), then the lights turn OFF, and Lightex goes into STANDBY mode.
In STANDBY mode, the device checks if the user is in range.
When the user again gets in range, the lights turn ON instantly without delay.
C/C++.
Greetings! 👋🏻
I am Daniel Petrovich, a seasoned entrepreneur,
dedicated to expand digital boundaries for both companies and
individuals.