Navigation

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

    Topics created by matkor

    • matkor

      How ethernet gateway code can check if is connected with controller?
      Development • • matkor  

      3
      0
      Votes
      3
      Posts
      52
      Views

      matkor

      Answering one of my own questions. On ethernet gateway send() may return true when there is no connected controller, even when there is no ethernet cable plugged in.
    • matkor

      How can one use MyMessage class in library?
      Development • • matkor  

      5
      0
      Votes
      5
      Posts
      78
      Views

      matkor

      @matkor said in How can one use MyMessage class in library?: Switching both clashing functions ( wakeUp1(), wakeUp2() ) to static functions seems to fix linking for me. This sees to be deadend as there come more function name clashes, and i suspect linking problems come from magic done by arduino IDE. Current hack for me is include in arduino sketch my lib headers after including MySensors: #include <MySensors.h> #include <MyLib.h> and than inside library use only: #include <core/MySensorsCore.h> not sure if its right solution, if one has any better please share.
    • matkor

      Is it possible to reduce SRAM usage of Arduino Nano ethernet MySensors gateway (based on ECN28J60) ?
      Development • • matkor  

      3
      0
      Votes
      3
      Posts
      276
      Views

      matkor

      @mfalkvidd Use the W5100 module instead (if you need ethernet) Good idea, thanks! Same code, but only W5100 based: Sketch uses 17190 bytes (...) Global variables use 853 bytes (41%) Using W5500 ( Ethernet2.h ) gives even better: Sketch uses 14712 bytes (...) Global variables use 809 bytes (39%) If you don’t need ethernet, use usb or wifi since those options also use less ram. I need some kind of 25m wire so options are ethernet, RS-485 or PJON
    • matkor

      What is proper presentation type for binary push button? S_BINARY ? And how make controller distinguish between binary button (RO) and binary switch (RW)?
      Development • binary binary switches presentation • • matkor  

      2
      0
      Votes
      2
      Posts
      272
      Views

      mfalkvidd

      @matkor it is currently not possible. https://github.com/mysensors/MySensors/issues/1312 suggests a solution but there has been no forward progress lately.