Search found 57 matches

by Affinite
24 Jan 2024, 18:55
Forum: ESP Easy: Software
Topic: Cant get AND to work
Replies: 8
Views: 1336

Re: Cant get AND to work

Just tried P061 in direct16 mode It works fine in returning a scancode with each pin/switches activated independently but it doesn't work for my application as it doesn't issue a unique scancode when 2 switches are activated. P009 * 8 tasks works OK but it would have been preferable to reduce the nu...
by Affinite
23 Jan 2024, 14:11
Forum: ESP Easy: Software
Topic: Cant get AND to work
Replies: 8
Views: 1336

Re: Cant get AND to work

Thx
I knew you'd be ahead of the game. :D
I have got it working now but I was trying to reduce the number of ElseIf's !
by Affinite
23 Jan 2024, 12:45
Forum: ESP Easy: Software
Topic: Cant get AND to work
Replies: 8
Views: 1336

Re: Cant get AND to work

TD-er Thanks yes I see that now. A bit off-topic but ... I was looking at ath's suggestion about writing the status to the log and it led me to wonder if its possible to read the status of a range of MCP23017 GPIO pins (say 1-8) and return a binary word ? I can then see how I would translate that st...
by Affinite
22 Jan 2024, 21:38
Forum: ESP Easy: Software
Topic: Cant get AND to work
Replies: 8
Views: 1336

Re: Cant get AND to work

ath
Thanks, yes that was useful and I think Ive got my head around it now.
by Affinite
22 Jan 2024, 19:40
Forum: ESP Easy: Software
Topic: Cant get AND to work
Replies: 8
Views: 1336

Cant get AND to work

I am trying to make an ESP8266/ESPEASY wind direction sender using 8 reed switches. Each switch is connected to a port on a GPIO expander chip (MCP23017) and I am reading the status of all pins in Rules. I then use the pin status to set a Dummy task value coinciding with wind angle. All works fine w...
by Affinite
06 Sep 2023, 18:35
Forum: ESP Easy: General Discussion
Topic: OLED Causes Command Unknown in Log ?
Replies: 2
Views: 744

Re: OLED Causes Command Unknown in Log ?

Woops - sorry
Reduced I2c clock speed to 100Khz (as per the note in the Hardware tab) seems to have cured it - :oops:
by Affinite
06 Sep 2023, 17:58
Forum: ESP Easy: General Discussion
Topic: OLED Causes Command Unknown in Log ?
Replies: 2
Views: 744

OLED Causes Command Unknown in Log ?

Hi Just wondered if anyone could suggest the cause of the following problem ... I have an ESP8266 (D1Mini) running latest Normal build of ESPEASY. I have 2 ADS1115 ADC's which are used to measure voltage on three separate batteries. Output from these devices is sent to a SSD1306 OLED display and ove...
by Affinite
29 Aug 2023, 13:14
Forum: ESP Easy: General Discussion
Topic: Cant connect to adafruit io MQTT
Replies: 2
Views: 832

Re: Cant connect to adafruit io MQTT

Ath
Thanks - I'll look into http:
by Affinite
27 Aug 2023, 17:17
Forum: ESP Easy: General Discussion
Topic: Cant connect to adafruit io MQTT
Replies: 2
Views: 832

Cant connect to adafruit io MQTT

I cannot get my ESP to connect to the Adafruit IO MQTT broker I am using OpenHab MQTT as the (only enabled) controller on my ESP I have used my Adafruit IO username as the OpenHab controller User name and my adafruit io key as the Password but the controller will not connect To test that my adafruit...
by Affinite
16 Aug 2023, 08:27
Forum: ESP Easy: General Discussion
Topic: How to reduce MQTT data size
Replies: 4
Views: 738

Re: How to reduce MQTT data size

TD-er Thanks for quick reply. My ESP is not subscribed to any topics. It only publishes. I'll experiment with the ideas that you've suggested and report back. An idea occurred to me in the night ... I've set the ESP to receive NTP. That must use some data right ? I dont really see why I need time on...
by Affinite
15 Aug 2023, 20:58
Forum: ESP Easy: General Discussion
Topic: How to reduce MQTT data size
Replies: 4
Views: 738

