Configure As Access Point Ap Listen For Certain Mac Addresses Esp8266
* are cheap smart bulbs that are controllable with an undocumented 2.4 GHz protocol. In order to control them, you either need a * (~$13), which allows you to control them directly, or a * (~$30), which allows you to control them with a mobile app or a. A few days ago, I posted my Arduino code to emulate a Milight WiFi gateway on an ESP8266 (). This allows you to use an * and an * to emulate a WiFi gateway, which provides the following benefits: • Virtually unlimited groups.
The OTS gateways are limited to four groups. • Exposes a nice REST API as opposed to the clunky UDP protocol.
• Secure the gateway with a username/password (note that the 2.4 GHz protocol used by the bulbs is inherently insecure, so this only does so much good). I wanted to follow up with a blog post that details how to use this. I’m going to cover: • How to setup the hardware. • How to install and configure the firmware. • How to use the web UI and REST API to pair/unpair and control bulbs.
Shopping List This should run you approximately ~$10, depending on where you shop, and how long you’re willing to wait for shipping. Items from Chinese sellers on ebay usually come at significant discounts, but it often takes 3-4 weeks to receive items you order. • An ESP8266 module that supports SPI. I highly recommend a *.
IPhone, Android, Mac IOS and Windows all provide support for configuring an Access Point, although some are easier to configure than others. Turn the Wi-Fi device off and then turn it on while holding down the set up button. Find the IP address of the device on the temporary network.
• An NRF24L01+ module. You can get a * on Amazon for $11. You can also get one that supports an external antenna if range is a concern (*). • (at least 7). You’ll need these to connect the ESP8266 and the NRF24L01+.
• Micro USB cable. If you get a bare ESP8266 module, you’ll need to figure out how to power it (you’ll likely need a voltage regulator), and you’ll probably have to be mildly handy with soldering. Setting up the Hardware The only thing to do here is to connect the ESP8266 to the NRF24L01+ using the jumper cables. I found pretty handy, but I’ve included some primitive instructions and photos below. NRF24L01+ Pinout NodeMCU Pin NRF24L01+ Pin 3V ( NOT Vin) VCC G GND D2 CE D5 (HSCLK) SCK D6 (HMISO) MISO D7 (HMOSI) MOSI D8 (HCS) CSN Update – Jan 4, 2019: The default CE pin from D0/GPIO16 to D2/GPIO4 as of version 1.8.6. Installing drivers There are a couple of different versions of NodeMCUs (I’m not convinced they’re all actually from the same manufacturer).
Depending on which one you got, you’ll need to install the corresponding USB driver in order to flash its firmware. The two versions I’m aware of are the v2 and the v3. The v2 is smaller and has a CP2102 USB to UART module. You can identify it as the small square chip near the micro USB port. NodeMCU v3 with CH34* circled The CH34* drivers seem more community-supported. This goes over different options. I’ve been able to use both the v2 and v3 with OS X Yosemite.
Installing Firmware If you’re comfortable with, you can check out the from Github. You should be able to build and upload the project from the PlatformIO editor. Update – Mar 26, 2017: I highly recommend using PlatformIO to install the firmware. The below instructions are finicky and unless you get the arguments exactly right, the filesystem on your ESP will not work correctly. Using PlatformIO is a more robust way to get a fresh ESP set up. Further instructions are. Update – Feb 26, 2017: if you’ve used your ESP for other things before, it’s probably a good idea to clear the flash with esptool.
Py -- port / dev / ttyUSB0 erase_flash. Thanks to Richard for in the comments.
Hard drive for macbook. If not, you can download a pre-compiled firmware binary. If you’re on Windows, the tool is probably the easiest way to get it installed. On OS X (maybe Linux?), following the, you should: • Connect the NodeMCU to your computer using a micro USB cable. • Install esptool. /path/to/firmware/download/esp8266_milight_hub_d1_mini-1.5.0.bin Note that / dev / cu.
SLAB_USBtoUART should be substituted for / dev / cu. Wchusbserial1410 if you’re using a v3 NodeMCU. Be sure to specify the real path to the firmware file. • Restart the device. To be safe, just unplug it from USB and plug it back in. Setup firmware Note that you’ll have to do all of these things before you can use the UI, even if you used the pre-compiled firmware: • Connect the device to your WiFi.
• Split by Duration: Split marked range by time (start time and end time) in seconds • Split by Parts: Split marked range into multi parts • Split by Size: Split marked range by file size in MB • Video Cutter: Removing unwanted parts of the video • Video Joiner: Join/merge multiple video files (the same or different formats) into a large one • Video Splitter: Split video files into several segments. 1 Video Splitter / Cutter / Joiner's Important and necessary features: • Customizable Output Video Profile: You can customize video by adjusting bitrate, aspect ratio, codec, output format, frame size and more • Share Video Online: You can upload splitted video to Youtube, Facebook, etc. Free video cutter joiner for mac 4.0.