Skip to content
  • MySensors
  • OpenHardware.io
  • Categories
  • Recent
  • Tags
  • Popular
Skins
  • Light
  • Brite
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Brand Logo
ATXCoderA

ATXCoder

@ATXCoder
About
Posts
8
Topics
4
Shares
0
Groups
0
Followers
0
Following
0

Posts

Recent Best Controversial

  • Missing mysensors_XYZ.pretty files
    ATXCoderA ATXCoder

    Ok, so I must have misread or just had a "space-out" moment when reading that part, but after creating the *.pretty directories it worked. Thanks!

    KiCad

  • MQTT Gateway - Stuck on "Started!"
    ATXCoderA ATXCoder

    Arduino IDE: 1.6.5
    OS: Windows 8.1
    MySensor Library: 1.4

    I started out by wiring up the W5100 Ethernet Module, NRF24L01+, and DCcduino UNO (Arduino Uno Clone) as per the Ethernet Gateway guide (http://www.mysensors.org/build/ethernet_gateway). I then:

    1. Downloaded the 1.4 MySensors Library from http://www.mysensors.org/download/

    2. Unzipped the Arduino-Master.zip file and copied the "Libraries" folder in to my sketch book folder.

    3. Restarted the Arduino IDE and loaded the MQTT Sketch

    4. Defined a static IP and port

    #define TCP_PORT 1884
    IPAddress TCP_IP ( 192, 168, 1, 50 );
    byte TCP_MAC[] = { 0x02, 0xDE, 0xAD, 0x00, 0x00, 0x42 };	
    
    

    I am using 1884 so it dos't conflict with my existing Mosquitto MQTT Server

    1. I edited RF24_config.h to enable soft-spi
     /*** USER DEFINES:  ***/  
      //#define FAILURE_HANDLING
      //#define SERIAL_DEBUG  
      #define MINIMAL
      //#define SPI_UART  
      #define SOFTSPI   
      /**********************/
    

    When I upload the sketch everything seems to load fine. I can ping the gateway and get a valid response. When I look at the serial monitor window all I see is
    Started!

    I am pretty sure there should be more in the serial monitor window. I am not able to connect to the gateway with a MQTT Client though (using MQTTlens Chrome App). I don't have any sensors online yet, just trying to get the MQTT Gateway up and running and then test using it with OpenHAB (or maybe HomeGenie).

    Looking for some assistance, troubleshooting steps, etc. Any help is appreciated. Thanks!

    Troubleshooting
  • Login

  • Don't have an account? Register

  • Login or register to search.
  • First post
    Last post
0
  • MySensors
  • OpenHardware.io
  • Categories
  • Recent
  • Tags
  • Popular