ESP Easy Releases

Moderators: grovkillen, Stuntteam, TD-er

Message
Author
mkotek
Normal user
Posts: 116
Joined: 15 Dec 2015, 10:58
Location: Lomianki, Poland
Contact:

Re: ESP Easy Releases

#101 Post by mkotek » 26 Dec 2015, 16:39

mkotek wrote:I am running one on R48 for relay and DHT11 (restart still not resolved, but I have tried pulling GPIO 0 up on the other one and it does not help - it must be my relay, because I cannot replicate that on ESP-12E and dual channel relay):
Uptime: 4343 minutes

And this is so low only because it has been disconnected during cleaning of the floor next to a christmas tree :(
We will see, how long it will last.
As promised, current update: 6928 minutes and counting.
And the other one I have put on Thursday to manage my front lights: 3025 minutes (R39).
Michal 'Kotek', greetings from Poland. Zapraszam na mój blog o automatyce domowej po polsku: http://www.ukotka.com.

BertB
Normal user
Posts: 1049
Joined: 25 Apr 2015, 14:39

Re: ESP Easy Releases

#102 Post by BertB » 26 Dec 2015, 23:21

Well, this is what I had today:

DS : Temperature: 20.81 (28-ff-4a-af-a1-15-3-83)
DHT : Temperature: 21.40
DHT : Humidity: 49.00
WD : Uptime 387 ConnectFailures 0 FreeMem 27688
WD : Uptime 388 ConnectFailures 0 FreeMem 27688
DS : Temperature: 20.81 (28-ff-4a-af-a1-15-3-83)

Exception (28):
epc1=0x401035a7 epc2=0x00000000 epc3=0x00000000 excvaddr=0x00000024 depc=0x00000000

ctx: cont
sp: 3fff2eb0 end: 3fff33b0 offset: 01a0

>>>stack>>>
3fff3050: 000000c0 0003a990 0000a8c0 4022267c
3fff3060: 401050e5 3fff48f4 00000001 3fff3208
3fff3070: 00040000 00000000 53002200 0000005c
3fff3080: 4000050c 3fffc278 40104f68 3fffc200
3fff3090: 00000022 0000000a 3fff0f7f 000000ff
3fff30a0: 402094a1 00000030 00000013 ffffffff
3fff30b0: 4020948c 0000002f 00000000 00000001
3fff30c0: 00000004 00000004 00000009 3ffe836c
3fff30d0: 60000808 00000009 00000001 00000001
3fff30e0: ffffffff 00000011 00000064 00000030
3fff30f0: 40103579 00090000 00000002 00000000
3fff3100: 4010526a 3fff56bc 3fff56b8 40225826
3fff3110: 00000000 3fff57d4 20522200 402254a9
3fff3120: 4000050c 3fffc278 40104f68 3fffc200
3fff3130: 00000022 00000000 3fff56b8 4010140e
3fff3140: 40207917 00000030 0000000b ffffffff
3fff3150: 40207914 0000002f 00000000 00000001
3fff3160: fbf8ffff 04000002 3feffe00 00000100
3fff3170: 401015a2 00000018 04000102 3fff57f8
3fff3180: 40201d10 00000001 00000000 3fff2248
3fff3190: 3fff03d5 3fff3280 4021bb88 402094cf
3fff31a0: 40201d10 3fff3280 00000016 00000000
3fff31b0: 00000000 00000016 3fff3280 4020ead4
3fff31c0: 00000001 0000000e 3fff3238 40220702
3fff31d0: 3fff10d4 3fff3210 3fff3238 40220750
3fff31e0: 3ffe9c4c 00000000 2e323900 3fff4530
3fff31f0: 0000000f 00000000 3ffe9c4c 3fff3280
3fff3200: 3fff10d4 00000003 3fff064c 40209a19
3fff3210: 40004b31 3fff57f8 00001000 4022067a
3fff3220: 3ffe9c4c 00000000 3fff32a8 3fff4530
3fff3230: 0000000f 00000000 3fff48e8 0000000f
3fff3240: 00000000 3fff3280 3fff32a8 40220750
3fff3250: 3ffe9c4c 3fffc6fc 00000001 00000004
3fff3260: 3fff10d4 00000001 3ffe9c4c 3fff0bbc
3fff3270: 3fff10d4 00000001 00000001 4020abf5
3fff3280: 40100401 000000db 3fff3202 40220750
3fff3290: 3ffe9c4c 7373656d 000003e8 3fff4430
3fff32a0: 0000000f 00000000 3fff4510 0000000f
3fff32b0: 00000000 00000005 41ab3333 42440000
3fff32c0: 00000000 00000000 3fff3402 4021c805
3fff32d0: 401015a2 00000000 00000001 3fff4430
3fff32e0: 0000000f 00000000 3fff4510 0000000f
3fff32f0: 00000000 3fff08fc 4021bb88 3fff2390
3fff3300: 3fff0914 00000001 00000004 40201c93
3fff3310: 3fff0900 00000029 3fff48a0 3fff08fc
3fff3320: 3fff0900 3fff08f8 3fff1028 402112b6
3fff3330: 69747055 3320656d 43203838 656e6e6f
3fff3340: 61467463 72756c69 30207365 65724620
3fff3350: 6d654d65 36373220 3f003838 40215bdc
3fff3360: 3fff1428 3fff3400 3fff0900 3fff4510
3fff3370: 00000000 00000000 00000016 40101e31
3fff3380: 4021bba9 0000001f 00000012 3fff2384
3fff3390: 3fffdc20 00000000 3fff237c 4021bbd1
3fff33a0: 00000000 00000000 3fff2390 40100114
<<<stack<<<

ets Jan 8 2013,rst cause:2, boot mode:(3,7)

load 0x4010f000, len 1264, room 16
tail 0
chksum 0x42
csum 0x42
~ld
ªU
INIT : Booting Build nr:57
IP : Static IP :192.168.0.70
WIFI : Connecting... 1
WIFI : Connected!
INIT : I2C
INIT : Boot OK
INIT : Normal boot
WD : Uptime 0 ConnectFailures 0 FreeMem 28392
DS : Temperature: 20.81 (28-ff-4a-af-a1-15-3-83)
DHT : Temperature: 20.80
DHT : Humidity: 48.10


And:

DS : Temperature: 20.62 (28-ff-4a-af-a1-15-3-83)
DHT : Temperature: 21.30
DHT : Humidity: 49.00
WD : Uptime 2 ConnectFailures 0 FreeMem 28088
WD : Uptime 3 ConnectFailures 0 FreeMem 28104
DS : Temperature: 20.62 (28-ff-4a-af-a1-15-3-83)
DHT : Temperature: 21.30
DHT : Humidity: 49.00
WD : Uptime 3 ConnectFailures 0 FreeMem 28056

ets Jan 8 2013,rst cause:4, boot mode:(3,7)

wdt reset
load 0x4010f000, len 1264, room 16
tail 0
chksum 0x42
csum 0x42
~ld
ªU
INIT : Booting Build nr:57
IP : Static IP :192.168.0.70
WIFI : Connecting... 1
WIFI : Connected!
INIT : I2C
INIT : Boot OK
INIT : Normal boot
WD : Uptime 0 ConnectFailures 0 FreeMem 28344
DS : Temperature: 20.62 (28-ff-4a-af-a1-15-3-83)
DHT : Temperature: 21.30
DHT : Humidity: 48.90

Martinus

Re: ESP Easy Releases

#103 Post by Martinus » 27 Dec 2015, 14:46

BertB wrote:Well, this is what I had today:
Exception (28):
epc1=0x401035a7 epc2=0x00000000 epc3=0x00000000 excvaddr=0x00000024 depc=0x00000000
Hi Bert,
That looks like a nasty one. Could be a showstopper for further development if we see them more frequently with R57.
Does this only occur with NTP enabled?

BertB
Normal user
Posts: 1049
Joined: 25 Apr 2015, 14:39

Re: ESP Easy Releases

#104 Post by BertB » 27 Dec 2015, 15:29

Well I van only see that when the serial interface is active and I only have that on one NodeMcu. But yes, it had ntp activated.

BertB
Normal user
Posts: 1049
Joined: 25 Apr 2015, 14:39

Re: ESP Easy Releases

#105 Post by BertB » 27 Dec 2015, 20:37

I found some stuff here. May be it helps ...
https://github.com/Links2004/arduinoWebSockets/issues/7

hamster
Normal user
Posts: 62
Joined: 27 Sep 2015, 21:01
Location: UK

Re: ESP Easy Releases

#106 Post by hamster » 28 Dec 2015, 15:32

Sorry.. But I think I found a bug on build 57.
When I choose level control, where the 'check task' is a SI7021 (Temp + Humidity)
also where 'Check Value' = Humidity it actually uses the Temperature levels not humidity as the control.
but when I select 'Check Value' = Temperature this works fine.
It seems it only ever uses the the first check value even though the second is selected. :(

Martinus

Re: ESP Easy Releases

#107 Post by Martinus » 28 Dec 2015, 16:29

hamster wrote:Sorry.. But I think I found a bug on build 57.
When I choose level control, where the 'check task' is a SI7021 (Temp + Humidity)
also where 'Check Value' = Humidity it actually uses the Temperature levels not humidity as the control.
but when I select 'Check Value' = Temperature this works fine.
It seems it only ever uses the the first check value even though the second is selected. :(
Fixed in R58.

hamster
Normal user
Posts: 62
Joined: 27 Sep 2015, 21:01
Location: UK

Re: ESP Easy Releases

#108 Post by hamster » 28 Dec 2015, 16:31

excellent.. thanks .. :)

BertB
Normal user
Posts: 1049
Joined: 25 Apr 2015, 14:39

Re: ESP Easy Releases

#109 Post by BertB » 28 Dec 2015, 16:33

Martinus wrote:
hamster wrote:Sorry.. But I think I found a bug on build 57.
When I choose level control, where the 'check task' is a SI7021 (Temp + Humidity)
also where 'Check Value' = Humidity it actually uses the Temperature levels not humidity as the control.
but when I select 'Check Value' = Temperature this works fine.
It seems it only ever uses the the first check value even though the second is selected. :(
Fixed in R58.
Any news concerning the possibly nasty problem?

Martinus

Re: ESP Easy Releases

#110 Post by Martinus » 28 Dec 2015, 17:19

BertB wrote:Any news concerning the possibly nasty problem?
No progress. I can't reproduce it in testlab and none of my unit's seem to suffer from it.

The exception 28 can have many causes. Already debugged the output elf file and it seems to come down to this SDK function:

lmacProcessAckTimeout

But that doesn't help much. I've asked questions about how to trace this back to it's calling function(s). No answers yet...

BertB
Normal user
Posts: 1049
Joined: 25 Apr 2015, 14:39

Re: ESP Easy Releases

#111 Post by BertB » 28 Dec 2015, 17:25

Okay, thanks.
Werd that you do not have it.
I shall step back to a pre ntp release, just to see what happens.

Martinus

Re: ESP Easy Releases

#112 Post by Martinus » 06 Jan 2016, 08:49

R60 is available on github. Thanks to 'lindeger' for contributing to the project!

- Added support for MLX90614 IR temperature sensor
- Added support for ADS1115 ADC

Wiki is currently not up-to-date for these new devices (!)

Ger
Normal user
Posts: 71
Joined: 05 Sep 2015, 18:09

Re: ESP Easy Releases

#113 Post by Ger » 06 Jan 2016, 11:49

The MLX90614 is a temperature sensor which can measure the temperature of the objects in its view, -70 to +380°C for object temperature.
It also can measure the ambient/sensor temperature, -40 to +85°C for sensor temperature.
I found a link with a program to give the MLX90614 a different I2C address http://www.chrisramsay.co.uk/posts/2014 ... 4-sensors/
You can use the port value as offset from the default 5Ah address, so if you give the MLX90614 a new address 5Bh you should fill in a port number 1.
I have bought the following one:
http://www.aliexpress.com/item/Free-Shi ... 61612.html
Attachments
MLX90614.jpg
MLX90614.jpg (13.14 KiB) Viewed 27320 times

Ger
Normal user
Posts: 71
Joined: 05 Sep 2015, 18:09

Re: ESP Easy Releases

#114 Post by Ger » 06 Jan 2016, 11:50

For the MLX90614 check if the version you buy can work on 3.3V

Ger
Normal user
Posts: 71
Joined: 05 Sep 2015, 18:09

Re: ESP Easy Releases

#115 Post by Ger » 06 Jan 2016, 12:21

ADS1115.jpg
ADS1115.jpg (124.11 KiB) Viewed 27313 times
The ADS1115 is a 16 bit AD converter with four input channels and programmable gain amplifier.

Gain Fulscale voltage
2/3 6.144V
1 4.096V
2 2.048V
4 1.024V
8 0.512V
16 0.256V
In no event the input voltage should more than VDD + 0.3 V be applied to this device.

BertB
Normal user
Posts: 1049
Joined: 25 Apr 2015, 14:39

Re: ESP Easy Releases

#116 Post by BertB » 07 Jan 2016, 14:54

@Ger.
What purpose do you have for the MLX90614?

Ger
Normal user
Posts: 71
Joined: 05 Sep 2015, 18:09

Re: ESP Easy Releases

#117 Post by Ger » 07 Jan 2016, 15:03

@BertB

I am going to use it to monitor my central heating unit.
I am going to place one MLX90614 just behind the pipe going to the radiators and one behind the warm water pipe.
I am also thinking of using it to monitor my wood stove. ;)

mkotek
Normal user
Posts: 116
Joined: 15 Dec 2015, 10:58
Location: Lomianki, Poland
Contact:

Re: ESP Easy Releases

#118 Post by mkotek » 07 Jan 2016, 15:14

Ger wrote:@BertB

I am going to use it to monitor my central heating unit.
I am going to place one MLX90614 just behind the pipe going to the radiators and one behind the warm water pipe.
I am also thinking of using it to monitor my wood stove. ;)
I have opened a separate topic, so this one stays for ESP Releases only. Please use the other topic for discussion: http://www.esp8266.nu/forum/viewtopic.php?f=5&t=610
Michal 'Kotek', greetings from Poland. Zapraszam na mój blog o automatyce domowej po polsku: http://www.ukotka.com.

Ger
Normal user
Posts: 71
Joined: 05 Sep 2015, 18:09

Re: ESP Easy Releases

#119 Post by Ger » 07 Jan 2016, 15:16

I am waiting on the ESP8266 Witty boards I ordered at AliExpress http://www.aliexpress.com/item/ESP8266- ... 99462.html
As far as I can see it is a ESP8266 board with USB power supply connected to a baseboard with USB serial converter to program the board.
For the sensors I am going to use a prototype PCB board to connect the sensors to and will mount to connectors on it to put the ESP board on to it.
In this way I can mount the prototype board where I want it, but when I have to program the ESP I don't have to disconnect the sensors.
I just have to pullout the ESP board. ;)

