Search found 74 matches

by igorka
30 Oct 2022, 13:37
Forum: ESP Easy: Software
Topic: External Time Source -DS3231 need help
Replies: 67
Views: 17140

Re: External Time Source -DS3231 need help

TD-er wrote: 30 Oct 2022, 13:18 When it has finished, can you check this test build: https://github.com/letscontrolit/ESPEas ... 3355411170
Of course I can.I have just one esp-01s board that is idle, for experiments.I'll try it during the next week, will it suit you?
by igorka
30 Oct 2022, 13:31
Forum: ESP Easy: General Discussion
Topic: Checking that time is right
Replies: 29
Views: 7436

Re: Checking that time is right

Ath, TD-er Thank you, I will experiment ;)
by igorka
30 Oct 2022, 13:18
Forum: ESP Easy: General Discussion
Topic: Checking that time is right
Replies: 29
Views: 7436

Re: Checking that time is right

TD-er wrote: 30 Oct 2022, 13:09 Something like this?
Exactly.
Although my latest code seems to be working, but it is clearly redundant!
by igorka
30 Oct 2022, 12:40
Forum: ESP Easy: Software
Topic: External Time Source -DS3231 need help
Replies: 67
Views: 17140

Re: External Time Source -DS3231 need help

TD-er wrote: 30 Oct 2022, 12:27 Will update as soon as I have a test build for you.
Thanks! You are making a huge contribution to the development of ESP Easy.
by igorka
30 Oct 2022, 12:36
Forum: ESP Easy: General Discussion
Topic: Checking that time is right
Replies: 29
Views: 7436

Re: Checking that time is right

Or a little bit simpler: Thanks!It really looks better :idea: . If I may, I will ask you one more question.How to write down such a rule correctly? Such a record works incorrectly, the first expression works, and the second one is ignored. on Time#Initialized do if %sysweekday%=1 or %sysweekday%=7 ...
by igorka
29 Oct 2022, 20:46
Forum: ESP Easy: General Discussion
Topic: Checking that time is right
Replies: 29
Views: 7436

Re: Checking that time is right

I want to make rules that will work differently depending on the day of the week (working days and weekends).Something like that: on Clock#Time=Mon,Tue,Wed,Thu,Fri,07:30 do GPIO,0,0 endon on Clock#Time=Mon,Tue,Wed,Thu,Fri,22:00 do GPIO,0,1 endon But such a record does not work :roll: . I tried it li...
by igorka
26 Oct 2022, 18:46
Forum: ESP Easy: Software
Topic: External Time Source -DS3231 need help
Replies: 67
Views: 17140

Re: External Time Source -DS3231 need help

No, unfortunately, in the near future, I will not have such an opportunity.But I will definitely try to do it.
Thanks!
by igorka
26 Oct 2022, 17:28
Forum: ESP Easy: Software
Topic: External Time Source -DS3231 need help
Replies: 67
Views: 17140

Re: External Time Source -DS3231 need help

I tried all pin combinations to connect i2c.When scanning the bus, it sees addresses, but it does not work to connect for time synchronization.Writes an error in the log as in the photo above.Maybe I should fill in another firmware for testing, and which one?
by igorka
26 Oct 2022, 13:36
Forum: ESP Easy: Software
Topic: External Time Source -DS3231 need help
Replies: 67
Views: 17140

Re: External Time Source -DS3231 need help

Could this problem be caused by the fact that I assigned GPIO1 to SDA(TX) and GPIO3 to SCL(RX)? Of course, in the Serial Settings, I removed the check mark from Enable Serial port, but maybe the module sends data to the Serial Port when loading, and therefore I'm not loading from the RTC module? Cha...
by igorka
26 Oct 2022, 12:18
Forum: ESP Easy: Software
Topic: External Time Source -DS3231 need help
Replies: 67
Views: 17140

Re: External Time Source -DS3231 need help

You will need to set the date/time Tools/Command Datetime,2022-10-26,12:03:00, Command Output OK. 3231_5.png After restarting the ESP, the time is lost: 3331_3.png 3231_4.png The battery in the module is new, the voltage is 3V33, the voltage on the legs DS3231 is also normal, external power is also...
by igorka
26 Oct 2022, 10:44
Forum: ESP Easy: Software
Topic: External Time Source -DS3231 need help
Replies: 67
Views: 17140

Re: External Time Source -DS3231 need help

Then the time synchronization from DS3231 should work correctly?Why doesn't it work for me?I ask for help, what settings do I need to make?Maybe I'm doing something wrong?
by igorka
26 Oct 2022, 10:17
Forum: ESP Easy: Software
Topic: External Time Source -DS3231 need help
Replies: 67
Views: 17140

Re: External Time Source -DS3231 need help

Ath wrote: 26 Oct 2022, 10:03 The Time Source and Watch Dog setting are in no way related, so please leave the WD setting at 0. It might unexpectedly reboot the unit.
Initially, I did not touch these settings, there was no difference. There is no DS3231 in Supported devices!
by igorka
26 Oct 2022, 09:56
Forum: ESP Easy: Software
Topic: External Time Source -DS3231 need help
Replies: 67
Views: 17140

Re: External Time Source -DS3231 need help

