BEMF value changes in regular intervals #4
-
Hi, I've previously started thread in wrong place here. This is to continue on this topic, as couldn't resolve yet. Problem is that at roughly 20 mins intervals, I get spike of BEMF value on random channel (this is observed on my both boards that I have on 1st/2nd floor). Actuator itself does not seem to be affected (i.e. there is no opening/closing physically). Spikes are up to ~0.4 V. Typically, only single channel on the same board is affected at the same time (but it is random). Any ideas what could I try to resolve, or maybe some other logs should be provided to understand the issue? |
Beta Was this translation helpful? Give feedback.
Replies: 6 comments 5 replies
-
Please try to change interval in time.yaml for BEMF2 (channel 3 & 4) to see if it's related to motor move like this :
|
Beta Was this translation helpful? Give feedback.
-
Please disable the calibration script at boot, close all valves, call
ajustements script and post logs after.
Le dim. 27 nov. 2022 à 16:52, flexmatics ***@***.***> a
écrit :
… Updated time.yaml as suggested, this is the log (BEMF trigger set at 0.2
for both CH3 and CH4):
[17:01:33][D][main:074]: TH3_check triggered
[17:01:51][D][main:3231]: Calibrate CH1_cover
[17:01:53][D][main:162]: CH5 closing endstop reached at 0.202000 V
[17:01:56][D][main:095]: CH3 closing endstop reached at 0.201000 V
[17:01:56][D][endstop.cover:071]: 'CH3' - Open endstop reached. Took 0.0s.
[17:02:01][D][main:029]: CH1 closing endstop reached at 0.212000 V
[17:02:01][D][main:095]: CH3 closing endstop reached at 0.206000 V
[17:02:11][D][main:029]: CH1 closing endstop reached at 0.260000 V
[17:02:33][D][main:017]: CH1 opening endstop reached at 0.352000 V
[17:02:33][D][main:074]: TH3_check triggered
[17:02:33][D][main:093]: Adjustment done for CH3 set to position 0.500000
[17:02:44][D][main:150]: CH5 opening endstop reached at 0.295000 V
[17:02:46][D][main:083]: CH3 opening endstop reached at 0.322000 V
[17:03:33][D][main:074]: TH3_check triggered
[17:03:33][D][main:093]: Adjustment done for CH3 set to position 0.500000
[17:03:44][D][main:029]: CH1 closing endstop reached at 0.204000 V
[17:03:49][D][main:162]: CH5 closing endstop reached at 0.212000 V
[17:04:19][D][main:095]: CH3 closing endstop reached at 0.208000 V
[17:04:21][D][endstop.cover:084]: 'CH7' - Max duration reached. Stopping
cover.
[17:04:33][D][main:074]: TH3_check triggered
[17:04:33][D][main:093]: Adjustment done for CH3 set to position 0.500000
[17:05:21][D][main:062]: CH2 closing endstop reached at 0.222000 V
[17:05:31][D][main:062]: CH2 closing endstop reached at 0.227000 V
[17:05:33][D][main:074]: TH3_check triggered
[17:05:33][D][main:077]: CH4 running cause CH3 cancel operation
[17:05:35][D][main:100]: TH4_check triggered
[17:05:35][D][main:103]: CH3 running cause CH4 cancel operation
[17:05:36][D][main:050]: CH2 opening endstop reached at 0.161000 V
[17:05:41][D][main:062]: CH2 closing endstop reached at 0.157000 V
[17:05:41][D][main:095]: CH3 closing endstop reached at 0.207000 V
[17:05:41][D][main:129]: CH4 closing endstop reached at 0.207000 V
[17:05:46][D][main:050]: CH2 opening endstop reached at 0.156000 V
[17:05:47][D][main:117]: CH4 opening endstop reached at 0.344000 V
[17:05:48][I][ota:109]: Boot seems successful, resetting boot loop counter.
[17:05:48][D][esp32.preferences:113]: Saving 15 preferences to flash...
[17:05:48][D][esp32.preferences:142]: Saving 15 preferences to flash: 11
cached, 4 written, 0 failed
[17:06:33][D][main:074]: TH3_check triggered
[17:06:33][D][main:093]: Adjustment done for CH3 set to position 0.500000
[17:06:46][D][main:062]: CH2 closing endstop reached at 0.155000 V
[17:06:57][D][main:083]: CH3 opening endstop reached at 0.256000 V
[17:06:57][D][main:129]: CH4 closing endstop reached at 0.256000 V
[17:07:33][D][main:074]: TH3_check triggered
[17:07:33][D][main:093]: Adjustment done for CH3 set to position 0.500000
[17:07:51][D][endstop.cover:084]: 'CH6' - Max duration reached. Stopping
cover.
[17:07:51][D][endstop.cover:084]: 'CH8' - Max duration reached. Stopping
cover.
[17:08:33][D][main:074]: TH3_check triggered
[17:09:33][D][main:074]: TH3_check triggered
[17:09:56][D][sntp:075]: Synchronized time: 2022-11-27 17:09:56
[17:10:33][D][main:074]: TH3_check triggered
[17:10:35][D][main:100]: TH4_check triggered
[17:10:35][D][main:119]: Adjustment done for CH4 set to position 0.500000
[17:10:45][D][main:117]: CH4 opening endstop reached at 0.438000 V
[17:11:33][D][main:074]: TH3_check triggered
[17:11:49][D][main:205]: TH8_check triggered
[17:11:49][D][main:224]: Adjustment done for CH8 set to position 0.400000
[17:12:31][D][main:009]: TH1_check triggered
[17:12:31][D][main:041]: Adjustment done for CH1 set to position 0.500000
[17:12:31][D][main:126]: TH5_check triggered
[17:12:31][D][main:145]: Adjustment done for CH5 set to position 0.400000
[17:12:33][D][main:074]: TH3_check triggered
[17:12:57][D][main:017]: CH1 opening endstop reached at 0.376000 V
[17:13:33][D][main:074]: TH3_check triggered
[17:14:33][D][main:074]: TH3_check triggered
[17:14:54][D][main:179]: TH7_check triggered
[17:15:33][D][main:074]: TH3_check triggered
[17:15:35][D][main:100]: TH4_check triggered
[17:15:35][D][main:119]: Adjustment done for CH4 set to position 0.500000
[17:16:05][D][main:129]: CH4 closing endstop reached at 0.205000 V
[17:16:33][D][main:074]: TH3_check triggered
[17:17:33][D][main:074]: TH3_check triggered
[17:17:36][D][main:048]: TH2_check triggered
[17:17:36][D][main:067]: Adjustment done for CH2 set to position 0.500000
[17:17:36][D][main:153]: TH6_check triggered
[17:17:58][D][main:050]: CH2 opening endstop reached at 0.275000 V
[17:18:33][D][main:074]: TH3_check triggered
[17:19:33][D][main:074]: TH3_check triggered
[17:20:33][D][main:074]: TH3_check triggered
[17:20:35][D][main:100]: TH4_check triggered
[17:20:35][D][main:119]: Adjustment done for CH4 set to position 0.500000
[17:21:02][D][main:117]: CH4 opening endstop reached at 0.341000 V
[17:21:33][D][main:074]: TH3_check triggered
[17:22:33][D][main:074]: TH3_check triggered
[17:23:33][D][main:074]: TH3_check triggered
[17:24:33][D][main:074]: TH3_check triggered
[17:24:56][D][sntp:075]: Synchronized time: 2022-11-27 17:24:56
[17:25:33][D][main:074]: TH3_check triggered
[17:25:35][D][main:100]: TH4_check triggered
[17:25:35][D][main:119]: Adjustment done for CH4 set to position 0.500000
[17:26:04][D][main:129]: CH4 closing endstop reached at 0.207000 V
[17:26:33][D][main:074]: TH3_check triggered
[17:27:31][D][main:009]: TH1_check triggered
[17:27:31][D][main:041]: Adjustment done for CH1 set to position 0.500000
[17:27:31][D][main:126]: TH5_check triggered
[17:27:33][D][main:074]: TH3_check triggered
[17:28:00][D][main:029]: CH1 closing endstop reached at 0.223000 V
[17:28:33][D][main:074]: TH3_check triggered
[17:29:33][D][main:074]: TH3_check triggered
[17:30:33][D][main:074]: TH3_check triggered
[17:30:35][D][main:100]: TH4_check triggered
[17:30:35][D][main:119]: Adjustment done for CH4 set to position 0.500000
[17:31:01][D][main:117]: CH4 opening endstop reached at 0.218000 V
[17:31:33][D][main:074]: TH3_check triggered
[17:32:33][D][main:074]: TH3_check triggered
[17:32:49][D][main:205]: TH8_check triggered
[17:33:33][D][main:074]: TH3_check triggered
[17:33:54][D][main:179]: TH7_check triggered
[17:34:33][D][main:074]: TH3_check triggered
[17:34:36][D][main:048]: TH2_check triggered
[17:34:36][D][main:067]: Adjustment done for CH2 set to position 0.500000
[17:34:36][D][main:153]: TH6_check triggered
[17:35:05][D][main:062]: CH2 closing endstop reached at 0.152000 V
[17:35:33][D][main:074]: TH3_check triggered
[17:35:35][D][main:100]: TH4_check triggered
[17:35:35][D][main:119]: Adjustment done for CH4 set to position 0.500000
[17:36:04][D][main:129]: CH4 closing endstop reached at 0.202000 V
[17:36:33][D][main:074]: TH3_check triggered
[17:37:33][D][main:074]: TH3_check triggered
[17:38:33][D][main:074]: TH3_check triggered
[17:39:33][D][main:074]: TH3_check triggered
[17:39:56][D][sntp:075]: Synchronized time: 2022-11-27 17:39:56
[17:40:33][D][main:074]: TH3_check triggered
[17:40:35][D][main:100]: TH4_check triggered
[17:40:35][D][main:119]: Adjustment done for CH4 set to position 0.500000
[17:41:02][D][main:117]: CH4 opening endstop reached at 0.438000 V
[17:41:33][D][main:074]: TH3_check triggered
[17:42:31][D][main:009]: TH1_check triggered
[17:42:31][D][main:041]: Adjustment done for CH1 set to position 0.500000
[17:42:31][D][main:126]: TH5_check triggered
[17:42:33][D][main:074]: TH3_check triggered
[17:42:57][D][main:017]: CH1 opening endstop reached at 0.299000 V
[17:43:33][D][main:074]: TH3_check triggered
[17:44:33][D][main:074]: TH3_check triggered
[17:45:33][D][main:074]: TH3_check triggered
[17:45:35][D][main:100]: TH4_check triggered
[17:45:35][D][main:119]: Adjustment done for CH4 set to position 0.500000
[17:46:33][D][main:074]: TH3_check triggered
[17:47:33][D][main:074]: TH3_check triggered
[17:48:33][D][main:074]: TH3_check triggered
[17:49:33][D][main:074]: TH3_check triggered
—
Reply to this email directly, view it on GitHub
<#4 (reply in thread)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/ABTX5FP4Z727J24FIMO6ZKTWKN7SRANCNFSM6AAAAAASMRAZSA>
.
You are receiving this because you commented.Message ID:
<nliaudat/floor-heating-controller/repo-discussions/4/comments/4247231@
github.com>
|
Beta Was this translation helpful? Give feedback.
-
Based on your suggestion, I did this:
Somehow see that CH3 and CH5 didn't get opening endstop reached - not sure this is an issue or not.. |
Beta Was this translation helpful? Give feedback.
-
Need more logs... Nothing wrong here
Le dim. 27 nov. 2022 à 18:57, flexmatics ***@***.***> a
écrit :
… Based on your suggestion, I did this:
1. Removed the following from board.yaml and uploaded firmware:
on_boot:
priority: -200
then:
- delay: 1min
- script.execute: valve_maintenance
1. Booted, closed all valves one by one
2. Ran all channels checks. This is the log:
[19:47:57][D][main:029]: CH1 closing endstop reached at 0.207000 V
[19:48:30][D][main:062]: CH2 closing endstop reached at 0.163000 V
[19:49:06][D][main:095]: CH3 closing endstop reached at 0.217000 V
[19:49:38][D][main:129]: CH4 closing endstop reached at 0.201000 V
[19:50:01][D][main:162]: CH5 closing endstop reached at 0.205000 V
[19:50:07][D][main:009]: TH1_check triggered
[19:50:07][D][main:041]: Adjustment done for CH1 set to position 0.500000
[19:50:34][D][main:017]: CH1 opening endstop reached at 0.345000 V
[19:50:41][D][main:048]: TH2_check triggered
[19:50:41][D][main:067]: Adjustment done for CH2 set to position 0.500000
[19:51:09][D][main:050]: CH2 opening endstop reached at 0.197000 V
[19:51:23][D][main:074]: TH3_check triggered
[19:51:23][D][main:093]: Adjustment done for CH3 set to position 0.500000
[19:52:10][D][main:100]: TH4_check triggered
[19:52:10][D][main:119]: Adjustment done for CH4 set to position 0.500000
[19:52:26][I][ota:109]: Boot seems successful, resetting boot loop counter.
[19:52:26][D][esp32.preferences:113]: Saving 14 preferences to flash...
[19:52:26][D][esp32.preferences:142]: Saving 14 preferences to flash: 9
cached, 5 written, 0 failed
[19:52:37][D][main:117]: CH4 opening endstop reached at 0.262000 V
[19:52:46][D][main:126]: TH5_check triggered
[19:52:46][D][main:145]: Adjustment done for CH5 set to position 0.300000
Somehow see that CH3 and CH5 didn't get opening endstop reached - not sure
this is an issue or not..
—
Reply to this email directly, view it on GitHub
<#4 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/ABTX5FPDFR3ZGQCA7PBFHYLWKOOKDANCNFSM6AAAAAASMRAZSA>
.
You are receiving this because you commented.Message ID:
<nliaudat/floor-heating-controller/repo-discussions/4/comments/4247729@
github.com>
|
Beta Was this translation helpful? Give feedback.
-
[21:46:57][D][main:009]: TH1_check triggered
[21:46:57][D][main:041]: Adjustment done for CH1 set to position 0.500000
[21:47:23][D][main:017]: CH1 opening endstop reached at 0.341000 V
Ch1 has a problem. It reach endstop as the instruction is to go 0.5.
Perhaps it need to increase endstop value for channel 1
|
Beta Was this translation helpful? Give feedback.
-
I'll give up this time, will use https://github.com/nliaudat/esphome-8-ch-motor-controller for now (with custom templates to control opening / closing of the valves). Tried with 0.25 triggers, still couldn't get it stable - constant adjustments made it not reliable for me (to extent that even if temperature exceeds set max temp, valve is not closed). Anyway, thanks for support. |
Beta Was this translation helpful? Give feedback.
I'll give up this time, will use https://github.com/nliaudat/esphome-8-ch-motor-controller for now (with custom templates to control opening / closing of the valves). Tried with 0.25 triggers, still couldn't get it stable - constant adjustments made it not reliable for me (to extent that even if temperature exceeds set max temp, valve is not closed). Anyway, thanks for support.