Skip to content

Troubleshooting

Help! Everything just falls apart
2.7k Topics 21.5k Posts
  • This topic is deleted!

    1
    0 Votes
    1 Posts
    23 Views
    No one has replied
  • This topic is deleted!

    1
    0 Votes
    1 Posts
    4 Views
    No one has replied
  • Moisture sensing + relay. Please help with software.

    13
    1
    0 Votes
    13 Posts
    2k Views
    alowhumA
    Here is some code that does exactly what was asked for: https://github.com/createcandle/Devices/tree/master/Plant_health
  • AnalogRead problem

    12
    0 Votes
    12 Posts
    177 Views
    MasMatM
    @Yveaux and @boum You two beat me by 2hrs. @user2684 whose code this is (cudos to him, have used this bit on a number of sensors!) had probably figured that out and I screwed myself when I changed the original analogRead to int. Now the whole thing works 100%
  • Gateway MQTT on raspberry PI 4

    1
    0 Votes
    1 Posts
    35 Views
    No one has replied
  • ATMgea328P U-TH / U-PH sleeping current

    1
    0 Votes
    1 Posts
    45 Views
    No one has replied
  • 2 or more DHT22 on 1 node with Domoticz

    3
    0 Votes
    3 Posts
    50 Views
    G
    A bit of a late reply but some time ago I also asked about this in the domoticz forum. "They" don't see the problem although I clearly see in the domoticz sources that this stupid behavior is intentionally put in there. I compiled domoticz with a few changed lines and then it works. Unfortunately I have tons of Mysensors issues, mainly with the NRF2401 (yes, from multiple sources, good psu, capacitors etc.) so I am forcefully have to abandon Mysensors and migrate to ESP8266 nodes to finally get a stable sensor network. Therefore I'm also more flexible with domoticz. --Gerard
  • Trouble controlling Neopixels with mysensors library installed.

    neopixel
    5
    0 Votes
    5 Posts
    2k Views
    YveauxY
    @Shiny I use Ws2812 all over the place in the MySensors Dollhouse setup: https://www.mysensors.org/build/dollhouse Maybe you can get some hints from there.
  • !MCO:PRO:RC=1 in debug logs

    5
    0 Votes
    5 Posts
    56 Views
    tekkaT
    Updated log parser to include RC debug messages: https://github.com/mysensors/MySensors/pull/1396
  • atmega328p-au counterfeit

    19
    0 Votes
    19 Posts
    4k Views
    NeverDieN
    I wonder if this spells death for PCBA, since those parts gets sourced from chinese distributors. Seems as though reliable chinese distributors must exist, or the entire system there would break down. I just have no idea who they are.
  • ARDUINO AND HOME ASSISTANT USB OR LAN COMUNICATION

    1
    0 Votes
    1 Posts
    27 Views
    No one has replied
  • [SOLVED] Need help with ESP8266 MQTT Gateway (RFM69HW radio)

    18
    0 Votes
    18 Posts
    228 Views
    tekkaT
    @willemx Excellent! Have fun! :+1:
  • LaCrosse C82929 weather station not staying connected to WiFi

    1
    0 Votes
    1 Posts
    28 Views
    No one has replied
  • Problem with JSN-SR04T and PIC18F4550..

    4
    0 Votes
    4 Posts
    49 Views
    mfalkviddM
    @Yveaux I see. Thanks.
  • Raspberry gateway RFM95 no receive

    3
    0 Votes
    3 Posts
    65 Views
    AndersA
    Hello mfalkvidd My goal is to move my two gateways to my raspberry pi 3 so I can free up some hardware. I was inspired by various treads in forum to try dual radios with two separate mysensors instances on the pi . What I have today: ESP8266 with NRF24 :running for 3 years flawlessly. ESP32 with RFM95 :running for 3 months and works. I fist started with NRF24 on rpi, all okay. I encounter strange behaver whit RFM95 and raspberry gateway setup. Compiles without errors, start up as normal, init of radio is okay. But I can’t see any received message when running sudo ./bin/mysgw But my arduino nodes can see the gateway and all of data ai send with MYSController. And the nodes sends to gateway with no repose. The configure is. ./configure --my-gateway=ethernet --my-port=5004 --my-transport=rfm95 –my-rfm95-frequency=434 Did also try with interrupts no difference. I needed answerers. So I did a trace with my logic analyser on SPI bus on the rpi, and trace on ESP32 to compare against. Trace contain: Mar 06 22:08:00 INFO Starting gateway... Mar 06 22:08:00 INFO Protocol version - 2.4.0-alpha Mar 06 22:08:00 DEBUG MCO:BGN:INIT GW,CP=RLNGL---,FQ=NA,REL=0,VER=2.4.0-alpha Mar 06 22:08:00 DEBUG TSF:LRT:OK Mar 06 22:08:00 DEBUG TSM:INIT Mar 06 22:08:00 DEBUG TSF:WUR:MS=0 Mar 06 22:08:00 DEBUG TSM:INIT:TSP OK Mar 06 22:08:00 DEBUG TSM:INIT:GW MODE Mar 06 22:08:00 DEBUG TSM:READY:ID=0,PAR=0,DIS=0 Mar 06 22:08:00 DEBUG MCO:REG:NOT NEEDED Mar 06 22:08:00 DEBUG Listening for connections on 0.0.0.0:5004 Mar 06 22:08:00 DEBUG MCO:BGN:STP Mar 06 22:08:00 DEBUG MCO:BGN:INIT OK,TSP=1 Mar 06 22:08:00 DEBUG TSM:READY:NWD REQ Mar 06 22:08:07 DEBUG ?TSF:MSG:SEND,0-0-255-255,s=255,c=3,t=20,pt=0,l=0,sg=0,ft=0,st=NACK: Mar 06 22:23:00 DEBUG TSF:SAN:OK And after some time in RFM95 datasheet and a excel sheet to compare the data I did find something. The init of rfm95 chip on esp32 and raspberry is same,but after that things start go wrong on rpi. Channel activity detection (CAD) is skipped before transmit. Radio is not set to Receive continuous mode after transmit. Thise are all versions I have tried, the result was all the same. MySensors-2.3.0 MySensors-2.3.1 MySensors-2.3.2 MySensors-2.4.0-alpha Fresh raspbian Buster install gives some compile warnings, does not abort. Old card with raspbian stretch on, no compile warnings.[0_1583533696677_ESP32 RFM95 INIT DATA 1.ods](Uploading 100%)
  • First voltage measurement reading is high

    5
    0 Votes
    5 Posts
    77 Views
    G
    @NeverDie Excellent. Thank you.
  • RPI MQTT gateway stops communicating

    4
    0 Votes
    4 Posts
    69 Views
    O
    Yes, you are probably right. I both cases the RPI still have connection with the router and the deamon is (apperently) still active but not communicating. I have a wifi mesh network, and I have seen that clients are sometimes disconnected and reconnected. That might have something to do with it.
  • 1 Votes
    6 Posts
    121 Views
    J
    @tekka Thanks a lot!
  • Nodemcu 0.9 + MQTT gateway + TEMP + Motion Sensor

    6
    0 Votes
    6 Posts
    3k Views
    Aswinth RajA
    Hey I am also interfacing Temperature and PIR sensor with NodeMCU and having the same problem as you are. Did you solve it? I followed this ESP8266 MQTT Tutorial and got everything working without any trouble. But then problem starts when I connect my Temperature and PIR Sesnor. So, are the sleep functions not implemented yet? If this does not work my only option is to go back to Arduino and push the data serially to ESP-01. Kindly suggest me a way out. I can provide circuit and code if required
  • Swap node ID to another arduino

    3
    0 Votes
    3 Posts
    55 Views
    G
    @mfalkvidd Many thanks. I didn't know about the replace feature....I will check it out.

15

Online

11.7k

Users

11.2k

Topics

113.1k

Posts