Search found 11 matches

by kociubin
30 Dec 2017, 15:11
Forum: uPyEasy: Hardware
Topic: ESP32 boards
Replies: 277
Views: 469233

Re: ESP32 boards

After installing Python I keep getting this error: import serial ImportError: No module named serial Did some research... Installed pyserial..... Same message Have tried to reinstall pyserial several times and keep getting the message that it's already installed. Also rebooted with no change. I am ...
by kociubin
30 Dec 2017, 02:17
Forum: uPyEasy: Hardware
Topic: ESP32 boards
Replies: 277
Views: 469233

Re: ESP32 boards

I hate to be "that guy" :roll: but would you happen to have a windows flashing howto laying around anywhere? I'm not having much luck here.... :mrgreen: Windows? The esp-tool is the same, since it's python... ;) Install python on your windows pc, replace '/dev/ttyUSBx' with comX and you'r...
by kociubin
29 Dec 2017, 16:13
Forum: uPyEasy: Hardware
Topic: ESP32 boards
Replies: 277
Views: 469233

Re: ESP32 boards

Hi Andrew, I've upgraded the wstest program to upyeasy_wifi_test program, it's source code is attached. Also the firmware in post 1 is upgraded. Can you flash that version and after the error run: import upyeasy_wifi_test Cheers, Lisa Working: The 12/29 version boots fine. It connects to WiFi. NTP ...
by kociubin
29 Dec 2017, 00:14
Forum: uPyEasy: Hardware
Topic: ESP32 boards
Replies: 277
Views: 469233

Re: ESP32 boards

Also, I tried testing the switch plugin with no success (still running the 2MB firmware). I tried GPIO12 and GPIO4 and they're never read. Nothing is output in the logs after I pull them to GND. I made sure I changed the delay to 10 seconds. I also tried setting them up as inputs on the Hardware tab...
by kociubin
29 Dec 2017, 00:01
Forum: uPyEasy: Hardware
Topic: ESP32 boards
Replies: 277
Views: 469233

Re: ESP32 boards

Is the normal 4MB firmware from the first post also working? MQTT should be working, at least Domoticz MQTT, are the settings correct (should the same as in ESPEasy). Is Domoticz HTTP working? Which plugin are you using? No. 4MB firmware is not working. I was getting bootloops like in post #4. For ...
by kociubin
28 Dec 2017, 22:34
Forum: uPyEasy: Hardware
Topic: ESP32 boards
Replies: 277
Views: 469233

Re: ESP32 boards

This is great! I'm able to run your special 2MB firmware on a doit.am v1 devkit ($7 on aliexpress).

So far, it's very encouraging. Please keep it up and let me know if I can help in any way.

BTW, is MQTT supposed to work? I tried pointing it at my MQTT server but there is no activity.
by kociubin
24 Nov 2017, 16:50
Forum: ESP Easy: Projects / Applications
Topic: short and long press button mqtt
Replies: 8
Views: 7721

Re: short and long press button mqtt

This rule example in the wiki is from me and works like a charm. You don't have to wait 1 sec for an action. Switch delay is normally 0 and remove your delay of 300! @grovkillen: It should make no difference if you type 'timerSet,1,1' or 'timerSet 1 1'. Check out 'GPIO,12,1' and 'GPIO 12 1'. Both s...
by kociubin
22 Nov 2017, 23:18
Forum: ESP Easy: Projects / Applications
Topic: short and long press button mqtt
Replies: 8
Views: 7721

Re: short and long press button mqtt

I was hoping to do something like the code below instead (wanted to avoid having to wait 1 second for the first action to fire), but it doesn't work. Action1 is never triggered. Any idea how to work around this? on Button#State=1 do delay,300 if [Button#State]=0 //Action1 if button is short pressed ...
by kociubin
13 Nov 2017, 04:15
Forum: ESP Easy: General Discussion
Topic: ESPEasy v2.0.0-dev12 released
Replies: 44
Views: 47478

Re: ESPEasy v2.0.0-dev12 released

I'm getting the "Error while reading/writing config.dat in 926" with just: on onoff#push=1 do if [relay#Switch]=1 gpio,12,0 else gpio,12,1 endif endon Same here. Getting ""Error while reading/writing config.dat" for every rule that has an if statement. I'm running a bunch f...
by kociubin
09 Nov 2017, 15:52
Forum: ESP Easy: Software
Topic: New Plugin for LIS3DH Accelerometer
Replies: 3
Views: 3763

Re: New Plugin for LIS3DH Accelerometer

I have a few light switches that use cap sense but the touch area is small which requires some precision to toggle the switch. With LIS3DH glued to a "blank" wall plate I can hit it anywhere and it toggles. It's a bit faster and requires less precision. Have you been able to create a large...
by kociubin
09 Nov 2017, 03:04
Forum: ESP Easy: Software
Topic: New Plugin for LIS3DH Accelerometer
Replies: 3
Views: 3763

New Plugin for LIS3DH Accelerometer

For anyone interested, I implemented a plugin for the LIS3DH accelerometer. You can buy one for a few bucks on ebay. More information about a breakout board here: https://learn.adafruit.com/adafruit-lis3dh-triple-axis-accelerometer-breakout/wiring-and-test You can pick up the files from my github he...