Search found 36 matches

by s0170071
13 Aug 2019, 15:16
Forum: ESP Easy: Hardware
Topic: IR Transmitter ?
Replies: 119
Views: 85236

Re: IR Transmitter ?

... just figured it out myself. http://192.168.1.46/control?cmd=IRSENDAC,{"power":"ON","temp":"24","protocol":"FUJITSU_AC","model":"3","mode":"COOL","beep":"ON","fanspeed":"MAX"} Note: (1) the keys , e.g. power, temp, ... need to be lower case (2) the on/off values need to be upper case. (3) in my c...
by s0170071
13 Aug 2019, 10:48
Forum: ESP Easy: Hardware
Topic: IR Transmitter ?
Replies: 119
Views: 85236

Re: IR Transmitter ?

Looking at the examples in the IRremoteESP89266 library, one can find TurnOnFujitsuAC.ino In there they simply do: ac.setModel(ARRAH2E); ac.setSwing(kFujitsuAcSwingOff); ac.setMode(kFujitsuAcModeCool); ac.setFanSpeed(kFujitsuAcFanHigh); ac.setTemp(24); // 24C ac.setCmd(kFujitsuAcCmdTurnOn); How woul...
by s0170071
07 May 2019, 09:21
Forum: ESP Easy: Software
Topic: Espeasy and openhab - NEED HELP, PLEASE
Replies: 12
Views: 1296

Re: Espeasy and openhab - NEED HELP, PLEASE

Have you enabled the legacy add-on option in the Configuration > System > Add-on Management? If I remember it correctly, it doesn't hurt to use the IP address of the broker instead of "localbroker". You probably already use it, but there are numerous tools for spying on mqtt messages, so please make...
by s0170071
05 Mar 2018, 07:17
Forum: ESP Easy: Software
Topic: Reading SMA inverters, e.g. STP5000TL via MODBUS
Replies: 2
Views: 2314

Re: Reading SMA inverters, e.g. STP5000TL via MODBUS

For a start we could inplement support for reading and writing single registers. The protocol itself is fairly simple- there is not even a checksum. What took me the most effort was figuring out that the slave only reponds if you ask not only the register but also the correct amount of bytes to read...
by s0170071
04 Mar 2018, 16:02
Forum: ESP Easy: Software
Topic: Reading SMA inverters, e.g. STP5000TL via MODBUS
Replies: 2
Views: 2314

Reading SMA inverters, e.g. STP5000TL via MODBUS

Hi there, a question thats often asked but almost never answered is how to read the current output power of SMA inverters. If you have a model with ethernet connection (SMA calls it speedwire :)) then there is a solution for you. I share my proof of concept code right now so it doesn't get lost. I w...
by s0170071
20 Dec 2017, 18:36
Forum: ESP Easy: Software
Topic: max() min() compile error
Replies: 0
Views: 896

max() min() compile error

Hi all, just to let you know. If you try to compile the latest git version of ESPEasy against the latest core (post 2.4.0rc2) there is a compile error where it cannot find the min() and max() functions. The issue is known https://github.com/esp8266/Arduino/issues/398 , however it seems to be closed....
by s0170071
20 Dec 2017, 17:42
Forum: ESP Easy: Software
Topic: 2.4.0rc2 OLED_SSD1306 compile error
Replies: 4
Views: 2005

Re: 2.4.0rc2 OLED_SSD1306 compile error

hmmm. reinstalled it... working. :?:
somehow I like the more persistent bugs. :roll:
by s0170071
20 Dec 2017, 15:22
Forum: ESP Easy: Software
Topic: 2.4.0rc2 OLED_SSD1306 compile error
Replies: 4
Views: 2005

Re: 2.4.0rc2 OLED_SSD1306 compile error

just found:
making a symlink for the SSD1306ClockDemo folder and placing it into the libraries folder seems to work. To me this looks like deep searching libraries somehow stops one level short of success.
Still not clear what this has to do with the core version.
by s0170071
20 Dec 2017, 15:16
Forum: ESP Easy: Software
Topic: 2.4.0rc2 OLED_SSD1306 compile error
Replies: 4
Views: 2005