mkotek
Normal user
Posts: 116
Joined: 15 Dec 2015, 10:58
Location: Lomianki, Poland
Contact:

Re: ESP Easy Releases

#120 Post by mkotek » 07 Jan 2016, 15:16

Ger wrote:
ADS1115.jpg
The ADS1115 is a 16 bit AD converter with four input channels and programmable gain amplifier.
Moved to http://www.esp8266.nu/forum/viewtopic.php?f=5&t=611, so that this thread stays clear.
Michal 'Kotek', greetings from Poland. Zapraszam na mój blog o automatyce domowej po polsku: http://www.ukotka.com.

Ger
Normal user
Posts: 71
Joined: 05 Sep 2015, 18:09

Re: ESP Easy Releases

#121 Post by Ger » 07 Jan 2016, 15:33

Moved to http://www.esp8266.nu/forum/viewtopic.p ... 2900#p2900 so that this thread stays clear. :oops:

Mihadongle
Normal user
Posts: 25
Joined: 07 Jan 2016, 17:18

Re: ESP Easy Releases

#122 Post by Mihadongle » 07 Jan 2016, 18:12

Hallo i have found on github only r048 where could i get the r60? I couldnt found the version
Best regard from austria

mkotek
Normal user
Posts: 116
Joined: 15 Dec 2015, 10:58
Location: Lomianki, Poland
Contact:

