-->
Page 1 of 1

Home automation (ESP8266)

PostPosted: Tue May 19, 2015 7:08 am
by chandan2002x
Replace LIFX.
Lets start your home automated!
A windows App "UbiKey" is now available in windows App store.
Burn two files user1.bin and user2.bin at 0x01000 and 0x41000 respectively to your ESP-07 or ESP-12 (for full functionality)
Connect GPIO-13 and GPIO-02 with LED or external load with TRIAC or MOSFET .
Restart ESP.

In phone, browse for THWX-XXXXXXX access-point and connect.
Open App.
You will see the logical mapping of device and Switchbox.
Tap and hold the icons for details of each switches.
Tap and hold the main menu of Switchbox, it will give you lot of menus including "Device information configuration", "name changing" and cloud update also.
Give Home WLAN SSID and password so that the ESP can communicate to cloud.
Connect Wi-Fi to your home WLAN again.

Get a Key from http://www.thingsworx.com [Create A/C and 5 channels) and give it inside Configuration. You will get the reflection of your ESP status at your ESP status.
In future, the load status is expected to be included !

Thanks

Re: Home automation (ESP8266)

PostPosted: Thu May 21, 2015 4:20 am
by tytower
Forgive my interuption but as you seem to know this chip , I am trying to get a BMP180 pressure sensor to work on ESP8266 ESP-12 board . Using I2C I set SDA to pin 4 (GPIO4) and SCL to pin 5 (GPIO 5)

It seems to recognise it is there but won't initialise it. I notice with DHT sensor the higher processor speed of 80Mhz has to be allowed for by passing a speed parameter in the setup ( DHT dht (pin.type,speed) ie dht(2,DHT22,15) .

This speed is 4 times an ATMega 328P for instance on which the example compiles and reads the sensor well.
So can you tell me how I could get the I2C to read this sensor at 80MHz ?

Also I am interested in your code above . Is it available rather than the hex file?