Sometimes we may need to get the number of days in a month for a given year. Programming languages provides various methods to do that. A table includes a links...
Most countries use the 24 hour clock, but there are countries that use the 12 hour clock. Programming languages provides various methods to convert 12 hour time to 24 hour...
The ESP8266 is a chip that has a full TCP/IP protocol stack. The ESP8266 can act as a MQTT client and subscribe messages from the MQTT broker for specified topic...
The ESP8266 is a chip that has a full TCP/IP protocol stack. The ESP8266 can act as a MQTT client and publish messages to the MQTT broker on specified topic...
By default, Mosquitto broker allows anonymous connections. Mosquitto broker can be configured to require username and password when client connects to the broker. This tutorial shows how to setup username...
Mosquitto is a message broker that implements the MQTT protocol. Mosquitto is an open-source project developed by Eclipse. MQTT protocol uses a publish/subscribe model. Client can publish message to a...
Most of time while working with ESP8266, we want to see the processed data, readings from sensors or other information. One of the ways of doing this is to print...
GET is one of the HTTP methods which is used to retrieve a resource from the server. The ESP8266 is a chip that has a full TCP/IP protocol stack. The...
Huber loss is a loss function that is used to solve regression problems. This function is a combination of the mean squared error (MSE) and mean absolute error (MAE). Huber...