Re: ESP Easy Releases

#123 Post by mkotek » 07 Jan 2016, 18:32

Mihadongle wrote:Hallo i have found on github only r048 where could i get the r60? I couldnt found the version
Best regard from austria
Github is constantly updated, so if you download zip file from Master branch, you will get R60. Stable releases are published on SourceForge.
Michal 'Kotek', greetings from Poland. Zapraszam na mój blog o automatyce domowej po polsku: http://www.ukotka.com.

Mihadongle
Normal user
Posts: 25
Joined: 07 Jan 2016, 17:18

Re: ESP Easy Releases

#124 Post by Mihadongle » 08 Jan 2016, 18:06

Thank you i have now seen in the releasnots

BertB
Normal user
Posts: 1049
Joined: 25 Apr 2015, 14:39

Re: ESP Easy Releases

#125 Post by BertB » 09 Jan 2016, 20:54

I have don a lot of testing with NTP. The situation is stable for a couple of days, without NTP, and I get lots of resets when NTP is on and it seems to be worse when more ESP's have NTP on. It looks like there is some problem when time cannot be retrieved immediately. But I admit, that is only guessing.

There also seems to be a sensitivity problem.
I have one Huzzah type board with ESP-12 and an antenna. Signal strength is between -68 and -71. It is stable for more than 117000 minutes.
I have a NodeMCU with esp-12E that sees a signal of between -74 and -78, which resets several times a day.
Another NodeMCU with esp-12E that sees a signal of between -54 and -57, which is stable for a couple of days, but when I put is further away so its reads between -76 and -80, it resets several times per day.

