Search found 81 matches

by guyd
Fri Aug 03, 2018 3:43 am
Forum: ESP8266 boards
Topic: Static IP
Replies: 4
Views: 800

Static IP

Hi
Is there a way to assign static IP, not constraining it on router ?
by guyd
Thu Aug 02, 2018 11:19 am
Forum: ESP32 boards
Topic: Installing libraries on ESP32
Replies: 14
Views: 3697

Re: Installing libraries on ESP32

Hi, I try again to use datetime.py library ( after reflashing MicroPython again ). As you suggested before - just copied datetime.py to ESP32 main directory. additional services loaded: 1) wifi connection, 2)update RTC, both went successfully. now again when I try to import datetime- I get a memery ...
by guyd
Thu Aug 02, 2018 11:14 am
Forum: ESP32 boards
Topic: MicroPython - ESP32 - Is is possible to update files?
Replies: 15
Views: 1831

Re: MicroPython - ESP32 - Is is possible to update files?

@pythoncoder, last time I used telnet server you've suggested- everything went OK, even from a linux terminal. since I needed to flash again my ESP32 board ( and copied exact files again), when I start the exact same telnet ( I see a message that telnet server is running with relevant IP ), but when...
by guyd
Wed Aug 01, 2018 5:54 pm
Forum: ESP32 boards
Topic: Connection fails to ESP32, with MicroPython 1.9.4 after uploading python code
Replies: 13
Views: 1374

Re: Connection fails to ESP32, with MicroPython 1.9.4 after uploading python code

Following code is initiated in boot.py from umqtt.simple import MQTTClient import _thread import utime import machine class MQTTCom: def __init__(self, server, client_id, topic1, topic2=None): self.server = server self.client_id = client_id self.topic1, self.topic2 = topic1, topic2 self.client, self...
by guyd
Tue Jul 31, 2018 6:37 pm
Forum: ESP32 boards
Topic: Connection fails to ESP32, with MicroPython 1.9.4 after uploading python code
Replies: 13
Views: 1374

Connection fails to ESP32, with MicroPython 1.9.4 after uploading python code

Hi, I have installed successfully MicroPython, and worked with it for few weeks. I wrote a code involving MQTT server using _thread. All works OK! (after executing code - access ESP32 using REPL was not possible, even after ^C ). Not giving it much though ( since it was working OK ), I added this co...
by guyd
Sun Jul 29, 2018 9:05 am
Forum: General Discussion and Questions
Topic: MQTT for MicroPython under ESP32
Replies: 14
Views: 1760

Re: MQTT for MicroPython under ESP32

THNK U very much!!
by guyd
Sun Jul 29, 2018 9:03 am
Forum: Programs, Libraries and Tools
Topic: MicroPython IDE
Replies: 13
Views: 10780

Re: MicroPython IDE

Well, there are multiple options, not only Pycharm. For an IDE that's less complex to install and configure, I recommend Thonny. Just install the needed plugins and you're done. must say that after installing Thonny- could able to use micropython plugin BUT- after understanding PyCharm's plugin log...
by guyd
Sun Jul 29, 2018 9:01 am
Forum: ESP32 boards
Topic: MicroPython - ESP32 - Is is possible to update files?
Replies: 15
Views: 1831

Re: MicroPython - ESP32 - Is is possible to update files?

pythoncoder wrote:
Fri Jul 27, 2018 9:36 am
See this telnet server.
TNKU very much - very usefull!
another- installing FTP server to gain ability to update file remotely.
by guyd
Fri Jul 27, 2018 12:19 pm
Forum: ESP32 boards
Topic: Installing libraries on ESP32
Replies: 14
Views: 3697

Re: Installing libraries on ESP32

You should be able to install it using upip as described. What happens when you try? Alternatively just copy datetime.py from micropython-lib to the ESP32: this should work as it's a simple library comprising just that one file. I have a clone of micropython-lib on my local hardware for such purpos...
by guyd
Thu Jul 26, 2018 7:35 am
Forum: ESP32 boards
Topic: Datetime module in Micropython
Replies: 0
Views: 425

Datetime module in Micropython

Hi, I'm using Micropython under ESP32. I need to preform scheduled tasks, and I'm trying to rewrite my code which originally was written in Python - to MicroPYthon. I've found datetime module, which was copied to ESP32. I'm looking for syntax examples to start work with. If there is another modules ...