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.
4 out of 4
Suggested Topics
-
Code for beta-testing?
Controllers • 24 Mar 2014, 20:48 • andriej 9 Aug 2014, 10:44 -
Sensor presentation failure
Bug Reports • 31 Jul 2016, 19:23 • Sergio Rius 3 Mar 2021, 18:48 -
RFM95W sleep() directly after send() often doesn't sleep radio
Bug Reports • 1 Jan 2023, 18:41 • prawnpie 8 Jan 2023, 05:36 -
Boards esp8266 v3.1.0 or Newer Doesn't Work with MySensors
Bug Reports • 21 Feb 2023, 01:55 • d-smes 25 Feb 2023, 19:37 -
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