ESP8266 ESP-01 – Part 2 – Useful AT Commands And Their Outputs

Below are some AT commands for ESP8266 and their outputs AT OK AT+GMR This will display firmware version and some other details AT+CIPMUX=1 OK AT+CWMODE=3 OK AT+CWJAP=”WIRELESS-ROUTER”,”password” [WIFI DISCONNECTED] (if it is already connected) WIFI CONNECTED WIFI GOT IP OK AT+CIPSTART=4,”TCP”,”x.x.x.x”,80 4,CONNECT OK AT+CIPSEND=4,205 OK > [at this point HTTP request will be made, read… Continue reading ESP8266 ESP-01 – Part 2 – Useful AT Commands And Their Outputs

ESP8266 ESP-01 – Part 1 – Flashing and AT commands

This article is about the one that looks like this (aka ESP-01).   Flasher version is 2.3 Firmware version is 1.5 Firmware update might be necessary just after purchase. Without firmware update mine was not able to connect to Wi-fi routers (though they were able to find them) The current firmware available for this is… Continue reading ESP8266 ESP-01 – Part 1 – Flashing and AT commands

Woocommerce Change “Read More” Button

This code is useful for removing the “Read More” button (in woocommerce) for items that are out of stock. /* * replace read more buttons for out of stock items **/ if (!function_exists(‘woocommerce_template_loop_add_to_cart’)) { function woocommerce_template_loop_add_to_cart() { global $product; if (!$product->is_in_stock()) { echo ‘<a href=”‘.get_permalink().'” rel=”nofollow” class=”outstock_button”>Sold Out</a>’; } else { woocommerce_get_template(‘loop/add-to-cart.php’); } } }