Navigation

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

    Best posts made by mhkid

    • SmartThings gateway transport

      I have created a gateway transport for the SmartThings hub. It works for me but it's definitely a work in progress. There are two pieces to this:

      • The MySensors gateway transport for SmartThings here.
      • The SmartThings gateway device handler located here.

      This is an Ethernet gateway transport that is designed to run on a Raspberry Pi 3 gateway. I have no plans right now to adapt to other platforms but feel free to contribute and add that support for other gateway devices.

      SmartThings has an API that is called via an http POST method. Right now this is a one way transport and that's from MySensors to SmartThings. It doesn't handle an http request from SmartThings to the MySensors gateway. I have gotten http requests to work from SmartThings to an esp8266 and an arduino with a W5100 though, so I know it can be done. You have to host a webserver and I think it's not working on the pi because the ethernetclient.cpp/ethernetserver.cpp is custom for MySensors on linux.

      You also have to install a SmartThings device handler for the MySensors gateway on SmartThings. The above repo contains the device handler and an example motion sensor device handler.

      I learned a ton about the way that MySensors is working and also the way that SmartThings works. I'm happy to answer questions and share any of that knowledge as I'm able to.

      posted in Controllers
      mhkid
      mhkid
    • RE: Started with MySensors and about to give up (some feedback)

      @alex28 I think these are fair criticisms. I've spent a ton of time with mysensors and have backed away because of some of these same things. I love the idea and appreciate the effort that's went into the platform. You have to tinker a lot and you spend more time figuring out problems with the platform than you do actually building sensors. Spending time troubleshooting only to find out others have spent time on the same thing or info is outdated takes the fun out of the process for me.

      However, having said that I keep coming back because I love the idea of this platform. Lots of really great ideas and great makers contributing here.

      posted in General Discussion
      mhkid
      mhkid
    • RE: Node registration problem

      @mfalkvidd nrf24, 4.7uf, and it's powered at 3.3v, I put a meter on it. I'm using the MySensors board by sunberg.

      I'll take a look at the guide, thanks.

      posted in Development
      mhkid
      mhkid
    • RE: Node registration problem

      @zboblamont Moved things around and that didn't work. I soldered up a new newbie pcb thinking maybe it was my solder job and tried that and I get the same result. I've swapped nrf24 radios out and still the same result.

      posted in Development
      mhkid
      mhkid
    • RE: Node registration problem

      I think I found the problem. I've been using an ESP32 for the gateway and hadn't had problems. For whatever reason I added this new node and I had the problems as described. I decided to try swapping the ESP32 out with an ESP8266 and things started working. I guess I'll stay with ESP8266 on the gateway.

      posted in Development
      mhkid
      mhkid