Search found 59 matches

by lucaberta
15 May 2017, 01:18
Forum: Experimental
Topic: Config file naming on download
Replies: 6
Views: 8691

Re: Config file naming on download

Wonderful guys, I have been absent for a few days and now I see that the pull request has already been merged into mega, great!

Time to do some compiling... ;)

Ciao, Luca
by lucaberta
10 May 2017, 10:59
Forum: Experimental
Topic: Config file naming on download
Replies: 6
Views: 8691

Config file naming on download

I understand that the configuration file stored in the SPIFFS FS has to be named config.dat Yet I find it moderately confusing to only be able to download a file with the same exact same from the web interface. I wonder, could this be addressed within the code? Could it be possible to have %devicena...
by lucaberta
05 May 2017, 17:48
Forum: ESP Easy: Software
Topic: OTA on S20 with v2.0.0-dev8
Replies: 10
Views: 10758

Re: OTA on S20 with v2.0.0-dev8

It is a 1024 x 8 bit organized SPI flash chip, firmware with 1024 size is correct Thanks for clarifying this, which brings us back to the original question, why does OTA fail on 1M devices? you are raising a very interesting point, and I shall do some testing too as I do have a few 1M devices aroun...
by lucaberta
05 May 2017, 12:07
Forum: ESP Easy: General Discussion
Topic: Sonoff - Something went wrong
Replies: 12
Views: 10766

Re: Sonoff - Something went wrong

5V ? are you sure ? i always thought that 5V will destroy the ESP ?!? You are right, I have checked and also the Vcc pin on the Sonoff needs 3.3V, like the voltage of the data lines. The picture of the FTDI adapted shows that its jumper is correctly configured for 3.3V and that adapter correctly pu...
by lucaberta
05 May 2017, 00:37
Forum: ESP Easy: General Discussion
Topic: Sonoff - Something went wrong
Replies: 12
Views: 10766

Re: Sonoff - Something went wrong

9600 bps is not the standard console port speed. Try with 115200, it should work fine. There is no issue in powering a Sonoff from the 5V line from an FTDI adapter, works well. And I can see that you have correctly set the data signals to 3.3V on the FTDI adapter, which is the good thing to do. Let ...
by lucaberta
05 May 2017, 00:31
Forum: ESP Easy: Hardware
Topic: Bulk test of nodeMCU's
Replies: 10
Views: 10261

Re: Bulk test of nodeMCU's

I too had hardware issues with a couple of NodeMCU v1.0 boards. Really bad soldering leaving open lines instead of good connections. I had to resort to some jumper wire to close the connections as soldering would have been too difficult. Never had a problem with any of the Wemos devices, There are f...
by lucaberta
04 May 2017, 12:18
Forum: ESP Easy: Software
Topic: Out of Sync state due to MQTT QOS 0
Replies: 10
Views: 10102

Re: Out of Sync state due to MQTT QOS 0

i could just make a config file in which you can enable/disable plugins? that would definitely help. The thing that reminds of something similar is the Linux kernel configuration procedure, with all the choices you get in terms of, say, building certain drivers directly into the kernel, versus buil...
by lucaberta
04 May 2017, 10:15
Forum: ESP Easy: Software
Topic: Out of Sync state due to MQTT QOS 0
Replies: 10
Views: 10102

Re: Out of Sync state due to MQTT QOS 0

someone has been working on a java program that allows the end user to enable and disable plugins. i didnt have time to look at it so far. given that PlatformIO is now the tool to use to build ESPEasy, how about configuring things in a more granular way, not down to individual module, but doing som...
by lucaberta
04 May 2017, 10:13
Forum: ESP Easy: Software
Topic: UDP port configuration confusion
Replies: 4
Views: 4850

Re: UDP port configuration confusion

Thanks, I am always a bit torn on what to use first to report such an issue, and that is why I chose to open a forum thread.

Here is the Github issue link, too:
https://github.com/letscontrolit/ESPEasy/issues/264

Thanks,

