Search found 87 matches

by dampa
12 Aug 2019, 12:02
Forum: ESP Easy: General Discussion
Topic: config.dat - is it forward compatible?
Replies: 1
Views: 6862

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: 23832

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: 23832

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: 10046

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: 23832

[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: 10046

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: 10046

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: 10046

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...
by dampa
29 Jul 2019, 22:15
Forum: ESP Easy: General Discussion
Topic: Any way to restore config.dat automatically?
Replies: 8
Views: 10046

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: 3560

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: 3560

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: 3560

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: 3560

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: 3077

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: 1683

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: 3077

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: 2852

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: 2935

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: 8267

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: 8267

[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: 7868

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: 7868

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...
by dampa
04 Jan 2019, 14:37
Forum: ESP Easy: Software
Topic: How to set ESP GW (gateway) via commands
Replies: 1
Views: 1591

How to set ESP GW (gateway) via commands

While it IS possible to set the IP address via rules, there doesn't seem to be a way to set the gateway. I have two locations I want to use a device AND I want the device to have a particular last section of the IP. For example, for the primary SSID I want the address to be 10.0.0.19 on the fallback...
by dampa
04 Jan 2019, 12:58
Forum: ESP Easy: Software
Topic: Fallback SSID
Replies: 13
Views: 7868

Re: Fallback SSID

Let me ask you this: Is there a way to define an IP address for the device when the base SSID address might be different. For example, say I want the device to have a fixed IP nnn.nnn.nnn.19 but my primary SSID hands out 10.0.0.nnn address and my fallback SSID hands back IP of 192.168.1.nnn? I was w...
by dampa
04 Jan 2019, 12:50
Forum: ESP Easy: Software
Topic: Fallback SSID
Replies: 13
Views: 7868

Re: Fallback SSID

Is there any way to mark this 'solved'? I was going to change the topic to 'Fallback SSID [solved] but can't seem to find a way to do it.
by dampa
04 Jan 2019, 12:35
Forum: ESP Easy: Software
Topic: Fallback SSID
Replies: 13
Views: 7868

Re: Fallback SSID

That will be great and maybe save someone eles from pulling their hair out like I did :D
by dampa
04 Jan 2019, 12:30
Forum: ESP Easy: Software
Topic: Fallback SSID
Replies: 13
Views: 7868

Re: Fallback SSID

I assume you mean in ESPeasy. Syslog IP: blank Syslog Level: None Syslog Facility: Kernel Serial log Level: None Web log Level: Info I just changed Serial log Level to 'Info' and now I see: INIT : Booting version: mega-20181231 (ESP82xx Core 2_4_2, NONOS SDK 2.2.1(cfd48f3), LWIP: 2.0.3 PUYA support)...
by dampa
04 Jan 2019, 12:01
Forum: ESP Easy: Software
Topic: Fallback SSID
Replies: 13
Views: 7868

Fallback SSID

device: WeMos D1 mini espeasy: mega-20181231 macOS 10.13.6 Arduino IDE 1.8.8 I have set the D1 mini with a primary SSID (helmsdeep) and a fallback SSID (Mines of Moria). When I boot the device and watch the serial monitor in the Arduino IDE and I see: INIT : Booting version: mega-20181231 (ESP82xx C...
by dampa
04 Jan 2019, 00:21
Forum: ESP Easy: General Discussion
Topic: no wifi (esp_0) after flash on S20
Replies: 35
Views: 38440

Re: no wifi (esp_0) after flash on S20

I use the CP2102 moduls USB-TTL connecter and plug the four pins to the correct header points on the S20.

One thing I discovered is that (for me) using the S20's
– S20's with versions < v1.3 - I need to connect TX-RX and RX-TX
– S20's with versions v1.3+ – I need to connect TX-TX and RX-RX.
by dampa
16 Dec 2018, 12:07
Forum: ESP Easy: Software
Topic: mqtt / use hostname option doesn't work on LAN / Mega32
Replies: 10
Views: 7099

Re: mqtt / use hostname option doesn't work on LAN / Mega32

Good News, I just upgraded to the ESP_Easy_mega-20181214_normal_ESP8266_4096.bin and it is now WORKING!!! :D
by dampa
16 Dec 2018, 11:46
Forum: ESP Easy: Software
Topic: mqtt / use hostname option doesn't work on LAN / Mega32
Replies: 10
Views: 7099

Re: mqtt / use hostname option doesn't work on LAN / Mega32

I'm having the same issue when I use the hostname it never connects. My use case: I'm developint a plant monitoring system using a rpi zero w and Node-RED. The pi runs the mqtt broker. I have a Wemos D1 min running ESPeasy. If I specify the IP address in ESPeasy it works fine, but I want to use the ...
by dampa
08 Nov 2018, 20:17
Forum: ESP Easy: Software
Topic: [solved] Error: Either fill all IP settings fields or leave all empty
Replies: 2
Views: 2215

Re: Error: Either fill all IP settings fields or leave all empty

Dang, you're right! I didn't fill in the 'ESP DSN' (Now how did I miss that) I've filled it in for all my other devices.

Oh well , live and learn.

THANKS!
by dampa
08 Nov 2018, 15:43
Forum: ESP Easy: Software
Topic: [solved] Error: Either fill all IP settings fields or leave all empty
Replies: 2
Views: 2215

[solved] Error: Either fill all IP settings fields or leave all empty

device: WeMos D1 mini espeasy: mega-20181025 Got an OLED sheild (64x48 - Driver IC: SSD1306 IIC address: 0x3C or 0x3D) and plugged it into the wemos. In 'Devices' I added it as a 'Display - OLED SSD1306' - Enabled - I2C Address: 0x3C (60) - (default) Display Size: 68x48 When I hit save a red bar app...
by dampa
06 Sep 2018, 11:45
Forum: ESP Easy: Projects / Applications
Topic: moisture sensor
Replies: 78
Views: 74019

Re: moisture sensor

@manjh - I've been using that capacitive sensor for a week now with no problem. I use it with a WeMos and have it connected to 5V, GND and A0. Under 'Devices' I added an 'Analog Input - Internal' and enabled the device and send the data to the controller. Then I watched the log to get the 'dry' read...
by dampa
19 Jul 2018, 19:00
Forum: ESP Easy: General Discussion
Topic: (FIXED) can not validate json output
Replies: 3
Views: 2339

Re: (FIXED) can not validate json output

Well thank you very much indeed!
by dampa
19 Jul 2018, 13:54
Forum: ESP Easy: General Discussion
Topic: (FIXED) can not validate json output
Replies: 3
Views: 2339

Re: (BUG?) can not validate json output

Yeah!! it is working in the mega-20180719 build!
by dampa
19 Jul 2018, 01:53
Forum: ESP Easy: General Discussion
Topic: (FIXED) can not validate json output
Replies: 3
Views: 2339

(FIXED) can not validate json output

GIT Version: mega-20180714 I go to Tools->Show JSON copy it and then try to validate it using one of the online validators like https://jsonlint.com and it says there is an error. Here is the JSON {"System":{ "Build":20102, "Git Build":"mega-20180714", "S...