Re: 2.4.0rc2 OLED_SSD1306 compile error

just got another one. I compiled the dev12 release against the 2.3.0 core - all fine. I compiled the dev12 release against the 2.4.0rc2 core - all fine. When I compile the dev12 release against the git core I get /home/john/ArduinoPortable/arduino-1.8Esp_git/hardware/esp8266com/esp8266/tools/xtensa-...
by s0170071
26 Nov 2017, 21:42
Forum: ESP Easy: Software
Topic: git folder name (src) <-> local (ESPEasy)
Replies: 1
Views: 701

git folder name (src) <-> local (ESPEasy)

Hi all, I am in a bit of a dilemma. If I clone (I use Sourcetree) the git (mega) branch, I end up with all .ino files in a folder named src. The Arduino IDE and VS (visualmicro) demand that the folder is named ESPEasy. If I rename it I am messing with source control. If I don't I can't compile. Any ...
by s0170071
13 Nov 2017, 09:31
Forum: ESP Easy: Hardware
Topic: Two I2C devices with same address
Replies: 3
Views: 1338

Two I2C devices with same address

Hi guys,

I would like to connect two SHT25 sensors, however, they do not provide the possibility to adjust their address.
How would I do that ? Found this

https://hackaday.com/2015/08/12/i2c-bus ... nal-touch/

but I am wondering is there some sort if soft I2C available ?
by s0170071
08 Nov 2017, 08:45
Forum: ESP Easy: Software
Topic: KRACK vulnerability
Replies: 16
Views: 4928

Re: KRACK vulnerability

I found a workaround for the % issue: the lines in the webform that fail, e.g. the display line or the publish line in the controller settings need to be url encoded. If you use the https://www.urlencoder.org/ it works. So if you want to enter the line bla.exe?x=1+dom.GetObject("%valname%").State(%v...
by s0170071
07 Nov 2017, 14:13
Forum: ESP Easy: Software
Topic: KRACK vulnerability
Replies: 16
Views: 4928

Re: KRACK vulnerability

Hi vader,

I remember using it myself. However, I do now migrate to the 2.4.0 rc2 arduino core for a number of reasons. Which core do you use ? Tools->info-> Core Version.
The issue may be related to
https://github.com/esp8266/Arduino/issues/1989
by s0170071
07 Nov 2017, 13:41
Forum: ESP Easy: Hardware
Topic: TCRT5000 - faulty?
Replies: 12
Views: 3629

Re: TCRT5000 - faulty?

allright, the pullup seems to be on the PCB already.
So, no data interface then? Just a IR pulse ?
What does your board do if you shine a flashlight on it ? Does the LED indicate this ?
by s0170071
07 Nov 2017, 13:37
Forum: ESP Easy: Software
Topic: KRACK vulnerability
Replies: 16
Views: 4928

Re: KRACK vulnerability

just found out: if I enter %25uptime%25 - which is the URL encoding style- the setting goes through.
However, it crashes the ESP in the course.
by s0170071
07 Nov 2017, 09:59
Forum: ESP Easy: Hardware
Topic: TCRT5000 - faulty?
Replies: 12
Views: 3629

Re: TCRT5000 - faulty?

which board are you refering to ? I was refering to the plain TCRT5000 as described in the data sheet.
As for your meter. Which type is it ? Does have a communication interface ? This is often a round window with a IR led in it which sends a burst of data every second or so.
by s0170071
07 Nov 2017, 07:51
Forum: ESP Easy: Software
Topic: ThingSpeak upate delay blocks system
Replies: 5
Views: 1554

Re: ThingSpeak upate delay blocks system

Thanks for the info. There is - at least it seems - a simpler solution for me. I want to post to thingspeak: - one quad sensor (humidity / temperture / absolute humidity / ventilation) - system info uptime - system info free memory Limitation on thingspeak is that you only send a message every 15 se...
by s0170071
07 Nov 2017, 07:04
Forum: ESP Easy: Hardware
Topic: TCRT5000 - faulty?
Replies: 12
Views: 3629

Re: TCRT5000 - faulty?