Luca
by lucaberta
04 May 2017, 02:33
Forum: ESP Easy: Software
Topic: UDP port configuration confusion
Replies: 4
Views: 4850

UDP port configuration confusion

Hi, I have compiled and ran the latest Mega code and have noticed that a few graphical changes have been done on the GUI, most notably in the Advanced tab. One thing which has always been very confusing for me was the notion of "UDP port" configuration which in previous versions was put af...
by lucaberta
04 May 2017, 02:18
Forum: ESP Easy: General Discussion
Topic: beginners problems
Replies: 8
Views: 7922

Re: beginners problems

You asked something, I saw it was a bug, and i fixed it immediately and answered you. :) well, the original post is dated November 2016, so I would presume that over the last few months maluko has grown the knowledge of ESPEasy to provide with good feedback on a bug which you fixed right away. So s...
by lucaberta
04 May 2017, 02:14
Forum: ESP Easy: Software
Topic: Out of Sync state due to MQTT QOS 0
Replies: 10
Views: 10102

Re: Out of Sync state due to MQTT QOS 0

Yeah we need to fix a lot of MQTT stuff still. I dont know if we have enough memory for SSL/TLS. you raise a very good point Edwin. Memory. I have a couple of boards with ESP8285 on them, and I could not upload successfully ESPEasy Mega Normal, as the PlatformIO uploader was telling me that the siz...
by lucaberta
03 May 2017, 09:59
Forum: ESP Easy: General Discussion
Topic: esp easy and node-red
Replies: 12
Views: 12331

Re: esp easy and node-red

Node-RED is on port 1880, while MQTT is on port 1883. They work together but are not the same thing, so don't worry about that. To have the Sonoff relay switch you need to do something different. You need to publish a message to the "/sonoff 1/cmd" topic with content: gpio,12,1 to turn on ...
by lucaberta
03 May 2017, 09:23
Forum: ESP Easy: Software
Topic: Out of Sync state due to MQTT QOS 0
Replies: 10
Views: 10102

Re: Out of Sync state due to MQTT QOS 0

This is definitely something that should be addressed to have ESPEasy become a reliable solution for devices in production environment, where more stringent QoS settings are needed. We would likewise need to support SSL/TLS, in my view, and neither the pubsub library nor the Async MQTT client suppor...
by lucaberta
03 May 2017, 08:59
Forum: ESP Easy: General Discussion
Topic: esp easy and node-red
Replies: 12
Views: 12331

Re: esp easy and node-red

thanks i will try a few strings of text I am not sure of the syntax for this filter. when i use "sonoff 1/#" I get all the system data, uptime, wifi, and ram. when I change the script to "sonoff 1/uptime" I get nothing, are you sure you are running ESPEasy on your Sonoff device?...
by lucaberta
02 May 2017, 01:10
Forum: ESP Easy: General Discussion
Topic: esp easy and node-red
Replies: 12
Views: 12331

Re: esp easy and node-red

thanks all, I am revisiting the node red thing, with some success. what I have noticed is when I put sonff 1/# in the input node topic section it selects all the data that is in the system info on the esp chip is there any way to only select the uptime ? that's good news, great! To answer your ques...
by lucaberta
28 Apr 2017, 10:19
Forum: ESP Easy: Hardware
Topic: PIR sensor
Replies: 35
Views: 32882

Re: PIR sensor

You can try and bypass the onboard voltage regulator of the PIR and supply 3.3V directly http://randomnerdtutorials.com/modifying-cheap-pir-motion-sensor-to-work-at-3-3v/ as the onboard LDO is also connected to another 3 pins strip in my case, I found that this instructions work equally well, and t...
by lucaberta
24 Apr 2017, 09:55
Forum: Experimental
Topic: IRC channel
Replies: 3
Views: 15525

Re: IRC channel

How about a Slack channel instead, or maybe a gateway between the two?

I am sure such thing exist already...

Luca
by lucaberta
24 Apr 2017, 00:28
Forum: ESP Easy: Hardware
Topic: Sensirion SHT30 supported?
Replies: 30
Views: 29819