This looks like an hardware issue, but then, why does it reset?

doxikus
Normal user
Posts: 57
Joined: 22 Sep 2015, 08:47

Re: ESP Easy Releases

#126 Post by doxikus » 10 Jan 2016, 18:56

HI, I have update one node with latest version, build 63, now I have problem with LCD 1602 (16x2) I have two DS temp sensor my lines are like Temp: [TempProbe2#Temperature]C after I hit save I got this sam as output on lcd Temp%3A+%5BTempProbe2%23Temperature%5DC I got all special character converted to unicode, any clue what can be. On earlier versions everything works fine

Thanks
screenshot-192.168.5.21 2016-01-10 18-55-28.png
screenshot-192.168.5.21 2016-01-10 18-55-28.png (39.72 KiB) Viewed 26705 times

User avatar
costo
Normal user
Posts: 500
Joined: 21 Nov 2015, 15:03
Location: NL, zw-NB

Re: ESP Easy Releases

#127 Post by costo » 10 Jan 2016, 22:31

BertB wrote:
This looks like an hardware issue, but then, why does it reset?
Do you get ConnectFailures in the log ?

doxikus
Normal user
Posts: 57
Joined: 22 Sep 2015, 08:47

Re: ESP Easy Releases

#128 Post by doxikus » 10 Jan 2016, 23:43

Hi, nope, under esplog conectfailures 0, I have also attached 2 ds temp sensors and they work ok, also I have all under domoticz normally fetched.

User avatar
costo
Normal user
Posts: 500
Joined: 21 Nov 2015, 15:03
Location: NL, zw-NB

Re: ESP Easy Releases

#129 Post by costo » 11 Jan 2016, 02:15

doxikus wrote:HI, I have update one node with latest version, build 63, now I have problem with LCD 1602 (16x2) I have two DS temp sensor my lines are like Temp: [TempProbe2#Temperature]C after I hit save I got this sam as output on lcd Temp%3A+%5BTempProbe2%23Temperature%5DC I got all special character converted to unicode, any clue what can be. On earlier versions everything works fine
Did you try to type the line just with [ ] and # in the Task Setting ?

In all versions, also R63 it is the same for me , Temp: [TempProbe2#Temperature]C in the Task Settings gives me exactly what I like to see on the LCD Temp: nn.nnC while using the line as you use gives me the same distorted result as output on the display.

doxikus
Normal user
Posts: 57
Joined: 22 Sep 2015, 08:47

Re: ESP Easy Releases

#130 Post by doxikus » 11 Jan 2016, 07:00

Hi, I try with simple [#] and output I got is %5B%23%5D

I will try to flash another module with latest version and see what will happen.

doxikus
Normal user
Posts: 57
Joined: 22 Sep 2015, 08:47

Re: ESP Easy Releases

#131 Post by doxikus » 11 Jan 2016, 12:38

@costo, you said that you get same strange character output on LCD!?

I use info from http://www.esp8266.nu/index.php/LCDDisplay to create first two lines on my espeasy. Do you have any different approach how to display temperature on lcd, maybe I have missed something.

Thanks

User avatar
costo
Normal user
Posts: 500
Joined: 21 Nov 2015, 15:03
Location: NL, zw-NB

Re: ESP Easy Releases

#132 Post by costo » 11 Jan 2016, 14:35

@doxikus

I look at your picture of 'Task Settings' and it shows %3A, %5B , %23 and %5C so I assume that is what you type in there.
If you did not type that yourself but get it after entering enter or submit, it may be your browser or OS is doing this substitution.

doxikus
Normal user
Posts: 57
Joined: 22 Sep 2015, 08:47

Re: ESP Easy Releases

#133 Post by doxikus » 11 Jan 2016, 14:45

Hi already try different browser, OS etc, also error happens on r58 and latest r63. Environment is arduino 1.6.5 and ESP 2.0. LCD module is 16x2. On version R48 lcd works fine

Martinus

Re: ESP Easy Releases

#134 Post by Martinus » 11 Jan 2016, 15:52

Sure that you are using core 2.0.0 and not the release candidate or something else?

It should EXACTLY look like this:
Core200.png
Core200.png (6.1 KiB) Viewed 27287 times

doxikus
Normal user
Posts: 57
Joined: 22 Sep 2015, 08:47

Re: ESP Easy Releases

#135 Post by doxikus » 11 Jan 2016, 16:41

HI, my current setup look like this, board manager url http://arduino.esp8266.com/staging/pack ... index.json and under board management 2.0.0 rc-1, how to get 2.0.0 without rc version like you post it on screenshot.

doxikus
Normal user
Posts: 57
Joined: 22 Sep 2015, 08:47

Re: ESP Easy Releases

#136 Post by doxikus » 11 Jan 2016, 17:24

ok, problem is I think solved by now :-). I have reinstalled arduino ide and under additional board url add staging version after I have replaced with stable URL I don?t have anymore problems with unusual characters on LCD line settings, additional board url I'm using now is http://arduino.esp8266.com/stable/packa ... index.json. I think that is maybe time to update wiki :-).

Martinus

Re: ESP Easy Releases

#137 Post by Martinus » 11 Jan 2016, 18:50

doxikus wrote:I think that is maybe time to update wiki :-).
The Wiki pages document the stable version as found on SourceForge. Currently at R48 that should still run nicely with the advised board manager version in the tutorial.

Maybe it's time to publish a new 'stable' version, but I'm not sure if the latest R60+ releases are good candidates.
Then we can update the Wiki and document the latest stable

fluppie
Normal user
Posts: 89
Joined: 09 Oct 2015, 13:23

Re: ESP Easy Releases

#138 Post by fluppie » 11 Jan 2016, 21:04

I have the impression that sometimes the ESP is locking up with the later releases. I have 2 Wemos D1 modules and 5 Wemos D1 mini modules.
Or it could be when the software is fetching data from the sensors or writing to the OLED display it is ignoring the webinterface requests.

Martinus

Re: ESP Easy Releases

#139 Post by Martinus » 14 Jan 2016, 15:42

R64 is available for download on github, beware that it's development stuff...

Experimental: Added simple json interface to retrieve sensor data using http
use http://<esp ip>/json to collect sensor data, will return a json object array
use http://<esp ip>/json?tasknr=<task number> to collect sensor data form a single sensor, returns a single json object

Experimental: Prepare tasks for remote data feed (Work in progress...)
This may bring something like a "global" available sensor. So connect a light sensor to one unit and all other ESP units will also get the data as a "virtual sensor". So you can display outside temp on an inside ESP unit or stuff like that. Or use the level control to turn on something based on data from a remote ESP unit. All without using a controller.

Added %uptime% as variable for display
To be used for LCD/OLED display

Added padding to LCD/OLED display
Fixes a 'bug'

Added support for local button to turn on LCD/OLED display with configurable timeout
For "maluko's" project... But others are also allowed to use it...

Changed: no system time displayed when NTP is disabled
Would be silly to display useless information...

Added protocol option "Standalone" for units without a controller
For those people without controllers...

Fixed UNIT_MAX in node list
Unit 31 (last unit) would not be listed, this is fixed.

Added boot config for GPIO pin states
@mkotek, let me know if it solves your issues.

Have fun experimenting, can't promise that it's stable...

mkotek
Normal user
Posts: 116
Joined: 15 Dec 2015, 10:58
Location: Lomianki, Poland
Contact:

Re: ESP Easy Releases

#140 Post by mkotek » 14 Jan 2016, 17:27

Martinus wrote:R64 is available for download on github, beware that it's development stuff...
...
Added %uptime% as variable for display
To be used for LCD/OLED display
...
Added support for local button to turn on LCD/OLED display with configurable timeout
For "maluko's" project... But others are also allowed to use it...
...
Added boot config for GPIO pin states
@mkotek, let me know if it solves your issues.
Thank you, that really sounds great. Unfortunately I will be able to test it on Saturday at the earliest :(
Michal 'Kotek', greetings from Poland. Zapraszam na mój blog o automatyce domowej po polsku: http://www.ukotka.com.

kr0815
Normal user
Posts: 136
Joined: 18 Nov 2015, 18:24

Re: ESP Easy Releases

#141 Post by kr0815 » 14 Jan 2016, 19:10

Hello Martinus,

thanks a lot for going on that fast, a lot of new / interesting Features :-)

I was away for a few days / not able to Play with the Software, but will definetly try this weekend

maluko
Normal user
Posts: 112
Joined: 02 Sep 2015, 00:49

Re: ESP Easy Releases

#142 Post by maluko » 14 Jan 2016, 23:35

wow you are fast, martinus :)

thanks a lot to incluide this feature
Added support for local button to turn on LCD/OLED display with configurable timeout
For "maluko's" project... But others are also allowed to use it...
i think that will be useful for extend lcd life...

zldkwas83
New user
Posts: 2
Joined: 21 Nov 2015, 00:26

Re: ESP Easy Releases

#143 Post by zldkwas83 » 15 Jan 2016, 13:38

Hi,

Many thanks for updated release. Great.
Martinus wrote:R64 is available for download on github, beware that it's development stuff...

Experimental: Added simple json interface to retrieve sensor data using http
use http://<esp ip>/json to collect sensor data, will return a json object array
use http://<esp ip>/json?tasknr=<task number> to collect sensor data form a single sensor, returns a single json object

Experimental: Prepare tasks for remote data feed (Work in progress...)
This may bring something like a "global" available sensor. So connect a light sensor to one unit and all other ESP units will also get the data as a "virtual sensor". So you can display outside temp on an inside ESP unit or stuff like that. Or use the level control to turn on something based on data from a remote ESP unit. All without using a controller.

Added %uptime% as variable for display
To be used for LCD/OLED display
...
/color]
@mkotek, let me know if it solves your issues.

