Search found 65 matches

by dampa
07 Apr 2020, 18:46
Forum: ESP Easy: Software
Topic: ESPEasy-20200328 can't change rule sets
Replies: 13
Views: 327

Re: ESPEasy-20200328 can't change rule sets

found two more things
minor - in System Variables - %iv4% shows up twice and %ip% is missing

major - controler 2 is not working - I went back to the 20200310 version and it worked fine
by dampa
03 Apr 2020, 10:41
Forum: ESP Easy: Software
Topic: ESPEasy-20200328 can't change rule sets
Replies: 13
Views: 327

Re: ESPEasy-20200328 can't change rule sets

- Main tab - Git build value missing also missing in JSON (probably for the same reason)

haven't noticed anything else obvious (smile)

interestingly the rules full screen crop down going to the bottom is the same in mega-20200305
by dampa
03 Apr 2020, 10:10
Forum: ESP Easy: Software
Topic: ESPEasy-20200328 can't change rule sets
Replies: 13
Views: 327

Re: ESPEasy-20200328 can't change rule sets

I can confirm it works and like Dave in full screen mode, the drop-down appears to the right at the bottom. It does use a 'bit' of space though. This release also fixes the '%sysbuild_filename% misingString' issue https://www.letscontrolit.com/forum/viewtopic.php?f=6&t=7574 I did notice that as of m...
by dampa
03 Apr 2020, 09:39
Forum: ESP Easy: Software
Topic: D1 Mini strange WiFi behaviour
Replies: 15
Views: 427

Re: D1 Mini strange WiFi behaviour

How about setting the IP address in the router based on the MAC address of the D1 and increasing the wake time?
by dampa
01 Apr 2020, 21:11
Forum: ESP Easy: Software
Topic: ESPEasy-20200328 can't change rule sets
Replies: 13
Views: 327

Re: ESPEasy-20200328 can't change rule sets

I've just dropped back to 20200310
by dampa
01 Apr 2020, 13:49
Forum: ESP Easy: Software
Topic: D1 Mini strange WiFi behaviour
Replies: 15
Views: 427

Re: D1 Mini strange WiFi behaviour

@JohanE - Do you have Config->Sleep mode->Sleep on connection failure checked off?
What are the other settings there?

I have rules sending the WeMos into deepsleep with no problems when waking up.
by dampa
01 Apr 2020, 13:04
Forum: ESP Easy: Software
Topic: ESPEasy-20200328 can't change rule sets
Replies: 13
Views: 327

ESPEasy-20200328 can't change rule sets

Device: Wemos D1 mini pro
Build: ESP_Easy_mega-20200328_normal_ESP8266_4M1M.bin
Location: Rules

There does not seem to be a way to swap between rule sets. If you use the selection list (now at the bottom of the screen) nothing happens - it stays on Rule Set 1
by dampa
01 Apr 2020, 11:46
Forum: ESP Easy: Software
Topic: ESPEasy-20200328 %sysbuild_filename% MissingString
Replies: 3
Views: 136

ESPEasy-20200328 %sysbuild_filename% MissingString

Device: Wemos D1 mini pro
Build: ESP_Easy_mega-20200328_normal_ESP8266_4M1M.bin
Location: Tools -> System Variables

The System Variable %sysbuild_filename% is showing MissingString
by dampa
17 Mar 2020, 22:23
Forum: ESP Easy: General Discussion
Topic: Switch MQTT controlers??
Replies: 9
Views: 750

Re: Switch MQTT controlers??

If you have primary and secondary set, you also have different SSID's, and there is the %ssid% variable. Also there is an event when you are connected to WiFi, so in that block you can compare the %ssid% value. Only thing is that currently the string matching is a bit limited, but another recent ad...
by dampa
17 Mar 2020, 20:59
Forum: ESP Easy: General Discussion
Topic: Switch MQTT controlers??
Replies: 9
Views: 750

Re: Switch MQTT controlers??

Thomas, I don't think that would work since (if I understand it) in rules you can not do a compare to a string, and %bssid% is 50:C7:BF:78:4F:7B. If you could use a string in a rule I could just use if %ssid% = "My hidden SSID" do but that doesn't work (I tried it) But my idea in my previous post do...
by dampa
17 Mar 2020, 20:14
Forum: ESP Easy: General Discussion
Topic: Switch MQTT controlers??
Replies: 9
Views: 750

