Skip to content

Bug Reports

Found a bug in the MySensors library? Let us know here.
171 Topics 1.3k Posts
  • [solved] RFM69 based nodes unable to report Lib Version

    51
    0 Votes
    51 Posts
    18k Views
    scalzS
    @jpaulin great to hear you got it working. i just wanted to know this. i apologize, i forgot to mention that may need some cleaning of the settings. I'll fix others ATC and others things ;) my online repo is complete yet. thx for your feedback.
  • 0 Votes
    3 Posts
    2k Views
    J
    @tekka ok, I'll fix it on the controller side, thanks!
  • Dust sensor and wrong values

    6
    0 Votes
    6 Posts
    3k Views
    1kohm1
    @mfalkvidd, Thanks! Works like a charm now! I've included now DHT sensor in this sketch as well :) Testing so far. So, another question :) To tell sketch when to send data I'm using: unsigned long SLEEP_TIME = 1000; Now it's sending every 1 second. But my goal is to change it to send data only when there's a value change. I've found following code (it's for Dallas temp sensor), that is sending only changed values: void loop() { // Fetch temperatures from Dallas sensors sensors.requestTemperatures(); // query conversion time and sleep until conversion completed int16_t conversionTime = sensors.millisToWaitForConversion(sensors.getResolution()); // sleep() call can be replaced by wait() call if node need to process incoming messages (or if node is repeater) sleep(conversionTime); // Read temperatures and send them to controller for (int i=0; i<numSensors && i<MAX_ATTACHED_DS18B20; i++) { // Fetch and round temperature to one decimal float temperature = static_cast<float>(static_cast<int>((getConfig().isMetric?sensors.getTempCByIndex(i):sensors.getTempFByIndex(i)) * 10.)) / 10.; // Only send data if temperature has changed and no error #if COMPARE_TEMP == 1 if (lastTemperature[i] != temperature && temperature != -127.00 && temperature != 85.00) { #else if (temperature != -127.00 && temperature != 85.00) { #endif // Send in the new temperature send(msg.setSensor(i).set(temperature,1)); // Save new temperatures for next compare lastTemperature[i]=temperature; } How to implement it in my case? Help here would be great Best,
  • [Solved] receive() function not working

    Locked
    6
    0 Votes
    6 Posts
    2k Views
    NikitaN
    @npiot There are three dots near the "reply" and "quote" buttons. Go there and find "edit" tool. Then simply modify the title and press "Submit".
  • ESP8266 Gateway logic conflict MY_GATEWAY_CLIENT_MODE & MY_USE_UDP

    1
    1 Votes
    1 Posts
    936 Views
    No one has replied
  • 0 Votes
    5 Posts
    2k Views
    hekH
    Yes, a release is coming. But we haven't set any date yet. Suggest you install it manually.
  • LEDs on GW and nodes aren't working as expected

    13
    2 Votes
    13 Posts
    3k Views
    YveauxY
    @jpaulin Fix is now in development (also tested on ESP8266) and sleeping issue is also solved. Node will now finish its LED pattern before going to sleep.
  • Heartbeat error ?

    4
    0 Votes
    4 Posts
    2k Views
    hekH
    You can just send the last state every HEARTBEAT_TIME... should have the same effect.
  • [SOLVED] Network adres (MY_RF24_BASE_RADIO_ID) not loaded to NRF

    5
    0 Votes
    5 Posts
    2k Views
    olo_25O
    Solved. Was solved at start :wink: This is only info for other, I not found info about change of definition when migrating
  • #define MY_DISABLED_SERIAL not stopping all serial data

    8
    0 Votes
    8 Posts
    2k Views
    delinendD
    @hek Can 2 NODE's talk together, without a Repeater or a Gateway ? I have tryed many things, but I can't get any data in the void receive() :-( I use the #defined MY_TRANSPORT_DONT_CARE_MODE, and the MY_PARENT_NODE_ID and MY_PARENT_NODE_IS_STATIC command setup (NODE ID 6 and 7).
  • Type mistake

    4
    0 Votes
    4 Posts
    1k Views
    mfalkviddM
    @TON-RIJNAARD Thanks! I have fixed the page, it now says 115200.
  • SensebenderMicro sketch

    1
    1 Votes
    1 Posts
    803 Views
    No one has replied
  • Failed to report version in skecth

    2
    0 Votes
    2 Posts
    899 Views
    cimba007C
    What is your code doing after the presentation? I always use a little wait after the presentation as many rapid presentations might congest the gateway: void presentation() { // Send the sketch version information to the gateway and Controller char datetime[24]; // 22 + 1 should ben enough snprintf(datetime,24,"%s | %s",__DATE__,__TIME__); //Serial.print(F("SketchInfo: ")); //Serial.println(datetime); sendSketchInfo("Microwave/Knocks.", datetime); mw_s_var1.present(); wait(10); mw_s_var2.present(); wait(10); /* ks_s_var1.present(); wait(10); ks_s_var2.present(); wait(10); */ }
  • ClearEepromConfig

    3
    0 Votes
    3 Posts
    1k Views
    F
    I think I have very old MySensor library, 1 year at least. Thank you you can close this
  • EnergyMeterPulseSensor

    1
    1 Votes
    1 Posts
    689 Views
    No one has replied
  • Radio fails to init on W5100

    19
    0 Votes
    19 Posts
    5k Views
    bisschopsrB
    @tekka: In addition: the setup is working now, but not flawless. No radio connection between the node and the GW. But of course this is a different topic.
  • [SOLVED] Sometimes the node don't send the node prasentation

    4
    0 Votes
    4 Posts
    1k Views
    Magic WM
    @TheoL @Yveaux Yeah,Thank you for your advice. when i try move the radio closer,it's OK!
  • API documentation not up to date

    6
    0 Votes
    6 Posts
    2k Views
    hekH
    Yes, the site is manually updated (improvements is on its way). Must have missed the sleep updates when doing the overview. Doxygen is always the best place/most correct place to look. And we'll probably move over to pure doxygen once it covers a majority of the library.
  • MySensor.h error

    8
    0 Votes
    8 Posts
    7k Views
    hekH
    No, wouldn't recommend it. Besides the folder name was MySensors in 1.5.4 as well. https://github.com/mysensors/MySensors/tree/1.5.4/libraries/MySensors
  • MY_SOFTSPI in MySensors 2.0 clashes with built-in Arduino SD-Card Library

    1
    0 Votes
    1 Posts
    909 Views
    No one has replied

17

Online

11.7k

Users

11.2k

Topics

113.1k

Posts