Have fun experimenting, can't promise that it's stable...
Have ESP-12E currently running more than 800 minutes without restart after I upgraded today night (no logging to web, serial, only logging level 2 to to syslog server, OLED 1306, SI7021, BHT1750, BMP1800 and DS18b20 connected on test bet). Like json features and uptime for display. Please, did you consider adding "dummy" sensor for monitoring uptime and additional system parameters? Idea is to have such sensor for troubleshooting, tracking restarts etc. which make sense once we are able to pull sensor values with json now.
Would it be please possible to add some flag for selected display line that this one is not update (cleaned etc.) by ESP itself but externally (pushed some text via other system etc.)

Thank you,
Zd.

chrille
Normal user
Posts: 88
Joined: 26 Aug 2015, 15:11
Location: Horsens, Denmark

Re: ESP Easy Releases

#144 Post by chrille » 15 Jan 2016, 14:14

zldkwas83 wrote: Please, did you consider adding "dummy" sensor for monitoring uptime and additional system parameters? Idea is to have such sensor for troubleshooting, tracking restarts etc. which make sense once we are able to pull sensor values with json now.
This has been requested by several other forum users (including me!) already

- Jan
Jan Chrillesen, Denmark

Martinus

Re: ESP Easy Releases

#145 Post by Martinus » 15 Jan 2016, 16:33

