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
OnBokBeachO

OnBokBeach

@OnBokBeach
About
Posts
2
Topics
1
Shares
0
Groups
0
Followers
0
Following
0

Posts

Recent Best Controversial

  • Is it possible to request an ACK from the controller?
    OnBokBeachO OnBokBeach

    @hek Thanks for the quick reply.
    Now that I understand that things are operating as intended it is not really an issue. The serial GW appears to be very reliable and I plan to have it and the controller on a UPS. From my perspective, I'll treat the GW as part of the controller. Providing the controller is reliable then I'm OK....

    On a side note, in your other posts you point to your example which uses the ACK to set the relay. Although this is very elegant it does not suit my case where I want the relays to be stand alone such that they continue to operate the lights, extractor fan,etc. when the GW/controller is down. This is way more important (to me) than the possibility of the controller getting out of sync occasionally. I have been considering using Z-Wave for some of the relays but there does seem to be plenty of issues with that protocol .... sigh!

    @mfalkvidd Thank you for the link. Unfortunately my searching skills aren't too good...it's an age thing ;-)
    I agree that documentation is the important thing here. If we understand how the protocols work then we can live within their limitations. MySensors already does way more then I expected and way easier too. If I have to use some Z-Wave or even hard wire something, it's no big deal (well now that Domoticz, OpenHAB, etc. can bring them all together). Well that's my theory for now ;-)

    Cheers
    Chris

    General Discussion

  • Is it possible to request an ACK from the controller?
    OnBokBeachO OnBokBeach

    I'm just another nubie at home automation, Arduinos and certainly MySensors.

    Thanks for the MySensors software.... sure makes it simple compared to what I was attempting to do...

    I'm using MySensors 2.0.0-beta and the serial gateway to Domoticz.

    I'm creating (yet another variant) of the relay sketch. I'm not using signing but otherwise I'm trying to make this robust. Everything seems to be working fine but I have concerns relating to how I should handle ACKs.

    Domoticz always seems to request an ACK when it sets a switch. So when Domoticz sends a command to turn a relay ON|OFF, MySensors internally sends back an ACK. Too easy!

    The problem I face, is how to request an ACK from the controller when my sketch sends a status update? Initially I thought that I could simply test the return value of the send() call. However, it appears that this simply indicates that the message successfully made the next hop (and not its destination). My sketch sets the request ACK flag in the message but an ACK can never be returned because the serial protocol doesn't allow it to be passed through to the controller. The way I see it, it is a one way street. Have I missed something really basic?

    It seems to me that when controlling actuators, ACKs are necessary yet I cannot see how they can be sent both ways.

    Can anyone shed some light on this.

    Thanks
    Chris

    General Discussion
  • Login

  • Don't have an account? Register

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