Re: Sensirion SHT30 supported?

I have rewrite the Plugin for my personal usage, and it's working now on older releases/versions like R147 too! amazing timing, as I have just finished soldering the SHT30 mini shield for my Wemos D1 and came on the forum looking for SHT30 support in both the v1 and v2 version of ESPEasy. Do you ha...
by lucaberta
20 Apr 2017, 01:33
Forum: ESP Easy: General Discussion
Topic: esp easy and node-red
Replies: 12
Views: 12331

Re: esp easy and node-red

Running an MQTT broker such as Mosquitto together with Node-RED on a simple device such as a Raspberry Pi is not that complicated after all. Andreas Spiess, who has a great YouTube channel with lots of good tips on IoT and ESP8266-based projects, did it recently on a Raspberry Pi Zero, here is the v...
by lucaberta
20 Apr 2017, 01:00
Forum: ESP Easy: General Discussion
Topic: Saving variable value in Flash Memory
Replies: 7
Views: 9256

Re: Saving variable value in Flash Memory

Technically speaking, you could use the SPIFFS file system to write each time you have a reading to a file, which effectively becomes the "last read value" from your temperature sensor. The issue is that your ESP8266 flash will wear out very quickly, as it's not designed to be used that wa...
by lucaberta
20 Apr 2017, 00:42
Forum: ESP Easy: General Discussion
Topic: 1-Wire Address Finder
Replies: 2
Views: 3221

Re: 1-Wire Address Finder

How often do you need to do this specific task, and for how many DS18B20 devices at once? Wouldn't it be easier to just use the ESPEasy web GUI connected to any ESP8266 board running ESPEasy and then copy-paste the resulting DS18B20 address each time? Should you be using and LCD or OLED display you ...
by lucaberta
20 Apr 2017, 00:37
Forum: ESP Easy: General Discussion
Topic: Have your own NTP server, no worry about DST anymore!
Replies: 5
Views: 7176

Re: Have your own NTP server, no worry about DST anymore!

While I appreciate the angle this solution comes, this is not how things work in real life with NTP. Let me explain what I mean by that. By definition, NTP works *always* in UTC time, Universal Time Coordinate. UTC never changes, it stays the same regardless of one's position on the planet and the l...
by lucaberta
17 Apr 2017, 18:28
Forum: Introduce yourself
Topic: Hello from Switzerland
Replies: 9
Views: 11763

Re: Hello from Switzerland

Hi to Luca, hi Dave, apologies for the very much belated answer, but I have not been active at all over here for quite some time, but now I am back, and happy to see the new developments which have taken place. I've just joined the forum after discovering ESP Easy - great piece of software/tools. i...
by lucaberta
17 Apr 2017, 14:37
Forum: Experimental
Topic: OpenHAB MQTT broker connection failing all the time
Replies: 3
Views: 6547

Re: OpenHAB MQTT broker connection failing all the time

Shardan wrote: 17 Apr 2017, 14:07 Connections to Domoticz and FHEM seem not to work either.
not sure if the two things are related Shardan.

This is not about the web access to ESPEasy, which works well, but rather outgoing sockets from ESPEasy to the MQTT server.

Thanks, Luca
by lucaberta
17 Apr 2017, 12:39
Forum: Experimental
Topic: OpenHAB MQTT broker connection failing all the time
Replies: 3
Views: 6547

OpenHAB MQTT broker connection failing all the time

Hi all, I finally was able to spend some time learning Atom/PlatformIO and I quite like the new setup! This enabled me to jump back onto ESPEasy after a few months of inactivity, and was able to compile and upload a 4M binary on a Wemos D1 Mini I have. Everything worked at the first test, and I was ...
by lucaberta
17 Apr 2017, 12:20
Forum: Experimental
Topic: ESP Easy Mega
Replies: 249
Views: 633590

Re: ESP Easy Mega

