Skip to content

Troubleshooting

Help! Everything just falls apart
2.7k Topics 21.5k Posts
  • GatewayW5100 - unable to get working w/ v2.0.0

    10
    0 Votes
    10 Posts
    5k Views
    Michiel van der WulpM
    Thanks, I got it working with the downgrade described in https://forum.mysensors.org/topic/4680/mysensors-2-0-ethernet-gateway-atmega-w5100-restart-all-time/9
  • MySensors 2.0 Ethernet gateway Atmega+W5100) restart all time

    9
    0 Votes
    9 Posts
    7k Views
    Michiel van der WulpM
    Thanks, I tried this solution. The problem was described also in https://forum.mysensors.org/topic/4462/gatewayw5100-unable-to-get-working-w-v2-0-0/2 The "Arduino AVR Boards" 1.6.11 works fine, the 1.6.14 not.
  • How to change FTDI Platinum v2.1 5/3.3v to use 3.3v

    15
    0 Votes
    15 Posts
    13k Views
    NeverDieN
    I notice Wemos sells one which they claim can supply up to 300ma at 3.3v: https://www.aliexpress.com/store/product/WEMOS-CH340G-Breakout-5V-3-3V-USB-to-serial-module/1331105_32664922086.html?spm=2114.8147860.0.0.lHm5wW So far it's the only one I've found that can supply decent current at 3.3v. A lot of the alternatives can barely supply 50ma at 3.3v. 50ma is adequate for signalling, but often not enough for also powering a project.
  • Building a MQTT Gateway

    1
    0 Votes
    1 Posts
    783 Views
    No one has replied
  • Sleep time is not actual sleep time

    4
    0 Votes
    4 Posts
    1k Views
    N
    @Yveaux and @mfalkvidd thanks! It's not important for me, just curious to know why :)
  • Advice on testing communication/range

    3
    0 Votes
    3 Posts
    1k Views
    abmantisA
    @mfalkvidd Thank you! The sketch on that thread should work :)
  • How to use force/preassure sensor to send data to domoticz?

    1
    0 Votes
    1 Posts
    551 Views
    No one has replied
  • 0 Votes
    7 Posts
    2k Views
    NickBuilderN
    Thank you @scalz! That did the trick. Finally I can debug the code with readable serial feedback. Ok @AWI so the example code is probably in need for some adjustments. Its kinda hard for a beginner like myself to learn the basics if also the example code suffers from questionable functionality. Or perhaps the functionality is ok but the code by itself is not clear enough to educate the masses. I'm still having trouble understanding whats really happening when using the sleep() call. In my newest revision I'm not passing any interrupt conditions other than a time variable but still its obvious that the sleep is interrupted by the interrupt defined in the setup section. And as such, perhaps also some timer functionality is running while in a MySensors sleep. Perhaps the API description is in need for some additional clarification. Note: I've also deleted the attach and detach calls from the loop() section as this is probably handled by the sleep function (or other hidden code).
  • 0 Votes
    2 Posts
    739 Views
    mfalkviddM
    @jogant yes this is a common problem. The easiest solution is to have greater distance between the nodes.
  • Issues dallas sensor and sketch

    4
    0 Votes
    4 Posts
    1k Views
    A
    Have similar issue while connect 1-wire sensors to pins 4 (power) and 5 (data) for low energy sensor. Looks like at least pin 5 used internally (as LED ?) by MySensors and broke 1-wire i/o. After moving 1-wire "data" pin to "A1" and hardwire "power" pin to "VCC" I have no issues with DS18B20. But about 3.5uA per sensor more in sleep (11-12uA instead of 4.7). BTW: still have issue with node registration and/or other connection issues - after approx. 2 days node whan't to send data to gateway... Will debug later. PS: MySensors v2.0 from Arduino Lib manager, Arduino Pro Mini 3.3V@8MHz@4.1VLiPo
  • Lua script

    12
    0 Votes
    12 Posts
    6k Views
    F
    This my script with decimals commandArray = {} if devicechanged['Panna_V'] or devicechanged['Huset_V'] then local panna_v = otherdevices_svalues["Panna_V"] local huset_v = otherdevices_svalues["Huset_V"] local hushall_kwh = uservariables['Hushåll_kWh'] local huset_kwh = uservariables['Huset_kWh'] local panna_kwh = uservariables['Panna_kWh'] local panna, energy, huset, energy2 --print(pan) --print(hus) _,_,panna, energy = string.find(panna_v, "(.+);(.+)") _,_,huset, energy2 = string.find(huset_v, "(.+);(.+)") --print(panna) --print(huset) --print(energy) --print ("energy2="..energy2) --print ("huset_kwh="..huset_kwh) husetdiff_kwh = energy2 - huset_kwh --print ("husetdiff kwh") --print (husetdiff_kwh) --print ("energy="..energy) --print ("panna_kwh="..panna_kwh) pannadiff_kwh = energy - panna_kwh --print ("pannadiff kwh") --print (pannadiff_kwh) hushal_kwh = husetdiff_kwh - pannadiff_kwh hushall_kwh = hushall_kwh + hushal_kwh --print ("hushåll_kwh") --print (hushall_kwh) panna = tonumber(panna) huset = tonumber(huset) hush = huset - panna ener = energy2 - energy --print(hush) --print(ener) if hush > 0 then --print(el) commandArray['Variable:Hushåll_kWh']= tostring(hushall_kwh) commandArray['Variable:Huset_kWh']= tostring(energy2) commandArray['Variable:Panna_kWh']= tostring(energy) abc = tostring(hush) def = tostring(hushall_kwh) commandArray['UpdateDevice'] = '272|0|'..abc..';'..def..'' else end end return commandArray I am using Dummy, Electric(Instant&Counter) version 3.5721 of DZ Panna_V(heating system) and Huset_V(whole house) is electric usage meters that report every 5 minute. I use my Dummy to show my electric consumption without(minus) my heating system
  • How to keep sensor ID when upgrading

    6
    0 Votes
    6 Posts
    1k Views
    L
    Ah, great hint! It seems like I have to change the high fuse to "Preserve EEPROM memory through the Chip Erase cycle" (see fuse calculator). I will try that out.
  • RelayActuator message not going threw

    17
    0 Votes
    17 Posts
    4k Views
    F
    @tekka unbelievable !!! I tried with NRF24 and arduino nano, it's working like a charm !!! If I use the same sketch, on a pro mini using one of my ftdi as serial interface the Tx don't go threw anymore !!! Ftdi use a 1047 chip Arduino nano use a CH340 for which I had to install a Chinese driver for it !?!? !!!!
  • 0 Votes
    6 Posts
    2k Views
    gerardosamaraG
    But now the Debug messages are still sent to serial monitor over the serial port which has to be changed to the SoftwareSerial port . Only the "SoftwareSerial.print " messages are sent to SoftwareSerial port . How can i change this configuration ( where ) ? => Variable MY_SERIALDEVICE in MyHwSAMD.h file ? #define MY_SERIALDEVICE SerialUSB Thank you
  • 0 Votes
    2 Posts
    1k Views
    H
    @finge, I hade the same issue and it took a while to find where all the librarys are stored. Anyhow, after a bit of digging I found them here: https://github.com/mysensors/MySensorsArduinoExamples Just add all stuff in the Library folder into your own Library folder and you should be good to go :) Also, don't miss that your gateway needs to be running 2.0 if your nodes does, otherwise it will not work either. Regards, Henrik
  • Howto debug ethernet gateway W5100

    14
    0 Votes
    14 Posts
    4k Views
    sundberg84S
    @DomoJimbo - great to hear!
  • Node stuck at finding parent/gateway

    no gateway no parent node not starting
    3
    0 Votes
    3 Posts
    1k Views
    Bogdan BrezuicaB
    @executivul. I've fond a solution in another thread that is implemented in the DEV branch. It is posted in another thread. I am sorry I don't have a link right now but I will post it later today. It's not really an optimal solution but a temporary fix until someone works something out. I'll get back to you with the link.
  • HowTo - MYSController software

    1
    0 Votes
    1 Posts
    897 Views
    No one has replied
  • DS18B20 and DHT22 in the same sensor and sketch

    5
    0 Votes
    5 Posts
    4k Views
    dokhoD
    Hi ! I've same problem to make a node with 2 DS18B20 and 2 DHT22. In domoticz the DS18B20 sensors are show with humidity value (of the 1st DHT22) and the 2nd DHT22 show the humidity value of the 1st one... The sketch i'm using is here: https://forum.mysensors.org/topic/5222/node-with-ds18b20-and-dht22 (sorry for my bad english)
  • Nodemcu + RFM69. Level converter needed?

    18
    0 Votes
    18 Posts
    6k Views
    G
    @emc2 Interesting read. @korttoma I've connected up IRQ line. Still no luck, @TON-RIJNAARD Have tried that now as well. No luck. Tried going back to basics and now have 2 x Arduino pros with RFM69 - both loaded with pingpong script. Don't know where I'm going wrong but I can't even start the script - entering 1 or T does nothing. (I"ve used the script before with the NRF radio and it works) Have also tried the latest dev version. Just keep getting this on both arduinos: 0 MCO:BGN:INIT NODE,CP=RRNNA--,VER=2.0.1-beta 4 TSM:INIT 1 MCO:BGN:INIT NODE,CP=RRNNA--,VER=2.0.1-beta 5 TSM:INIT 7 TSM:INIT:TSP OK 8 TSM:FPAR 138 TSF:MSG:SEND,255-255-255-255,s=255,c=3,t=7,pt=0,l=0,sg=0,ft=0,st=OK: 2145 !TSM:FPAR:NO REPLY 2147 TSM:FPAR 2277 TSF:MSG:SEND,255-255-255-255,s=255,c=3,t=7,pt=0,l=0,sg=0,ft=0,st=OK: 4284 !TSM:FPAR:NO REPLY 4286 TSM:FPAR 4416 TSF:MSG:SEND,255-255-255-255,s=255,c=3,t=7,pt=0,l=0,sg=0,ft=0,st=OK: 6423 !TSM:FPAR:NO REPLY 6425 TSM:FPAR 6555 TSF:MSG:SEND,255-255-255-255,s=255,c=3,t=7,pt=0,l=0,sg=0,ft=0,st=OK: 8562 !TSM:FPAR:FAIL 8563 TSM:FAIL:CNT=1 8565 TSM:FAIL:PDT

21

Online

11.7k

Users

11.2k

Topics

113.1k

Posts