Skip to content

Troubleshooting

Help! Everything just falls apart
2.7k Topics 21.5k Posts
  • 0 Votes
    1 Posts
    169 Views
    No one has replied
  • Switching gateway issues

    4
    0 Votes
    4 Posts
    327 Views
    electrikE
    Are you sure the node can reach the gateway? So is the connection okay?
  • Dallas sensors puzzle - sensors.begin()

    dallas ds18b20
    7
    0 Votes
    7 Posts
    451 Views
    zboblamontZ
    @scalz That may well help even if I'll struggle to understand it. At least your setup combines similar basic principles to my objective. Since the OP, have nailed "sensors.begin()" which causes problems as a Dallas library call, and as your sketch does not employ that library, perhaps a glimmer of a solution.... Many thanks for that. Cheers...
  • Compiling error gdb_hooks.h

    3
    0 Votes
    3 Posts
    298 Views
    B
    @mfalkvidd Thanks, that solution worked and sorry I should have found that posting myself of course. FYI, for loading the ESP8266 Board definitions the usual URL https://arduino.esp8266.com/stable/package_esp8266com_index.json did not work for me anymore. Instead I had to use https://github.com/esp8266/Arduino/releases/download/2.4.2/package_esp8266com_index.json
  • Arduino Pro Mini and Mini W5100 LAN Ethernet Shield

    8
    0 Votes
    8 Posts
    660 Views
    giangiredG
    @mfalkvidd Solved, it was my mistake on wiring. Thanks.
  • What does 1 and 0 in send(msg.set(value==HIGH ? 1 : 0)) really means?

    6
    0 Votes
    6 Posts
    524 Views
    skywatchS
    @pl_rekin It's great when the 'penny drops' - Learning is not so bad when you can admit not knowing something and move on with enhanced knowledge! :)
  • be aware of previous used arduino as serial gateway

    2
    5 Votes
    2 Posts
    440 Views
    alowhumA
    This is exactly why the Candle Manager always flashes the MySensors clear sketch before flashing the actual code.
  • Gateway/Relay Sensor not found through Jeedom

    1
    0 Votes
    1 Posts
    149 Views
    No one has replied
  • Anyone help with 4 relays please?

    34
    0 Votes
    34 Posts
    6k Views
    parachutesjP
    @petr-nosek sure with the 2nd power supply it looks different. However mine were all in-wall and there is just not enough space for this.
  • 0 Votes
    21 Posts
    4k Views
    badmannenB
    @rafael156 oh crap ... I put in that lowFuse as FF .. ( I read you had it for 8 MHz INTERNAL .. but nooo you wrote external ... ooops ... is there any way to force write it back without connecting an 8 MHz oscillator to the chip .. I only got 16 MHz oscillators .. or am I screwed for that chip until I go and get one?
  • Dynamic change of variable name

    14
    0 Votes
    14 Posts
    826 Views
    Sergio RiusS
    @badmannen @Yveaux You're absolutely right. I was lazy, only changed a symbol and gave a bad advice. My response should be changed to <=4. Still I don't understand what the original question was.
  • MySensors gateway and network reliability

    20
    1
    1 Votes
    20 Posts
    1k Views
    N
    If you really enjoy fiddling with connection problems and gateways freezing you should try using the gsm gateway. At first it froze up every day or two. I now run a second mcu just to check connectivity to mycontroller and resetting the gateway when it fails. This sometimes happen a couple of times a day.
  • only wake on interupt..

    17
    0 Votes
    17 Posts
    926 Views
    zboblamontZ
    @markjgabb "..cut back all unneccicary steps and really locked down what was going on.." was indeed the idea. What I went on to explain is than you are reporting the state of D3 which goes HIGH/LOW/HIGH via the button, not the light. The critical difference between @skywatch and your install is movement detection maintains a value, your button does not. If you create a variable before the loop, say boolean lightswitch=false; (presuming that the light is ON when you program it) this variable will be changed and reported to Domoticz in the loop. Top of the loop you toggle the "lightswitch" value, first time it will switch false to true, report in the "lightswitch" value then go to sleep. Bottom of the loop your " sleep(digitalPinToInterrupt(DIGITAL_INPUT_SENSOR), CHANGE, SLEEP_TIME); should trigger on a LOW, as this is the momentary state of D3 ONLY when the button is pressed. Your next button press activates the loop, toggles "lightswitch", reports and goes back to sleep, at least two years on a pair of AA cells. Were it I doing this there would be a mains powered indicator on the switch plate which cuts out when the light is on, A- To find the switch in the dark, B-To provide an indicator which can be used to verify the actual state of the light to ensure it stays in sync (Murphy's Law). I don't see the point of using heartbeat as it is not a security device, and only fire the battery reading mosfet every X loops.
  • New installation on WIN10

    5
    0 Votes
    5 Posts
    444 Views
    skywatchS
    @kurtsejr Good to hear that ! :)
  • Signing fails due to NACKed messages

    11
    2
    1 Votes
    11 Posts
    646 Views
    tekkaT
    @encrypt said in Signing fails due to NACKed messages: I can't enable radio logging easily but I suspect it could be caused by the auto-adjusting RSSI feature... I'm afraid, but without additional debug information it's gonna stay a guessing game. If possible, enable #define MY_DEBUG_VERBOSE_SIGNING #define MY_DEBUG_VERBOSE_RFM69 for additional info. Also, please post the node sketch to interpret the log in the right context.
  • Question about RS485 and MY_DEBUG

    1
    0 Votes
    1 Posts
    178 Views
    No one has replied
  • Error compiling on new w10 and arduino edi 1.8.10

    2
    0 Votes
    2 Posts
    314 Views
    mfalkviddM
    @keldandorin You'll need to install the development version of MySensors, or downgrade the esp board definitions. See https://forum.mysensors.org/post/92176 for more details.
  • A water pulse meter using interrupts and the ATMEGA328P "power save" mode

    17
    0 Votes
    17 Posts
    2k Views
    EncryptE
    Thanks for the feedback @zboblamont! I was probably overthinking the whole thing :P
  • Arduino Mega RGBW sketch lock-ups

    5
    0 Votes
    5 Posts
    308 Views
    mfalkviddM
    @gundark2 a long usb cable, or something like https://www.aliexpress.com/item/32959138610.html or https://www.openhardware.io/view/532/The-Logger-Machine-Short-and-long-term-serial-logging
  • Sonoff gateway: sketch uploads fine but doesn't run

    4
    0 Votes
    4 Posts
    331 Views
    YveauxY
    @user2684 There's a lot of info regarding flashing ESP devices on this site: https://github.com/arendst/Tasmota/wiki/Flashing and https://github.com/arendst/Tasmota/wiki/supported-devices You could also consider running Tasmota on your Sonoff devices, as it contains much more functionality compared to MySensors MQTT gateway.

12

Online

11.7k

Users

11.2k

Topics

113.2k

Posts