Re: Switch MQTT controlers??

well I can get it to work using %ip4% since that is a value on System#Boot do ControllerDisable,1 ControllerDisable,2 endon on WiFi#Connected do if %ip4% = 28 do ControllerEnable,1 else ControllerEnable,2 endif endon so If I set my home network to assign the IP based on the device's MAC address the ...
by dampa
17 Mar 2020, 19:53
Forum: ESP Easy: General Discussion
Topic: Switch MQTT controlers??
Replies: 9
Views: 750

Re: Switch MQTT controlers??

SWEET!!! that works! now to see if I can check the SSID and set it.
by dampa
17 Mar 2020, 18:11
Forum: ESP Easy: General Discussion
Topic: Switch MQTT controlers??
Replies: 9
Views: 750

Switch MQTT controlers??

Is there any way in rules to deactivate/activate MQTT controllers? Here is what I want to do. Have a device setup with two SSID's to connect to. Depending on the SSID, I want to activate the MQTT-1 controller or the MQTT-2 controller. The MQTT-1 controller would be in my local network, but MQTT-2 wo...
by dampa
08 Mar 2020, 22:10
Forum: ESP Easy: General Discussion
Topic: Publish not working anymore
Replies: 32
Views: 9705

Re: Publish not working anymore

Ahh sure AFTER I test and write it up, I find out 'TD-er' is all over this (see https://github.com/letscontrolit/ESPEas ... 8d7c84588f)
by dampa
08 Mar 2020, 21:49
Forum: ESP Easy: General Discussion
Topic: Publish not working anymore
Replies: 32
Views: 9705

Re: Publish not working anymore

In release mega-20200305 this is not working as I would expect. I have this rule set for testing: on testMQTT do publish node10/debug,"well look at that, it does work" publish node10/debug,'{msg0}' publish node10/debug,'{"msg1":"well look at that","msg2":"it does work"}' publish node10/debug,{"msg3"...
by dampa
06 Mar 2020, 13:57
Forum: ESP Easy: General Discussion
Topic: Generic - Dummy Device only allows 1 variable in newest releases
Replies: 4
Views: 2249

Re: Generic - Dummy Device only allows 1 variable in newest releases

The good news is that saving the config.dat and reloading it in the current release (config_node42_U42_Build20104_202008.dat) works correctly.
by dampa
06 Mar 2020, 13:44
Forum: ESP Easy: General Discussion
Topic: Generic - Dummy Device only allows 1 variable in newest releases
Replies: 4
Views: 2249

Re: Generic - Dummy Device only allows 1 variable in newest releases

Ahh yes it did, but then the bug must be that the config.dat I imported did not set it to QUAD. On this device I: 1) saved the settings 2) flashed it to blank.bin 3) flashed it to mega-20020303 and setup wifi to my network/reboot 4) imported the config.dat file at this point all 4 variables are ther...
by dampa
06 Mar 2020, 13:17
Forum: ESP Easy: General Discussion
Topic: Generic - Dummy Device only allows 1 variable in newest releases
Replies: 4
Views: 2249

Generic - Dummy Device only allows 1 variable in newest releases

I have a device with a Generic - Dummy Device where I had setup 4 variables. I upgraded to ESP_Easy_mega-20200222_normal_ESP8266_4M1M.bin and then went in and changed the name of one of my four variables.

As soon as I hit save, three of the variables disappear from the values list!


Yikes!
by dampa
04 Mar 2020, 22:24
Forum: ESP Easy: General Discussion
Topic: [Solved] Device: Generic - System Info - Vcc always -1
Replies: 2
Views: 2045

Re: Device: Generic sysingo - Vcc always -1

