Search found 7 matches

by mcteusz
20 Apr 2017, 14:01
Forum: ESP Easy: General Discussion
Topic: Saving variable value in Flash Memory
Replies: 7
Views: 10661

Re: Saving variable value in Flash Memory

I think this is about something like here:
https://www.letscontrolit.com/forum/vie ... rol#p14559

And this is about Value Name 1: Temperature at Device4. Isn't it?
So first we set temperature in the variable but what to do when ESP restart?
by mcteusz
15 Mar 2017, 14:38
Forum: ESP Easy: General Discussion
Topic: HTTP : connection failed
Replies: 3
Views: 6738

Re: HTTP : connection failed

You need to change controller IP address in ESP config to your computer IP address where Domoticz is installed. 127.0.0.1 is loopback and it must be address in your LAN like 192.168.1.15 or 10.0.0.5. Run cmd and type: ipconfig /all
by mcteusz
14 Mar 2017, 11:09
Forum: ESP Easy: Software
Topic: Status of relay switch not maintained after ESP Restart
Replies: 16
Views: 15396

Re: Status of relay switch not maintained after ESP Restart

My code looks like that: case PLUGIN_WRITE: { String log = ""; String command = parseString(string, 1); if (command == F("gpio")) { success = true; if (event->Par1 >= 0 && event->Par1 <= 16) { pinMode(event->Par1, OUTPUT); digitalWrite(event->Par1, event->Par2); setPinSta...
by mcteusz
13 Mar 2017, 14:21
Forum: ESP Easy: Software
Topic: Status of relay switch not maintained after ESP Restart
Replies: 16
Views: 15396

Re: Status of relay switch not maintained after ESP Restart

It looks like we have to change:

Code: Select all

Settings.PinStates[event->Par1] = event->Par2 + 1;        //Save GPIO settings
to

Code: Select all

Settings.PinBootStates[event->Par1] = event->Par2 + 1;        //Save GPIO settings
by mcteusz
08 Mar 2017, 09:11
Forum: ESP Easy: Software
Topic: Status of relay switch not maintained after ESP Restart
Replies: 16
Views: 15396

Re: Status of relay switch not maintained after ESP Restart

I want to use it only that way:

Code: Select all

http://YOUR_ESP_ADDRESS/control?cmd=gpio,12,0
So I need to change source code.
by mcteusz
07 Mar 2017, 14:26
Forum: ESP Easy: Software
Topic: Status of relay switch not maintained after ESP Restart
Replies: 16
Views: 15396

Re: Status of relay switch not maintained after ESP Restart

Hi fellows.
Can you write me back how can I do the same in the last release R120?
by mcteusz
07 Mar 2017, 13:59
Forum: Introduce yourself
Topic: Hello from Poland
Replies: 0
Views: 2610

Hello from Poland

One more Hello from Poland.
I have created my own automatic with ESP8266 and native Arduino, then found Your project very nice.
Excelent job.