How to reduce MQTT data size

Hi All I have an ESP8266 running ESPEASY (ESP_Easy_mega_20230623_normal_ESP8266_4M1M) with an ADC measuring voltages of three batteries on my boat. The values are transmitted every 15 minutes over an OpenHab MQTT controller using a Publish statement in rules. The ESP8266 is connected to the Internet...
by Affinite
19 Feb 2022, 10:43
Forum: ESP Easy: General Discussion
Topic: Recommendations for good outdoor numeric display
Replies: 6
Views: 5754

Re: Recommendations for good outdoor numeric display

Thanks
I'll try the larger display (white on black looks like good contrast) and separate driver board
by Affinite
17 Feb 2022, 21:34
Forum: ESP Easy: General Discussion
Topic: Recommendations for good outdoor numeric display
Replies: 6
Views: 5754

Re: Recommendations for good outdoor numeric display

Thx, maybe I can find a high brightness 7-seg. (Maybe I can steal/hack a petrol pump) The 7-seg I bought to test with is fine indoors but just washes out in daylight. (Must admit I haven't tried a smoked acrylic lens yet.) The e-paper is great in daylight but not suited to a 1 second refresh rate. I...
by Affinite
17 Feb 2022, 15:26
Forum: ESP Easy: General Discussion
Topic: Recommendations for good outdoor numeric display
Replies: 6
Views: 5754

Recommendations for good outdoor numeric display

Hi, anyone have a recommendation for a small numeric display suitable for outdoor use. Requirements: Display a number from 0 - 99.9 Minimum height of digits - 10mm Max Refresh rate required approx. 1 per second Supported by ESPEASY on ESP32 or ESP8266 Daylight viewable (Sunlight viewable would be a ...
by Affinite
12 Feb 2022, 17:54
Forum: ESP Easy: Software
Topic: 2.4"TFT P095 fonts
Replies: 7
Views: 6981

Re: 2.4"TFT P095 fonts

Ath
Unfortunately none of those custom builds would flash properly.
(I tried OTA and ESP Easy Flasher toll but ESP wouldn't boot after flashing)
by Affinite
12 Feb 2022, 09:22
Forum: ESP Easy: Software
Topic: 2.4"TFT P095 fonts
Replies: 7
Views: 6981

Re: 2.4"TFT P095 fonts

Ath
Thank you
I'll let you know how I get on.
Wish I could return the favour somehow.
by Affinite
11 Feb 2022, 11:03
Forum: ESP Easy: Software
Topic: 2.4"TFT P095 fonts
Replies: 7
Views: 6981

Re: 2.4"TFT P095 fonts

Ton thats very kind of you - I'd prefer to stay on my ESP8266 with 4M flash for this project although I do have a flashed ESP32 if necessary. Unit Number: 2 Local Time: 2022-02-11 10:00:20 Time Source: NTP Time Wander: 0.000 [msec/sec] Uptime: 0 days 0 hours 13 minutes Load: 44.62% (LC=1343) CPU Eco...
by Affinite
10 Feb 2022, 19:57
Forum: ESP Easy: Software
Topic: 2.4"TFT P095 fonts
Replies: 7
Views: 6981

Re: 2.4"TFT P095 fonts

Ath
Thanks. I dont know how to do a custom build so I'll stick with default font
by Affinite
10 Feb 2022, 17:52
Forum: ESP Easy: Software
Topic: 2.4"TFT P095 fonts
Replies: 7
Views: 6981

2.4"TFT P095 fonts

Hi I am playing around with a TFT display
I can get most commands to work, but cant get the command
tft,font,SEVENSEG18
to work. It just returns
Command unknown: tft,font,SEVENSEG18

Is there something I need to turn on to get this to work ?
Thanks
by Affinite
28 Jan 2022, 09:05
Forum: ESP Easy: General Discussion
Topic: Wake from DeepSleep on GPIO ?
Replies: 2
Views: 4676

Re: Wake from DeepSleep on GPIO ?

TD-er
Thanks, 555 monostable it is then.
(And keep an eye on ESPEASY/ESP32 developments)
by Affinite
27 Jan 2022, 17:26
Forum: ESP Easy: General Discussion
Topic: Wake from DeepSleep on GPIO ?
Replies: 2
Views: 4676

Wake from DeepSleep on GPIO ?

Is there a way to manually wake up an ESP8266 using a GPIO input ? I have an NodeMCU ESP8266 which I'm using to count pulses on a anchor chain winch on my boat. For most of the time the winch is powered off and idle so it makes sense to let the ESP sleep when not counting to conserve battery power. ...
by Affinite
18 Dec 2021, 18:21
Forum: ESP Easy: General Discussion
Topic: Justification of text/value on LCD2004
Replies: 2
Views: 4427

Justification of text/value on LCD2004

Hi, all I'm trying to display a task#value on an LCD2004 but I cant seem to find the right combination of task#value#transformation#justification I'm sending LCD,2,1,Coolant:[propulsion#temperature#V#R] from rules expecting the temperature value to be right justified however it is displayed with no ...
by Affinite
16 Nov 2021, 18:43
Forum: ESP Easy: General Discussion
Topic: How to write to e-ink P096
Replies: 14
Views: 6613

Re: How to write to e-ink P096

Teach a man to copy/paste and he keeps on asking.
Teach a man to write ESPEasy rules and he may end up helping others.
Point taken. :D ... workin on it
by Affinite
15 Nov 2021, 18:32
Forum: ESP Easy: General Discussion
Topic: How to write to e-ink P096
Replies: 14
Views: 6613

Re: How to write to e-ink P096

TD-er
I dont really understand what you did it but it worked just great. :D

Thanks a lot
by Affinite
14 Nov 2021, 20:54
Forum: ESP Easy: General Discussion
Topic: How to write to e-ink P096
Replies: 14
Views: 6613

Re: How to write to e-ink P096

Me again :oops: I'm stuck trying to get my rules to work correctly .. I have 2 triggers that I want to use (in an OR configuration) to trigger my display First is a simple press of a button - connected to GPIO-10 and the second is based on receipt of a Task#value If I put in trigger 1 I can trigger ...
by Affinite
14 Nov 2021, 13:27
Forum: ESP Easy: General Discussion
Topic: How to write to e-ink P096
Replies: 14
Views: 6613

Re: How to write to e-ink P096

Ath
Your advice to use a variable worked fine. - Thanks
Nearly there but running out of GPIO pins on my ESP8266 so might need to take a deep breath and move to ESP32 :o
by Affinite
13 Nov 2021, 18:20
Forum: ESP Easy: General Discussion
Topic: How to write to e-ink P096
Replies: 14
Views: 6613

Re: How to write to e-ink P096

That's why I wonder if I've hooked up the display incorrectly or if that behaviour is "normal" for the display and plugin at this stage of development? Once implemented my intention is to refresh the display once every hour so I dont think I'll wear it out :) PS - I have another question r...
by Affinite
13 Nov 2021, 00:23
Forum: ESP Easy: General Discussion
Topic: How to write to e-ink P096
Replies: 14
Views: 6613

Re: How to write to e-ink P096

Ath
seq-start and seq-end seems to have done the job.
Still lots of screen flashing when doing a refresh but it works.
Thanks again - will keep an eye open for updates to the plugin
by Affinite
12 Nov 2021, 17:32
Forum: ESP Easy: General Discussion
Topic: How to write to e-ink P096
Replies: 14
Views: 6613

Re: How to write to e-ink P096

Ath Thanks for (very) quick reply. (I had already printed off the readme for P096 from Github) I mistakenly thought I could ignore the <color> parameter. Once I included it in the command line, it works fine but I still dont know how to do a multi-line display. If I send <epd,txz,0,0,test> followed ...
by Affinite
12 Nov 2021, 16:02
Forum: ESP Easy: General Discussion
Topic: How to write to e-ink P096
Replies: 14
Views: 6613

How to write to e-ink P096

I dont know if this is the right way to report back on TEST plugins but ... I'm experimenting with the (Test) 2.13" e-ink display and I have the TEST e-ink plugin P096 running on an NodeMCU ESP8266 It works OK (after 2 or 3 screen flashes) on the basic text sub-commands <txt>,<txtfull> to write...
by Affinite
10 Nov 2021, 18:14
Forum: ESP Easy: General Discussion
Topic: Cant find Plugin e-ink display P096
Replies: 2
Views: 4010

Re: Cant find Plugin e-ink display P096

Sorry how dumb am I ...
Yes I've now found it
Thanks TD-er
by Affinite
10 Nov 2021, 17:40
Forum: ESP Easy: General Discussion
Topic: Cant find Plugin e-ink display P096
Replies: 2
Views: 4010

Cant find Plugin e-ink display P096

I'd like to experiment with e-ink displays I know there is a experimental plugin [P096] but I cant find it in the latest test mega builds. Ive loaded : ESP_Easy_mega_20211105_test_A_ESP8266_4M1M ESP_Easy_mega_20211105_test_B_ESP8266_4M1M ESP_Easy_mega_20211105_test_C_ESP8266_4M1M ESP_Easy_mega_20211...
by Affinite
28 Mar 2021, 18:33
Forum: ESP Easy: General Discussion
Topic: Node Red for GPIO control
Replies: 2
Views: 3882

Re: Node Red for GPIO control

OK figured it out myself

http request node set for PUT with URL http://192.168.1.150/control?cmd=gpio,4,1
by Affinite
28 Mar 2021, 15:50
Forum: ESP Easy: General Discussion
Topic: Node Red for GPIO control
Replies: 2
Views: 3882

Node Red for GPIO control

Hi all Firstly apologies for asking a Node-Red question in the ESPEASY forum but I think many people here are familiar with both I'm trying send a command from Node-Red to turn an ESP8266 gpio pin on/off I know how to do it in MQTT but I want to send the command using either UDP or http If I type &q...
by Affinite
25 Feb 2021, 21:06
Forum: ESP Easy: General Discussion
Topic: UDP and MQTT but with different Intervals?
Replies: 17
Views: 8127

Re: UDP and MQTT but with different Intervals?

TD-er wrote: 25 Feb 2021, 20:23 Maybe also nice to read a bit more on the loop timers here: https://espeasy.readthedocs.io/en/lates ... oop-timers
Reading Now thanks
by Affinite
25 Feb 2021, 18:07
Forum: ESP Easy: General Discussion
Topic: UDP and MQTT but with different Intervals?
Replies: 17
Views: 8127

Re: UDP and MQTT but with different Intervals?

Thanks guys - I'll be more specific re: Publish <topic>,<value>
Dont know where I picked up Publish #,#

Edit: SUCCESS :D
Im publishing now
Now to play with Timer Rules :shock:
You guys have been wonderful - Thanks a mill
by Affinite
25 Feb 2021, 16:26
Forum: ESP Easy: General Discussion
Topic: UDP and MQTT but with different Intervals?
Replies: 17
Views: 8127

Re: UDP and MQTT but with different Intervals?

I really appreciate you sticking with me on this. Hope the screenshots are adequate. For obvious security reasons I've scrubbed out (?????) the first part of my Publish and Subscribe Topic on the screenshots On my MQTT client I subscribe to ?????/# The behaviour is exactly as I said earlier. When I ...
by Affinite
25 Feb 2021, 14:56
Forum: ESP Easy: General Discussion
Topic: UDP and MQTT but with different Intervals?
Replies: 17
Views: 8127

Re: UDP and MQTT but with different Intervals?

The Publish command sends out to the first enabled MQTT Controller, independent of any 'Send to Controller' checkbox on the Devices pages. Are you sure ? Unfortunately mine doesn't. I've tried again with a very simple setup with only 1 device but Publish only sends out a message when the MQTT contr...
by Affinite
24 Feb 2021, 23:47
Forum: ESP Easy: General Discussion
Topic: UDP and MQTT but with different Intervals?
Replies: 17
Views: 8127

Re: UDP and MQTT but with different Intervals?

You should disable the MQTT Controller from the Task configuration (Devices tab), but leave the Controller itself enabled (Controllers tab), then it should not send out via MQTT. OK I couldn't resist a quick test before updating the Rules Your suggested configuration does stop MQTT being sent out b...
by Affinite
24 Feb 2021, 23:26
Forum: ESP Easy: General Discussion
Topic: UDP and MQTT but with different Intervals?
Replies: 17
Views: 8127

Re: UDP and MQTT but with different Intervals?

Ath wrote: 24 Feb 2021, 22:31 You should disable the MQTT Controller from the Task configuration (Devices tab), but leave the Controller itself enabled (Controllers tab), then it should not send out via MQTT.
OK Thanks
I'll have another go tomorrow.
by Affinite
24 Feb 2021, 22:10
Forum: ESP Easy: General Discussion
Topic: UDP and MQTT but with different Intervals?
Replies: 17
Views: 8127

Re: UDP and MQTT but with different Intervals?

Ath & jgrad I tried using Publish on a timer in Rules but the problem I had was that the Publish command only appears to work if the MQTT controller is enabled. If the MQTT controller is enabled it sends values at a frequency determined by "Interval" in Devices. ie Interval setting in ...
by Affinite
24 Feb 2021, 17:22
Forum: ESP Easy: General Discussion
Topic: UDP and MQTT but with different Intervals?
Replies: 17
Views: 8127

UDP and MQTT but with different Intervals?

I have a ESP8266NodeMCU happily reading a voltage from an ADS1115 ADC I send %value% to a UDP Controller and then out on the local LAN. I display the result in a Node Red dashboard I'd like to send this value as frequently as possible so Ive set the Device message interval to 1 second. So far so goo...
by Affinite
21 Feb 2021, 23:23
Forum: ESP Easy: General Discussion
Topic: GPIO pin state monitoring
Replies: 7
Views: 6822

Re: GPIO pin state monitoring

TD-er Thanks, I'll take a look tomorrow. I had been using monitor but perhaps incorrectly. Update: Dont know what I was doing wrong yesterday but today "monitor" works just fine for me. Sorry to waste your time :oops: Rules attached for the benefit of other Rules newbies like me. on System...
by Affinite
21 Feb 2021, 21:13
Forum: ESP Easy: General Discussion
Topic: GPIO pin state monitoring
Replies: 7
Views: 6822

GPIO pin state monitoring

I have a Relay connected to GPIO5 (so Im using GPIO5 as an output) I turn it on/off using command GPIO,5,1/0 over MQTT Rather than assume that the MQTT message has been received and actioned, I'd also like the to read the status of GPIO5 and have it reported back over MQTT but I cant find a way to m...
by Affinite
20 Feb 2021, 20:41
Forum: ESP Easy: General Discussion
Topic: Can I ignore these ESPEASY warnings ?
Replies: 4
Views: 4359

Re: Can I ignore these ESPEASY warnings ?

TD-er and Ath
Many thanks for super-quick reply.
I'm not yet using rules but I'll bear in mind your warning.
Thanks again for the reply and the great Firmware
(being able to monitor the batteries on my boat from 2000 miles away is a great relief when I cant physically go there to check them) :D
by Affinite
20 Feb 2021, 19:37
Forum: ESP Easy: General Discussion
Topic: Can I ignore these ESPEASY warnings ?
Replies: 4
Views: 4359

Can I ignore these ESPEASY warnings ?

Anyone know if I can safely ignore these two warning messages when programming my NodeMCU ESP8266 1) Setting up 2 tasks with 2 devices with the same Name but different Values. (Actually 2 channels on the same ADS115 ADC) I get "Warning device name is not unique conflicts with ..." ie Task ...
by Affinite
31 Jan 2021, 21:41
Forum: ESP Easy: Software
Topic: How to receive cached MQTT message after Sleep
Replies: 5
Views: 4129

Re: How to receive cached MQTT message after Sleep

I've tried sending a single MQTT message to the Hive public broker with QOS = 1 and the the retained message flag ON. When my ESP wakes after a sleep it publishes all sensor values to the broker but it does not collect the retained message. If, after its next sleep cycle, I disable sleep by setting ...
by Affinite
30 Jan 2021, 19:26
Forum: ESP Easy: Software
Topic: How to receive cached MQTT message after Sleep
Replies: 5
Views: 4129

Re: How to receive cached MQTT message after Sleep

Thankyou for the quick reply.
I will experiment again with the retained flag