Search found 85 matches

by Zodiac69
20 Aug 2022, 11:49
Forum: ESP Easy: General Discussion
Topic: (Resolved) Rule not triggering - "on GPIO#04 do"
Replies: 4
Views: 2530

Re: (Resolved) Rule not triggering - "on GPIO#04 do"

Hi Ath

Just a FYI

This was the 1st time i used a GPIO that is lower than GPIO10.
by Zodiac69
14 Aug 2022, 15:57
Forum: ESP Easy: General Discussion
Topic: (Resolved) Rule not triggering - "on GPIO#04 do"
Replies: 4
Views: 2530

Re: Rule not triggering - "on GPIO#04 do"

Hi Ath

Thank you.
I presumed that "on GPIO#04=0 do" must be the same format as "Monitor GPIO,04" with leading zero.
Changed "on GPIO#04=0 do" to "on GPIO#4=0 do" and it is now working.
by Zodiac69
14 Aug 2022, 14:15
Forum: ESP Easy: General Discussion
Topic: (Resolved) Rule not triggering - "on GPIO#04 do"
Replies: 4
Views: 2530

(Resolved) Rule not triggering - "on GPIO#04 do"

Hi All Have a strange one and i presume i am doing something wrong here. Rule 1 - This is working as i can see the event in the log file - EVENT: GPIO#4=0, EVENT: GPIO#4=1 on System#Boot do Monitor GPIO,04 endon Rule 2 - This rule is not triggering even though i see the GPIO=0 event in the logs on G...
by Zodiac69
17 May 2022, 22:13
Forum: ESP Easy: Hardware
Topic: Distance Sensor A02YYUW
Replies: 28
Views: 27449

Re: Distance Sensor A02YYUW

Thank you Ath

I am trying to do a build with A02YYUW included, but i have not done a custom build for some time now, a few years, so i need to get into Platformio as i have not used it before.
by Zodiac69
15 May 2022, 12:47
Forum: ESP Easy: Hardware
Topic: Distance Sensor A02YYUW
Replies: 28
Views: 27449

Re: Distance Sensor A02YYUW

Hi seb82

Would you mind sharing the bin file for the A02YYUW?
by Zodiac69
25 Oct 2021, 19:07
Forum: ESP Easy: General Discussion
Topic: How do i set a var# from the dashboard
Replies: 14
Views: 6377

Re: How do i set a var# from the dashboard

Hi chromo23

Thank you for your time and effort, it is working 100%
by Zodiac69
23 Oct 2021, 11:05
Forum: ESP Easy: General Discussion
Topic: How do i set a var# from the dashboard
Replies: 14
Views: 6377

Re: How do i set a var# from the dashboard

Hi chromo23 Yes, the page is loading now after i rename the file to x.html I can see that the variable is getting set, %v1% is the value that i enter and set. I can also see that in the "Devices" window, the value is displayed. I changed - kwRem = myJson.Sensors[5].TaskValues[0].Value - to...
by Zodiac69
21 Oct 2021, 22:35
Forum: ESP Easy: General Discussion
Topic: How do i set a var# from the dashboard
Replies: 14
Views: 6377

Re: How do i set a var# from the dashboard

Hi chromo23

Do you mind sharing your setup?
by Zodiac69
21 Oct 2021, 21:21
Forum: ESP Easy: General Discussion
Topic: How do i set a var# from the dashboard
Replies: 14
Views: 6377

Re: How do i set a var# from the dashboard

Hi chromo23

When i try to run your example, my ESP load goes to 100%.
The web page eventually time-out and then the esp idle at about 15%.
I am using this build - ESP_Easy_mega_20211005_normal_ESP8266_4M1M

I load the esp.css and dashboard.esp files as i normally do, but this is not working for me.
by Zodiac69
20 Oct 2021, 21:11
Forum: ESP Easy: General Discussion
Topic: How do i set a var# from the dashboard
Replies: 14
Views: 6377

Re: How do i set a var# from the dashboard

