I'm using a hall effect liquid meter like this: https://espeasy.readthedocs.io/en/lates ... FS401.html
Is there a way to trigger an event when a value has been reached? (eg to stop a pump).
Thanks
Tony
Search found 57 matches
- 16 Dec 2023, 18:19
- Forum: ESP Easy: Software
- Topic: Trigger Event on Pulse Count
- Replies: 1
- Views: 1557
- 22 Aug 2023, 10:14
- Forum: ESP Easy: Software
- Topic: Boot Time
- Replies: 15
- Views: 2873
Re: Boot Time
ESP_Easy_mega_20221224_normal_ESP8266_4M1M_VCC Dec 24 2022 (coloured rules) 10660 mS ESP_Easy_mega_20221105_normal_ESP8266_4M1M Nov 5 2022 (coloured rules) 11356 mS ESP_Easy_mega_20220809_normal_beta_ESP8266_4M1M Aug 9 2022 590 mS ESP_Easy_mega_20220616_normal_ESP8266_4M1M Jun 16 2022 438 mS From ob...
- 20 Aug 2023, 23:59
- Forum: ESP Easy: Software
- Topic: Boot Time
- Replies: 15
- Views: 2873
Re: Boot Time
Ahhh.....In older builds I may have had the WiFi scan performed async, so it wasn't blocking, but that gave a lot of issues in connecting to WiFi.
Do you remember which is the newest older build with async wifi?
Thanks
- 20 Aug 2023, 19:48
- Forum: ESP Easy: Software
- Topic: Boot Time
- Replies: 15
- Views: 2873
Re: Boot Time
Thanks. But I appear to have not been clear. I am interested in the time interval between powering the device and being able to execute On Boot in rules. Experiment: On System#Boot Do TaskValueSet,1,1,%uptime_ms% longpulse_ms,2,0,5000 Endon ESP_Easy_mega_20220616_normal_ESP8266_4M1M Jun 16 2022 438 ...
- 16 Aug 2023, 09:46
- Forum: ESP Easy: Software
- Topic: Boot Time
- Replies: 15
- Views: 2873
Re: Boot Time
So On Boot is not executed until Wi-Fi is connected?
- 14 Aug 2023, 22:05
- Forum: ESP Easy: Software
- Topic: Boot Time
- Replies: 15
- Views: 2873
Re: Boot Time
That's really useful, thank you. I'm using a late version with rules cache. The overall performance is fast enough. My only concern is the time between applying power and seeing output on the LED display. I think what you're saying is that this is a function of the size of the rules file only, becau...
- 12 Aug 2023, 14:16
- Forum: ESP Easy: Software
- Topic: Boot Time
- Replies: 15
- Views: 2873
Re: Boot Time
I have a Rules file of 7657 characters - quite a bit of annotation In Devices: 7 segment display 1 wire Temp Switch 1 Switch 2 Reg Level control (for storing value between power cycles) 4 Dummy Devices Also, I don't really understand multiple Rules files. Are they all executed as if they are one file?
- 12 Aug 2023, 09:37
- Forum: ESP Easy: Software
- Topic: Boot Time
- Replies: 15
- Views: 2873
Boot Time
I have an LED display on my application. When I hadn't written much code, initialization was instant. But as my code has grown there is now a very noticeable boot delay. What factors affect boot time and how can I shorten it?
Thanks
Tony
Thanks
Tony
- 19 Jul 2023, 12:26
- Forum: ESP Easy: Hardware
- Topic: Switch State On Boot
- Replies: 10
- Views: 3017
Re: Switch State On Boot
Thanks TD-er!
That was really helpful. Also, by triggering the Monitor instruction after boot, I removed the unintended consequence of pre-setting the switch prior to power on.
That was really helpful. Also, by triggering the Monitor instruction after boot, I removed the unintended consequence of pre-setting the switch prior to power on.
- 18 Jul 2023, 21:20
- Forum: ESP Easy: Hardware
- Topic: Switch State On Boot
- Replies: 10
- Views: 3017
Re: Switch State On Boot
Have you enabled "Send boot state" in the switch-configuration? Tried that - but thanks :) It is not sure that the Switch plugin or 7Segment plugin are already initialized at the System#Boot event, so you might want to wait a little, ...but I had it displaying something else from On boot ...
- 18 Jul 2023, 18:20
- Forum: ESP Easy: Hardware
- Topic: Switch State On Boot
- Replies: 10
- Views: 3017
Switch State On Boot
I have a physical toggle switch as an input. I want to be able to read the sate of the switch onboot. Experiment: On System#Boot do If Pump#State=1 7dtext,On Endif If Pump#State=0 7dtext,Off Endif Endon No output! The switch has no state until it reveals itself by changing state?
- 05 Jul 2023, 12:01
- Forum: ESP Easy: Software
- Topic: PID control thermostat.
- Replies: 23
- Views: 8420
Re: PID control thermostat.
Nice work!
I have a coffee machine where I used a sort of fuzzy logic approach to temperature control, so I'd really like to try your PID. How did you tune the PID values?
What thermostat probe did you use?
I have a coffee machine where I used a sort of fuzzy logic approach to temperature control, so I'd really like to try your PID. How did you tune the PID values?
What thermostat probe did you use?
- 01 Jul 2023, 12:38
- Forum: ESP Easy: Software
- Topic: QR Code on OLED
- Replies: 11
- Views: 4363
Re: QR Code on OLED
Not yet, but I guess it would be a nice feature to setup a "captive portal" which will redirect to the dashboard when available. There is already code for a "captive portal" in the setup phase, to redirect to /setup when no WiFi is configured. So I guess we can add a checkbox to...
- 03 Jun 2023, 12:01
- Forum: ESP Easy: Software
- Topic: ChatGPT wrote a PID Controller
- Replies: 5
- Views: 4746
Re: ChatGPT wrote a PID Controller
Oh - didn't realise I posted on April 1st! I've been playing with ChatGPT quite a bit, and would characterise it as similar to a smart journalist that didn't go to any maths, science or engineering lessons and understands the world from reading stuff written by other journalists that didn't go to an...
- 01 Apr 2023, 09:50
- Forum: ESP Easy: Software
- Topic: ChatGPT wrote a PID Controller
- Replies: 5
- Views: 4746
ChatGPT wrote a PID Controller
Using Easy ESP rules type programming for ESP8266 outlined on this web site: https://espeasy.readthedocs.io/en/latest/ , write rules to implement a PID temperature controller. Sure, here's an example of implementing a PID temperature controller using Easy ESP rules type programming for ESP8266: 1. ...
- 12 Feb 2023, 15:16
- Forum: ESP Easy: Software
- Topic: PostToHTTP
- Replies: 3
- Views: 2185
Re: PostToHTTP
Thanks!
This worked:
PostToHTTP,http://192.168.1.102/reboot.json
ESP_Easy_mega_20230204_normal_ESP8266_4M1M
https://github.com/letscontrolit/ESPEas ... /541875390
This worked:
PostToHTTP,http://192.168.1.102/reboot.json
ESP_Easy_mega_20230204_normal_ESP8266_4M1M
https://github.com/letscontrolit/ESPEas ... /541875390
- 12 Feb 2023, 12:55
- Forum: ESP Easy: Software
- Topic: PostToHTTP
- Replies: 3
- Views: 2185
PostToHTTP
I'm trying to do the equivalent of: curl -X POST http://192.168.1.102/reboot.json I tried this in Tools-Command PostToHTTP,http://192.168.1.102,,reboot.json Command Output Command unknown: PostToHTTP,http://192.168.1.102,,reboot.json Does this mean that the build I'm using doesn't include PostToHTTP...
- 05 Jan 2023, 19:08
- Forum: ESP Easy: Software
- Topic: https - SendToHTTP ?
- Replies: 1
- Views: 1150
https - SendToHTTP ?
Can SendToHTTP do https?
Thanks!
Thanks!
- 20 Nov 2022, 18:57
- Forum: ESP Easy: Hardware
- Topic: MAX6675 Interval
- Replies: 2
- Views: 1542
Re: MAX6675 Interval
Thank you - really helpful
- 20 Nov 2022, 09:28
- Forum: ESP Easy: Hardware
- Topic: MAX6675 Interval
- Replies: 2
- Views: 1542
MAX6675 Interval
Using MAX6675 with K-type thermocouple, on the Devices page the Interval is set to 1 sec, but the output is quite noisy.
Is it possible to set an interval below 1 sec then do some averaging in the Rules?
Thanks
Tony
Is it possible to set an interval below 1 sec then do some averaging in the Rules?
Thanks
Tony
- 09 Oct 2022, 17:17
- Forum: ESP Easy: Software
- Topic: PWM with Solid State Relay
- Replies: 6
- Views: 3618
Re: PWM with Solid State Relay
I did paste from a text editor; but the when I tried on another board, I typed it directly into the Rules - so don't think it's special characters.
- 09 Oct 2022, 16:35
- Forum: ESP Easy: Software
- Topic: PWM with Solid State Relay
- Replies: 6
- Views: 3618
Re: PWM with Solid State Relay
Just an observation here, Pulse,0,1,([INT#30])*10 Kills the webserver when uploaded to Rules: 192008: GPIO : port#0: set to 0 192020: ACT : oledframedcmd,2,3% 192199: Upload: START, filename: rules1.txt 192321: Upload: WRITE, Bytes: 1999 192322: Upload: END, Size: 1999 192496: Webserver 1 Arguments:...
- 09 Oct 2022, 13:37
- Forum: ESP Easy: Software
- Topic: PWM with Solid State Relay
- Replies: 6
- Views: 3618
Re: PWM with Solid State Relay
Thank you
- 08 Oct 2022, 17:42
- Forum: ESP Easy: Software
- Topic: PWM with Solid State Relay
- Replies: 6
- Views: 3618
PWM with Solid State Relay
I'm using an S.S.Relay to drive a heater in a coffee boiler. The SSR does zero voltage switching of AC mains. I'm using PWM on a GPIO to vary the heater power. I just got round to looking at the PwM on an oscilloscope and I see it is 1Khz!!!! Is there a way to reduce the PWM frequency or a cunning w...
- 12 Sep 2022, 11:15
- Forum: ESP Easy: Hardware
- Topic: MAX6675 K-type Thermocouple
- Replies: 4
- Views: 3185
Re: MAX6675 K-type Thermocouple
Polarity
- 27 Aug 2022, 21:00
- Forum: ESP Easy: Software
- Topic: QR Code on OLED
- Replies: 11
- Views: 4363
Re: QR Code on OLED
Yes it is. But what if then flashed up an optional bitmap for an optional period of time? Eh?
- 27 Aug 2022, 17:47
- Forum: ESP Easy: Software
- Topic: QR Code on OLED
- Replies: 11
- Views: 4363
Re: QR Code on OLED
But, no pressure.
- 27 Aug 2022, 14:34
- Forum: ESP Easy: Software
- Topic: QR Code on OLED
- Replies: 11
- Views: 4363
Re: QR Code on OLED
There are examples on Youtube of QR code reading from 1.3" OLED - so that bit is viable. And my own experiments with small QR codes on a laptop screen give me some confidence. you can draw the QR code using rules - how can I do this? I have a 1.3" SH1106. There is already code for a "...
- 27 Aug 2022, 12:45
- Forum: ESP Easy: Software
- Topic: QR Code on OLED
- Replies: 11
- Views: 4363
QR Code on OLED
I have made a heater controller for an Espresso machine. I have an OLED display and a web interface (dashboard) to set the temperature. My idea is to use the ESP in Access Point mode and show the QR code for the AP on start up. Then, ideally the dashboard would be the default web page. Tall order, I...
- 27 Aug 2022, 09:59
- Forum: ESP Easy: Software
- Topic: Persistent Variable
- Replies: 29
- Views: 7135
Re: Persistent Variable
Thanks for your help. please don't use delay in rules. That's an absolute big no-no. My loop drives a heater. It applies heat for a set period, then waits before checking the effect. The Delay provides a comprehensible way of doing this. I assume the alternative is to break the whole lot up into sep...
- 24 Aug 2022, 22:10
- Forum: ESP Easy: Software
- Topic: Persistent Variable
- Replies: 29
- Views: 7135
Re: Persistent Variable
Works with:
ESP_Easy_mega_20220809_normal_ESP8266_4M1M
I didn't notice the "302" when I loaded it. what does it mean?
Thanks
Tony
ESP_Easy_mega_20220809_normal_ESP8266_4M1M
I didn't notice the "302" when I loaded it. what does it mean?
Thanks
Tony
- 24 Aug 2022, 22:03
- Forum: ESP Easy: Software
- Topic: Persistent Variable
- Replies: 29
- Views: 7135
Re: Persistent Variable
Sorry - I have 302 - whatever that is!?
- 24 Aug 2022, 22:01
- Forum: ESP Easy: Software
- Topic: Persistent Variable
- Replies: 29
- Views: 7135
Re: Persistent Variable
Sorry, I don't understand:
normal normal build: ESP_Easy_mega_20220809_normal_ESP8266_4M1M
normal normal build: ESP_Easy_mega_20220809_normal_ESP8266_4M1M
- 24 Aug 2022, 12:03
- Forum: ESP Easy: Software
- Topic: Persistent Variable
- Replies: 29
- Views: 7135
Re: Persistent Variable
- 24 Aug 2022, 11:27
- Forum: ESP Easy: Software
- Topic: Persistent Variable
- Replies: 29
- Views: 7135
Re: Persistent Variable
Ath - I'm not disagreeing with you at all - and I'm really grateful for your help. In fact, I'm so grateful that such a powerful tool (ESP EASY) is available for free. To have made so much progress with this project with so little programming is amazing. Thank you! I agree that what you have suggest...
- 24 Aug 2022, 00:47
- Forum: ESP Easy: Software
- Topic: Persistent Variable
- Replies: 29
- Views: 7135
Re: Persistent Variable
Thanks for the coding tips - I will optimise it with your suggestions.
But back to the persistent problem - can you see why that won't work?
But back to the persistent problem - can you see why that won't work?
- 23 Aug 2022, 19:15
- Forum: ESP Easy: Software
- Topic: Persistent Variable
- Replies: 29
- Views: 7135
Re: Persistent Variable
No I didn't forget the endon. :D I just didn't post the full script: On System#Boot do GPIO,0,0 oledframedcmd,linecount,2 oledframedcmd,display,high oledframedcmd,1,Target: oledframedcmd,2,[Set_Temp#GetLevel] delay,2000 timerSet,1,2 endon On Rules#Timer=1 do // Target temp let,1,[Set_Temp,#GetLevel]...
- 23 Aug 2022, 18:45
- Forum: ESP Easy: Software
- Topic: Persistent Variable
- Replies: 29
- Views: 7135
Re: Persistent Variable
I notice you added a comma - but that didn't help. endon is included - puzzled now!
- 23 Aug 2022, 17:10
- Forum: ESP Easy: Software
- Topic: Persistent Variable
- Replies: 29
- Views: 7135
Re: Persistent Variable
That's what I thought, but no result. From rules: On Rules#Timer=1 do // Target temp let,1,[Set_Temp#GetLevel] Log: 4509072: EVENT: Rules#Timer=1,1 4509095: ACT : let,1,Y 4509100: Calculate: Unknown token input: Y = 0 4509106: ACT : let,2,0-33 4509115: ACT : let,3,0-15 4509124: ACT : let,4,0-7 45091...
- 23 Aug 2022, 15:44
- Forum: ESP Easy: Software
- Topic: Persistent Variable
- Replies: 29
- Views: 7135
Re: Persistent Variable
Thanks, that works. But then in the Rules, [Set_Temp#GetLevel] does not return a value.
- 22 Aug 2022, 12:07
- Forum: ESP Easy: Software
- Topic: Persistent Variable
- Replies: 29
- Views: 7135
Re: Persistent Variable
Thanks for that. What would the URL look like to set the Set Level?
I tried /control?cmd=config,3,Set_Temp,SetLevel,89
...but I seem to be barking up the wrong tree.
Help appreciated.
Tony
I tried /control?cmd=config,3,Set_Temp,SetLevel,89
...but I seem to be barking up the wrong tree.
Help appreciated.
Tony
- 22 Aug 2022, 09:39
- Forum: ESP Easy: Software
- Topic: Persistent Variable
- Replies: 29
- Views: 7135
Persistent Variable
Hi I've made an Espresso temperature controller and need to be able to store the set temperature as a variable that survives power loss. My plan is to use a custom dashboard.esp to set the temperature with a simple web interface. I can't see a way of storing a persistent variable. Please help! Tony
- 22 Aug 2022, 09:20
- Forum: ESP Easy: Hardware
- Topic: MAX6675 K-type Thermocouple
- Replies: 4
- Views: 3185
Re: MAX6675 K-type Thermocouple
Spot on!
Thank you
Thank you
- 20 Aug 2022, 18:02
- Forum: ESP Easy: Hardware
- Topic: MAX6675 K-type Thermocouple
- Replies: 4
- Views: 3185
MAX6675 K-type Thermocouple
I see a rather puzzling behaviour here. Initial reading is 21.8 which is plausible room temperature. But then if I warm up the sensor, the value goes down!
What am I missing?
Please help!
Tony
What am I missing?
Please help!
Tony
- 31 Jan 2022, 19:15
- Forum: ESP Easy: General Discussion
- Topic: Another WiFi Watchdog
- Replies: 4
- Views: 5607
- 31 Jan 2022, 16:43
- Forum: ESP Easy: Software
- Topic: irSEND - Multi-function Tester TC1
- Replies: 1
- Views: 10280
irSEND - Multi-function Tester TC1
irSEND,NEC,01fe0bf4,32
How can I convert from the value shown on the tester to the value required by irSEND command?
Thanks
Tony
How can I convert from the value shown on the tester to the value required by irSEND command?
Thanks
Tony
- 31 Jan 2022, 16:28
- Forum: ESP Easy: General Discussion
- Topic: Another WiFi Watchdog
- Replies: 4
- Views: 5607
- 31 Jan 2022, 15:46
- Forum: ESP Easy: General Discussion
- Topic: Another WiFi Watchdog
- Replies: 4
- Views: 5607
Another WiFi Watchdog
Problem: Sometimes ESP falls off the WiFi and needs reseting. Solution: Make it reset itself. How: Two ESPs on the same network make HTTP requests of each other. The receipt of the HTTP request resets a timer. If the timer expires the ESP reboots. On System#Boot do timerSet,1,60 endon On System#Boot...
- 28 Oct 2020, 09:40
- Forum: uPyEasy: General Discussion
- Topic: String Variable
- Replies: 1
- Views: 29371
String Variable
Please forgive me if this is covered in the docs, but if it is, there is not an example I can understand. I want to use a string variable: Let,4,"Bedroom" // Room Then later: sendtoHTTP,192.168.1.100,9000,/?player=[Var#4]&p0=mixer&p1=volume&p2=%2b[Var#3] Please help! Tony
- 24 Oct 2020, 19:36
- Forum: ESP Easy: General Discussion
- Topic: Short DeepSleep?
- Replies: 4
- Views: 7523
Re: Short DeepSleep?
Thanks!
But I couldn't get "wifimode,off" and "wifimode,sta" to work. Can't find any documentation on this feature either. Please could you point me towards the firmware / docs?
Cheers
Tony
But I couldn't get "wifimode,off" and "wifimode,sta" to work. Can't find any documentation on this feature either. Please could you point me towards the firmware / docs?
Cheers
Tony