Search found 51 matches

by RajaRamesh
Thu May 23, 2019 1:23 pm
Forum: ESP8266 boards
Topic: How to switch on a electric bulb with ESP8266 board?
Replies: 50
Views: 31101

Re: How to switch on a electric bulb with ESP8266 board?

jimmo wrote:
Wed May 22, 2019 4:44 pm

I strongly recommend finding an existing product designed for this purpose that supports interfacing with it over a low voltage, well isolated and documented digital interface.
Ok....i will try for existing product for this.
by RajaRamesh
Wed May 22, 2019 4:06 pm
Forum: ESP8266 boards
Topic: How to switch on a electric bulb with ESP8266 board?
Replies: 50
Views: 31101

Re: How to switch on a electric bulb with ESP8266 board?

t = time.localtime() t = t[0:3] + (0,) + (t[3] + TIMEZONE_OFFSET,) + t[4:6] + (0,) print("{}-{:02d}-{:02d} {:02d}:{:02d}:{:02d}".format(t[0], t[1], t[2], t[3],t[4],t[5]) Creates this output: 2019-05-20 14:56:03 (YYYY-MM-DD HH:mm:SS) Thank you for sharing the details Kevin. is it possible for esp826...
by RajaRamesh
Mon May 20, 2019 4:04 pm
Forum: ESP8266 boards
Topic: How to switch on a electric bulb with ESP8266 board?
Replies: 50
Views: 31101

Re: How to switch on a electric bulb with ESP8266 board?

Have a look at https://docs.micropython.org/en/latest/library/machine.RTC.html Note you'll need a way to set the current time -- there's an ntptime module available as a frozen module: https://github.com/micropython/micropython/blob/master/ports/esp8266/modules/ntptime.py Hi , i gone through the li...
by RajaRamesh
Sun May 19, 2019 1:13 pm
Forum: ESP8266 boards
Topic: not able to blink led on esp8266 with MQTT App & Raspberry Pi
Replies: 1
Views: 2657

not able to blink led on esp8266 with MQTT App & Raspberry Pi

Hi, After googling i build below code to blink in-built led on ESP8266 with MQTT App (Android) and mosquitto broker installed on Raspberry Pi. But i am not able to make the led blink by publishing from MQTT App. can someone suggest me where i do mistake. Also,i have umqttsimple.py file on ESP8266. b...
by RajaRamesh
Fri May 17, 2019 3:50 pm
Forum: ESP8266 boards
Topic: How to switch on a electric bulb with ESP8266 board?
Replies: 50
Views: 31101

Re: How to switch on a electric bulb with ESP8266 board?

Hi,

is it possible to schedule the code to run particular day,time on esp8266 board ?

Thanks
by RajaRamesh
Mon May 13, 2019 5:20 pm
Forum: ESP8266 boards
Topic: How to switch on a electric bulb with ESP8266 board?
Replies: 50
Views: 31101

Re: How to switch on a electric bulb with ESP8266 board?

Thank you Thomas...i will try and get back to you.
by RajaRamesh
Mon May 13, 2019 9:36 am
Forum: ESP8266 boards
Topic: How to switch on a electric bulb with ESP8266 board?
Replies: 50
Views: 31101

Re: How to switch on a electric bulb with ESP8266 board?

hi all....can someone give some idea how to (or) where i can get the details of micropython code to work with relays and sensors...please
by RajaRamesh
Sat May 11, 2019 6:07 am
Forum: ESP8266 boards
Topic: How to switch on a electric bulb with ESP8266 board?
Replies: 50
Views: 31101

Re: How to switch on a electric bulb with ESP8266 board?

hi.....can someone share the code in micropython standard...
by RajaRamesh
Fri May 10, 2019 9:52 am
Forum: ESP8266 boards
Topic: How to switch on a electric bulb with ESP8266 board?
Replies: 50
Views: 31101

Re: How to switch on a electric bulb with ESP8266 board?

Thank you all for sharing the details.... currently i have(ESP8266 board) https://www.amazon.in/gp/product/B06XYRS6KC/ref=ox_sc_act_title_5?smid=A2KWJ4IHWZH3FB&psc=1 which contains micropython firmware. i will get relay https://www.amazon.in/REES52-Optocoupler-Channel-Control-Arduino/dp/B01HXM1G9Q/r...
by RajaRamesh
Thu May 09, 2019 6:29 am
Forum: ESP8266 boards
Topic: How to switch on a electric bulb with ESP8266 board?
Replies: 50
Views: 31101

How to switch on a electric bulb with ESP8266 board?

Hi Team, I am new to Micropython and started learning from https://docs.micropython.org/en/latest/. currently i started with ESP8266 board and i am able to blink inbuilt LED's on the board. while googling i got to know we can use ESP8266 board for home automation(IOT). Now i am trying to switch on e...