I am using my ESP as a kWh meter using the generic pulse counter. I have a "Pre-Pay" meter and i would like to load the kWh value of my pre-Pay meter every time i purchase electricity. I can then subtract from this "Loaded" value as the ESP counts the meter pulses. I was using an...
by Zodiac69
19 Oct 2021, 21:31
Forum: ESP Easy: General Discussion
Topic: How do i set a var# from the dashboard
Replies: 14
Views: 6377

How do i set a var# from the dashboard

Hi All
I would like to set var#1 value from the "Dashboard".
How do is set the value of a variable from the dashboard html page?
by Zodiac69
18 Jul 2021, 13:38
Forum: ESP Easy: General Discussion
Topic: ESPEasy - Home Assistant mqtt not working - What am i doing wrong? - Resolved
Replies: 21
Views: 8614

Re: ESPEasy - Home Assistant mqtt not working - What am i doing wrong?

Hi TD-er As i indicated before, i did not see any history from the ESPEasy device when using MQTT Explorer and connected to HA Mosquitto broker. BUT i have had some success, not sure why, i need to do some RTFM to understand why... I removed - homeassistant/sensor/ from my settings and now i can see...
by Zodiac69
18 Jul 2021, 10:06
Forum: ESP Easy: General Discussion
Topic: ESPEasy - Home Assistant mqtt not working - What am i doing wrong? - Resolved
Replies: 21
Views: 8614

Re: ESPEasy - Home Assistant mqtt not working - What am i doing wrong?

Hi ThomasB In my 1st post i indicated that i use MQTT Exporer to connect to the Mosquitto broker in HA. There i can see my Electricity meter - esp8266 running Micropython - https://github.com/dalehumby/powermeter and my RPI Zero W running Node-RED sending serial data from my 16x current sensors. I d...
by Zodiac69
17 Jul 2021, 23:19
Forum: ESP Easy: General Discussion
Topic: ESPEasy - Home Assistant mqtt not working - What am i doing wrong? - Resolved
Replies: 21
Views: 8614

Re: ESPEasy - Home Assistant mqtt not working - What am i doing wrong?

Hi TD-er

No, TLS is not required.

On the RPI running Node-RED, the TLS option is not selected
I also run another ESP8266 that send my electricity meter readings to HA using this in micro python - https://github.com/dalehumby/powermeter
by Zodiac69
17 Jul 2021, 22:16
Forum: ESP Easy: General Discussion
Topic: ESPEasy - Home Assistant mqtt not working - What am i doing wrong? - Resolved
Replies: 21
Views: 8614

Re: ESPEasy - Home Assistant mqtt not working - What am i doing wrong?

Hi TD-er I have "two" ways: 1. Rule - publish IP address on mqtt connect and then every 30 seconds On MQTT#Connected Do Publish,homeassistant/sensor/%sysname%/IP,%ip% timerSet,1,30 //Resets the Timer 1 for another 30 seconds EndOn On Rules#Timer=1 Do Publish,homeassistant/sensor/%sysname%/...
by Zodiac69
17 Jul 2021, 21:39
Forum: ESP Easy: General Discussion
Topic: ESPEasy - Home Assistant mqtt not working - What am i doing wrong? - Resolved
Replies: 21
Views: 8614

Re: ESPEasy - Home Assistant mqtt not working - What am i doing wrong?

Hi ThomasB

The ESP subscribe to both - homeassistant/sensor/%sysname% or homeassistant/sensor/%sysname%/#
So the "Subscribe" is working.
The issue is that i am not seeing any info in the HA mqtt.
by Zodiac69
17 Jul 2021, 20:35
Forum: ESP Easy: General Discussion
Topic: ESPEasy - Home Assistant mqtt not working - What am i doing wrong? - Resolved
Replies: 21
Views: 8614

Re: ESPEasy - Home Assistant mqtt not working - What am i doing wrong?

Hi TD-er

Uncheck the extended credentials did not make any change.

ThomasB

If i change Controller Subscribe: homeassistant/sensor/%sysname%#
Then the HA Mosquitto does not accept the connection and the mqtt connection fail.
by Zodiac69
17 Jul 2021, 19:37
Forum: ESP Easy: General Discussion
Topic: ESPEasy - Home Assistant mqtt not working - What am i doing wrong? - Resolved
Replies: 21
Views: 8614

Re: ESPEasy - Home Assistant mqtt not working - What am i doing wrong?

Hi TD-er If i do not enable "Extended Credentials" then i cant connect to HA Mosquitto as it has a username and password. This is what i see in the HA Mosquitto log - New client connected from 192.168.2.197 as homeassistant/sensor/Garage_Door (p2, c1, k10, u'mqtt'). On my PRI with Node-RED...
by Zodiac69
17 Jul 2021, 19:15
Forum: ESP Easy: General Discussion
Topic: ESPEasy - Home Assistant mqtt not working - What am i doing wrong? - Resolved
Replies: 21
Views: 8614

Re: ESPEasy - Home Assistant mqtt not working - What am i doing wrong?

Controller Settings Protocol: Home Assistant (openHAB) MQTT Locate Controller: Use IP address Controller IP: 192.168.2.200 Controller Port: 1883 Controller Queue Minimum Send Interval: 100 [ms] Max Queue Depth: 10 Max Retries: 10 Full Queue Action: Ignore New Allow Expire: De-duplicate: Check Reply...
by Zodiac69
17 Jul 2021, 18:39
Forum: ESP Easy: General Discussion
Topic: ESPEasy - Home Assistant mqtt not working - What am i doing wrong? - Resolved
Replies: 21
Views: 8614

ESPEasy - Home Assistant mqtt not working - What am i doing wrong? - Resolved

I am trying to get ESPEasy to connected to Home Assistant via MQTT. In the Mosquitto log in HA i can see that the ESP establish a connection and the controller Subscribe match my settings on the ESP - homeassistant/sensor/%sysname%, but i have not been able to get the info in HA. When i look at Mosq...
by Zodiac69
05 Jul 2021, 20:26
Forum: ESP Easy: General Discussion
Topic: Abnormalities when using an MCP23017 as out-/input
Replies: 36
Views: 16434

Re: Abnormalities when using an MCP23017 as out-/input

Hi Micha_he It might be a silly question but, have you pulled your MCP23017 address lines to the same GND as your ESP? For Address 1, all address lines of the MCP should be tied to GND - 0V I had a case where the MCP lines were floating, it worked 100% until there was a relay switched. The unit woul...
by Zodiac69
20 Jun 2021, 17:41
Forum: ESP Easy: General Discussion
Topic: How do i Limit login access?
Replies: 3
Views: 4019

Re: How do i Limit login access?

Hi TD-er

Something like an "Admin" login that has access to everything and then a "User" login where only certain pages is accessible to the "User".
by Zodiac69
20 Jun 2021, 11:15
Forum: ESP Easy: General Discussion
Topic: How do i Limit login access?
Replies: 3
Views: 4019

How do i Limit login access?

Hi All

Is it possible to limit login access to only have access to Config page and noting else?
by Zodiac69
17 Jun 2021, 20:56
Forum: ESP Easy: General Discussion
Topic: Resolved - HiveMQ - What should the settings be?
Replies: 5
Views: 4892

Re: HiveMQ - What should the settings be?

Hi TD-er So out of desperation i loaded - ESP_Easy_mega_20210615_normal_ESP8266_4M1M via https://td-er.nl/ESPEasy/ And it work 1st time...??? Instant connect with no errors. So what has changed between ESPEasy_ESP82xx_mega-20210503 and ESP_Easy_mega_20210615_normal_ESP8266_4M1M? That will give clari...
by Zodiac69
16 Jun 2021, 22:37
Forum: ESP Easy: General Discussion
Topic: Resolved - HiveMQ - What should the settings be?
Replies: 5
Views: 4892

Resolved - HiveMQ - What should the settings be?

Hi All What should the "Controller" settings be to get HiveMQ to work. I have connected to HiveMQ from Node-RED to confirm the connection, but i am unable to get my ESP to connect: MQTT : Intentional reconnect MQTT : Broker C005 connection failed (6/0) I am using: ESP_Easy_mega_20201130_no...
by Zodiac69
14 Jun 2021, 20:14
Forum: ESP Easy: General Discussion
Topic: email - Error connecting... - Please help
Replies: 7
Views: 5496

Re: email - Error connecting... - Please help

Hi ThomasB

The version i am trying is: ESP_Easy_mega_20210223_normal_ESP8266_4M1M

I loaded the latest version - ESP_Easy_mega_20210503_normal_ESP8266_4M1M as well, changed the port to 587 and still the same error
by Zodiac69
14 Jun 2021, 17:51
Forum: ESP Easy: General Discussion
Topic: email - Error connecting... - Please help
Replies: 7
Views: 5496

Re: email - Error connecting... - Please help

Hi ThomasB The "Security options that worked is: Port 25 and 2525 work on - Auto, Tls and Tls when available - None and SSL fail. Port 465 Work on Auto, SSL, the rest fail Port 587 Work on Auto, None,Tls and Tls when available, the rest fail I tried the smtp2go.com IP: 66.228.43.14 - and i get ...
by Zodiac69
13 Jun 2021, 21:18
Forum: ESP Easy: General Discussion
Topic: email - Error connecting... - Please help
Replies: 7
Views: 5496

Re: email - Error connecting... - Please help

Just a generic error message, irrespective of the debug level:

76954279: EMAIL: Connecting to mail.smtp2go.com2525
76954492: EMAIL: Error connecting to mail.smtp2go.com2525

I have tested the settings here - https://www.gmass.co/smtp-test and they work
by Zodiac69
13 Jun 2021, 18:09
Forum: ESP Easy: General Discussion
Topic: email - Error connecting... - Please help
Replies: 7
Views: 5496

email - Error connecting... - Please help

Hi All I have been trying to use the smtp notification with out any success. I created an smtp2go account, setup a user and have a password from smtp2go. Domain: smtp2go.com Server: mail.smtp2go.com Port: 2525 Sender: xyz@gmail.com Receiver: zyx@yahoo.com Subject: Test Unit 1 User: smtp2go user name...
by Zodiac69
21 Jan 2021, 11:02
Forum: ESP Easy: Projects / Applications
Topic: Webserver HMI/GUI Code Generation Tool?
Replies: 5
Views: 18640

Re: Webserver HMI/GUI Code Generation Tool?

Hi All

Any progress on this?
by Zodiac69
27 Dec 2020, 10:55
Forum: ESP Easy: General Discussion
Topic: Rules Question - Can you do "Calculations" in rules?
Replies: 2
Views: 4189

Rules Question - Can you do "Calculations" in rules?

Hi All I have a rule that decode a mqtt event and split each of the 16 bits to switch a MCP23017 port On/Off, thanks to ThomasB - https://www.letscontrolit.com/forum/viewtopic.php?f=4&t=7988#p47122 I would like to display the "Calculated" value on a oled, each bit represent a different...
by Zodiac69
28 Nov 2020, 07:30
Forum: ESP Easy: General Discussion
Topic: MCP23017: Port control - not Pin control
Replies: 9
Views: 11411

Re: MCP23017: Port control - not Pin control

Hi ThomasB

Thank you, i finally managed to implement this and it works.
Thank you again for assistance.
by Zodiac69
01 Oct 2020, 21:47
Forum: ESP Easy: General Discussion
Topic: MQTT pin state on boot rule sort of working
Replies: 1
Views: 5388

MQTT pin state on boot rule sort of working

