Ok,
interesting.
I will monitor it further and write my findings here.
If i find a bit time i will also test SoftwareSerial with HardwareMode.
Thanks,
Stefan
Search found 41 matches
- 12 Mar 2021, 18:46
- Forum: ESP Easy: Software
- Topic: Reboot due to Const Interval: TIMER_100MSEC
- Replies: 47
- Views: 14712
- 12 Mar 2021, 17:08
- Forum: ESP Easy: Software
- Topic: Reboot due to Const Interval: TIMER_100MSEC
- Replies: 47
- Views: 14712
Re: Reboot due to Const Interval: TIMER_100MSEC
Hi TD-er, i did not found the time to test the ESPSerial in Hardware mode. But i have a new finding i do not understand. Perhaps you have an Idea. Since my ESP was hanging one time i activated RULES and implemented a reboot rule to run once a day at night. After i have done this i recognized that th...
- 15 Feb 2021, 16:57
- Forum: ESP Easy: Software
- Topic: Reboot due to Const Interval: TIMER_100MSEC
- Replies: 47
- Views: 14712
Re: Reboot due to Const Interval: TIMER_100MSEC
Thanks for the explanation. I switched off the "Enable serial" on the tools -> Advanced page. And it looked very promising. 2 h without reboot. But now i have the reboots again. So when i have a bit time i will try the from you supposed way to change ESPSerial to Hardware and check if the ...
- 15 Feb 2021, 00:01
- Forum: ESP Easy: Software
- Topic: Reboot due to Const Interval: TIMER_100MSEC
- Replies: 47
- Views: 14712
Re: Reboot due to Const Interval: TIMER_100MSEC
Hi TD-er, thanks for your reply. Yes i have it enabled. Just read the documentation! Wow. Sorry that i did not read this earlier... Strange that it did not have effects on my Setup with P20 on RX TX. I did not have problems with P20 Plugin or ESPSerial in Software mode having this advanced setting e...
- 14 Feb 2021, 15:20
- Forum: ESP Easy: Software
- Topic: Reboot due to Const Interval: TIMER_100MSEC
- Replies: 47
- Views: 14712
Re: Reboot due to Const Interval: TIMER_100MSEC
Hi, why do you think inverted data? "EMH5" is correct, this is the name of the smart meter. Data seems to be correct, but i do not understand why it is printed as "Command unknown" instead of transferred via Webserver. I do not get where this messages are coming from? In Software...
- 14 Feb 2021, 13:15
- Forum: ESP Easy: Software
- Topic: Reboot due to Const Interval: TIMER_100MSEC
- Replies: 47
- Views: 14712
Re: Reboot due to Const Interval: TIMER_100MSEC
Ah ok i got it. So switching my plugin to use the ESPSerial with HW Serial instead of SW Serial and test if it is working fine. Very good idea. I configured it now as: Plugin_132_SS = new ESPeasySerial(ESPEasySerialPort::serial0, 3, 1, false, ExtraTaskSettings.TaskDevicePluginConfigLong[2], false); ...
- 14 Feb 2021, 13:11
- Forum: ESP Easy: Software
- Topic: Reboot due to Const Interval: TIMER_100MSEC
- Replies: 47
- Views: 14712
Re: Reboot due to Const Interval: TIMER_100MSEC
Hi, I have a ESP8266 and two sensors. So i think i can not use only HW serial. Am i right? Is there a way to only have HW serial with 2 inputs? Other Board? Do i miss something here? I just started the P132 SoftwareSerial Coding with improved logging and timeouts in ESPSerial and Webserver to 200 ms...
- 14 Feb 2021, 11:50
- Forum: ESP Easy: Software
- Topic: Reboot due to Const Interval: TIMER_100MSEC
- Replies: 47
- Views: 14712
Re: Reboot due to Const Interval: TIMER_100MSEC
Hi, i can confirm now that it is working with P20 Ser2Net alone. With P132 SoftwareSerial alone it is rebooting. :-( So i have to focus on P132 SoftwareSerial. I am just adding more error handling for ESPSerial and try to set also a timeout. What is an appropriate timeout for ESPSerial? Let's see......
- 13 Feb 2021, 19:39
- Forum: ESP Easy: Software
- Topic: Reboot due to Const Interval: TIMER_100MSEC
- Replies: 47
- Views: 14712
Re: Reboot due to Const Interval: TIMER_100MSEC
Sure i will disable the plugins and check if my ESP is stable or not.
I will post an update as soon as i know more.
Thanks,
Stefan
I will post an update as soon as i know more.
Thanks,
Stefan
- 13 Feb 2021, 16:56
- Forum: ESP Easy: Software
- Topic: Reboot due to Const Interval: TIMER_100MSEC
- Replies: 47
- Views: 14712
Re: Reboot due to Const Interval: TIMER_100MSEC
Hi, i now tested running without a client connected. So essentially nothing is happening. No data transferred... The strange thing is the reboots also occur. This time i have Reset Reason: Hardware Watchdog Last Action before Reboot: Const Interval: TIMER_MQTT There is no MQTT or something. Can this...
- 13 Feb 2021, 14:04
- Forum: ESP Easy: Software
- Topic: Reboot due to Const Interval: TIMER_100MSEC
- Replies: 47
- Views: 14712
Re: Reboot due to Const Interval: TIMER_100MSEC
Hi TDer, thanks again i got it. I really appreciate your help! Yes, my plugin is not using fifty_per_second. Also not the P20 Plugin. I have only P20 Plugin and my Plugin enabled. I also think perhaps it has to do with bad data coming to RX. Because the SERIAL_IN method from P20 Plugin is using so m...
- 13 Feb 2021, 01:06
- Forum: ESP Easy: Software
- Topic: Reboot due to Const Interval: TIMER_100MSEC
- Replies: 47
- Views: 14712
Re: Reboot due to Const Interval: TIMER_100MSEC
Hi, so i am quite happy. I see no CRC errors, no buffer overflows, data is received fast and good. I have the same error handling now as in P20. The only problem, i still have the reboots. But the error changed to: Reset Reason: Hardware Watchdog Last Action before Reboot: Const Interval: TIMER_20MS...
- 12 Feb 2021, 23:20
- Forum: ESP Easy: Software
- Topic: Reboot due to Const Interval: TIMER_100MSEC
- Replies: 47
- Views: 14712
Re: Reboot due to Const Interval: TIMER_100MSEC
Ok thanks.
Free Stack is looking good: 3664 (1568 - sendContentBlocking)
It works fine now but reboots still occur.
I adapted now the SoftwareSerialServer Coding as far as possible to the P020_Ser2Net.
Let's see.
Thanks and best regards,
Stefan
Free Stack is looking good: 3664 (1568 - sendContentBlocking)
It works fine now but reboots still occur.
I adapted now the SoftwareSerialServer Coding as far as possible to the P020_Ser2Net.
Let's see.
Thanks and best regards,
Stefan
- 12 Feb 2021, 19:14
- Forum: ESP Easy: Software
- Topic: Reboot due to Const Interval: TIMER_100MSEC
- Replies: 47
- Views: 14712
Re: Reboot due to Const Interval: TIMER_100MSEC
Hi TD-er, i had success. I have read again all your comments and checkt the P020_Ser2Net. I did 2 small changes in P20 SerialServer which helped. Also i increased the buffer size of ESPeasySerial in my Plugin so that i can also use once per second without loosing data. No "Ser2N: serial buffer ...
- 12 Feb 2021, 17:04
- Forum: ESP Easy: Software
- Topic: Reboot due to Const Interval: TIMER_100MSEC
- Replies: 47
- Views: 14712
Re: Reboot due to Const Interval: TIMER_100MSEC
Hi thanks, no i think the connections stay open. I can connect with telnet on both ports. From SerialServer and from my Plugin using a WiFiServer. Both connections stay open all the time and are not interrupted... Will have to dig deeper, i only see the buffer in ESPeasySerial which works best with ...
- 12 Feb 2021, 15:55
- Forum: ESP Easy: Software
- Topic: Reboot due to Const Interval: TIMER_100MSEC
- Replies: 47
- Views: 14712
Re: Reboot due to Const Interval: TIMER_100MSEC
Hi, ok yes i understand. For me a solution is to hook up a second ESP. But i really hoped being able to process it with one. Since the data mass should not be so much as i showed before. Normally one data telegram every second. And it would also be ok if i only get the data once per second or only e...
- 12 Feb 2021, 13:55
- Forum: ESP Easy: Software
- Topic: Reboot due to Const Interval: TIMER_100MSEC
- Replies: 47
- Views: 14712
Re: Reboot due to Const Interval: TIMER_100MSEC
Ah, i am really dumb, sure. I did more testing and even tried to use two software serial server, but than there is no data received any more. So for now i found out that my softwareserial causes " "Ser2N: serial buffer full!" on the normal SerialServer and data get corrupted. I have C...
- 12 Feb 2021, 11:59
- Forum: ESP Easy: Software
- Topic: Reboot due to Const Interval: TIMER_100MSEC
- Replies: 47
- Views: 14712
Re: Reboot due to Const Interval: TIMER_100MSEC
Sounds interessting. I am using Visual Studio Code and Platformio IO. I build normal_ESP8266_4M1M. I see a button monitor but nothing with timing stats? I am using the wrong tools or am i just blind? P.S.: I now see that the error with "Ser2N: serial buffer full!" is causing CRC errors on ...
- 12 Feb 2021, 09:50
- Forum: ESP Easy: Software
- Topic: Reboot due to Const Interval: TIMER_100MSEC
- Replies: 47
- Views: 14712
Re: Reboot due to Const Interval: TIMER_100MSEC
Hi, i did a lot of testing now. And i was wrong. My plugin is the root cause. As long as my plugin is disabled the normal serial server is working fine. No errors in the log. As soon as i switch on my coding the error "Ser2N: serial buffer full!". Also i see that in my smart home the norma...
- 11 Feb 2021, 23:15
- Forum: ESP Easy: Software
- Topic: Reboot due to Const Interval: TIMER_100MSEC
- Replies: 47
- Views: 14712
Re: Reboot due to Const Interval: TIMER_100MSEC
Hi,
thanks so much.
I will try and report here.
I also found this git Issue from 2017.
I now also try to switch off all log levels. Perhaps this helps.
Best regards and thanks again,
Stefan
thanks so much.
I will try and report here.
I also found this git Issue from 2017.
I now also try to switch off all log levels. Perhaps this helps.
Best regards and thanks again,
Stefan
- 11 Feb 2021, 20:42
- Forum: ESP Easy: Software
- Topic: Reboot due to Const Interval: TIMER_100MSEC
- Replies: 47
- Views: 14712
Re: Reboot due to Const Interval: TIMER_100MSEC
Hi, ok thanks for the answer. Regretfully the delay(0) at the various points do not prevent the reboot. Perhaps i have to check if the plugin is causing the issue or just the Communication - SerialServer on its own? Nevertheless i will try yield( ) but do not think this will change the behavior. Any...
- 11 Feb 2021, 19:06
- Forum: ESP Easy: Software
- Topic: Reboot due to Const Interval: TIMER_100MSEC
- Replies: 47
- Views: 14712
Re: Reboot due to Const Interval: TIMER_100MSEC
Hi, thanks again for your detailed analysis. I build in delay(0); in line 153, 156 and 177. Lets see if this helps to prevent the reboots. Why did you suppose yield()? Any reason for yield()? I also checked where the "Ser2N: serial buffer full!" message, but this is only coming from ser2ne...
- 11 Feb 2021, 14:17
- Forum: ESP Easy: Software
- Topic: Reboot due to Const Interval: TIMER_100MSEC
- Replies: 47
- Views: 14712
Re: Reboot due to Const Interval: TIMER_100MSEC
Hi, thanks again for your help. I am really happy that you try to help me. Yes you are right. The error is only coming from ser2net and has nothing to do with my plugin. I do not understand why i get this error from ser2net. I have both enabled ser2net and my plugin. (see screenshot) Both are workin...
- 11 Feb 2021, 13:29
- Forum: ESP Easy: Software
- Topic: Reboot due to Const Interval: TIMER_100MSEC
- Replies: 47
- Views: 14712
Re: Reboot due to Const Interval: TIMER_100MSEC
Ok, no Problem. So i changed the SoftwareSerial coding to PLUGIN_FIFTY_PER_SECOND. Running no 60 Minutes without reboot. Let's see. Strange and what i do not understand is why the build in ser2net is Always logging "Ser2N: serial buffer full!". I do not understand why this happens. Perhaps...
- 11 Feb 2021, 11:38
- Forum: ESP Easy: Software
- Topic: Reboot due to Const Interval: TIMER_100MSEC
- Replies: 47
- Views: 14712
Re: Reboot due to Const Interval: TIMER_100MSEC
Hi, Is this the answer to "Ser2N: serial buffer full!"? I see that this is happening as long as the normal SerialServer is running. If i switch it of the error goes away. But i do not know if the reboots are caused by this. I do not really understand the timeout. I changed the only option ...
- 11 Feb 2021, 11:25
- Forum: ESP Easy: Software
- Topic: Reboot due to Const Interval: TIMER_100MSEC
- Replies: 47
- Views: 14712
Re: Reboot due to Const Interval: TIMER_100MSEC
Hi, thanks for your answer. I will try if PLUGIN_FIFTY_PER_SECOND will help. The ESP is only getting data from two SmartMeter and i am getting the data with my Smart Home solution via serial. The Baudrate is 9600. For the first smart meter i use Communication - Serial Server. For the second smart me...
- 11 Feb 2021, 10:12
- Forum: ESP Easy: Software
- Topic: Reboot due to Const Interval: TIMER_100MSEC
- Replies: 47
- Views: 14712
Reboot due to Const Interval: TIMER_100MSEC
Hi, my ESP is rebooting roughly once a day with the below error: Reset Reason: Hardware Watchdog Last Action before Reboot: Const Interval: TIMER_100MSEC I write this here in the Software Topic because i have my own Plugin Build in. Plugin is build with ESPSerial and provides a SoftwareSerial becaus...
- 28 Jan 2020, 22:20
- Forum: ESP Easy: General Discussion
- Topic: Problems with push button , self activation
- Replies: 11
- Views: 13069
Re: Problems with push button , self activation
Oh yes, Thanks!
- 26 Jan 2020, 13:19
- Forum: ESP Easy: General Discussion
- Topic: Problems with push button , self activation
- Replies: 11
- Views: 13069
Re: Problems with push button , self activation
Ok drilling the cabel did not really help. So i inserted a 1k ohm resistor between 3.3V and my pin. But this also did not work. Now it seems that my ESP is damaged. It works at long as it is cold. After plugin it in it gets warm. When resetting when warm it does not work anymore. No Wlan, no flashin...
- 23 Jan 2020, 22:51
- Forum: ESP Easy: General Discussion
- Topic: Problems with push button , self activation
- Replies: 11
- Views: 13069
Re: Problems with push button , self activation
Ok,
i drilled the cables. This already did the Job.
Crazy.
Thank you for your help!
Stefan
i drilled the cables. This already did the Job.
Crazy.
Thank you for your help!
Stefan
- 23 Jan 2020, 17:51
- Forum: ESP Easy: General Discussion
- Topic: Problems with push button , self activation
- Replies: 11
- Views: 13069
Re: Problems with push button , self activation
Ok, now i understand.
Thank you very much for the detailed explanation!
I will try to get it working with all your hints how to do it.
Thanks,
Stefan
Thank you very much for the detailed explanation!
I will try to get it working with all your hints how to do it.
Thanks,
Stefan
- 23 Jan 2020, 14:39
- Forum: ESP Easy: General Discussion
- Topic: Problems with push button , self activation
- Replies: 11
- Views: 13069
Re: Problems with push button , self activation
Thanks a lot for the help. I will try the different options. Twisting the wires is a good idea. Also using an external pull up resistor sounds good and i understand why. What i do not understand, what is a capacitor doing? ("Connect a capacitor of about 47nf...100nF from GPIO to ground") T...
- 23 Jan 2020, 12:44
- Forum: ESP Easy: General Discussion
- Topic: Problems with push button , self activation
- Replies: 11
- Views: 13069
Re: Problems with push button , self activation
Ok, thanks Thomas. From the place where i want to install the switch i have to use 30cm wire :-( I will try with another power supply and with the 1K ohm PullUp resistor. One question to the 1k PullUp resistor. Isn't this exactly the same as "Internal PullUp Checked (Enabled)"? Thanks and ...
- 23 Jan 2020, 01:40
- Forum: ESP Easy: General Discussion
- Topic: Problems with push button , self activation
- Replies: 11
- Views: 13069
Problems with push button , self activation
Hi, i have a problem with the switch plugin. Connecting a push button works, but i get strange self triggerings. To get a unwanted event it is enough to connect a 20cm wire to the gpio i where the button is configured. When i take the wire in my hand and move it a little bit or rub on it, a event is...
- 22 Jan 2020, 00:26
- Forum: ESP Easy: Software
- Topic: Change PWM Frequency ?
- Replies: 38
- Views: 53039
Re: Change PWM Frequency ?
Hi, i wanted to inform you that i got an arctic PC Case Fan now. This is working fine. PWM 0 is really stopping the fan! I think kusing a CPU Fan in the first place was my problem. At least my CPU Fan logic was that it still spins with PWM 0. But with the case Fan everything is working great now. Th...
- 20 Jan 2020, 22:03
- Forum: ESP Easy: Software
- Topic: Change PWM Frequency ?
- Replies: 38
- Views: 53039
Re: Change PWM Frequency ?
Yes, i also thought about a Relais.
I need one component more. I was hoping that it will work without a relais.
Lets see if the Fan will stop with pwm 0, if not i need to use a relais.
Thanks and bets regards,
Stefan
I need one component more. I was hoping that it will work without a relais.
Lets see if the Fan will stop with pwm 0, if not i need to use a relais.
Thanks and bets regards,
Stefan
- 20 Jan 2020, 21:38
- Forum: ESP Easy: Software
- Topic: Change PWM Frequency ?
- Replies: 38
- Views: 53039
Re: Change PWM Frequency ?
Oh ok, i think i see our misunderstanding. I have a pwm controlled 12 V Fan for PC CPU. It has a 4 Pin terminal. Ground 12 V Tach PWM I connect Ground and 12V to the Fan. Also i connect my ESP to the same Ground. I connect PWM to my ESP. Now i can control the fan with the ESP by driving the PWM inpu...
- 19 Jan 2020, 15:40
- Forum: ESP Easy: Software
- Topic: Change PWM Frequency ?
- Replies: 38
- Views: 53039
Re: Change PWM Frequency ?
Hi Patou,
yes i measured the pwm output.
3,3V is the voltage of the ESP PWM output at max.
No i do not have a transistor between 12V and pwm.
Why is this necessary?
Bets regards,
Stefan
yes i measured the pwm output.
3,3V is the voltage of the ESP PWM output at max.
No i do not have a transistor between 12V and pwm.
Why is this necessary?
Bets regards,
Stefan
- 18 Jan 2020, 18:41
- Forum: ESP Easy: Software
- Topic: Change PWM Frequency ?
- Replies: 38
- Views: 53039
Re: Change PWM Frequency ?
Hi Patou, thanks for your reply. Do you mean the voltage of pwm terminal? There i have: 0 = 0.02V 1023 = 3.30V I think i understand now. I found a spec describing PWM. PWM Control Input Signal he following requirements are measured at the PWM (control) pin of the fan cable conne WM Frequency: Target...
- 18 Jan 2020, 01:16
- Forum: ESP Easy: Software
- Topic: Change PWM Frequency ?
- Replies: 38
- Views: 53039
Re: Change PWM Frequency ?
Hi, i attached a 12 Volt PC fan to my ESP8266. PWM signal line is connected to GPIO2. I tried with the pwm command from above. It is working, but not as i would like. From above the syntax is: PWM,<GPIO>,<duty>,<duration>,<frequency> Setting duration or frequency does not change the fans speed. The ...
- 29 Jul 2017, 00:51
- Forum: ESP Easy: Software
- Topic: US-100 distance sensor support
- Replies: 1
- Views: 2728
Re: US-100 distance sensor support
Hi,
i am also interested in the US100 in serial mode.
It should be very accurate!
Is it possible to integrate it in ESPEasy?
The code for serial mode in Arduino can be found here:
https://arduibots.wordpress.com/2014/10 ... rial-mode/
Thanks and best regards,
Stefan
i am also interested in the US100 in serial mode.
It should be very accurate!
Is it possible to integrate it in ESPEasy?
The code for serial mode in Arduino can be found here:
https://arduibots.wordpress.com/2014/10 ... rial-mode/
Thanks and best regards,
Stefan