SoftUni Conf June 2015, Borovetz


10982639_10153458074954650_9154353440698869964_o

The already traditional SoftUni Conf this year was in Borovetz last weekend.

Olimex was invited to speak for ESP8266 and we presented there our latest development the IoT Firmware.

We demonstrated how easy is to work with ESP8266-EVB and other modules like relays, temperature sensors, GAS sensors, RGB displays, RGB Leds, etc controlling everything by HTML and JavaScript without any electronics background nor low level programming.

a

here is code snip which will switch the ESP8266-EVB relay ON, just make web page containing this code:

// Connect to ESP8266-EVB events entry point 
var socket = new WebSocket('ws://192.168.4.1/events');

// Send authentication message
socket.onopen = function () {
    this.send(
        JSON.stringify(
            {
                User: 'olimex',
                Password: 'olimex'
            }
        )
    );

// Switch relay on ESP8266-EVB
    setTimeout(
        function () {
            socket.send(
                JSON.stringify(
                    {
                        URL: '/relay',
                        Method: 'POST',
                        Data: { Relay:1 }
                    }
                )
            );
        },
        500
    );
}



We will speak more about ESP8266-EVB IoT Firmware on TuxCon  which is 11th of July in Plovdiv and there will be Hackathon on 12th of July for people who want to hack with it.


							

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

%d bloggers like this: