Skip to content
  • MySensors
  • OpenHardware.io
  • Categories
  • Recent
  • Tags
  • Popular
Skins
  • Light
  • Brite
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Brand Logo
  1. Home
  2. Troubleshooting
  3. ST=Fail = Add higher cap?

ST=Fail = Add higher cap?

Scheduled Pinned Locked Moved Troubleshooting
11 Posts 4 Posters 4.3k Views 2 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • hekH Offline
    hekH Offline
    hek
    Admin
    wrote on last edited by
    #2

    Something seems weird. The node has probably lost its parent.

    It is trying to send to node 255.. Which is the broadcast address (that never uses hardware acks thus the fails..)

    1 Reply Last reply
    0
    • sundberg84S Offline
      sundberg84S Offline
      sundberg84
      Hardware Contributor
      wrote on last edited by
      #3

      Why is that? :) And how do i fix it.
      Can it be because i cleared eeprom and never got in touch with gw after that?

      Controller: Proxmox VM - Home Assistant
      MySensors GW: Arduino Uno - W5100 Ethernet, Gw Shield Nrf24l01+ 2,4Ghz
      MySensors GW: Arduino Uno - Gw Shield RFM69, 433mhz
      RFLink GW - Arduino Mega + RFLink Shield, 433mhz

      1 Reply Last reply
      0
      • hekH Offline
        hekH Offline
        hek
        Admin
        wrote on last edited by
        #4

        Might be.. Try moving it closer to gateway.

        1 Reply Last reply
        0
        • sundberg84S Offline
          sundberg84S Offline
          sundberg84
          Hardware Contributor
          wrote on last edited by
          #5

          I did, uploaded the scetch and started it in the same room as gw.
          I also tried a 10uF cap.. no difference.

          Must be some other hardware failure... well ill try to replace the pro mini.

          Controller: Proxmox VM - Home Assistant
          MySensors GW: Arduino Uno - W5100 Ethernet, Gw Shield Nrf24l01+ 2,4Ghz
          MySensors GW: Arduino Uno - Gw Shield RFM69, 433mhz
          RFLink GW - Arduino Mega + RFLink Shield, 433mhz

          SparkmanS 1 Reply Last reply
          0
          • sundberg84S sundberg84

            I did, uploaded the scetch and started it in the same room as gw.
            I also tried a 10uF cap.. no difference.

            Must be some other hardware failure... well ill try to replace the pro mini.

            SparkmanS Offline
            SparkmanS Offline
            Sparkman
            Hero Member
            wrote on last edited by
            #6

            @sundberg84 Do you have the ID hard coded? If not, it looks like the EEPROM did not clear properly as otherwise it would not have known it was sensor 4. Which EEPROM clearing method did you use?

            Cheers
            Al

            1 Reply Last reply
            0
            • sundberg84S Offline
              sundberg84S Offline
              sundberg84
              Hardware Contributor
              wrote on last edited by
              #7

              @Sparkman I have ID hardcoded as ID 4.
              I cleared it by uploading the scetch from MySes. lib. ClearEepromConfig

                for (int i=0;i<512;i++) {
                  EEPROM.write(i, 0xff);
              

              Controller: Proxmox VM - Home Assistant
              MySensors GW: Arduino Uno - W5100 Ethernet, Gw Shield Nrf24l01+ 2,4Ghz
              MySensors GW: Arduino Uno - Gw Shield RFM69, 433mhz
              RFLink GW - Arduino Mega + RFLink Shield, 433mhz

              SparkmanS ? 2 Replies Last reply
              0
              • sundberg84S sundberg84

                @Sparkman I have ID hardcoded as ID 4.
                I cleared it by uploading the scetch from MySes. lib. ClearEepromConfig

                  for (int i=0;i<512;i++) {
                    EEPROM.write(i, 0xff);
                
                SparkmanS Offline
                SparkmanS Offline
                Sparkman
                Hero Member
                wrote on last edited by Sparkman
                #8

                @sundberg84 This is just a guess on my part as I'm still learning the ins and outs of the MySensors protocol so @hek or someone else will need to confirm, but I think because you have the ID hard coded, the sensor does not go through it's normal discovery process and thinks the parent ID is 255 (ff) because of the EEPROM clearing routine. You could likely set the value at the address for the parent ID (I believe it's address 1) to 0 in the EEPROM (EEPROM.write(1, 0x0);) and it might start working again, barring any hardware issues. The other option is to remove the hard code for the ID, restart the node, and it should also start working again. Once it's working again, you can hard code it back to 4 after.

                Cheers
                Al

                1 Reply Last reply
                0
                • sundberg84S sundberg84

                  @Sparkman I have ID hardcoded as ID 4.
                  I cleared it by uploading the scetch from MySes. lib. ClearEepromConfig

                    for (int i=0;i<512;i++) {
                      EEPROM.write(i, 0xff);
                  
                  ? Offline
                  ? Offline
                  A Former User
                  wrote on last edited by
                  #9

                  @sundberg84 . please how is the hard coding done?

                  How do build the controller to assign id to the sensors?

                  1 Reply Last reply
                  0
                  • sundberg84S Offline
                    sundberg84S Offline
                    sundberg84
                    Hardware Contributor
                    wrote on last edited by
                    #10

                    @Sparkman Great tips - I will check tonight!

                    @odark007 I have not build a controller assigning ID, i code each sensor/node with a static Id pretty much as you choose between a DHCP adress or statis IP adress on your network device. If you want to choose id for your device change gw.begin (see the API for more info)

                    gw.begin(NULL, NodeID, true);
                    //incomingMessageCallback - Callback function for incoming messages from other nodes or controller and request responses. Default is NULL.
                    //nodeId - The unique id (1-254) for this sensor. Default is AUTO(255) which means sensor tries to fetch an id from controller.
                    //repeaterMode - Activate repeater mode. This node will forward messages to other nodes in the radio network. Make sure to call process() regularly. Default in false

                    Controller: Proxmox VM - Home Assistant
                    MySensors GW: Arduino Uno - W5100 Ethernet, Gw Shield Nrf24l01+ 2,4Ghz
                    MySensors GW: Arduino Uno - Gw Shield RFM69, 433mhz
                    RFLink GW - Arduino Mega + RFLink Shield, 433mhz

                    1 Reply Last reply
                    0
                    • sundberg84S Offline
                      sundberg84S Offline
                      sundberg84
                      Hardware Contributor
                      wrote on last edited by
                      #11

                      @hek @Sparkman
                      Thank you for input.

                      I came home, change back to original radio and attached usb/serial debug with exact the same setup as last night - and everything worked!
                      A bit frustrating but I dont know what happened. I cant blame the hot day because it was in the celler with good temp when it quit...

                      Well, ill let it run and see what happens...

                      Controller: Proxmox VM - Home Assistant
                      MySensors GW: Arduino Uno - W5100 Ethernet, Gw Shield Nrf24l01+ 2,4Ghz
                      MySensors GW: Arduino Uno - Gw Shield RFM69, 433mhz
                      RFLink GW - Arduino Mega + RFLink Shield, 433mhz

                      1 Reply Last reply
                      0
                      Reply
                      • Reply as topic
                      Log in to reply
                      • Oldest to Newest
                      • Newest to Oldest
                      • Most Votes


                      18

                      Online

                      11.7k

                      Users

                      11.2k

                      Topics

                      113.1k

                      Posts


                      Copyright 2025 TBD   |   Forum Guidelines   |   Privacy Policy   |   Terms of Service
                      • Login

                      • Don't have an account? Register

                      • Login or register to search.
                      • First post
                        Last post
                      0
                      • MySensors
                      • OpenHardware.io
                      • Categories
                      • Recent
                      • Tags
                      • Popular