After changing IRQ pin in Mysensors setup everything falls apart



  • Issue partially resolved (scroll down for info)

    Steps Taken:
    stopped the gateway,
    renamed the MySensors folder
    Followed the instalation steps for branch development.
    Problem i get now is that My Gatway receives all data as normally, but every send from the GW gets a NACK
    Small Snippet:

    an 20 13:17:44 raspberrypi mysgw: TSF:MSG:FPAR REQ,ID=4
    Jan 20 13:17:44 raspberrypi mysgw: TSF:CKU:OK,FCTRL
    Jan 20 13:17:44 raspberrypi mysgw: TSF:MSG:GWL OK
    Jan 20 13:17:44 raspberrypi mysgw: !TSF:MSG:SEND,0-0-4-4,s=255,c=3,t=8,pt=1,l=1,sg=0,ft=0,st=NACK:0
    Jan 20 13:17:44 raspberrypi mysgw: TSF:MSG:READ,3-3-0,s=255,c=3,t=24,pt=1,l=1,sg=0:1
    Jan 20 13:17:44 raspberrypi mysgw: TSF:MSG:PINGED,ID=3,HP=1
    Jan 20 13:17:44 raspberrypi mysgw: !TSF:MSG:SEND,0-0-3-3,s=255,c=3,t=25,pt=1,l=1,sg=0,ft=0,st=NACK:1
    Jan 20 13:17:46 raspberrypi mysgw: TSF:MSG:READ,4-4-255,s=255,c=3,t=7,pt=0,l=0,sg=0:
    Jan 20 13:17:46 raspberrypi mysgw: TSF:MSG:BC
    Jan 20 13:17:46 raspberrypi mysgw: TSF:MSG:FPAR REQ,ID=4
    Jan 20 13:17:46 raspberrypi mysgw: TSF:CKU:OK,FCTRL
    Jan 20 13:17:46 raspberrypi mysgw: TSF:MSG:GWL OK
    Jan 20 13:17:46 raspberrypi mysgw: !TSF:MSG:SEND,0-0-4-4,s=255,c=3,t=8,pt=1,l=1,sg=0,ft=0,st=NACK:0
    Jan 20 13:17:48 raspberrypi mysgw: TSF:MSG:READ,4-4-255,s=255,c=3,t=7,pt=0,l=0,sg=0:
    Jan 20 13:17:48 raspberrypi mysgw: TSF:MSG:BC
    Jan 20 13:17:48 raspberrypi mysgw: TSF:MSG:FPAR REQ,ID=4
    Jan 20 13:17:48 raspberrypi mysgw: TSF:CKU:OK,FCTRL
    Jan 20 13:17:48 raspberrypi mysgw: TSF:MSG:GWL OK
    

    more log:
    [https://hastebin.com/isedudoren.swift](link url)
    It seems to recieve stuff, but all sending gets a NACK back

    i went from
    MySensors Library v2.2.0-beta
    to
    MySensors Library v2.2.0-rc.2

    Going back to the stable to test, but that gave me:

    mysgw: Starting gateway...
    mysgw: Protocol version - 2.1.1
    mysgw: MCO:BGN:INIT GW,CP=RNNG--Q,VER=2.1.1
    mysgw: TSM:INIT
    mysgw: TSF:WUR:MS=0
    mysgw: !TSM:INIT:TSP FAIL
    mysgw: TSM:FAIL:CNT=1
    mysgw: TSM:FAIL:PDT
    mysgw: TSM:FAIL:RE-INIT
    

    As read in the manual the stable version hass issues with jessie.
    Also updated 1 node to the dev version of the arduino library. and cleared the eeprom of that one
    his debug shows:

            |___/                      2 /*!< Major release version*/.2 /*!< Minor release version*/.0 /*!< Patch version*/-rc.2
    
    23 MCO:BGN:INIT NODE,CP=RNNNA---,VER=2 /*!< Major release version*/.2 /*!< Minor release version*/.0 /*!< Patch version*/-39 TSM:INIT
    40 TSF:WUR:MS=0
    48 TSM:INIT:TSP OK
    49 TSM:INIT:STATID=8
    51 TSF:SID:OK,ID=8
    53 TSM:FPAR
    89 TSF:MSG:SEND,8-8-255-255,s=255,c=3,t=7,pt=0,l=0,sg=0,ft=0,st=OK:
    2097 !TSM:FPAR:NO REPLY
    2099 TSM:FPAR
    2135 TSF:MSG:SEND,8-8-255-255,s=255,c=3,t=7,pt=0,l=0,sg=0,ft=0,st=OK:
    4143 !TSM:FPAR:NO REPLY
    4145 TSM:FPAR
    4180 TSF:MSG:SEND,8-8-255-255,s=255,c=3,t=7,pt=0,l=0,sg=0,ft=0,st=OK:
    6189 !TSM:FPAR:NO REPLY
    6191 TSM:FPAR
    6226 TSF:MSG:SEND,8-8-255-255,s=255,c=3,t=7,pt=0,l=0,sg=0,ft=0,st=OK:
    8235 !TSM:FPAR:FAIL
    

    Seeing everything running for a while shows my sensor wich i updated to the beta lib, keeps being searched through a repeater node (which i nowhere near atm).

    What to do now ?
    Small update, reverted back to 2.2.0 beta without IRQ configured and now i still have the same strange thing:

    mysgw: Starting gateway...
    mysgw: Protocol version - 2.2.0-beta
    mysgw: MCO:BGN:INIT GW,CP=RNNGL---,VER=2.2.0-beta
    mysgw: TSF:LRT:OK
    mysgw: TSM:INIT
    mysgw: TSF:WUR:MS=0
    
    mysgw: TSF:MSG:SEND,0-0-255-255,s=255,c=3,t=20,pt=0,l=0,sg=0,ft=0,st=OK:
    
    mysgw: Client 0: 4;1;1;0;2;0
    mysgw: !TSF:MSG:SEND,0-0-4-4,s=1,c=1,t=2,pt=0,l=1,sg=0,ft=0,st=NACK:0
    

    Again a small update, added --my-rf24-pa-level=RF24_PA_LOW to the command.
    That fixed the issue 😞
    I thought a Pi3 could handle the power on the 5V rail with a regulator to 3.3 ....


  • Mod

    If it is a standard nrf24 it can, if it is a PA lna you need an additional regulator. In both cases a good capacitor is needed on the radio vcc



  • Its a PA, used a regulator from 5volt Pi3 pin to 3.3 to the NRF24 and a capacitor on the VCC of the radio (47uF)


  • Mod

    That's odd, I have a PA lna that uses an Ams1117 regulator and 2 4.7uF caps, it is set to max power and it works fine



  • @gohan said in After changing IRQ pin in Mysensors setup everything falls apart:

    Ams1117

    Did u user a higher power source maybe? im capped out on 2.1amps on my Pi3 power source.
    i use a LD117


  • Mod

    The RPI3 usually draws between 0.2 to 0.7A so you should be fine on that side.


 

459
Online

7.9k
Users

8.8k
Topics

94.3k
Posts