I have updated 2 Wemos D1 UNITS, FROM GIT version: v2.0.0-dev4 to dev7. now the NTP time is not working any more. is this a know problem. It give this Local Time:1970-01-01 0:17 getting his same issue, how did you solve this ? hi, I just tamed the dreaded Atom/PlatformIO beast, and I quite like! I ...
by lucaberta
07 Feb 2017, 14:35
Forum: ESP Easy: General Discussion
Topic: How to configure MQTT
Replies: 6
Views: 8214

Re: How to configure MQTT

So I now have Node Red + InfluxDB + Grafana on a RPi3, which still puts no strain on the RPi3 at all. Not even that sad that I could not do it without Node Red by the way, as I found out there is quite some nice functionality in there. that's probably the most reasonable thing to do all in all. I s...
by lucaberta
22 Jan 2017, 15:45
Forum: ESP Easy: General Discussion
Topic: How to configure MQTT
Replies: 6
Views: 8214

Re: How to configure MQTT

Hi Duci, Thanks for your messages, this is very much what I would like to achive too, as I am about to learn some InfluxDB in order to leverage the Grafana dashboards like you said. Have you progressed any further in your project? MQTT works well for me, but I have not yet tackled the MQTT-to-Influx...
by lucaberta
27 Nov 2016, 11:37
Forum: ESP Easy: Hardware
Topic: Support for "Sonoff Pow" (from ITead) with Power Consumption Measurement via HLW8012 (HLW 8012) IC?
Replies: 146
Views: 215943

Re: Support for "Sonoff Pow" (from ITead) with Power Consumption Measurement via HLW8012 (HLW 8012) IC?

Theo Arends also has code for the Sonoff Pow:

https://github.com/arendst/Sonoff-MQTT- ... lw8012.ino

It should not be too complicated to add the HLW8012 support into ESPEasy at this stage, given the code already available.

Ciao, Luca
by lucaberta
24 Aug 2016, 00:41
Forum: ESP Easy: Software
Topic: How to ask a ESPeasy device of a GPIO state?
Replies: 18
Views: 60466

Re: How to ask a ESPeasy device of a GPIO state?

Hi Martinus, I am testing the feature you have enhanced a few weeks ago with a similar lab setup as yours: Testlab setup: ESP name: ESPDemo Template: /%sysname%/# Publish gpio,2,0 to /ESPDemo/cmd Receiving this on /ESPDemo/status: { "log": "GPIO 2 Set to 0", "plugin": 1...
by lucaberta
15 Jun 2016, 23:26
Forum: Introduce yourself
Topic: Hello from Switzerland
Replies: 9
Views: 11763

Re: Hello from Switzerland

Hey Luca, welcome! You should also have a look at OpenHAB if you get the chance. I started with Domoticz initially but switched to OpenHAB because of the ability to create fairly nice user interface which you can use via a web browser or an app on Android or IOS. It's definitely a steeper learning ...
by lucaberta
14 Jun 2016, 22:52
Forum: ESP Easy: General Discussion
Topic: use esp easy to open/close garage door with a relay ?
Replies: 13
Views: 26181

Re: use esp easy to open/close garage door with a relay ?

I agree with Dave on the additional insulation provided by boards with relays driven by an opto isolator. As a matter of fact, the pictures shown in the eBay ad posted by JR01 show opto isolators only on the 8-channels board, but I have just found a 2 channels board with opto isolators for dirt chea...
by lucaberta
14 Jun 2016, 15:57
Forum: ESP Easy: General Discussion
Topic: use esp easy to open/close garage door with a relay ?
Replies: 13
Views: 26181

Re: use esp easy to open/close garage door with a relay ?

I am working on something precisely the same, Alen, and am using the two relay board shown in the message from JR01. I have not used any level converter though, as the relay works fine using 3.3V as the switching voltage. In fact, it is active low so the relay works when the GPIO is pulled low, rath...
by lucaberta
14 Jun 2016, 10:57
Forum: ESP Easy: General Discussion
Topic: After flashing no new Access Point ESP_0 !!
Replies: 21
Views: 38246