I ran into a problem, I can't configure the ESP to work with DS3231. ESP-01S module (ESP_Easy_mega_20220616_normal_ESP8266_1M), RTC (HW-84) on a DS3231 chip. In Tools/Time Source/External Time Source, I select DS3231. 3231.png I go to the Scan for I2C devices tab, there are, as it should be, two add...
by igorka
17 Sep 2022, 08:15
Forum: ESP Easy: General Discussion
Topic: p2p automatic time synchronization
Replies: 8
Views: 2876

Re: p2p automatic time synchronization

TD-er wrote: 05 Sep 2022, 15:24 OK, I can add some command/feature to allow any node to act as a local NTP source via p2p.
I would also be glad if you did it. Let me know when it will be possible to test it in practice.
by igorka
21 Jul 2022, 09:12
Forum: ESP Easy: General Discussion
Topic: ESP IDLE during Wifi Connection
Replies: 12
Views: 3948

Re: ESP IDLE during Wifi Connection

Hello! I'm just starting to take the first steps in the development of ESP Easy, but maybe I can help you with something. One way to overcome wifi connection is use p2p. However, It doesn't work before wifi connection. Is this correct? I think you are right. Priority for wi-fi, and then only P2P. Bu...
by igorka
20 Jul 2022, 18:58
Forum: ESP Easy: General Discussion
Topic: Checking that time is right
Replies: 29
Views: 7436

Re: Checking that time is right

И это? So it worked. I'll try how this code will work when restarting ESP after 21:00 and after 00:00. Thank you! This is your mysticism..... So if something in the rest of the code do not function properly gpio 0 stays high... The code is very simple, I showed you all of it.Let GPIO,0,1 be for a s...
by igorka
20 Jul 2022, 18:47
Forum: ESP Easy: General Discussion
Topic: Checking that time is right
Replies: 29
Views: 7436

Re: Checking that time is right

i found at least one issue... for each comparison you need to do the full statement (i think) Thank you! But it also didn’t help (there was an endif in the code, I missed it in my post). If you turn off and power on the ESP between 8:00 and 21:00, GPIO, 0 is in the "1" state. This is some...
by igorka
20 Jul 2022, 18:27
Forum: ESP Easy: General Discussion
Topic: Checking that time is right
Replies: 29
Views: 7436

Re: Checking that time is right

Hello! Please help, I can’t write it to work correctly. The task is the following, at 08:00 you need to transfer GPIO,0,0 at 21:00 transfer GPIO,0,1 (protection in case of power loss ESP ...). And what's so complicated, a simple task, but everything does not work correctly, so as not to write. Alrea...
by igorka
18 Jul 2022, 16:18
Forum: ESP Easy: General Discussion
Topic: Checking that time is right
Replies: 29
Views: 7436

Re: Checking that time is right

I just now saw your screenshots (please attach them in the forum, not using an external service that will delete them after a couple of weeks/months) Okay, now I'll try to do that. Your DNS is not set, you can usually set it to the same value as your gateway, or if that won't work, enter 4.4.4.4 or...
by igorka
18 Jul 2022, 16:06
Forum: ESP Easy: General Discussion
Topic: Checking that time is right
Replies: 29
Views: 7436

Re: Checking that time is right

I assume when using a fixed IP you have correctly set the Gateway, Subnetmask and DNS fields also? Maybe. Then point out my mistake to me, if you don't mind. This is how I have it: Maybe. Then point out my mistake to me, if you don't mind. Router IP address 192.168.0.1 This is how I have it: WIFI I...
by igorka
18 Jul 2022, 15:48
Forum: ESP Easy: General Discussion
Topic: Checking that time is right
Replies: 29
Views: 7436

Re: Checking that time is right

So now it only will do a refresh at roughly 1h after the first one and then with an interval of roughly 5 - 6 hours. There is some randomness added to prevent bursts of NTP requests. Hello! Are you the author of ESP_Easy? Thank you for your work, what you do is very cool!!! May I ask you a few ques...
by igorka
18 Jul 2022, 15:24
Forum: ESP Easy: General Discussion
Topic: Checking that time is right
Replies: 29
Views: 7436

Re: Checking that time is right

Have you set the Latitude and Longitude settings below the NTP and DST settings? NTP Hostname should be empty (I've never set that myself, and it always worked fine). And External Time Source should be set to None, if no RTC chip (via I2C) is connected. After changing that setting, a reboot is requ...
by igorka
17 Jul 2022, 17:38
Forum: ESP Easy: General Discussion
Topic: Checking that time is right
Replies: 29
Views: 7436

Re: Checking that time is right

That would be an extra security measure, executed once if the time is (re-)initialized. Adjusted the example to use the same GPIO pins and times ;) Thank you! I will definitely check your code in action. Faced such a situation: after several reboots of the ESP (I'm checking different code, I'm lear...
by igorka
17 Jul 2022, 14:52
Forum: ESP Easy: General Discussion
Topic: Checking that time is right
Replies: 29
Views: 7436

Re: Checking that time is right

Hello! I'm just getting started with ESP_Easy and I have some questions... At the moment, I'm interested in working with time. I'm sorry if I'm not clear about my essence. 1. How often and with what frequency does synchronization with the NTP server take place, is it possible to set this parameter s...