Navigation

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

    Topics created by aaron832

    • aaron832

      Sensor continue without connection
      General Discussion • • aaron832  

      2
      0
      Votes
      2
      Posts
      725
      Views

      mfalkvidd

      @aaron832 there is currently not, but joining forces with the people in https://forum.mysensors.org/topic/4449/how-to-disable-default-node-registration-to-the-gw/ who also want this might be a good idea.
    • aaron832

      Using mqttGateway2.pl for Serial to MQTT on RaspberryPI
      General Discussion • • aaron832  

      31
      0
      Votes
      31
      Posts
      9987
      Views

      robosensor

      Not sure I'm doing this right way, but changing this line: fh => $serialDevice->{'HANDLE'}, to this line fh => new_from_fd IO::Handle ($serialDevice->{FD}, "w"), Fixed Filehandle GEN0 opened only for input bug for me on RPi 2. Fix works because of $serialDevice->{'HANDLE'} is opened as read only in SerialDevice and should not be used for write: # a handle object for ioctls: read-only ok $self->{HANDLE} = new_from_fd IO::Handle ($self->{FD}, "r");