Skip to content

Troubleshooting

Help! Everything just falls apart
2.7k Topics 21.5k Posts
  • Read this first - it could SAVE YOU A LOT OF TIME

    Pinned
    17
    5 Votes
    17 Posts
    26k Views
    mfalkviddM
    @ctodor sorry, I don’t understand. Could you describe where the sensorid could be added?
  • Gateway restarts a midnight

    9
    1 Votes
    9 Posts
    125 Views
    skywatchS
    @OldSurferDude If you have a pi2 or pi4 you could try with that instead of the pi3. Pi3 was known for being a bit 'different' with some applications. A quick and simple test if you can.
  • Flame Sensor Not Triggering Setup

    21
    0 Votes
    21 Posts
    146 Views
    OldSurferDudeO
    @skywatch @sindrome73 This is what I do, too. Note that it is wait(), which is a MySensors function and not delay(), an Arduino function. wait() checks for MySensors messages, delay() halts all process, thus a message might be missed.
  • Forum Search not working?

    17
    0 Votes
    17 Posts
    193 Views
    TheoLT
    @mfalkvidd A while ago I tinkered with Media Wiki running on a docker. If I remember correctly you can set access for authors moderators etc. But I forgot, I need to spin that docker up any time soon anyway. Because it contains my network documentation and I need to update it. I'll let you know.
  • Cannot compile sketch with STM32F1 BluePill board

    5
    0 Votes
    5 Posts
    42 Views
    dirkjuD
    @tnick I know this is an old post, but if it helps you - I've created support for STM32 based on latest STM32duino here. It's currently made to be backward compatible for the existing STM32F1 support, which is what you are struggling. But with a small change you can use the new STM32 HAL support. Let me know if you are interested to give it a try. The longer term plan is to remove the existing (old) STM32F1 support in favor of the new and more general STM32 support. (If @mfalkvidd agrees ;-))
  • What are the pin numbers for D3, D4, ...

    digitalwrite digital io pin numbers
    8
    0 Votes
    8 Posts
    2k Views
    E
    @Vuinne-Ryvmar You seem to be confused about what this forum is. Maybe you just ended up here on a random Google search? But in our case on an Arduino, D3 is literally the name for one of the metal legs coming off of the little controller, and we call it a pin sometimes. @tbowmo was looking for how to send the command to turn the power on or off to that part of the board, not a code to enable connecting up a controller to their phone. I see that a D3 game controller is a thing, but I doubt you will have any luck getting help with that here. It's not what this site is about. This is what we work with: [image: ArduinoUnoFront.jpg]
  • RS485 transmit errors

    4
    0 Votes
    4 Posts
    40 Views
    OldSurferDudeO
    @sebastieng Thanks for letting us and future readers know. -OSD
  • HW-488 infrared sensor not detecting properly

    2
    0 Votes
    2 Posts
    23 Views
    OldSurferDudeO
    @jaydenlord Probably you do. If you leave the EN floating, electrical noise could cause it to enable or disable randomly. Some enable pin require a HIGH, some LOW. Connect it to VCC to see if it works more consistently. If it doesn't detect, connect it to GND. If one of these works, then the part wasn't designed to be in a default state of enable. Let us know your results (I found this video OSD
  • 0 Votes
    9 Posts
    62 Views
    OldSurferDudeO
    @Eme Thank you for coming back to report how you solved your problem! Your comments will help other people. I am a big fan of Frugal Tech and I think MySensors is great for that. Alas, MySensors is not well supported anymore. Right now I'm having problems linking to the home page :( It's people like you and me that will keep MySensors going. Thanks for your help. OSD
  • Raspberry Pi 5: invalid GPIO 9

    4
    1 Votes
    4 Posts
    37 Views
    mfalkviddM
    https://github.com/mysensors/MySensors/pull/1562 switches to using libgpiod instead of the earlier interface. I have not tested it myself but it looks good.
  • constant PIR false alerts

    12
    0 Votes
    12 Posts
    4k Views
    Dilshan DilshanD
    @mvader Turn the time delay adjustment preset on your PIR module to the minimum.. Now try it.. You will not get a continuous output..Also, prepare the circuit using a long wire from the back to the sensor of your module.
  • DHT22 wrong sensor type in Home Assistant

    7
    0 Votes
    7 Posts
    64 Views
    OldSurferDudeO
    I'm glad that worked!
  • JSN SR04T - Temperature Influencing Readings

    ultrasonic water level tank
    34
    2
    1 Votes
    34 Posts
    1k Views
    N
    I'm having the same / a simular issue of temperature related readings, but at a different temperature level (for me it must be > 14 degree). I massure the dew point as well (temperature = orange, dew point = yellow). It looks to be more related to water in the air than only to temperature. @zboblamont have you been finally been able to find a solution? [image: 1743164554174-6760565c-914c-4608-be1a-6d10d0640e08-ac609c25-78e7-49de-8302-0166a041bff2-resized.png]
  • JSN-SR04T-V3.0 Coax cable extended

    2
    0 Votes
    2 Posts
    27 Views
    B
    Update and problem fixed! For everybody that will encouter this, the problem was at the sensor side because of the folder of the sensor! We created some metal brackets for it and they where exactly the same diameter. The fact that the mount squeezed the sensor made it return the lowest value. Just needed to adjust the hole and everything was ok!
  • Ghost Child

    12
    1
    0 Votes
    12 Posts
    84 Views
    OldSurferDudeO
    I want to thank @FcNanoLed. I had long thought about a serial gateway. This would be a way to add I/O to a linux computer. In the process of trying to help, I built up a linux machine running virtual box. In the virtual machine I ran Home Assistant The not well documented part of that was to connect the USB port of the computer to the virtual machine (settings-->USB-->USB Device Filters) (note that one can buy a refurbished PC for about the same price as an equivalently configured RPi) So thanks for the inspiration!
  • NODs stop responding, but ping works.

    1
    0 Votes
    1 Posts
    21 Views
    No one has replied
  • Getting system time from the controller

    13
    0 Votes
    13 Posts
    81 Views
    dpconsD
    @mfalkvidd Thanks, I'll try that.
  • Compiling Sensor code using BME280 and ESP8266

    3
    0 Votes
    3 Posts
    27 Views
    dpconsD
    Thanks for looking. What arduino ide version are you using and what version of mysensors?
  • Echo request is not set

    2
    0 Votes
    2 Posts
    30 Views
    K
    I've found that: char *protocolMyMessage2Serial(const MyMessage &message) { (void)snprintf_P(_fmtBuffer, (uint8_t)MY_GATEWAY_MAX_SEND_LENGTH, PSTR("%" PRIu8 ";%" PRIu8 ";%" PRIu8 ";%" PRIu8 ";%" PRIu8 ";%s\n"), message.getSender(), message.getSensor(), message.getCommand(), message.isEcho(), message.getType(), message.getString(_convBuffer)); return _fmtBuffer; } We put in the print "message.getEcho()", but this isn't echoed message. I think we should put "message.getRequestEcho()" here.
  • Can not compile MySensors on esp8266

    6
    0 Votes
    6 Posts
    74 Views
    mfalkviddM
    @TheoL there are two pull requests adding support for newer versions. One is guaranteed to break again. One should not break in the future, but will instead break all existing sketches. I’m sure a third option would be welcome if you write the code and submit.

17

Online

11.7k

Users

11.2k

Topics

113.1k

Posts