Thanks Thomas! Other than the fact the OTA update hosed the WeMos and I had to flash it to a blank.bin then couldn't figure why I couldn't get into it (Duh blank.bin!!) Once I flashed it with the VCC version and was able to reload my settings (Yea! I did something right by backing them up before sta...
by dampa
04 Mar 2020, 17:09
Forum: ESP Easy: General Discussion
Topic: [Solved] Device: Generic - System Info - Vcc always -1
Replies: 2
Views: 2045

[Solved] Device: Generic - System Info - Vcc always -1

Hardware: WeMos D1 pro ESPeasy version: mega-20200222 Device: Generic - System Info If I select 'Input VCC' as one of the options, it always returns -1. Taking a dive into the code, I see in _P026_Sysinfo.ino starting at line 198 case 3: { # if FEATURE_ADC_VCC value = vcc; # else // if FEATURE_ADC_V...
by dampa
27 Feb 2020, 12:33
Forum: ESP Easy: Software
Topic: Nested If constructs
Replies: 7
Views: 2356

Re: Nested If constructs

If they parse the same way, there won't be any difference. If they do parse differently you, in the nested case if the ledcolour#code was 0 you would only evaluate one if statement while in the non nested case all four if will always be evaluated. however, if ledcolour#code = 3 the in both cases all...
by dampa
09 Feb 2020, 11:54
Forum: ESP Easy: Hardware
Topic: Display - OLED SSD1306 - no display at all
Replies: 9
Views: 2578

Re: Display - OLED SSD1306 - no display at all

As to why, beats me I was just offering an idea to test :D
by dampa
08 Feb 2020, 17:22
Forum: ESP Easy: Hardware
Topic: Display - OLED SSD1306 <<< layout problem
Replies: 1
Views: 2526

Re: Display - OLED SSD1306 <<< layout problem

The issue is that when you write out data, it looks like it is writing a full 'page' (or line) into the memory buffer. Since a page is 16 bytes, it writes the 16 bytes starting at the offset and this cause the following 'page' of the buffer to be overwritten. It seems to me that when offset is great...
by dampa
08 Feb 2020, 17:18
Forum: ESP Easy: Hardware
Topic: Display - OLED SSD1306 - no display at all
Replies: 9
Views: 2578

Re: Display - OLED SSD1306 - no display at all

have you tried using the 'Display - OLED SSD1306' instead of the 'Display - OLED SSD1306/SH1106 Framed' as the device?
by dampa
10 Nov 2019, 01:02
Forum: ESP Easy: General Discussion
Topic: Docup...maybe? command reference servo mqtt example
Replies: 1
Views: 3641

Docup...maybe? command reference servo mqtt example

If you go to https://www.letscontrolit.com/wiki/index.php/ESPEasy_Command_Reference and scroll down to the 'servo' command, the example is Example for MQTT: <MQTT subscribe template>/cmd Servo 1 0 120 shouldn't it be showing the commas between the payload values like Example for MQTT: The topic shou...
by dampa
24 Aug 2019, 12:49
Forum: ESP Easy: General Discussion
Topic: DOCUP - pubsubclient README.md
Replies: 3
Views: 6164

DOCUP - pubsubclient README.md

I happened to trad the README.md and saw this line The maximum message size, including header, is **128 bytes** by default. This is configurable via `MQTT_MAX_PACKET_SIZE` in `PubSubClient.h`. but I looked at one of the messages I was sending it was 269 bytes long (??) so I went and looked into PubS...
by dampa
15 Aug 2019, 15:40
Forum: ESP Easy: Hardware
Topic: How to make Dew point show on display with sensor BME280?
Replies: 6
Views: 2645

Re: How to make Dew point show on display with sensor BME280?

I just spotted the dew point in the log too. I would also like to see it as an other value for the device.
by dampa
12 Aug 2019, 12:02
Forum: ESP Easy: General Discussion
Topic: config.dat - is it forward compatible?
Replies: 1
Views: 5563

config.dat - is it forward compatible?

If I backup a device's config.dat and then upgrade espeasy, will the config.dat import without issues or is it release dependent? For example - say a device is using mega-20190305 and I backup the config.dat. deviceX (mega-20190305) -> config.dat(mega-20190305) Next I upgrade to mega-20190809. mega-...
by dampa
09 Aug 2019, 23:19
Forum: ESP Easy: General Discussion
Topic: [SOLVED] MQTT - Failed to connect to broker
Replies: 6
Views: 6616

Re: MQTT - Failed to connect to broker

TD-er, ThomasB Thank you for looking at this the problem was with the mosquitto configuration file. I got a copy of dynamicdave's configuration file and once I put that in, it started working. I was not using userid and passwords and I think the missing 'allow_anonymous true' might have been the iss...
by dampa
09 Aug 2019, 22:25
Forum: ESP Easy: General Discussion
Topic: [SOLVED] MQTT - Failed to connect to broker
Replies: 6
Views: 6616

Re: MQTT - Failed to connect to broker

Just found another clue. I went and looked at the mosquitto log on the pi (/var/log/mosquitto/mosquitto.log) and I see this 1565375291: New connection from 192.168.48.42 on port 1883. 1565375291: Socket error on client <unknown>, disconnecting. 1565375321: New connection from 192.168.48.29 on port 1...
by dampa
09 Aug 2019, 13:04
Forum: ESP Easy: General Discussion
Topic: Any way to restore config.dat automatically?
Replies: 8
Views: 6561

Re: Any way to restore config.dat automatically?

If you cannot find another way of uploading this file, can you make an issue for it on GitHub?
Will do.

Had to put this on a back burner for a bit due to family issues (argue, the grandkids have invaded :lol: ) and an issue with MQTT (another thread).
by dampa
09 Aug 2019, 12:53
Forum: ESP Easy: General Discussion
Topic: [SOLVED] MQTT - Failed to connect to broker
Replies: 6
Views: 6616

[SOLVED] MQTT - Failed to connect to broker

Up to a couple weeks ago, all my ESPEasy devices were working fine but suddenly they are all failing to connect to my local MQTT brokers (using either the hostname or the IP) with the error: 15651: MQTT : Intentional reconnect 15713: MQTT : Failed to connect to broker All devices work fine when conn...
by dampa
01 Aug 2019, 01:03
Forum: ESP Easy: General Discussion
Topic: Any way to restore config.dat automatically?
Replies: 8
Views: 6561

Re: Any way to restore config.dat automatically?

Thomas, thanks for the suggestions! I'll try them over the next few days. I thought I was going to have the whole week free but turns out my daughters family is back tonight from camping and that means I'll be invaded by grandkids tomorrow (grin-smile)
by dampa
31 Jul 2019, 10:29
Forum: ESP Easy: General Discussion
Topic: Any way to restore config.dat automatically?
Replies: 8
Views: 6561

Re: Any way to restore config.dat automatically?

That doesn't help. Here is how I tested
1) from tools did a backup of the configuration
2) deleted the two controlers I had - rebooted
3) used curl to load the config.dat file - rebooted
4) controlers missing
5) loaded config.dat via tools - controlers showed up with out a reboot

