• Categories
    • Recent
    • Tags
    • Popular
    • Register
    • Login
    1. Home
    2. mtiutiu
    Offline
    • Profile
    • Following 0
    • Followers 0
    • Topics 1
    • Posts 2
    • Groups 0

    mtiutiu

    @mtiutiu

    Passioned about embedded systems and hardware in general.

    0
    Reputation
    5
    Profile views
    2
    Posts
    0
    Followers
    0
    Following
    Joined
    Last Online
    Website github.com/mtiutiu
    Location Romania

    mtiutiu Unfollow Follow

    Latest posts made by mtiutiu

    • RE: REST API for smart sleep enabled nodes

      @jkandasa

      That's what I did in the end as a "workaround" and it works. I don't like this approach very much because I have to inspect what id I need to use as it seems to be different from the real node sensor id.
      It would be nice to have that working using the sendRawMessage endpoint also. I can open an issue on Github if needed.

      Thanks.

      posted in General Discussion
      mtiutiuM
      mtiutiu
    • REST API for smart sleep enabled nodes

      Hi,

      @jkandasa First of all great work! I really like this project and its simplicity. I'm sorry if I double post this but I have one simple question - when doing REST API calls to send messages to a specific node/sensor id does this work for sleeping nodes?
      I'm asking this because I tried yesterday to perform a REST API call using the sendRawMessage endpoint for a smart sleep enabled node and I noticed that it doesn't work all the time (I used your example from here). I mean sometimes it got the message but most of the times it didn't. I also have a custom widget on the dashboard for controlling it which was creating using this tutorial and it works all the time. Now I don't know how much the two are related behind the scenes but by using the REST API it seems not so reliable for me.

      Is there another way of accomplish this or am I missing something here?
      Or in another words is the sendRawMessage endpoint aware of smart sleep enabled sensors (if this makes sense) ?

      Forgot to mention - I'm using the MySensors back-end with a serial gateway and MyController version: 1.4.0.

      Thank you for your help.

      posted in General Discussion
      mtiutiuM
      mtiutiu