Skip to content

Troubleshooting

Help! Everything just falls apart
2.7k Topics 21.5k Posts
  • Rpi3 GW, Nano, NRF24L01+ not connecting.

    8
    2
    0 Votes
    8 Posts
    1k Views
    gohanG
    Regarding the mqtt disconnecting, there was already another user with same problem and, if I remember well, the problem was the client id that was conflicting with another device
  • Ethernet gateway shows up on vera , but doens't want to include devices

    19
    0 Votes
    19 Posts
    5k Views
    rejoe2R
    @hoggin At least according to my experience, just downgrading the AVR Board Definitions to <=1.6.11 using the Board-Manager within an recent version of the IDE should have done the trick; downgrade of the other libs including mysensors (2.1.1) was not necessary. In Addition: For the serial Gateways this kind of trouble seems to be solved since version 1.6.18 of the AVR-Board definitions (shipped since several weeks).
  • Atmega328+rfm69HW sleep mode problem

    11
    0 Votes
    11 Posts
    3k Views
    mar.conteM
    Hy, I have insert into ide board the sensebender micro, it' S possible to use sensebender micro bootloader 8mhz for my project like: atmega328 8mhz internal pir sensor, rfm69 in sleep mode with 2 aa battery for low consumption? Tanks
  • How use a sensor without a Gateway!!?

    8
    0 Votes
    8 Posts
    2k Views
    K
    @Marcoblacks You write: "RFlink can manage my sensor protocol only in RX, it cannot talk with the my sensor node!!!" I think you do not need receive information from gateway every time. In registration process when you use fixed NodeID and do not use ACK, you only send info to GW. Photo sensor only sends data to GW too. Problem with power meter, when you retrieve old number of pulses from controller, but Domoticz has option "Energy read" ( computed x from device ) - maybe it helps. I not try that.
  • 0 Votes
    8 Posts
    2k Views
    V
    This particular one is running on an Arduino Duemilanove, but the sensor and gateway are both using the same library version (1.5.1) so that should be all good, no?
  • Pro Mini 3.3v does not receive messages

    9
    0 Votes
    9 Posts
    2k Views
    sundberg84S
    @erangaj - good! I hope you find the cause of this - let me know if I can do anything else.
  • This topic is deleted!

    1
    1
    0 Votes
    1 Posts
    10 Views
    No one has replied
  • Pin change interrupt not firing with MySensors

    39
    0 Votes
    39 Posts
    11k Views
    YveauxY
    @DavidZH said in Pin change interrupt not firing with MySensors: It did! Thanks a bunch! I had a feeling it was to be found in that part of the code. Great! Strange thing is: it still returns -1 as wake up reason. And that brings me back to my original problem. Well, that function is setup to either return the interrupt number, or -1 if it didn't wake from interrupt. You woke it differently, hence the return code of -1, see here. When I want to add a timed sensor by setting a time as last argument, the node will not wake up when an interrupt takes place. It does register the interrupt, as the counter increases with every press. But it will only wake when the timer expires and only then display the updated counter. The actual sleep method differs whether a timeout is passed or not, see here. I would have to consult the datasheet and dive into the different sleeping methods, but that probably is the reason of not waking up. Again, you are using the library in an undocumented/untested way, so, unless you're able to read/modify the code yourself, I advise you to stick to the suggested use cases.
  • Need help with initial setup

    4
    0 Votes
    4 Posts
    986 Views
    Boots33B
    @simonszu said in Need help with initial setup: It looks like it is restarting some times There were some issues with the w5100 and some ide versions causing the gateway to constantly re start Have a look at GatewayW5100 - unable to get working w/ v2.0.0 MySensors 2.0 Ethernet gateway Atmega+W5100) restart all time
  • Temperature sensor WITH battery monitor

    10
    0 Votes
    10 Posts
    5k Views
    M
    Anyone here an idea how i can get the voltage send tomthe gateway? Works great so far except the send of the voltage ....:-(
  • How to convert received messages to integers? (MQTT)

    6
    0 Votes
    6 Posts
    3k Views
    ikkeTI
    Excellent, thank you. It's too long since I've done serious coding, I didn't remember that. atoi -> atol fixed it.
  • This topic is deleted!

    4
    0 Votes
    4 Posts
    22 Views
  • Mysbootloader, problem after reboting.

    9
    0 Votes
    9 Posts
    3k Views
    tekkaT
    @robosensor well, that sounds like a HW issue - maybe fake chips or chips that didn't pass QC.
  • TimerOne.h LED Effekt

    2
    0 Votes
    2 Posts
    841 Views
    mfalkviddM
    Welcome to the MySensors community @xsav The easiest way would probably be to remove everything related to TimerOne and replace with this: void loop(){ wait(3*60*1000); Demomodus(); } If you want to use TimerOne you need to enter the number of microseconds to sleep, not milliseconds.
  • RGB Controller app on Vera causing NACK:0 messages on my sensor.

    3
    0 Votes
    3 Posts
    1k Views
    C
    Does this look like a radio error, or something else? Could it just be message collisions? Is there a way to tell the system to attempt to resend a message on a NACK?
  • DHT22 verify issue.

    12
    0 Votes
    12 Posts
    5k Views
    AWIA
    @Bryden The wait() function is a MySensors replacement of the standard delay() in c++. The "added value" here is that wait() lets you listen to incoming messages while doing nothing. Unless you want some activity during waiting for a next reading (like blinking a led or so) I think wait() is rather usefull ;-)
  • NRF24L01+ wie an ATtiny167 (Digisparc Pro) anschließen

    3
    0 Votes
    3 Posts
    2k Views
    pansenP
    @mfalkvidd He's asking how to connect a nrf24 to an ATtiny167 and, if needed, what to tell MySensors to make it work. @Oskar-Dünnebeil Compare the pinouts, here's the ATtiny. Then connect it 1:1 if possible. I know of the options MY_CE_PIN and MY_CS_PIN, maybe there are more. Check the guides for that.
  • How do I change a variable in domoticz from a sensor-reading?

    5
    0 Votes
    5 Posts
    4k Views
    AWIA
    @Cliff-Karlsson domoticz allows you to create a virtual / dummy counter sensor. You can increment / decrement it from several other sensor events in a LUA script as mentioned by @sundberg84
  • Relay with finder and asc 712

    5
    2
    0 Votes
    5 Posts
    2k Views
    S
    I beg your pardon, but my English is very bad. In the evening load my sketch, so it is more clear ...... Thanks for your patience for now ......
  • Vera Plugin - Can't Press start for inclusion on Gateway

    5
    0 Votes
    5 Posts
    2k Views
    fifoF
    @Michiel-van-der-Wulp ***That worked ! Big thanks to both of you. I am powering arduino directly from a usb cable connected to my pc. The wireless radio is on the 3.3v pin with other leg on gnd. downgraded to .11 Plugged in to serial monitor*** 0;255;3;0;9;TSM:INIT 0;255;3;0;9;TSF:WUR:MS=0 0;255;3;0;9;TSM:INIT:TSP OK 0;255;3;0;9;TSM:INIT:GW MODE 0;255;3;0;9;TSM:READY:ID=0,PAR=0,DIS=0 0;255;3;0;9;MCO:REG:NOT NEEDED IP: 192.168.1.2 0;255;3;0;9;MCO:BGN:STP 0;255;3;0;9;MCO:BGN:INIT OK,TSP=1 ***Hit start and 0 devices appears button is acting better now and actually staying green Plugged in my sensor Eventually found 1 device and it took a while so I reloaded vera so that my sensors would appear. I should have left it alone. When it came back I had nothing. I went back to hit start and it was still pressed but this time it said it found 3 devices :) left it there for about 10 more seconds and it went from start being highlighted to the stop button. It automatically restarted luua and now I get three devices.*** Arduino Temp 0(1) Arduino Node 1 Arduino Repeater 0 Looks like everything is working so I will leave it running and report later today. Here is what my serial out looks like now. I'm wondering if some of that is still reboots? I don't see the line with the IP any more so it doesn't seem to be initializing but not sure what exactly to look for. It actually looks good to me. ;255;3;0;9;Eth: 1;255;3;0;6;I 0;255;3;0;9;!TSF:MSG:SEND,0-0-1-1,s=255,c=3,t=6,pt=0,l=1,sg=0,ft=0,st=NACK:I 0;255;3;0;9;Eth: 0;255;3;0;9;TSF:MSG:READ,1-1-0,s=255,c=3,t=12,pt=0,l=3,sg=0:1.1 0;255;3;0;9;TSF:MSG:READ,1-1-0,s=0,c=0,t=6,pt=0,l=0,sg=0: 0;255;3;0;9;TSF:MSG:READ,1-1-0,s=255,c=3,t=26,pt=1,l=1,sg=0:2 0;255;3;0;9;!TSF:MSG:SEND,0-0-1-1,s=255,c=3,t=27,pt=1,l=1,sg=0,ft=0,st=NACK:1 0;255;3;0;9;TSF:MSG:READ,1-1-0,s=0,c=1,t=0,pt=7,l=5,sg=0:73.6 0;255;3;0;9;TSF:MSG:READ,1-1-255,s=255,c=3,t=7,pt=0,l=0,sg=0: 0;255;3;0;9;TSF:MSG:BC 0;255;3;0;9;TSF:MSG:FPAR REQ,ID=1 0;255;3;0;9;TSF:PNG:SEND,TO=0 0;255;3;0;9;TSF:CKU:OK 0;255;3;0;9;TSF:MSG:GWL OK 0;255;3;0;9;!TSF:MSG:SEND,0-0-1-1,s=255,c=3,t=8,pt=1,l=1,sg=0,ft=0,st=NACK:0 0;255;3;0;9;TSF:MSG:READ,1-1-255,s=255,c=3,t=7,pt=0,l=0,sg=0: 0;255;3;0;9;TSF:MSG:BC 0;255;3;0;9;TSF:MSG:FPAR REQ,ID=1 0;255;3;0;9;TSF:CKU:OK,FCTRL 0;255;3;0;9;TSF:MSG:GWL OK 0;255;3;0;9;!TSF:MSG:SEND,0-0-1-1,s=255,c=3,t=8,pt=1,l=1,sg=0,ft=0,st=NACK:0 0;255;3;0;9;TSF:MSG:READ,1-1-255,s=255,c=3,t=7,pt=0,l=0,sg=0: 0;255;3;0;9;TSF:MSG:BC 0;255;3;0;9;TSF:MSG:FPAR REQ,ID=1 0;255;3;0;9;TSF:CKU:OK,FCTRL 0;255;3;0;9;TSF:MSG:GWL OK 0;255;3;0;9;!TSF:MSG:SEND,0-0-1-1,s=255,c=3,t=8,pt=1,l=1,sg=0,ft=0,st=NACK:0 0;255;3;0;9;TSF:MSG:READ,1-1-255,s=255,c=3,t=7,pt=0,l=0,sg=0: 0;255;3;0;9;TSF:MSG:BC 0;255;3;0;9;TSF:MSG:FPAR REQ,ID=1 0;255;3;0;9;TSF:PNG:SEND,TO=0 0;255;3;0;9;TSF:CKU:OK 0;255;3;0;9;TSF:MSG:GWL OK 0;255;3;0;9;!TSF:MSG:SEND,0-0-1-1,s=255,c=3,t=8,pt=1,l=1,sg=0,ft=0,st=NACK:0 0;255;3;0;9;TSF:MSG:READ,1-1-255,s=255,c=3,t=7,pt=0,l=0,sg=0: 0;255;3;0;9;TSF:MSG:BC 0;255;3;0;9;TSF:MSG:FPAR REQ,ID=1 0;255;3;0;9;TSF:CKU:OK,FCTRL 0;255;3;0;9;TSF:MSG:GWL OK 0;255;3;0;9;!TSF:MSG:SEND,0-0-1-1,s=255,c=3,t=8,pt=1,l=1,sg=0,ft=0,st=NACK:0 0;255;3;0;9;TSF:MSG:READ,1-1-255,s=255,c=3,t=7,pt=0,l=0,sg=0: 0;255;3;0;9;TSF:MSG:BC 0;255;3;0;9;TSF:MSG:FPAR REQ,ID=1 0;255;3;0;9;TSF:CKU:OK,FCTRL 0;255;3;0;9;TSF:MSG:GWL OK 0;255;3;0;9;!TSF:MSG:SEND,0-0-1-1,s=255,c=3,t=8,pt=1,l=1,sg=0,ft=0,st=NACK:0 0;255;3;0;9;TSF:MSG:READ,1-1-255,s=255,c=3,t=7,pt=0,l=0,sg=0: 0;255;3;0;9;TSF:MSG:BC 0;255;3;0;9;TSF:MSG:FPAR REQ,ID=1 0;255;3;0;9;TSF:CKU:OK,FCTRL 0;255;3;0;9;TSF:MSG:GWL OK 0;255;3;0;9;TSF:MSG:SEND,0-0-1-1,s=255,c=3,t=8,pt=1,l=1,sg=0,ft=0,st=OK:0 0;255;3;0;9;TSF:MSG:READ,1-1-0,s=255,c=3,t=24,pt=1,l=1,sg=0:1 0;255;3;0;9;TSF:MSG:PINGED,ID=1,HP=1 0;255;3;0;9;!TSF:MSG:SEND,0-0-1-1,s=255,c=3,t=25,pt=1,l=1,sg=0,ft=0,st=NACK:1 0;255;3;0;9;TSF:MSG:READ,1-1-0,s=255,c=3,t=15,pt=6,l=2,sg=0:0100 0;255;3;0;9;!TSF:MSG:SEND,0-0-1-1,s=255,c=3,t=15,pt=6,l=2,sg=0,ft=0,st=NACK:0100 0;255;3;0;9;TSF:MSG:READ,1-1-0,s=255,c=0,t=17,pt=0,l=5,sg=0:2.1.0 0;255;3;0;9;TSF:MSG:READ,1-1-0,s=255,c=3,t=6,pt=1,l=1,sg=0:0 0;255;3;0;9;Eth: 1;255;3;0;6;I 0;255;3;0;9;!TSF:MSG:SEND,0-0-1-1,s=255,c=3,t=6,pt=0,l=1,sg=0,ft=0,st=NACK:I 0;255;3;0;9;Eth: 0;255;3;0;9;TSF:MSG:READ,1-1-0,s=255,c=3,t=11,pt=0,l=18,sg=0:Temperature Sensor 0;255;3;0;9;TSF:MSG:READ,1-1-0,s=255,c=3,t=12,pt=0,l=3,sg=0:1.1 0;255;3;0;9;TSF:MSG:READ,1-1-0,s=0,c=0,t=6,pt=0,l=0,sg=0: 0;255;3;0;9;TSF:MSG:READ,1-1-0,s=255,c=3,t=26,pt=1,l=1,sg=0:2 0;255;3;0;9;TSF:MSG:SEND,0-0-1-1,s=255,c=3,t=27,pt=1,l=1,sg=0,ft=0,st=OK:1 0;255;3;0;9;TSF:MSG:READ,1-1-0,s=0,c=1,t=0,pt=7,l=5,sg=0:73.6

16

Online

11.7k

Users

11.2k

Topics

113.1k

Posts