File tree 4 files changed +27
-2
lines changed
BresserWeatherSensorDomoticz
BresserWeatherSensorMQTTCustom
BresserWeatherSensorMQTTWifiMgr
4 files changed +27
-2
lines changed Original file line number Diff line number Diff line change @@ -608,6 +608,12 @@ void loop()
608
608
#ifdef LED_EN
609
609
pinMode (LED_GPIO, INPUT);
610
610
#endif
611
+ // Note:
612
+ // Further reduction of sleep current might be possible by
613
+ // controlling the GPIO pins (including SPI CS) appropriately.
614
+ // This depends on the actual board/radio chip used.
615
+ // See
616
+ // https://github.com/jgromes/RadioLib/discussions/1375#discussioncomment-11763846
611
617
weatherSensor.sleep ();
612
618
ESP.deepSleep (SLEEP_INTERVAL * 1000 );
613
619
}
Original file line number Diff line number Diff line change @@ -943,7 +943,13 @@ void loop()
943
943
#ifdef LED_EN
944
944
pinMode (LED_GPIO, INPUT);
945
945
#endif
946
- weatherSensor.sleep ();
946
+ // Note:
947
+ // Further reduction of sleep current might be possible by
948
+ // controlling the GPIO pins (including SPI CS) appropriately.
949
+ // This depends on the actual board/radio chip used.
950
+ // See
951
+ // https://github.com/jgromes/RadioLib/discussions/1375#discussioncomment-11763846
952
+ weatherSensor.sleep ();
947
953
ESP.deepSleep (SLEEP_INTERVAL * 1000 );
948
954
}
949
955
} // loop()
Original file line number Diff line number Diff line change @@ -943,7 +943,13 @@ void loop()
943
943
#ifdef LED_EN
944
944
pinMode (LED_GPIO, INPUT);
945
945
#endif
946
- weatherSensor.sleep ();
946
+ // Note:
947
+ // Further reduction of sleep current might be possible by
948
+ // controlling the GPIO pins (including SPI CS) appropriately.
949
+ // This depends on the actual board/radio chip used.
950
+ // See
951
+ // https://github.com/jgromes/RadioLib/discussions/1375#discussioncomment-11763846
952
+ weatherSensor.sleep ();
947
953
ESP.deepSleep (SLEEP_INTERVAL * 1000 );
948
954
}
949
955
} // loop()
Original file line number Diff line number Diff line change @@ -1158,6 +1158,13 @@ void loop()
1158
1158
#ifdef LED_EN
1159
1159
pinMode (LED_GPIO, INPUT);
1160
1160
#endif
1161
+ // Note:
1162
+ // Further reduction of sleep current might be possible by
1163
+ // controlling the GPIO pins (including SPI CS) appropriately.
1164
+ // This depends on the actual board/radio chip used.
1165
+ // See
1166
+ // https://github.com/jgromes/RadioLib/discussions/1375#discussioncomment-11763846
1167
+ weatherSensor.sleep ();
1161
1168
ESP.deepSleep (SLEEP_INTERVAL * 1000 );
1162
1169
}
1163
1170
} // loop()
You can’t perform that action at this time.
0 commit comments