R65 is available on github:

The padding feature broke the option to leave a line blank so it can be updated from an external source. The logic in the display plugins needed a small change.

Added a simple plugin device to send single values to the controller. In Domoticz you can use the virtual counter device, although hourly log does not make sense. Would be nice to have custom devices in Domoticz, but howto?

For json requests, the output is extended with some system info stuff:

Code: Select all

{"System":{
"Build": 65,
"Unit": 16,
"Uptime": 12,
"Free RAM": 25056
},
"Sensors":[
{
"TaskName": "SI7021 Demo",
"Temperature": 21.11,
"Humidity": 41.00
},
{
"TaskName": "",
"Analog": 6.00
}
]}

BertB
Normal user
Posts: 1049
Joined: 25 Apr 2015, 14:39

Re: ESP Easy Releases

#146 Post by BertB » 15 Jan 2016, 17:54

very happy with the new gadgets I am.

mkotek
Normal user
Posts: 116
Joined: 15 Dec 2015, 10:58
Location: Lomianki, Poland
Contact:

Re: ESP Easy Releases

#147 Post by mkotek » 16 Jan 2016, 01:36

BertB wrote:very happy with the new gadgets I am.
Obviously force with Martinus is.

Sorry, could not resist while reading at such late hour ;)
Michal 'Kotek', greetings from Poland. Zapraszam na mój blog o automatyce domowej po polsku: http://www.ukotka.com.