Have you used any resistors ? The datasheet says the forward current through the diode is to be no larger than 60mA. With 3.3 V supply and an emmitter forward voltage of about 1V there should be a (3.3-1)/0,06 = 36 Ohms resistor in series with the diode. I would go for a little bit more, say 47 Ohms...
by s0170071
07 Nov 2017, 06:49
Forum: ESP Easy: Software
Topic: Experience with core 2.4.0
Replies: 4
Views: 1678

Re: Experience with core 2.4.0

Here is a fix for the letters / numbers / vpn issue:

viewtopic.php?f=6&t=3673

There is also sth wrong with entering %systemvariables% in the oled display webform but I am on it. Result will be posted in the thread linked above.
by s0170071
07 Nov 2017, 06:45
Forum: ESP Easy: Software
Topic: KRACK vulnerability
Replies: 16
Views: 4928

Re: KRACK vulnerability

I was suspecting something like that. Maybe its related to a known issue. https://github.com/esp8266/Arduino/issues/2437 It does not look like this gets fixed any time soon though. But with the workaround I published above website generation runs smoothly now. :D However, I found another issue. Its ...
by s0170071
06 Nov 2017, 08:28
Forum: ESP Easy: Software
Topic: KRACK vulnerability
Replies: 16
Views: 4928

Re: KRACK vulnerability

I found the 10 mseconds by trial and error. The code I posted will get updated tonight as it fails with the "hardware" page. This page is about 8kb and string handling as I implemented it fails due to low memory. (exception 3) I fixed that this morning but cannot post the update until tonight as it ...
by s0170071
05 Nov 2017, 23:48
Forum: ESP Easy: Software
Topic: KRACK vulnerability
Replies: 16
Views: 4928

Re: KRACK vulnerability

I think I nailed it. I can now recieve with my mobile device via VPN. What I did was modifying the chunked data transfer function so that it - does only send chunks <1400 bytes - call delay(30) after each chunk or wait for the heap memory to return. - does no "real" chunking as part of it (announcin...
by s0170071
05 Nov 2017, 21:54
Forum: ESP Easy: Software
Topic: KRACK vulnerability
Replies: 16
Views: 4928

Re: KRACK vulnerability

Hi vader, found my problem. Basicly the ESP runs fine as long as I access it from my lan only. When I try to access it from my Android device via VPN through my FritzBox 7490 I do not get a webpage displayed. The ESP hangs - times out somewhere and has about 5k ram less free. Do it three times in a ...
by s0170071
05 Nov 2017, 19:29
Forum: ESP Easy: Software
Topic: Development Environment with JTAG debugger?
Replies: 2
Views: 849

Re: Development Environment with JTAG debugger?

Yeah, I tried that one. Doesnt work as expected though. On my private machine at leas the IDE it installed without errors but does not compile. An when I click on an error it does not jump to the location in the code. wtf. But its colorful. :-) On my business machine I didn't event get to install it...
by s0170071
03 Nov 2017, 10:40
Forum: ESP Easy: Software
Topic: Wrong Hz in IRremoteESP8266 - could affect range
Replies: 1
Views: 704

Re: Wrong Hz in IRremoteESP8266 - could affect range

Olle, There are two aspects to consider. 1. the spectral response (wavelength) of the sender / receiver diode. Think of it as the colour of the IR light. IR is about 900nm-1200nm. 2. the modulation frequency of the signal coding. The signal is not just on / off like the output of the UART pin. It is...
by s0170071
30 Oct 2017, 21:30
Forum: ESP Easy: Software
Topic: Development Environment with JTAG debugger?
Replies: 2
Views: 849

Development Environment with JTAG debugger?

Hi all, just a quick poll- which IDEs are you guys using ? I find - native Arduino IDE: functional, working, uploading but lacks basic editing features - Visual Studio Express: works only with Visual Micro and is not exacly light weight - Visual Studio Code: cannot get Intellisense working properly ...
by s0170071
30 Oct 2017, 14:24
Forum: ESP Easy: Software
Topic: Experience with core 2.4.0
Replies: 4
Views: 1678

Re: Experience with core 2.4.0

I think that cannot be fixed in html. That would just be a workaround anyway.

The chunking issue is possibly related to an open issue in the 2.4.0 core:
https://github.com/esp8266/Arduino/issues/3225