Hi all I need some pointers here please. I have a esp with this build - ESP_Easy_mega_20200801_normal_ESP8266_4M1M I have GPIO 13 set as "Output High" and GPIO 14 set as "Input" I have a rule to monitor GPIO 13 and 14 and it seems to work: on System#Boot do Monitor GPIO,13 Monito...
by Zodiac69
30 Sep 2020, 22:02
Forum: ESP Easy: General Discussion
Topic: MCP23017: Port control - not Pin control
Replies: 9
Views: 11411

Re: MCP23017: Port control - not Pin control

Hi Ath

Any pointers on how to do the "Port" part?
i tried to see if i can understand how to do it in P009, but i am not that good, need a lot of schooling on how to do that.
Just so i can control the port with one command instead of 16 to set / reset each pin
by Zodiac69
29 Sep 2020, 22:44
Forum: ESP Easy: General Discussion
Topic: MCP23017: Port control - not Pin control
Replies: 9
Views: 11411

Re: MCP23017: Port control - not Pin control?

Hi Ath Rules.... not enough space as i have to set all 16 pin states for each of the 31 "MAP" values. Was thinking if it is possable to change P009 to include aditional command to set the "Port" instead of each pin - posted this on the GitHub as well. Send MCPPort instead of MCPG...
by Zodiac69
29 Sep 2020, 21:00
Forum: ESP Easy: General Discussion
Topic: MCP23017: Port control - not Pin control
Replies: 9
Views: 11411

Re: MCP23017: Port control - not Pin control

Hi Ath Yes, i looked at that, but i have 31 combenations that the ports need to be in, not just On/Off. Depecning on a input value of 0 to 30, there is a "MAP" value that the ports need to be in. That is why i was looking at sending a 16bit "Port" value as one comand instead of 1...
by Zodiac69
29 Sep 2020, 18:29
Forum: ESP Easy: General Discussion
Topic: MCP23017: Port control - not Pin control
Replies: 9
Views: 11411

MCP23017: Port control - not Pin control

Hi All
Is it possable to send one command to change all 16 I/O pins at once.
At the moment i send 16 commands MCPGPIO,1,1.....MCPGPIO16,1 via MQTT. I have 32ESP's and updating all the status is NUTS...
Any way of sending one command to change the output of all 16 I/O pins?

Z69
by Zodiac69
15 Aug 2020, 16:37
Forum: ESP Easy: General Discussion
Topic: Strobe / flash NeoPixel in Rules
Replies: 2
Views: 6520

Strobe / flash NeoPixel in Rules

Hi All Hope you can assist me here. I have a rule that monitor a pin, when the pin goes low(0), i switch a spesific NeoPixel on and when the pin goes high(1) i switch the NeoPixel off. This works, what i am trying to understand is how can i make the NeoPixel "Strobe / Flash" while it is on...
by Zodiac69
15 Aug 2020, 16:27
Forum: ESP Easy: General Discussion
Topic: Public poll about modem-router brands that work without problem with espeasy and domoticz
Replies: 14
Views: 11227

Re: Public poll about modem-router brands that work without problem with espeasy and domoticz

These Routers / AP's i have used without any issues
1. LinkSys WRT54G - Not new, but very stable
2. ASUS RT-N66U
3. Ubiquiti Unifi AP-AC Lite

So far i have had no issue with these units and ESPEasy are connecting to them without any issues that i have experianced thus far.
by Zodiac69
09 Aug 2020, 19:12
Forum: ESP Easy: General Discussion
Topic: mqtt rule - help needed
Replies: 15
Views: 13933

Re: mqtt rule - help needed

Hi All Thank you for the assistance thus far. - Just for FYI, "Old Engine" was NOT enabled before. So i started from scratch, wipe, re-programme - ESP_Easy_mega_20200703_normal_ESP8266_4M1M, board is from Electrodragon ESP8266 R3. Setup everything like it was before. Update Rules Set 1 and...
by Zodiac69
08 Aug 2020, 23:43
Forum: ESP Easy: General Discussion
Topic: mqtt rule - help needed
Replies: 15
Views: 13933

