MySensors.sleep(int) issue
-
Strange...
MySensors.sleep(30000) works as expected.
MySensors.sleep(300000) screws things up and there is effectively no sleep anymore.I use the DallasTemperatureSensor example where the sleep time is set as a long while the method takes an integer. Could that be the reason this happens?
-
-
@BulldogLowell I did not know the exact value but I hope it can be changed a max sleep of 30 seconds is not impressive...
-
No, 30 sec is not so much. I better have a look at that.
1 out of 4
Suggested Topics
-
Code for beta-testing?
Controllers • 24 Mar 2014, 20:48 • andriej 9 Aug 2014, 10:44 -
Making WiFiManager compatible with MySensors 2.3.2
Bug Reports • 12 Feb 2020, 21:43 • pihome 1 Jun 2022, 16:02 -
ACK -aka ECHO beeing missed by Serial Gateway with RF24 radios. V2.3.2
Bug Reports • 15 Apr 2023, 06:27 • GaryStofer 21 Apr 2023, 17:34 -
sleep(0) in V2.1 doesn't sleep indefinitely anymore. Used to powerdown and sleep in V1.5
Bug Reports • 22 Nov 2019, 00:35 • GaryStofer 15 Apr 2023, 05:50 -
RFM95W sleep() directly after send() often doesn't sleep radio
Bug Reports • 1 Jan 2023, 18:41 • prawnpie 8 Jan 2023, 05:36 -
some differences between serial- and tcp-gateways.
Bug Reports • 15 Mar 2023, 09:26 • Branther 30 Mar 2023, 15:40