Skip to content

Troubleshooting

Help! Everything just falls apart
2.7k Topics 21.5k Posts
  • Door sensor reed switch delay

    3
    0 Votes
    3 Posts
    2k Views
    rickybeeR
    Thanks Theol, following your comment I went back and did some more tests. Opening the sensor for a couple of seconds and closing it again the web interface showed no change. However, when I checked the log it does show the 2 second event. So, when you check the log while on vacation it is going to show all the events no matter how quickly someone rushed in the door and closed it.
  • Anything to be concerned about, or caused by MQTT gateway?

    8
    0 Votes
    8 Posts
    962 Views
    Mark SwiftM
    I'll give it a shot, thank you!
  • nRF24L01+ Fails to send data

    2
    0 Votes
    2 Posts
    995 Views
    mfalkviddM
    Hi @12gabriel3 Welcome to the MySensors forum! Have you seen the flowchart at http://forum.mysensors.org/topic/666/debug-faq-and-how-ask-for-help ? It contains much of the collected wisdom for troubleshooting.
  • Trying to build a Door and Sound sensors

    5
    0 Votes
    5 Posts
    2k Views
    TheoLT
    @chatainsim Glad I could help.
  • DHT11 and a RELAY combinaison problem

    4
    0 Votes
    4 Posts
    2k Views
    mikeadresseM
    Thanks Nuubi ! For pointing this link! :smiley: :+1: '''Cent fois sur le métier remettez votre ouvrage!''' :sweat: Because you pointed it to me, i had to go back in this thread, again... Trying to find what was different from the 100 sketchs i tried... EUREKA :exclamation: ''development branch of MySensors Arduino package'' ''https://github.com/mysensors/Arduino/archive/development.zip'' I was not using the proper library... Now my Veraedge find everything ! :relaxed: Thanks again ! And also Thanks to Hek for ''Combining MySensors examples'' :clap: Mike
  • Problem with DS18b20

    8
    0 Votes
    8 Posts
    5k Views
    lcarlierL
    Hi, Thanks a lot for your suggestion @boozz I've tried to connect the DS18B20 in parasite-powered mode. Now it is not warming anymore but the sensor is not detected by any example sketch I have tried (oneWireSearch, Single). @DrJeff I've tried your suggestion but it is not helping. My sensor still get warm. I have 5 sensors and all of them are behaving the same. I have also tried with another arduino but it had the same behavior. Here is a picture of my sensor. I believe everything is ok. [image: 1460996573538-img_0200.jpg] I hope I didn't buy crap. Kind regards, Laurent
  • ESP8266 Gateway + nRF24L01+PA+LNB = Interference?

    10
    0 Votes
    10 Posts
    4k Views
    Mark SwiftM
    @noelgeorgi :( I've given up for now, I've ordered some new PA+LNB models with shielding!
  • Powering my node

    12
    0 Votes
    12 Posts
    3k Views
    Guilhem BrouatG
    Very interresting discussion! Thanks for the tips. I will look into it for my other nodes, especially the ones which will sit behind wall switches in my house.
  • Init fail

    5
    0 Votes
    5 Posts
    2k Views
    OitzuO
    Also check ce and csn pin configuration correspondence to your wiring.
  • Can you help spot my sketch mistake? Why's it ignoring the delay?

    2
    0 Votes
    2 Posts
    624 Views
    Boots33B
    That code looks ok to me. You should get a 5 second delay with that. Perhaps add Serial.println("start delay"); // Wait between sensor readings, seems to help reliability of second reading delay(5000); Serial.println("finish delay"); and see if you get your delay in the serial monitor``` Insert Code Here
  • Help needed

    3
    0 Votes
    3 Posts
    833 Views
    carmine.dauriaC
    Ok. I try to explain all steps done. On the serial Gateway: Arduino UNO, NRF24L01+, 3,3 V supplied by Arduino UNO board Need set DATA_RATE on 1MPS (without I have "radio init fail") in Myconfig.h 2)Uncomment #define SOFTSPI in Myconfig.h Result: 0;0;3;0;9;gateway started, id=0, parent=0, distance=0 0;0;3;0;14;Gateway startup complete. On the Distance Sensor : Configuration: Arduino Pro Mini Clone, NRF24L01+, 3,3 V supplied by Arduino UNO board Need set DATA_RATE on 1MPS (without I have "radio init fail") in Myconfig.h 2)Comment #define SOFTSPI in Myconfig.h Comment isPVariant() check in MyTransportNRF24() (without I have "radio init fail") Result on the node: find parent send: 201-201-255-255 s=255,c=3,t=7,pt=0,l=0,sg=0,st=bc: Ping: 3 cm I'm using the same transceiver for both boards. This is the transceiver : [image: 1460760632254-imag0589_1.jpg] image url)
  • Add a second distance sensor to the same arduino?

    18
    0 Votes
    18 Posts
    4k Views
    TheoLT
    @Cliff-Karlsson I'm sorry would love help you further. But it's getting late over here and my better half wants me to turn off the laptop.
  • 0 Votes
    10 Posts
    3k Views
    sundberg84S
    @micah said: @sundberg84 said: Hard to say. St:fail generally means that you don't get ack from the receiver. This is normally range, power or hardware. There is not a general fix for this but you need to try and learn... i admit its strange I worked for some days. Maybe a radio fried ? Don't have the radios to close to eachother. Try a.couple of meters. Sorry I'm out of more solid ideas. Hey sundberg84, quick question for you. If you look at my debug logs above it looks like the gateway is infact receiving the message but the node thinks it fails. Con you confirm my interpretation of the following two lines? NODE DEBUG send: 42-42-0-0 s=1,c=1,t=0,pt=7,l=5,sg=0,st=fail:20.0 GATEWAY DEBUG 0;255;3;0;9;read: 42-42-0 s=1,c=1,t=0,pt=7,l=5,sg=0:20.0 If that's correct, could that change what the issue might be? Yes, I saw that - it seems to work one way but the ack (return) does not reach back. So its on the edge. But this should update the value in your controller.
  • sensebender sketch with door sensor help needed

    5
    0 Votes
    5 Posts
    2k Views
    BigDogB
    @TheoL Hi i have been waiting for the NC sensor aswel it is arived and stil needs the time to finish it :) been a little busy @ work But i keep you uptodate Greetz Bob
  • Node will not connect unless #define MY_PARENT_NODE_ID

    4
    0 Votes
    4 Posts
    2k Views
    Mark SwiftM
    @mfalkvidd My gateway is an NodeMCU with a NRF PA + LNA, it seems to be resolved if I use #define MY_RF24_PA_LEVEL RF24_PA_MIN on the gateway. Strange, as the NodeMCU has a AMS1117 which I believe can handle 800ma, presuming the ESP8266 uses 300ma max, that leaves 500ma, surely it should be enough? I've tried shielding the radio as suggested but it doesn't make a difference.
  • Battery reporting keeps increasing not decreasing

    7
    0 Votes
    7 Posts
    1k Views
    AWIA
    @hek with the climate temperature rising each year... yes :worried: :smile:
  • Serial gateway with several sensors connected to it

    26
    0 Votes
    26 Posts
    8k Views
    skatunS
    @barduino Upgrading to Arduino 1.6.8 did the trick. Thanks.
  • How to force static use of an repeater-node...?

    6
    0 Votes
    6 Posts
    3k Views
    hekH
    #define MY_PARENT_NODE_ID xx
  • Humidity repeater, easy question...?

    3
    0 Votes
    3 Posts
    822 Views
    Mark SwiftM
    @mfalkvidd I currently have this, what do you suggest I change? /** * The MySensors Arduino library handles the wireless radio link and protocol * between your home built sensors/actuators and HA controller of choice. * The sensors forms a self healing radio network with optional repeaters. Each * repeater and gateway builds a routing tables in EEPROM which keeps track of the * network topology allowing messages to be routed to nodes. * * Created by Henrik Ekblad <henrik.ekblad@mysensors.org> * Copyright (C) 2013-2015 Sensnology AB * Full contributor list: https://github.com/mysensors/Arduino/graphs/contributors * * Documentation: http://www.mysensors.org * Support Forum: http://forum.mysensors.org * * This program is free software; you can redistribute it and/or * modify it under the terms of the GNU General Public License * version 2 as published by the Free Software Foundation. * ******************************* * * REVISION HISTORY * Version 1.0 - Henrik EKblad * * DESCRIPTION * This sketch provides an example how to implement a humidity/temperature * sensor using DHT11/DHT-22 * http://www.mysensors.org/build/humidity */ // Enable debug prints // #define MY_DEBUG // Enable and select radio type attached #define MY_RADIO_NRF24 //#define MY_RADIO_RFM69 // Enabled repeater feature for this node #define MY_REPEATER_FEATURE #include <SPI.h> #include <MySensor.h> #include <DHT.h> #define CHILD_ID_HUM 0 #define CHILD_ID_TEMP 1 #define HUMIDITY_SENSOR_DIGITAL_PIN 3 unsigned long SLEEP_TIME = 30000; // Sleep time between reads (in milliseconds) DHT dht; float lastTemp; float lastHum; boolean metric = true; MyMessage msgHum(CHILD_ID_HUM, V_HUM); MyMessage msgTemp(CHILD_ID_TEMP, V_TEMP); void setup() { dht.setup(HUMIDITY_SENSOR_DIGITAL_PIN); metric = getConfig().isMetric; } void presentation() { // Send the Sketch Version Information to the Gateway sendSketchInfo("Temperature + Humidity", "1.0"); // Register all sensors to gw (they will be created as child devices) present(CHILD_ID_HUM, S_HUM); present(CHILD_ID_TEMP, S_TEMP); } void loop() { delay(dht.getMinimumSamplingPeriod()); // Fetch temperatures from DHT sensor float temperature = dht.getTemperature(); if (isnan(temperature)) { Serial.println("Failed reading temperature from DHT"); } else if (temperature != lastTemp) { lastTemp = temperature; if (!metric) { temperature = dht.toFahrenheit(temperature); } send(msgTemp.set(temperature, 1)); #ifdef MY_DEBUG Serial.print("T: "); Serial.println(temperature); #endif } // Fetch humidity from DHT sensor float humidity = dht.getHumidity(); if (isnan(humidity)) { Serial.println("Failed reading humidity from DHT"); } else if (humidity != lastHum) { lastHum = humidity; send(msgHum.set(humidity, 1)); #ifdef MY_DEBUG Serial.print("H: "); Serial.println(humidity); #endif } // sleep(SLEEP_TIME); // Sleep (non repeater) // wait(SLEEP_TIME); // Wait (repeater) } Edit: Apologies, I see what you're advising to do, I missed that line. I've made the change now.
  • LEDs not blinking in my Ethernet Gateway

    5
    0 Votes
    5 Posts
    1k Views
    TiasT
    Hi ! Thanks, but as I mentioned in my OP, it is not working with that configuration neither so that's why I am trying to get help figuring out why it doesn't work in my case. :) Cheers ! /T

24

Online

11.7k

Users

11.2k

Topics

113.1k

Posts