Re: mqtt rule - help needed

So i change the rule to switch on the "Blue" LED on mqtt connect, it didn't, so it seems that rules are not firing - but check in lower in log. On MQTT#Connected Do Publish,"%sysname%/%unit%/IP","%ip%" GPIO,2,0 timerSet,1,30 //Resets the Timer 1 for another 30 seconds E...
by Zodiac69
08 Aug 2020, 23:30
Forum: ESP Easy: General Discussion
Topic: mqtt rule - help needed
Replies: 15
Views: 13933

Re: mqtt rule - help needed

Hi TD-er

No spaces in sysname, sysname is only 4 alpha chars - Nuco
Wrapping them in quotes also did make any change.
I shall see if i can get some diagnostics going, but i suspect that the rule is not firing...
by Zodiac69
08 Aug 2020, 22:47
Forum: ESP Easy: General Discussion
Topic: mqtt rule - help needed
Replies: 15
Views: 13933

Re: mqtt rule - help needed

Hi Ath Sorry, i did not post the complete rule :( ---- On MQTT#Connected Do Publish,%sysname%/%unit%/IP,%ip% timerSet,1,30 //Resets the Timer 1 for another 30 seconds EndOn On Rules#Timer=1 Do Publish,%sysname%/%unit%/IP,%ip% timerSet,1,30 //Resets the Timer 1 for another 30 seconds EndOn ---- The o...
by Zodiac69
08 Aug 2020, 22:15
Forum: ESP Easy: General Discussion
Topic: mqtt rule - help needed
Replies: 15
Views: 13933

Re: mqtt rule - help needed

Hi grovkillen

As i said, i am doing something stupid...

On Rules#Timer=1 Do
Publish,%sysname%/%unit%/IP,%ip%
timerSet,1,30 //Resets the Timer 1 for another 30 seconds
EndOn

Still not working???
by Zodiac69
08 Aug 2020, 19:12
Forum: ESP Easy: General Discussion
Topic: mqtt rule - help needed
Replies: 15
Views: 13933

mqtt rule - help needed

Hi All I presume i am doing something stupid... I am subscribed to mqtt and i can see my status, analog value and i can control GPIO over mqtt. I am trying to use a rule to send the IP address every 30 seconds as per the example under the rules, but i never see it triggered in the log or any info in...
by Zodiac69
03 Aug 2020, 22:56
Forum: ESP Easy: General Discussion
Topic: Analog mqtt message does not have unit number
Replies: 7
Views: 7079

Re: Analog mqtt message does not have unit number

Hi Ath In my setup, all the ESP's have the same Sysname and each one has it's own number as in 1,2,3... I have NOT set "Append Unit Number to hostname:" Here is my mqtt setup, i am still new to mqtt, but this work for me, if there is a better way i am open to any way to do it better. I had...
by Zodiac69
02 Aug 2020, 22:00
Forum: ESP Easy: General Discussion
Topic: Analog mqtt message does not have unit number
Replies: 7
Views: 7079

Re: Analog mqtt message does not have unit number

Please close the Topic, i have resolved the issue by making some changes to the mqtt subscribe topic
by Zodiac69
25 Jul 2020, 22:00
Forum: ESP Easy: General Discussion
Topic: Analog mqtt message does not have unit number
Replies: 7
Views: 7079

Re: Analog mqtt message does not have unit number

Hi Ath
ESP_Easy_mega_20200703_normal_ESP8266_4M1M
by Zodiac69
25 Jul 2020, 13:20
Forum: ESP Easy: General Discussion
Topic: Analog mqtt message does not have unit number
Replies: 7
Views: 7079

Re: Analog mqtt message does not have unit number

Hi TD-er Here is my setup ESPEasy mqtt setup as Home Assistant (openHAB) MQTT Under "Devices" Analog input - internal, with "Send to Controller" enabled In mqtt - i use MQTT Explorer to see the info, the Analog value is posted under the Device name and not under the Unit number. ...