Any other ideas?
by dampa
30 Jul 2019, 12:56
Forum: ESP Easy: General Discussion
Topic: Any way to restore config.dat automatically?
Replies: 8
Views: 6561

Re: Any way to restore config.dat automatically?

I've been trying to figure out what a post would look like. For all the other files I use curl in this form "curl -v -F upload='@path-to-file/rules1.txt' http://192.168.48.29/upload" and it works fine but the config.dat doesn't. Even though it looks like it works, the settings don't change. Any guid...
by dampa
29 Jul 2019, 22:15
Forum: ESP Easy: General Discussion
Topic: Any way to restore config.dat automatically?
Replies: 8
Views: 6561

Any way to restore config.dat automatically?

I'd like to build an backup/restore for all the settings in ESPEasy. Currently I've created a backup of all the parts (config.dat, security.dat, rules1-4.txt) and restore for everythiong but config.txt. It seems the only way is to open ESPEasy on the device, go to tools, select upload, pick the file...
by dampa
02 Apr 2019, 19:28
Forum: ESP Easy: General Discussion
Topic: Any way to check if a device exists - in a rule?
Replies: 6
Views: 875

Re: Any way to check if a device exists - in a rule?

Hmmm, I'm going to have to ponder that idea. Thanks!
by dampa
02 Apr 2019, 16:07
Forum: ESP Easy: General Discussion
Topic: Any way to check if a device exists - in a rule?
Replies: 6
Views: 875

Re: Any way to check if a device exists - in a rule?

Yes, the bmp280 reports temperature and pressure but not humidity, so I have a dht22 connected also. With the if statements it would grab the temp and humidity from the dht22 then overwrite the temperature and add the pressure from the bmp280. Myself and another guy are building DIY weather reportin...
by dampa
02 Apr 2019, 14:04
Forum: ESP Easy: General Discussion
Topic: Any way to check if a device exists - in a rule?
Replies: 6
Views: 875

Re: Any way to check if a device exists - in a rule?