Re: After flashing no new Access Point ESP_0 !!

Ok - I have now a new chip. Flashed it once. And it's working :-) So it looks like my first chip has a hardware issue... well Alen, glad the remote troubleshooting went in the right direction in the end. I have also learned a lot by helping you, and have noticed that in many ways ESP8266 is still a...
by lucaberta
12 Jun 2016, 00:11
Forum: ESP Easy: Software
Topic: ESPEasy compile problem
Replies: 5
Views: 5594

Re: ESPEasy compile problem

Thank you! I implemented that "static_cast<SerialConfig>(serialconfig)" and now it compile and works wit 2.2.0 that's nice to hear! Let's hope that this small change will be integrated soon so that we can move to 2.2.0 for good. So I can finnish my project! spoken like a true Finn! :D :D ...
by lucaberta
11 Jun 2016, 00:05
Forum: ESP Easy: Software
Topic: ESPEasy compile problem
Replies: 5
Views: 5594

Re: ESPEasy compile problem

Try and see the workaround for the 2.2.0 support in this message: http://www.esp8266.nu/forum/viewtopic.php?f=4&t=1381#p7397 I am using 2.1.0 and have NOT implemented the workaround, still R107 compiles just fine, and I can upload it and run it on different ESP8266 modules without a single issue...
by lucaberta
10 Jun 2016, 10:31
Forum: ESP Easy: Software
Topic: ESPEasy compile problem
Replies: 5
Views: 5594

Re: ESPEasy compile problem

Hi, and welcome to the forum! Try to see if following the instructions on the wiki works for you. By the looks of it, you are compiling with the 2.2.0 version of the boards definition, while only 2.0.0, and possibly 2.1.0 are supported today. http://www.esp8266.nu/index.php/Tutorial_Arduino_Firmware...
by lucaberta
08 Jun 2016, 00:05
Forum: ESP Easy: General Discussion
Topic: ESP is restarting after 5 seconds
Replies: 20
Views: 27100

Re: ESP is restarting after 5 seconds

HI Luca, I'm glad you got it working!! I have revived an ESP that used GPIO 9 or 10. I think I did exactly what you are about to do. I loaded a few different firmware versions on top of the existing one. Another thing that I have tried successfully is to load smaller memory model firmware binaries ...
by lucaberta
05 Jun 2016, 14:41
Forum: ESP Easy: General Discussion
Topic: After flashing no new Access Point ESP_0 !!
Replies: 21
Views: 38246

Re: After flashing no new Access Point ESP_0 !!

Hi Luca, Still no luck. I've tried different positions. Is not only that I can't find any AP which are available in the room/house. Also I can't see the AP which should be "established" by the chip itself from other devices (i,e. my mobile, notebook) hmmm Alen, I wonder if it's really an ...
by lucaberta
04 Jun 2016, 23:06
Forum: ESP Easy: Hardware
Topic: H801 : RGB controller based on ESP8266 avalaible from China
Replies: 134
Views: 182199

Re: H801 : RGB controller based on ESP8266 avalaible from China

sozkara wrote: ESP board detail. I dont know which version of the ESP is:

Image
those four pads seem very much like a serial port to me, with GND and 3.3V to power up the ESP8266 and write software to it when unplugged from mains...

L
by lucaberta
03 Jun 2016, 21:54
Forum: ESP Easy: General Discussion
Topic: Battery status / level
Replies: 6
Views: 35459

Re: Battery status / level

I have a setup with a esp-1 with a temperature sensor ds18b20. Connected with 2 aa batteries. Is it possible to get a reading of the battery level? I use domoticz to receive the temp status. hi Fabian, check the "Measure VCC" thread here: http://www.esp8266.nu/forum/viewtopic.php?f=6&...
by lucaberta
03 Jun 2016, 17:33
Forum: ESP Easy: General Discussion
Topic: After flashing no new Access Point ESP_0 !!
Replies: 21
Views: 38246