I look into it.
by s0170071
30 Oct 2017, 13:33
Forum: ESP Easy: Software
Topic: Experience with core 2.4.0
Replies: 4
Views: 1678

Re: Experience with core 2.4.0

Removing the numbers from the webinterface comes with a downside. They are there for a reason. If you remove them, you break the chunking mechanism of the website output. That mechanism allows the webserver to stream out the webpage in parts without prior knowledge of the entire size. It just announ...
by s0170071
30 Oct 2017, 13:19
Forum: ESP Easy: Software
Topic: ThingSpeak upate delay blocks system
Replies: 5
Views: 1554

Re: ThingSpeak upate delay blocks system

That would be nice. Thanks.
by s0170071
28 Oct 2017, 23:45
Forum: ESP Easy: Software
Topic: 2.4.0rc2 OLED_SSD1306 compile error
Replies: 4
Views: 2005

2.4.0rc2 OLED_SSD1306 compile error

Hi all, today I was playing with the 2.4.0rc2 arduino library and at first the EasyEsp Mega compiled fine. All of a sudden (really!) I get tons of compile errors, all coming from plugin 036 OLED SSD1306 framed. If I comment the code out then the errors are all gone and the binary runs fine. The lib ...
by s0170071
28 Oct 2017, 10:12
Forum: ESP Easy: Software
Topic: ThingSpeak upate delay blocks system
Replies: 5
Views: 1554

ThingSpeak upate delay blocks system

Hi all, I have a power meter sensor (MT681 EHZ, 3 values) reading every second. The result is also displayed in a webpage, also every second. That displays a real time power consumption in my home. In order to push the values to ThingSpeak, I need to set the MessageDelay to 15 seconds. Its a ThingSp...
by s0170071
23 Oct 2017, 06:57
Forum: ESP Easy: Software
Topic: KRACK vulnerability
Replies: 16
Views: 4928

Re: KRACK vulnerability

well, the crashes I had may acutally be owed to the fact that I accidentally compiled with debug mode on. I had some debug messages from the visual micro debugger in the serial ouput. I retried without - it seems to work so far. The removal of the WebServer.sendContent(size); fixed the stray numbers...
by s0170071
22 Oct 2017, 20:17
Forum: ESP Easy: Software
Topic: Dynamic Webpages
Replies: 3
Views: 1330

Dynamic Webpages

Hi all, I read it somewhere... custom Webpages. Cool to have the ESP serve a little value by itself. To put it short: 1. upload any html website as if it was a config file. It goes to spiffs. 2. Access it from your browser. Here comes the dynamic part: use %...% to include system variable placeholde...
by s0170071
21 Oct 2017, 21:44
Forum: ESP Easy: Software
Topic: KRACK vulnerability
Replies: 16
Views: 4928

KRACK vulnerability

Hi all, I just tried the new 2.4.0rc2 Arduino library as it has the latest WPA2 "Krack" vulnerability fixed. https://github.com/esp8266/Arduino/releases/tag/2.4.0-rc2 Good news: compiles and seems to run. Fast as lighning :D :D :D They changed the TCP acknowledge behaviour which makes the ESP consid...
by s0170071
21 Oct 2017, 21:34
Forum: ESP Easy: Hardware
Topic: SHT25 plugin
Replies: 0
Views: 583

SHT25 plugin

Hi all, I have been sitting on the code for the Sensitron SHT25 sensor for a while now. I did some if it myself, most likely I collected some parts all over the net. I simply do not remember and therefore do not claim it to be my own. The template for the plugin was adapted from the SHT3x sensor. To...
by s0170071
21 Oct 2017, 21:14
Forum: Introduce yourself
Topic: Hello from Germany
Replies: 3
Views: 4572

How to set up ESPEasy for the Homematic CCU2

Hi Gerd, it has been a while, but maybe someone else needs the info. Here is how you do it: 1. have your ESPEasy up and running. I use the ESP8266 with the mega 2.0 firmware. 2. set up a device (sensor) 3. set up a controller. For the CCU2 you use Generic HTTP. Controller IP = your CCU2 address, Por...