Navigation

    • Register
    • Login
    • OpenHardware.io
    • Categories
    • Recent
    • Tags
    • Popular
    1. Home
    2. George Whitehouse
    3. Topics
    • Profile
    • Following
    • Followers
    • Topics
    • Posts
    • Best
    • Groups

    Topics created by George Whitehouse

    • George Whitehouse

      Relay connection with MQTT?
      OpenHAB • • George Whitehouse  

      13
      0
      Votes
      13
      Posts
      5505
      Views

      George Whitehouse

      @mbj Thanks, I will give the MQTT Client sketch a go soon. Cheers,
    • George Whitehouse

      How to assign static node ID?
      Development • • George Whitehouse  

      8
      0
      Votes
      8
      Posts
      5537
      Views

      GertSanders

      Here are the defines I put in my sketches for the development library: //#define MY_NODE_ID 1 //#define MY_PARENT_ID 0 // Possible values for Arduino IDE: 9600, 19200, 38400, 57600, 74880, 115200, 230400, 250000 // The last three values are only possible if the mcu works at 16Mhz or more, not possible for 8MHz operation. //#define MY_BAUD_RATE 57600 //#define MY_RADIO_NRF24 //#define MY_RADIO_RFM69 // Enable serial gateway //#define MY_GATEWAY_SERIAL // Enabled repeater feature for this node //#define MY_REPEATER_FEATURE // Flash leds on rx/tx/err //#define MY_LEDS_BLINKING_FEATURE // Set blinking period //#define MY_DEFAULT_LED_BLINK_PERIOD 300 // Enable inclusion mode //#define MY_INCLUSION_MODE_FEATURE // Enable Inclusion mode button on gateway //#define MY_INCLUSION_BUTTON_FEATURE // Set inclusion mode duration (in seconds) //#define MY_INCLUSION_MODE_DURATION 60 // Digital pin used for inclusion mode button //#define MY_INCLUSION_MODE_BUTTON_PIN 3 //#define MY_DEFAULT_ERR_LED_PIN 5 // Error led pin //#define MY_DEFAULT_RX_LED_PIN 6 // Receive led pin //#define MY_DEFAULT_TX_LED_PIN 7 // the PCB, on board LED // possible values: RF24_PA_LOW (is default on gateway), RF24_PA_MED, RF24_PA_HIGH, RF24_PA_MAX (is default on nodes) //#define MY_RF24_PA_LEVEL RF24_PA_HIGH // RF channel for the sensor net, 0-127. Channel 76 is the default in all library examples //#define MY_RF24_CHANNEL 76 //RF24_250KBPS for 250kbs (default), RF24_1MBPS for 1Mbps, or RF24_2MBPS for 2Mbps //#define MY_RF24_DATARATE RF24_250KBPS
    • George Whitehouse

      MQTT Client Gateway with Uno?
      OpenHAB • • George Whitehouse  

      11
      0
      Votes
      11
      Posts
      4606
      Views

      George Whitehouse

      Fantastic thanks for the tips and direction. While it may not look look like much... It works! And after a quick update to the openHAB items file they update just the same as the MQTT broker gateway. Now time to build it into a nice plastic box and figure out how to send it data for a relay. Thanks again. Cheers, George
    • George Whitehouse

      MQTT gateway works great but drops the connection every 2 mins?
      OpenHAB • • George Whitehouse  

      9
      0
      Votes
      9
      Posts
      3838
      Views

      George Whitehouse

      @DerPest great thanks for that. Yes I will give the MQTT client gateway a try tomorrow. Thanks. Regards, George
    • George Whitehouse

      Help with MQTT gateway
      Troubleshooting • • George Whitehouse  

      6
      0
      Votes
      6
      Posts
      1733
      Views

      George Whitehouse

      @gregl thanks for that I will give the MQTT client gateway a try. Yes it makes sense now why I can't see the MQTT gateway in the router, quite new to this so it a bit of a learning curve. Thanks again. Regards, George
    • George Whitehouse

      MQTT gateway compiling error
      Development • • George Whitehouse  

      4
      0
      Votes
      4
      Posts
      1100
      Views

      George Whitehouse

      Thanks for that, I uploaded the sketch. It did note, "WARNING: Category '' in library UIPEthernet is not valid. Setting to 'Uncategorized'" Is this a problem? After uploading I am having trouble finding the MQTT broker. It does not seem to connect to the netgear router on the IP I set, 192, 168, 0, 100. The IP range is ok. I built it inline with the instructions and there are flashing lights on the W5100. Could someone point me in the right direction? Cheers, George