Search found 50 matches

by ingoiot
07 Jul 2020, 22:28
Forum: ESP Easy: Software
Topic: Free Storage used for OTA
Replies: 3
Views: 115

Re: Free Storage used for OTA

didnt know about that controller.
is it the c16 controller? quite a bit todos on the github page..
Do need to compile it myself?

Not very high in priority list, i just wanted to serve some css stuff with my page.
by ingoiot
06 Jul 2020, 00:58
Forum: ESP Easy: Software
Topic: Free Storage used for OTA
Replies: 3
Views: 115

Free Storage used for OTA

hi,

would it be possible to use the OTA Partition (ESP32) for data logging or my own html pages?
E.G. if i do not want to use OTA just mount the partition as for example SPiffs.

i wouldn mind loosing the data when later deciding updating OTA and transfer my data back.
by ingoiot
06 Jul 2020, 00:48
Forum: ESP Easy: Software
Topic: how to upload easyGUI
Replies: 5
Views: 108

Re: how to upload easyGUI

as its loaded correctly from the ESP, but not from local file or local httpd,
it guess the browsers header is right.
so propably i misconfgured something
by ingoiot
05 Jul 2020, 18:01
Forum: ESP Easy: Software
Topic: how to upload easyGUI
Replies: 5
Views: 108

Re: how to upload easyGUI

yes its the new one.

i just wanted to check the progres:)

and see if there are any limitations in size if i want to make my own (mini) frontend.

(if i try to open the .gz file in firefox direct, FF tried to download, not open it)
by ingoiot
05 Jul 2020, 15:56
Forum: ESP Easy: Software
Topic: how to upload easyGUI
Replies: 5
Views: 108

how to upload easyGUI

hi, i seems like you have to only upload the index.html.gz to work. At leat on my ESP32 is not enough space for more. The only version i can get to work(kind Of) is the mini version. The others dont start/hanging in the loading screen. i guess the file is decompressed on the fly before the ESP32 del...
by ingoiot
02 Jul 2020, 20:16
Forum: ESP Easy: General Discussion
Topic: UTC Time settings
Replies: 2
Views: 159

Re: UTC Time settings

done,
(hopefully at the right place)
by ingoiot
02 Jul 2020, 02:14
Forum: ESP Easy: General Discussion
Topic: UTC Time settings
Replies: 2
Views: 159

UTC Time settings

hi,

it seems like the UTC+- setting is only activated when DST is active.
Thats a bit confusing especially when I dont want to use DST. Maybe its better placed under "Location Settings".

Maybe its already out of date due to the release of the new GUI? :)
by ingoiot
04 Nov 2019, 21:23
Forum: ESP Easy: Software
Topic: Send file to ESPeasy
Replies: 6
Views: 4797

Re: Send file to ESPeasy

tnx, ill try it
by ingoiot
04 Nov 2019, 19:50
Forum: ESP Easy: Software
Topic: Send file to ESPeasy
Replies: 6
Views: 4797

Send file to ESPeasy

hi,
can i send a file directly to the esp without using the buildin fliebrowser?
i'd like to send a dashbord.htm via app.
by ingoiot
30 Oct 2019, 18:37
Forum: ESP Easy: Hardware
Topic: hotplug i2C devices
Replies: 3
Views: 5551

Re: hotplug i2C devices

tnx,
looks like i have to stop hotpluggin it^^
by ingoiot
29 Oct 2019, 19:30
Forum: ESP Easy: Hardware
Topic: hotplug i2C devices
Replies: 3
Views: 5551

hotplug i2C devices

hi,

when i hotplug my ds18b20 Temp sensor, the esp reboots.
Can i make it hot plugable?
by ingoiot
20 Oct 2019, 22:12
Forum: ESP Easy: Software
Topic: check if Sensor is active
Replies: 18
Views: 6606

Re: check if Sensor is active

tnx,

so i changed my stayalive rule to

Code: Select all

on DS18b20#Temperature do
  sendTo 1,event,StayAlive
 endon

this should send the stayalive function with interval set for the sensor i think.
and if the senor has an error it shouldnt run - seem to work for now
by ingoiot
20 Oct 2019, 19:58
Forum: ESP Easy: Software
Topic: check if Sensor is active
Replies: 18
Views: 6606

Re: check if Sensor is active

the temp is about 16 degrees.

i pull out the sensor so the value should become 0,
(and it shows 0 in device menu)
therefore it should send relayoff
by ingoiot
20 Oct 2019, 19:23
Forum: ESP Easy: Software
Topic: check if Sensor is active
Replies: 18
Views: 6606

Re: check if Sensor is active

"and" means that both need to be true...
thats what i want. the event should be only true as long as the temperatue is between 10 and 100 degrees
so when the sensor fails it shuts off.
by ingoiot
20 Oct 2019, 18:53
Forum: ESP Easy: Software
Topic: check if Sensor is active
Replies: 18
Views: 6606

