Ik heb ook een button voor de loop functie gemaakt.
Als ik setup en loop met de hand aanroep, dan zie ik een Set TX Address: 0x89816EA9 voorbij komen.
In HA gaat de fan entity ook op aan, ik zie geen speed list of slider oid, dus standen zetten lukt niet.
Uitzetten gaat ook niet.
Na herstarten is de config ook weer weg, ondanks dat ik wel een Saving preferences to flash...
Logs:
Als ik setup en loop met de hand aanroep, dan zie ik een Set TX Address: 0x89816EA9 voorbij komen.
In HA gaat de fan entity ook op aan, ik zie geen speed list of slider oid, dus standen zetten lukt niet.
Uitzetten gaat ook niet.
Na herstarten is de config ook weer weg, ondanks dat ik wel een Saving preferences to flash...
Logs:
code:
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
| ... [16:53:46][C][mdns:084]: mDNS: [16:53:46][C][mdns:085]: Hostname: mechanische_ventilatie [16:53:46][C][nRF905:067]: Config: [16:53:46][C][nRF905:070]: Backend: Arduino [16:53:46][C][nRF905:074]: CS Pin:GPIO15 [16:53:46][C][nRF905:075]: AM Pin:GPIO32 [16:53:46][C][nRF905:076]: CD Pin:GPIO33 [16:53:46][C][nRF905:077]: CE Pin:GPIO27 [16:53:46][C][nRF905:078]: DR Pin:GPIO35 [16:53:46][C][nRF905:079]: PWR Pin:GPIO26 [16:53:46][C][nRF905:080]: TXEN Pin:GPIO25 [16:53:48][D][nRF905:608]: SPI Test [16:53:48][D][nRF905:320]: Got TX Address: 0x89816EA9 [16:53:48][D][nRF905:282]: Set TX Address: 0x55555555 [16:53:48][D][nRF905:320]: Got TX Address: 0x55555555 [16:53:48][D][nRF905:282]: Set TX Address: 0xAAAAAAAA [16:53:48][D][nRF905:320]: Got TX Address: 0xAAAAAAAA [16:53:48][D][nRF905:282]: Set TX Address: 0x89816EA9 [16:53:48][D][nRF905:625]: SPI OK [16:53:50][D][sensor:125]: 'Mechanische ventilatie wifi signaal': Sending state -51.00000 dBm with 0 decimals of accuracy [16:53:55][D][button:013]: 'Mechanische ventilatie Loop' Pressed. [16:54:00][D][sensor:125]: 'Mechanische ventilatie wifi signaal': Sending state -52.00000 dBm with 0 decimals of accuracy [16:54:01][D][button:013]: 'Mechanische ventilatie Dump config' Pressed. [16:54:01][C][zehnder:128]: Zehnder Fan config: [16:54:01][C][zehnder:129]: Polling interval 60000 [16:54:01][C][zehnder:130]: Fan networkId 0x00000000 [16:54:01][C][zehnder:131]: Fan my device type 0x00 [16:54:01][C][zehnder:132]: Fan my device id 0x00 [16:54:01][C][zehnder:133]: Fan main_unit type 0x00 [16:54:01][C][zehnder:134]: Fan main unit id 0x00 [16:54:06][D][button:013]: 'Mechanische ventilatie Setup' Pressed. [16:54:06][C][zehnder:097]: ZEHNDER 'Mechanische ventilatie': [16:54:08][D][button:013]: 'Mechanische ventilatie Loop' Pressed. [16:54:08][D][nRF905:282]: Set TX Address: 0x89816EA9 [16:54:10][D][sensor:125]: 'Mechanische ventilatie wifi signaal': Sending state -51.00000 dBm with 0 decimals of accuracy [16:54:20][D][sensor:125]: 'Mechanische ventilatie wifi signaal': Sending state -52.00000 dBm with 0 decimals of accuracy [16:54:29][D][sensor:125]: 'Mechanische ventilatie uptime': Sending state 51.90700 s with 0 decimals of accuracy [16:54:30][D][sensor:125]: 'Mechanische ventilatie wifi signaal': Sending state -51.00000 dBm with 0 decimals of accuracy [16:54:36][D][button:013]: 'Mechanische ventilatie Dump config' Pressed. [16:54:36][C][zehnder:128]: Zehnder Fan config: [16:54:36][C][zehnder:129]: Polling interval 60000 [16:54:36][C][zehnder:130]: Fan networkId 0x89816EA9 [16:54:36][C][zehnder:131]: Fan my device type 0x03 [16:54:36][C][zehnder:132]: Fan my device id 0x04 [16:54:36][C][zehnder:133]: Fan main_unit type 0x01 [16:54:36][C][zehnder:134]: Fan main unit id 0x1D [16:54:40][D][sensor:125]: 'Mechanische ventilatie wifi signaal': Sending state -50.00000 dBm with 0 decimals of accuracy [16:54:46][D][button:013]: 'Mechanische ventilatie Loop' Pressed. [16:54:46][D][zehnder:445]: Set speed: 0x01 [16:54:50][D][sensor:125]: 'Mechanische ventilatie wifi signaal': Sending state -52.00000 dBm with 0 decimals of accuracy [16:54:52][D][button:013]: 'Mechanische ventilatie Loop' Pressed. [16:54:52][W][zehnder:550]: Airway too busy, giving up [16:54:52][W][zehnder:468]: Set speed timeout [16:55:00][D][sensor:125]: 'Mechanische ventilatie wifi signaal': Sending state -53.00000 dBm with 0 decimals of accuracy [16:55:05][D][button:013]: 'Mechanische ventilatie Loop' Pressed. [16:55:10][D][sensor:125]: 'Mechanische ventilatie wifi signaal': Sending state -52.00000 dBm with 0 decimals of accuracy [16:55:17][D][button:013]: 'Mechanische ventilatie Loop' Pressed. [16:55:20][D][sensor:125]: 'Mechanische ventilatie wifi signaal': Sending state -51.00000 dBm with 0 decimals of accuracy [16:55:28][D][button:013]: 'Mechanische ventilatie Loop' Pressed. [16:55:29][D][sensor:125]: 'Mechanische ventilatie uptime': Sending state 111.90700 s with 0 decimals of accuracy [16:55:30][D][sensor:125]: 'Mechanische ventilatie wifi signaal': Sending state -53.00000 dBm with 0 decimals of accuracy [16:55:38][D][button:013]: 'Mechanische ventilatie Dump config' Pressed. [16:55:38][C][zehnder:128]: Zehnder Fan config: [16:55:38][C][zehnder:129]: Polling interval 60000 [16:55:38][C][zehnder:130]: Fan networkId 0x89816EA9 [16:55:38][C][zehnder:131]: Fan my device type 0x03 [16:55:38][C][zehnder:132]: Fan my device id 0x04 [16:55:38][C][zehnder:133]: Fan main_unit type 0x01 [16:55:38][C][zehnder:134]: Fan main unit id 0x1D [16:55:40][D][sensor:125]: 'Mechanische ventilatie wifi signaal': Sending state -52.00000 dBm with 0 decimals of accuracy [16:55:45][D][button:013]: 'Mechanische ventilatie herstart' Pressed. [16:55:45][I][restart.button:012]: Restarting device... [16:55:46][I][app:133]: Rebooting safely... [16:55:46][D][esp32.preferences:114]: Saving preferences to flash... INFO Disconnected from ESPHome API for 192.168.68.136 WARNING Disconnected from API INFO Successfully connected to 192.168.68.136 [16:55:53][D][api:102]: Accepted ::FFFF:C0A8:447C [16:55:53][D][api.connection:782]: Home Assistant 2021.12.10 (::FFFF:C0A8:447C): Connected successfully [16:55:53][D][time:039]: Synchronized time: 2022-01-31 16:55:53 [16:55:56][D][sensor:125]: 'Mechanische ventilatie wifi signaal': Sending state -52.00000 dBm with 0 decimals of accuracy [16:55:56][D][nRF905:608]: SPI Test [16:55:56][D][nRF905:320]: Got TX Address: 0x89816EA9 [16:55:56][D][nRF905:282]: Set TX Address: 0x55555555 [16:55:56][D][nRF905:320]: Got TX Address: 0x55555555 [16:55:56][D][nRF905:282]: Set TX Address: 0xAAAAAAAA [16:55:56][D][nRF905:320]: Got TX Address: 0xAAAAAAAA [16:55:56][D][nRF905:282]: Set TX Address: 0x89816EA9 [16:55:56][D][nRF905:625]: SPI OK [16:56:06][D][sensor:125]: 'Mechanische ventilatie wifi signaal': Sending state -51.00000 dBm with 0 decimals of accuracy [16:56:15][D][button:013]: 'Mechanische ventilatie Dump config' Pressed. [16:56:15][C][zehnder:128]: Zehnder Fan config: [16:56:15][C][zehnder:129]: Polling interval 60000 [16:56:15][C][zehnder:130]: Fan networkId 0x00000000 [16:56:15][C][zehnder:131]: Fan my device type 0x00 [16:56:15][C][zehnder:132]: Fan my device id 0x00 [16:56:15][C][zehnder:133]: Fan main_unit type 0x00 [16:56:15][C][zehnder:134]: Fan main unit id 0x00 [16:56:16][D][sensor:125]: 'Mechanische ventilatie wifi signaal': Sending state -52.00000 dBm with 0 decimals of accuracy [16:56:17][D][sensor:125]: 'Mechanische ventilatie uptime': Sending state 31.21900 s with 0 decimals of accuracy [16:56:20][D][button:013]: 'Mechanische ventilatie Loop' Pressed. [16:56:26][D][sensor:125]: 'Mechanische ventilatie wifi signaal': Sending state -51.00000 dBm with 0 decimals of accuracy [16:56:36][D][sensor:125]: 'Mechanische ventilatie wifi signaal': Sending state -52.00000 dBm with 0 decimals of accuracy [16:56:46][D][sensor:125]: 'Mechanische ventilatie wifi signaal': Sending state -52.00000 dBm with 0 decimals of accuracy [16:56:56][D][sensor:125]: 'Mechanische ventilatie wifi signaal': Sending state -51.00000 dBm with 0 decimals of accuracy [16:56:57][D][button:013]: 'Mechanische ventilatie Setup' Pressed. [16:56:57][C][zehnder:097]: ZEHNDER 'Mechanische ventilatie': [16:57:01][D][button:013]: 'Mechanische ventilatie Loop' Pressed. [16:57:01][D][nRF905:282]: Set TX Address: 0x89816EA9 [16:57:06][D][sensor:125]: 'Mechanische ventilatie wifi signaal': Sending state -52.00000 dBm with 0 decimals of accuracy [16:57:11][D][fan:022]: 'Mechanische ventilatie' - Setting: [16:57:11][D][fan:025]: State: ON [16:57:11][D][fan:029]: Speed: 4 [16:57:11][D][fan:108]: 'Mechanische ventilatie' - Sending state: [16:57:11][D][fan:109]: State: OFF [16:57:11][D][fan:111]: Speed: 0 [16:57:16][D][sensor:125]: 'Mechanische ventilatie wifi signaal': Sending state -50.00000 dBm with 0 decimals of accuracy [16:57:17][D][sensor:125]: 'Mechanische ventilatie uptime': Sending state 91.21500 s with 0 decimals of accuracy [16:57:21][D][button:013]: 'Mechanische ventilatie Loop' Pressed. [16:57:21][D][zehnder:445]: Set speed: 0x01 [16:57:26][D][sensor:125]: 'Mechanische ventilatie wifi signaal': Sending state -53.00000 dBm with 0 decimals of accuracy [16:57:32][D][button:013]: 'Mechanische ventilatie Dump config' Pressed. [16:57:32][C][zehnder:128]: Zehnder Fan config: [16:57:32][C][zehnder:129]: Polling interval 60000 [16:57:32][C][zehnder:130]: Fan networkId 0x89816EA9 [16:57:32][C][zehnder:131]: Fan my device type 0x03 [16:57:32][C][zehnder:132]: Fan my device id 0x04 [16:57:32][C][zehnder:133]: Fan main_unit type 0x01 [16:57:32][C][zehnder:134]: Fan main unit id 0x1D [16:57:36][D][sensor:125]: 'Mechanische ventilatie wifi signaal': Sending state -52.00000 dBm with 0 decimals of accuracy [16:57:40][D][fan:022]: 'Mechanische ventilatie' - Setting: [16:57:40][D][fan:025]: State: ON [16:57:40][D][fan:108]: 'Mechanische ventilatie' - Sending state: [16:57:40][D][fan:109]: State: ON [16:57:40][D][fan:111]: Speed: 1 [16:57:46][D][sensor:125]: 'Mechanische ventilatie wifi signaal': Sending state -52.00000 dBm with 0 decimals of accuracy [16:57:56][D][sensor:125]: 'Mechanische ventilatie wifi signaal': Sending state -51.00000 dBm with 0 decimals of accuracy [16:58:04][D][button:013]: 'Mechanische ventilatie Loop' Pressed. [16:58:04][W][zehnder:550]: Airway too busy, giving up [16:58:04][W][zehnder:468]: Set speed timeout [16:58:04][D][zehnder:445]: Set speed: 0x01 [16:58:06][D][sensor:125]: 'Mechanische ventilatie wifi signaal': Sending state -52.00000 dBm with 0 decimals of accuracy [16:58:16][D][sensor:125]: 'Mechanische ventilatie wifi signaal': Sending state -51.00000 dBm with 0 decimals of accuracy [16:58:17][D][sensor:125]: 'Mechanische ventilatie uptime': Sending state 151.21500 s with 0 decimals of accuracy [16:58:26][D][sensor:125]: 'Mechanische ventilatie wifi signaal': Sending state -52.00000 dBm with 0 decimals of accuracy [16:58:27][D][button:013]: 'Mechanische ventilatie Loop' Pressed. [16:58:27][W][zehnder:550]: Airway too busy, giving up [16:58:27][W][zehnder:468]: Set speed timeout [16:58:36][D][sensor:125]: 'Mechanische ventilatie wifi signaal': Sending state -53.00000 dBm with 0 decimals of accuracy [16:58:36][D][button:013]: 'Mechanische ventilatie Loop' Pressed. [16:58:46][D][sensor:125]: 'Mechanische ventilatie wifi signaal': Sending state -52.00000 dBm with 0 decimals of accuracy [16:58:56][D][button:013]: 'Mechanische ventilatie Loop' Pressed. [16:58:56][D][sensor:125]: 'Mechanische ventilatie wifi signaal': Sending state -50.00000 dBm with 0 decimals of accuracy [16:59:06][D][sensor:125]: 'Mechanische ventilatie wifi signaal': Sending state -52.00000 dBm with 0 decimals of accuracy [16:59:16][D][sensor:125]: 'Mechanische ventilatie wifi signaal': Sending state -50.00000 dBm with 0 decimals of accuracy [16:59:17][D][sensor:125]: 'Mechanische ventilatie uptime': Sending state 211.21899 s with 0 decimals of accuracy [16:59:24][D][button:013]: 'Mechanische ventilatie Loop' Pressed. [16:59:24][D][zehnder:420]: Query device [16:59:26][D][sensor:125]: 'Mechanische ventilatie wifi signaal': Sending state -54.00000 dBm with 0 decimals of accuracy [16:59:36][D][sensor:125]: 'Mechanische ventilatie wifi signaal': Sending state -54.00000 dBm with 0 decimals of accuracy [16:59:45][D][button:013]: 'Mechanische ventilatie Loop' Pressed. [16:59:45][W][zehnder:550]: Airway too busy, giving up [16:59:45][W][zehnder:435]: Query Timeout [16:59:46][D][sensor:125]: 'Mechanische ventilatie wifi signaal': Sending state -50.00000 dBm with 0 decimals of accuracy [16:59:56][D][sensor:125]: 'Mechanische ventilatie wifi signaal': Sending state -54.00000 dBm with 0 decimals of accuracy [17:00:06][D][sensor:125]: 'Mechanische ventilatie wifi signaal': Sending state -52.00000 dBm with 0 decimals of accuracy [17:00:10][D][button:013]: 'Mechanische ventilatie Loop' Pressed. [17:00:16][D][sensor:125]: 'Mechanische ventilatie wifi signaal': Sending state -53.00000 dBm with 0 decimals of accuracy [17:00:17][D][sensor:125]: 'Mechanische ventilatie uptime': Sending state 271.22000 s with 0 decimals of accuracy [17:00:26][D][sensor:125]: 'Mechanische ventilatie wifi signaal': Sending state -52.00000 dBm with 0 decimals of accuracy [17:00:30][D][button:013]: 'Mechanische ventilatie Dump config' Pressed. [17:00:30][C][zehnder:128]: Zehnder Fan config: [17:00:30][C][zehnder:129]: Polling interval 60000 [17:00:30][C][zehnder:130]: Fan networkId 0x89816EA9 [17:00:30][C][zehnder:131]: Fan my device type 0x03 [17:00:30][C][zehnder:132]: Fan my device id 0x04 [17:00:30][C][zehnder:133]: Fan main_unit type 0x01 [17:00:30][C][zehnder:134]: Fan main unit id 0x1D [17:00:30][D][button:013]: 'Mechanische ventilatie Loop' Pressed. [17:00:30][D][zehnder:420]: Query device [17:00:36][D][sensor:125]: 'Mechanische ventilatie wifi signaal': Sending state -52.00000 dBm with 0 decimals of accuracy [17:00:46][D][sensor:125]: 'Mechanische ventilatie wifi signaal': Sending state -53.00000 dBm with 0 decimals of accuracy [17:00:46][I][ota:105]: Boot seems successful, resetting boot loop counter. [17:00:46][D][esp32.preferences:114]: Saving preferences to flash... [17:00:56][D][sensor:125]: 'Mechanische ventilatie wifi signaal': Sending state -52.00000 dBm with 0 decimals of accuracy [17:01:04][D][button:013]: 'Mechanische ventilatie Loop' Pressed. [17:01:04][W][zehnder:550]: Airway too busy, giving up [17:01:04][W][zehnder:435]: Query Timeout [17:01:06][D][sensor:125]: 'Mechanische ventilatie wifi signaal': Sending state -52.00000 dBm with 0 decimals of accuracy [17:01:09][D][button:013]: 'Mechanische ventilatie Loop' Pressed. [17:01:16][D][sensor:125]: 'Mechanische ventilatie wifi signaal': Sending state -52.00000 dBm with 0 decimals of accuracy [17:01:17][D][sensor:125]: 'Mechanische ventilatie uptime': Sending state 331.21500 s with 0 decimals of accuracy |