Navigation

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

    Topics created by bgunnarb

    • bgunnarb

      MQTT GW on ESP8266 supporting SSL/TLS?
      Development • esp8266 mqtt gw • • bgunnarb  

      6
      0
      Votes
      6
      Posts
      30
      Views

      OldSurferDude

      @bgunnarb I like @eiten 's solution for you. Personally, I am not a fan of using cloud/public brokers. Thus I am curious about your system and there is something about it from which I can learn. I would like to understand why you cannot deploy your own mosquitto broker. I see your set up as 3 sensor groups defined by the channel used #define MY_RF24_CHANNEL ChannelOfSensorGroup Each sensor group has some number of sensors and one MQTT GW on ESP8266. On the MQTT side, do you distinguish between gateways by using a different host name? Something like: #define MY_MQTT_PUBLISH_TOPIC_PREFIX "mygateway-nOf3-out" #define MY_MQTT_SUBSCRIBE_TOPIC_PREFIX "mygateway-nOf3-in" #define MY_MQTT_CLIENT_ID "mysensors-nOf3" #define MY_HOSTNAME "ESP8266_MQTT_GW_nOf3" //#define MY_CONTROLLER_IP_ADDRESS 192, 168, 178, 68 #define MY_CONTROLLER_URL_ADDRESS "test.mosquitto.org" #define MY_PORT 1883 I must assume your controller (aka Home Assistant) discriminates between through which gateway the data is to flow by way of the different topic names. If my "something like" is correct, then changing brokers is changing the IPaddress/URL in your gateways and in your controller (though if the controller is Home Assistant, it may be a bother because the device-id's may change which will make a mess of all the work you've done in HA. This is why I like @eiten 's solution.) I hope it's all working for you again. OSD
    • bgunnarb

      Can a sensor "get lost" between a GW and a repeater?
      Troubleshooting • repeater • • bgunnarb  

      4
      0
      Votes
      4
      Posts
      24
      Views

      bgunnarb

      Thanks to @electrik and @mfalkvidd for your answers. I will try next time I have the opportunity. Currently the sensor is 400 km away from home.
    • bgunnarb

      3D printed housing for an MQTT-GW
      Enclosures / 3D Printing • • bgunnarb  

      6
      2
      Votes
      6
      Posts
      96
      Views

      bgunnarb

      @evb Done that. Here is the link
    • bgunnarb

      MQTT GW on RPi A drops connection after a while
      Troubleshooting • • bgunnarb  

      7
      0
      Votes
      7
      Posts
      781
      Views

      CrankyCoder

      I ended up setting up some monitoring that if by some chance it does go belly up my monitoring will do a recovery action. But it does still happen from time to time, which is strange.
    • bgunnarb

      What do "error-blinks" say?
      Development • • bgunnarb  

      1
      1
      Votes
      1
      Posts
      358
      Views

      No one has replied

    • bgunnarb

      Bad downlink radio solved by updating gateway
      Troubleshooting • • bgunnarb  

      3
      0
      Votes
      3
      Posts
      672
      Views

      bgunnarb

      Ah! Sorry, misprint. Now using 2.2.0, not 2.0.0!
    • bgunnarb

      What is the time code in debug messages?
      Troubleshooting • • bgunnarb  

      4
      0
      Votes
      4
      Posts
      954
      Views

      mfalkvidd

      @bgunnarb correct, the counter is frozen during sleep.
    • bgunnarb

      Node does not re-connect to the GW after loss of contact
      Troubleshooting • radio fail • • bgunnarb  

      1
      0
      Votes
      1
      Posts
      538
      Views

      No one has replied

    • bgunnarb

      Motion detector with temperature and barometer function
      My Project • temperature pressure motion sensor • • bgunnarb  

      1
      1
      Votes
      1
      Posts
      1364
      Views

      No one has replied

    • bgunnarb

      [SOLVED] Cannot get GwWS5100MQTT to connect to cloudmqtt.com
      Troubleshooting • • bgunnarb  

      9
      0
      Votes
      9
      Posts
      4750
      Views

      bgunnarb

      @Yveaux I am so terribly embarrassed! In order to rule out something wrong with the WS5100 I rebuilt the GW using an old Arduino UNO with an Ethernet shield. Still same problem. Then to really make sure I pasted/copied username and password from the cloudmqtt into the sketch. Immediate success! It turned out that I had misread an uppercase I (indigo) for a lower case l (lima). Still the suggestions from the community were good since I could iron out one possible cause after another. Thanks for the support!