Re: check if Sensor is active

works much better:) tnx looks like everything is working right now, except that the first else part is not executed. i switched the ds18b29 error from NaN to 0, but that didnt help. the SetTempEvent isnt called in the logs, that looks ok, but the else statment isnt run. on DS18b20#Temperature do If ...
by ingoiot
20 Oct 2019, 17:27
Forum: ESP Easy: Software
Topic: check if Sensor is active
Replies: 18
Views: 6606

Re: check if Sensor is active

now it looks like this, but still no settemp event

Code: Select all

on [ds18b20#Temperature] do

   event,SetTemp

EndOn

On SetTemp do
 if [ds18b20#Temperature]<[DummyVar#tempSetpoint]
   sendTo 1,event,RelayOn
  else
   sendTo 1,event,RelayOff
  EndIf
EndOn
by ingoiot
20 Oct 2019, 14:33
Forum: ESP Easy: Software
Topic: check if Sensor is active
Replies: 18
Views: 6606

Re: check if Sensor is active

mega-20190809
whats the difference between old and new ruletype?
by ingoiot
20 Oct 2019, 14:05
Forum: ESP Easy: Software
Topic: check if Sensor is active
Replies: 18
Views: 6606

Re: check if Sensor is active

the termperature event shows up as: EVENT: ds18b20#Temperature=15.50 but the SetTemp event never shows up in the log, even this rule: on [ds18b20#Temperature] do Event,SetTemp EndIf EndOn On SetTemp do if [ds18b20#Temperature]<[DummyVar#tempSetpoint] sendTo 1,event,RelayOn else sendTo 1,event,RelayO...
by ingoiot
20 Oct 2019, 12:24
Forum: ESP Easy: Software
Topic: check if Sensor is active
Replies: 18
Views: 6606

Re: check if Sensor is active

i just tried

Code: Select all

on [DS18b20#Temperature]>10 or [DS18b20#Temperature]<100 do

 if [DS18b20#Temperature]<[DummyVar#tempSetpoint]
   sendTo 1,event,RelayOn
else
 if [DS18b20#Temperature]>[DummyVar#tempSetpoint]
   sendTo 1,event,RelayOff
 endif
endon
but seems also to be no valid code.
by ingoiot
20 Oct 2019, 12:00
Forum: ESP Easy: Software
Topic: check if Sensor is active
Replies: 18
Views: 6606

Re: check if Sensor is active

the boot event occurs only once? so it only checked on boottime if a sensor is present? i think im using if/else wrong timer 1 never expires (ist set in another rule, but i think that doesnt mater) so normally the whole rule should be skipped. edit:my wrong timer 1 is alway on so it should run only ...
by ingoiot
20 Oct 2019, 00:43
Forum: ESP Easy: Software
Topic: check if Sensor is active
Replies: 18
Views: 6606

check if Sensor is active

i tried this code to check if a sensor gives plausible values if its out of the range of 10 to 100 degrees(because of a broken cable e.g.) it should turn off the relay. but it doesnt work. it prevents from turning on as the value NaN is never valid for 10 to 100 i think, but it doesnt turn it off. o...
by ingoiot
19 Oct 2019, 23:54
Forum: ESP Easy: Software
Topic: remote send a variable
Replies: 2
Views: 4392

Re: remote send a variable

many tnx,

i already tried TaskValueSet 5,4,RemotSend

but with the % it works.
by ingoiot
19 Oct 2019, 22:21
Forum: ESP Easy: Software
Topic: remote send a variable
Replies: 2
Views: 4392

remote send a variable

i want to send a variabel via http, i think i need an event, or is it possible to change varibales directly? i tried: on RemoteSend do [DummyVar#TempSetpoint]=RemoteSend endon http://192.168.178.45/control?cmd=event,RemoteSend=50 gives this log: 10043: HTTP: event,RemoteSend=50 10100: EVENT: RemoteS...
by ingoiot
19 Oct 2019, 21:41
Forum: ESP Easy: Software
Topic: count up a variable
Replies: 2
Views: 4634

Re: count up a variable

I think this will work.
indeed it did , tnx.
by ingoiot
19 Oct 2019, 21:15
Forum: ESP Easy: Software
Topic: count up a variable
Replies: 2
Views: 4634

count up a variable

hi i'm trying to count up /down a value that i initialized at boot, with two buttons. On System#Boot do //When the ESP boots, do //[DummyVar#TempSetpoint]=40 TaskValueSet 3,1,40 endon on ButtonLeft#state=0 do //[DummyVar#TempSetpoint]- TaskValueSet 3,1,-1 endon on ButtonRight#state=0 do //[DummyVar#...
by ingoiot
17 Oct 2019, 19:02
Forum: ESP Easy: Software
Topic: mini dashboard reload
Replies: 23
Views: 8075

Re: mini dashboard reload

i dont quite grasp the utility of "suggested interval"
(does TTL mean time to live?).

is there any difference between using TTL and TaskInterval?
by ingoiot
16 Oct 2019, 22:39
Forum: ESP Easy: Software
Topic: mini dashboard reload
Replies: 23
Views: 8075

Re: mini dashboard reload

man - and i thought i was done^^ <script onload="setInterval()"> var tempVarInterval = 1000; setInterval(async function () { response = await fetch("/json?view=sensorupdate"); myJson = await response.json(); tempVar = myJson.Sensors[1].TaskValues[0].Value; tempVarInterval = myJson.Sensors[1].TaskInt...
by ingoiot
16 Oct 2019, 20:36
Forum: ESP Easy: Software
Topic: mini dashboard reload
Replies: 23
Views: 8075

Re: mini dashboard reload

got it! (i think) if someone is interested: <!DOCTYPE html> <html> <meta name="viewport" content="width=width=device-width, initial-scale=1"> <STYLE> * { font-family: sans-serif; font-size: 16pt; } .button { margin: 4px; padding: 4px 16px; background-color: #07D; color: #FFF; text-decoration: none; ...
by ingoiot
15 Oct 2019, 22:58
Forum: ESP Easy: Software
Topic: mini dashboard reload
Replies: 23
Views: 8075

Re: mini dashboard reload

man - that was just too easy :(.. now the source code looks good, but the console throws SyntaxError: await is only valid in async functions and async generators at me. when i insert this to the console: const response = await fetch("/json?view=sensorupdate"); const myJson = await response.json(); l...
by ingoiot
15 Oct 2019, 20:43
Forum: ESP Easy: Software
Topic: mini dashboard reload
Replies: 23
Views: 8075

Re: mini dashboard reload

i think im doing pretty much exact that.

when i save the file as .html the browser shows the sqaure brackets where they should be,
but unfortunately the site is shown as plain text, no idea why.
by ingoiot
13 Oct 2019, 11:42
Forum: ESP Easy: Software
Topic: mini dashboard reload
Replies: 23
Views: 8075

Re: mini dashboard reload

i just optimized the code a little, and noticed that when i view the source code in the browser, the square brackets of the array are cut off, and the console shows variable not declared. Why is that? <head> <script> window.addEventListener("load", () => { const response = await fetch("/json?view=se...
by ingoiot
11 Oct 2019, 18:33
Forum: ESP Easy: Software
Topic: mini dashboard reload
Replies: 23
Views: 8075

Re: mini dashboard reload

tnx, looks like it was a Problem with the Browser - on an other computer it works. now i have a little Problem with my code maybe someone can point me in the right direction. I think it might have something to do with scope, but im not sure. code part: <head> <script> object.onload = function tempSe...
by ingoiot
09 Oct 2019, 18:48
Forum: ESP Easy: Software
Topic: mini dashboard reload
Replies: 23
Views: 8075

Re: mini dashboard reload

i tried to fetch it this way: const response1 = await fetch('http://192.168.3.10/json'); const myJson1 = await response1.json(); console.log(JSON.stringify(myJson1)); but firefox tells me: "Content Security Policy: The page's settings blocked the loading of a recource http.... is this set in espeasy?
by ingoiot
20 Sep 2019, 18:06
Forum: ESP Easy: Software
Topic: mini dashboard reload
Replies: 23
Views: 8075

Re: mini dashboard reload

tnx,
i'll try that.

does it make a performance or memory difference using
<espeasyip>/json

or only
<espeasyip>/json?tasknr=<tasknumber>&view=sensorupdate

?
by ingoiot
20 Sep 2019, 11:58
Forum: ESP Easy: Software
Topic: mini dashboard reload
Replies: 23
Views: 8075

Re: mini dashboard reload

i´ve tried some code, but somehow it doesnt work: <br><br> <H3>DISTANZ:</h3> <br onload="meineFunktion()"> <script> function meineFunktion() { setInterval(document.write("[s04#Distance]"), 1000); } </script> <br> </HTML> the inspector in firefox is shown in the db2pic.png the following code shows th...
by ingoiot
19 Sep 2019, 23:11
Forum: ESP Easy: Software
Topic: mini dashboard reload
Replies: 23
Views: 8075

mini dashboard reload

hi,

is there an option to reload the value of a sensor like [ds18b20#Temperature]
automatically without reloading the whole page?
by ingoiot
06 Sep 2019, 23:57
Forum: ESP Easy: Software
Topic: send value via dashboard
Replies: 4
Views: 5076

Re: send value via dashboard

there is currently no way to add to this line <td><a class='button link' href="dashboarddemo.esp?cmd=event,valuedown">Down</a> a variable like <td><a class='button link' href="dashboarddemo.esp?cmd=event,valuedown <var>22</var> Down</a> i only can send the whole line via the button, or am wrong?
by ingoiot
24 Aug 2019, 13:14
Forum: ESP Easy: Software
Topic: send value via dashboard
Replies: 4
Views: 5076

Re: send value via dashboard

my problem starts even earlier.
how to change "button" class to something that accepst a number input and and creates an ok button to send it.
by ingoiot
23 Aug 2019, 23:18
Forum: ESP Easy: Software
Topic: send value via dashboard
Replies: 4
Views: 5076

send value via dashboard

hi, i want to set the switching temperature of my smartplug on the mini dashboard. i've no html skills whatsoever, maybe someone could give me the code for an textfield which sends its value on button click so far i copied the code from the wiki and added my sensor to display its value, but im not a...
by ingoiot
23 Aug 2019, 16:15
Forum: ESP Easy: Software
Topic: http send command or rule
Replies: 11
Views: 5061

Re: http send command or rule

tnx, now it works :)
by ingoiot
22 Aug 2019, 22:28
Forum: ESP Easy: Software
Topic: http send command or rule
Replies: 11
Views: 5061

Re: http send command or rule

not sure if this fits this thread or if i should open a new one.. but when i try to send the command through the esp peer network, it does not work. sending esp rule: On ds18b20#Temperature Do If [ds18b20#Temperature]>-15 sendTo,1,RelayOn EndOn gives 345820: Command: sendto 360794: DS : Temperature:...
by ingoiot
22 Aug 2019, 19:56
Forum: ESP Easy: Software
Topic: http send command or rule
Replies: 11
Views: 5061

Re: http send command or rule

yes, thats enough for me for the moment.

maybe i try to get the temperature via http - dont know if that would work.
by ingoiot
22 Aug 2019, 18:53
Forum: ESP Easy: Software
Topic: http send command or rule
Replies: 11
Views: 5061

Re: http send command or rule

grovkillen wrote:
22 Aug 2019, 18:40
PS. you're use of that app suggests to me that you have the unit exposed to the internet?
no, i dont think so.
at least it have only entered a local ip..
by ingoiot
22 Aug 2019, 16:58
Forum: ESP Easy: Software
Topic: http send command or rule
Replies: 11
Views: 5061

Re: http send command or rule

i`m using an app to send the http request HTTP Request Shortcuts

when i send the command with this app, it switches pretty quick,
if i use a browser it reacts pretty slow.
(maybe the browser keeps state and blocks up the esp? dont know)
by ingoiot
22 Aug 2019, 16:46
Forum: ESP Easy: Software
Topic: Dashboard shows no peers
Replies: 5
Views: 3888

Re: Dashboard shows no peers

sry, didnt find that. normally there is a link to the doc and to the wiki on the config pages. Here it is missing. why are these setings in he advanced tab anyway? maybe they should be moved to the controller config.(the RPIeasy fork does this) also even if set in advanced menu, the controllerlist o...
by ingoiot
21 Aug 2019, 23:18
Forum: ESP Easy: Software
Topic: http send command or rule
Replies: 11
Views: 5061

Re: http send command or rule

tnx,

seems to work.

strangely it looks like if i`m triggering the event through the app the esp react relatively fast,
through the webbrowser it seems to slow down the esp quite a bit.
by ingoiot
21 Aug 2019, 21:43
Forum: ESP Easy: Software
Topic: http send command or rule
Replies: 11
Views: 5061

http send command or rule

hi, i tried to send a http command to a Smartplug to switch it on and off with an app. http://192.168.178.33/control?cmd=GPIO,14,0 works to switch the relais, but i also want to swicht a status led. can i send 2 commands in one request? i already have a rule that switches both relais and led with a ...
by ingoiot
21 Aug 2019, 00:19
Forum: ESP Easy: Software
Topic: Dashboard shows no peers
Replies: 5
Views: 3888

Re: Dashboard shows no peers

tnx,
UDP port was set to 0.
couldnt find that in the docs.
by ingoiot
20 Aug 2019, 21:08
Forum: ESP Easy: Software
Topic: Dashboard shows no peers
Replies: 5
Views: 3888

Dashboard shows no peers

hi,

how to configure peer to peer network in espeasy?
i just enabled the p2p controller of both espeasy units and gave them 2 different numbers.
in dashboard i cant choose nodes.

something forgotten to activate?
by ingoiot
15 Aug 2019, 22:17
Forum: ESP Easy: Software
Topic: ESP-easy new controller
Replies: 0
Views: 5434

ESP-easy new controller

hi, would it be possible to add new controllers to espeasy? For example cayenne.mydevices.com needs 36 chars password lenght, it seems like thats the problem why i cant conntect to this service, apart from that the openhab module seems to be sufficent. Otherwise io.adafruit.com needs to have a speci...