Re: After flashing no new Access Point ESP_0 !!

Hi Luca Many thanks for your help. I flashed the AT command firmware and connected to my chip using Serial Monitor. Please find below a screenshot what happens when I entered the commands: AT+CWMODE=3 AT+CWLAP The CWLAP command does not return any AP's ...it just returns "OK". today I had...
by lucaberta
03 Jun 2016, 10:20
Forum: ESP Easy: General Discussion
Topic: After flashing no new Access Point ESP_0 !!
Replies: 21
Views: 38246

Re: After flashing no new Access Point ESP_0 !!

Alen, you might want to try to reflash the ESP with the AT commands firmware, it did fix some issues I had with a few boards. The firmware can be found here: http://www.electrodragon.com/w/File:V1.3.0.2_AT_Firmware.bin.zip Click on the first link and the ZIP file will download. You will need to flas...
by lucaberta
03 Jun 2016, 09:50
Forum: ESP Easy: General Discussion
Topic: ESP is restarting after 5 seconds
Replies: 20
Views: 27100

Re: ESP is restarting after 5 seconds

Dave, I have found this post of yours regarding GPIO 9 and 10 and it was clear that the issue I face are probably related to the use of GPIO lines from 6 to 11, which can cause some issues on the ESP boards: http://www.esp8266.nu/forum/viewtopic.php?f=6&t=1462 As an update, I have successfully r...
by lucaberta
03 Jun 2016, 09:02
Forum: ESP Easy: Software
Topic: Exceptions and stack dumps with NodeMCU
Replies: 9
Views: 11262

Re: Exceptions and stack dumps with NodeMCU

see if this works ... i would be glad, if it helps you... thanks tozett, I have done what you suggest many times, including reflashing and erasing/resetting also using the TX/RX data lines trick (thanks for the suggestion!) but the issue is still there. This is on multiple devices, an ESP-01, an ES...
by lucaberta
03 Jun 2016, 08:55
Forum: ESP Easy: General Discussion
Topic: ESP is restarting after 5 seconds
Replies: 20
Views: 27100

Re: ESP is restarting after 5 seconds

It sounds like you have a hardware issue. Perhaps you have one of those cheap flash chips inside your ESP module. I use many of the NodeMCU modules with R107 and I don't have your issues. There are a few bugs in the code like the ability to assign GPIO 9 or 10 a task function. That's a real quick w...
by lucaberta
03 Jun 2016, 01:19
Forum: ESP Easy: General Discussion
Topic: ESP is restarting after 5 seconds
Replies: 20
Views: 27100

Re: ESP is restarting after 5 seconds

I have the exact same issue as described in this other thread on the "Software" subforum: http://www.esp8266.nu/forum/viewtopic.php?f=6&t=1615 The last test I have just done on a NodeMCU was to reload the v1.3.0.2 AT firmware, which was also rebooting every now and then BTW, and then r...
by lucaberta
02 Jun 2016, 23:17
Forum: ESP Easy: Software
Topic: Exceptions and stack dumps with NodeMCU
Replies: 9
Views: 11262

Re: Exceptions and stack dumps with NodeMCU

that looked good.... it seemed to work for some seconds... do you have anything connected? may post a picture of the device? the device I am doing the debugging on right now is a SparkFun ESP8266 Thing: https://camo.githubusercontent.com/f898732a0788d52675cf5fb5c0ff586c3126fd09/68747470733a2f2f6364...
by lucaberta
02 Jun 2016, 22:27
Forum: ESP Easy: Software
Topic: Exceptions and stack dumps with NodeMCU
Replies: 9
Views: 11262

Re: Exceptions and stack dumps with NodeMCU

Unfortunately I tried all of methods you mention, but the issues are not solved. Here is longish dump of the latest tinkering I have done on my SparkFun ESPthing: INIT : Booting Build nr:107 WIFI : No SSID! INIT : I2C INIT : Boot OK INIT : Normal boot >settings System Info IP Address : 0.0.0.0 Build...