BertB
Normal user
Posts: 1049
Joined: 25 Apr 2015, 14:39

Re: ESP Easy Releases

#148 Post by BertB » 16 Jan 2016, 10:18

:geek:
mkotek wrote:
BertB wrote:very happy with the new gadgets I am.
Obviously force with Martinus is.

Sorry, could not resist while reading at such late hour ;)
:D

chrille
Normal user
Posts: 88
Joined: 26 Aug 2015, 15:11
Location: Horsens, Denmark

Re: ESP Easy Releases

#149 Post by chrille » 16 Jan 2016, 10:34

Martinus wrote:R64 is available for download on github, beware that it's development stuff...

Added %uptime% as variable for display
To be used for LCD/OLED display
This works - thanks!
Martinus wrote: Added padding to LCD/OLED display
Fixes a 'bug'
This does not work for me (tested in R65 and with LCD2004)

See this photo http://sandkasse.chrillesen.dk/forum/IMG_2381.JPG for the issue (I have a DHT-22 that sometimes reports NaN for humidity and this causes the position of the C to change)

- Jan
Jan Chrillesen, Denmark

chrille
Normal user
Posts: 88
Joined: 26 Aug 2015, 15:11
Location: Horsens, Denmark

Re: ESP Easy Releases

#150 Post by chrille » 16 Jan 2016, 10:37

Martinus wrote:R65 is available on github:

Added a simple plugin device to send single values to the controller.
I have tested this with the OpenHAB MQTT protocol and there's a cosmetical issue

Code: Select all

/ESP008364/dsw3/Temperature 21.25
/ESP008364/adc3/Analog 120.00
/ESP008364/memory/ 29936.00
Notice the trailing / after memory.

- Jan
Jan Chrillesen, Denmark

Post Reply

Who is online

Users browsing this forum: No registered users and 44 guests