Skip to content

Troubleshooting

Help! Everything just falls apart
2.7k Topics 21.5k Posts
  • Attempt to bind ttyMyGatewaySerial to openhab failing miserably

    7
    0 Votes
    7 Posts
    2k Views
    jerseyguy1996J
    Oh! It's working again. I had used the stock eeprom clear sketch in the arduino id to reset my node and I should have used the eeprom clear config sketch in the mySensors examples within the mySensors arduino library to clear the eeprom. I couldn't get it to auto assign a node ID so I just hard coded one using: gw.begin(NULL,3); Then I updated my item to use that node id and voila: 2016-07-17 17:49:17.721 [DEBUG] [.b.m.internal.MySensorsBinding] - internalReceiveUpdate(Temperature,20) is called! 2016-07-17 17:49:17.723 [DEBUG] [.b.m.internal.MySensorsBinding] - Temperature = 20 It's a good day!
  • Help with bed occupancy-sketch using preassure sensor

    2
    0 Votes
    2 Posts
    615 Views
    Cliff KarlssonC
    This is a regular basic sketch that uses the sensor. int FSR_Pin = A0; //analog pin 0 void setup(){ Serial.begin(9600); } void loop(){ int FSRReading = analogRead(FSR_Pin); Serial.println(FSRReading); delay(250); //just here to slow down the output for easier reading }
  • Problem: I don't get an IP address

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

    1
    0 Votes
    1 Posts
    4 Views
    No one has replied
  • Version 2.0 isn't working...

    9
    0 Votes
    9 Posts
    11k Views
    tekkaT
    @mk55 Excellent, happy to hear :)
  • MQTT unsure of relay state

    lighting relay mqtt switch openhab
    1
    0 Votes
    1 Posts
    1k Views
    No one has replied
  • problem with implementation of my sensors in rollershutter sketch

    13
    0 Votes
    13 Posts
    2k Views
    ihtgtwtdI
    well thanks, I already tried that because it looked suspicious ;-) but i was sending on switch 1 in domoticz and did not create a switch for 0. So it seems this thing works, thanks again for your help and the patience to deal with my noob questions :-)
  • Unable to get simple Gateway + Button Sensor to work together

    2
    0 Votes
    2 Posts
    1k Views
    tekkaT
    @thekeeno You can enable verbose mode for the nRF24: #define MY_DEBUG_VERBOSE_RF24 Please enable it for both, GW and node, and post the debug log here. Thanks.
  • incomingMessage is not initiated on relay sensor

    7
    0 Votes
    7 Posts
    2k Views
    NickBuilderN
    After migrating my few sketches to 2.0 and adjusting my baud rate to 38.4 kbps everything works! Thank you @scalz for pushing me to 2.0 and @ToniA for pointing out the poor choice of baud rate for the 8 Mhz Arduino. The recommended baud rate is now hard to miss in the 2.0 serial gateway example sketch. So moving to the latest API would possibly have solved my problems anyhow. // Define a lower baud rate for Arduino's running on 8 MHz (Arduino Pro Mini 3.3V & SenseBender) #if F_CPU == 8000000L #define MY_BAUD_RATE 38400 #endif Moving on to new challenges.
  • This topic is deleted!

    1
    0 Votes
    1 Posts
    80 Views
    No one has replied
  • Message during setup() doesn't work in version 2.0.x

    5
    0 Votes
    5 Posts
    866 Views
    YveauxY
    @spacejay it's always hard to judge a user's experience level. Anyway, great you created a workaround and can continue!
  • LDR as light sensor

    build ldr no data light senors
    9
    0 Votes
    9 Posts
    6k Views
    Flor SandersF
    @GertSanders Then I'll temporaraly switch over to a serial gateway. Thanks again for the info!
  • Gateway message confusion

    2
    0 Votes
    2 Posts
    595 Views
    S
    Here is the comparison of switching the light through my light switch node, through the on board button and then through the openhab interface: Light Switch Node: 0;0;3;0;9;read: 3-3-0 s=3,c=1,t=2,pt=2,l=2,sg=0:1 0;0;3;0;9;Sending message on topic: Gateway1-out/3/3/1/0/2 0;0;3;0;9;Message arrived on topic: Gateway1-in/4/1/1/0/2 0;0;3;0;9;send: 0-0-4-4 s=1,c=1,t=2,pt=0,l=1,sg=0,st=ok:1 On Board Button: 0;0;3;0;9;read: 4-4-0 s=1,c=1,t=2,pt=2,l=2,sg=0:1 0;0;3;0;9;send: 0-0-4-4 s=1,c=1,t=2,pt=2,l=2,sg=0,st=ok:1 0;0;3;0;9;Sending message on topic: Gateway1-out/4/1/1/0/2 OpenHab Interface: 0;0;3;0;9;Message arrived on topic: Gateway1-in/4/1/1/0/2 0;0;3;0;9;send: 0-0-4-4 s=1,c=1,t=2,pt=0,l=1,sg=0,st=ok:1
  • RFM69HW gateway + motion sensor unstable

    2
    0 Votes
    2 Posts
    751 Views
    NickB149N
    Seems that I was right, soldering the gateway and motion sensor nodes on a PCB solved the problem. :smile:
  • Can't upload MQTT Client Gateway to ESP8266

    3
    0 Votes
    3 Posts
    1k Views
    christianwaiteC
    HI, Thanks for getting back to me. Of note, the my sensors v.15 is actually 2.0.0 from the downloads. I have a 10k resistor from D0 to Gnd as suggested on various newsgroups, managed after about 5 attempts to flash the ESP8266 blink sketch, then it managed to flash the MQTT Client Gateway sketch after that. I'm not sure which of those things fixed it, but it's working now. Or it's uploaded anyway. Thanks Christian
  • ST=Fail unless I'm watching it

    11
    0 Votes
    11 Posts
    2k Views
    jerseyguy1996J
    @sundberg84 Dang....now I'm really confused. I was under the impression that PIGatewaySerial handled assigning node id's and such. How would I find that out? I don't see a whole lot of documentation on this repository although I'm sure it exists......it seems pretty well built. The end result of all of this is to hopefully bind this serial connection to openhab. That's the goal at least.
  • Can't figure out what I'm doing wrong with test setup

    32
    0 Votes
    32 Posts
    4k Views
    AWIA
    @linus72982 thanks. Now let the fun begin and share your idea's
  • Ethernet communication only

    2
    0 Votes
    2 Posts
    586 Views
    mk55M
    nvm just found my answer here: https://forum.mysensors.org/topic/4232/solved-gateway-without-radio-not-working-on-current-development-branch
  • RTC Module and DST/BST

    7
    0 Votes
    7 Posts
    2k Views
    AWIA
    @stetho :ok_hand: glad you found a solution for your situation. Please don't quote me on "similar problems with Domoticz" these were correctly solved with the assumption that the (Domoticz) controller is located in the timezone and therefore sends a *number * which represents the local time.
  • MQTT-Gateway - some questions

    softspi ethernet gateway
    2
    0 Votes
    2 Posts
    915 Views
    TheoLT
    @blebbens It's been a while. But if I remeber it correctly you have to set #define SOFTSPI in MyConfig.h too. Don't forget to comment it back when you're compiling a sketch for a node. My router uses DHCP as well. But I can assign a static IP in the sketch. Shouldn't be a problem. I'm not sure, but I think the arduino can't handle DHCP, it's a really simple ethernet card. So you need to assign an IP in the sketch.

25

Online

11.7k

Users

11.2k

Topics

113.1k

Posts