That's great idea except ift the bme280 triggers then the dht22 triggers, the readings from the bme280 will be overwritten and I'll get the dht22 readings. Getting the bme280 readings are better than the dht22 readings.
by dampa
02 Apr 2019, 13:22
Forum: ESP Easy: General Discussion
Topic: Any way to check if a device exists - in a rule?
Replies: 6
Views: 875

Any way to check if a device exists - in a rule?

trying to write a generic set of rules to report temperature, humidity and pressure. The idea is to install this on several devices but I won't know if a dht22, ds18b20, bmp280 or bme280 is installed and it is possible more than one is installed. Right now I have: if [dht22#temperature] > 0 TaskValu...
by dampa
01 Apr 2019, 00:19
Forum: ESP Easy: General Discussion
Topic: Are Location settings avaliable in rules?
Replies: 3
Views: 762

Re: Are Location settings avaliable in rules?

Any thoughts to making them avaliable to rules? Since they are already stored in memory anyways...
by dampa
31 Mar 2019, 19:47
Forum: ESP Easy: General Discussion
Topic: Rules - i have problem.
Replies: 1
Views: 518

Re: Rules - i have problem.

take a look at this thread viewtopic.php?f=4&t=6586 it may help you debug and give you insight to your problem
by dampa
31 Mar 2019, 19:30
Forum: ESP Easy: General Discussion
Topic: Are Location settings avaliable in rules?
Replies: 3
Views: 762

Are Location settings avaliable in rules?

If you go to Tools->Advanced->Location Settings you can enter the Latitude and Longitude. Is there a way to use them in rules? If not, what are they used for??
by dampa
31 Mar 2019, 19:03
Forum: ESP Easy: General Discussion
Topic: How to DEBUG your RULES
Replies: 2
Views: 775

How to DEBUG your RULES

Here is my method for debugging RULEs while I'm developing and I hope it helps some people out. First thing is to add a 'Generic - Dummy Device', name it 'data' and name one of the variables 'debug'. For our example, let's assume you select device 12 and named the first variable 'debug' . Now in you...
by dampa
21 Mar 2019, 01:34
Forum: ESP Easy: General Discussion
Topic: Re-run initial WiFi setup
Replies: 4
Views: 890

Re-run initial WiFi setup

Is it possible to re-run the initial WiFi setup? I've been searching and can't find anything on it. Here's my idea: I want to setup a couple devices with a bunch of sensors and rules and then give them to a some friends. The problem is they each have a different SSID/passphrase and I'd like to make ...
by dampa
05 Mar 2019, 20:59
Forum: ESP Easy: General Discussion
Topic: [solved] Are any math functions usable in rules?
Replies: 11
Views: 2386

Re: Are any math functions usable in rules?

Ahh but that doesn't address my issue ie I need to range 1-60 to 1-12 ie i can grab %sysmin% and it the time is 3:04 then the 04 should be ranged to 1 while 3:05 will range to 2 If I use the formula mm+5/5 and could truncate the decimal portion I would be fine Wait, I found an answer. I was using th...
by dampa
05 Mar 2019, 20:10
Forum: ESP Easy: General Discussion
Topic: [solved] Are any math functions usable in rules?
Replies: 11
Views: 2386

[solved] Are any math functions usable in rules?

Here is my situation. I have a 12 LED ring to be used as a clock. What I want to do is light an led based on the minutes. With the 12:00 o'clock position being led 1, 1 o'clock position is led 2, 2 o'clock position is led 3 etc, Between hh:00 and hh:04 led 1 should be lit, between hh:05 to hh:09 led...
by dampa
04 Jan 2019, 18:51
Forum: ESP Easy: Software
Topic: Fallback SSID
Replies: 13
Views: 2237

Re: Fallback SSID

I'll give that a try, but it's not in the list at https://www.letscontrolit.com/wiki/inde ... _Reference
by dampa
04 Jan 2019, 18:36
Forum: ESP Easy: Software
Topic: Fallback SSID
Replies: 13
Views: 2237

Re: Fallback SSID

yeah, I know I can do at the router, and being tech savy I can do it, but I don't want to have to explain to my son, over the phone how to do it on his router or anyone else if I give one to someone else. I also know that the device will work eithor place because it will be 'given' an IP address, bu...