Navigation

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

    logger02

    @logger02

    4
    Reputation
    11
    Posts
    336
    Profile views
    0
    Followers
    0
    Following
    Joined Last Online

    logger02 Follow

    Best posts made by logger02

    • RE: WDT doesn't work well

      I'm going to answer me.

      The problem was the bootloader, I have flashed the MYSbootloader and the WDT is working well.

      Anybody know a bootloader compatible with MYS but it run quickly? because MYSbootloader spends 10seconds to start

      posted in Development
      logger02
      logger02
    • RE: Combine DimmableLEDActuator sketch with RelayActuator Sketch

      @rsaeful said:

      if (message.type == V_LIGHT || message.type == V_DIMMER) {

      I think that you must to separate the both input messages in two anidate if, like:

      if (message.type == V_LIGHT) {
      // Here the code for the relay
      }else if ( message.type == V_DIMMER) {
      // Here the code for the dimmer
      }

      I hope that it will be useful for you

      posted in Troubleshooting
      logger02
      logger02
    • RE: WDT doesn't work well

      I answer me again, I try the optiboot bootloader and it work well with mysensor library and WDT enable.

      I hope that the solution is useful for more people

      PD: The optiboot bootloader can be downloaded from here: https://github.com/Optiboot/optiboot/tree/master/optiboot

      posted in Development
      logger02
      logger02
    • RE: Starting flowchart

      I agree with you, if you use have a radio in your system is because you want to control it remotely.

      But I think that there is more reason:

      1. Mysensor could be an additional function on my system, not the only one. So the others system will not work.
      2. Safety requirement, the system shall run free without knowledged locks. If the GW go down for any reason, maybe beacause is broken, your system could be no work. Is not a common case, but it's a real case.

      In my case, my node have a digital input (switch on the wall) and a digital output, the digital output (relay) is manage from the Mysensor node and from the digital input. If the GW is broken, the digital output will not work till I fix or change the GW. It can pass one day or one week it depend of the job. My wife will be very hungry if she can not manage the house manually with the tradional swithes on the wall.

      Any way, it's a feature that I think that could be take into account for next release. Is not very important because is not usual has not GW in the network, but I think that is a safety requirement to add in next deliveries.

      Thank a lot for your support.

      It's a nice forum

      posted in Troubleshooting
      logger02
      logger02

    Latest posts made by logger02

    • RE: WDT doesn't work well

      Thank you to confirm it

      posted in Development
      logger02
      logger02
    • RE: WDT doesn't work well

      I answer me again, I try the optiboot bootloader and it work well with mysensor library and WDT enable.

      I hope that the solution is useful for more people

      PD: The optiboot bootloader can be downloaded from here: https://github.com/Optiboot/optiboot/tree/master/optiboot

      posted in Development
      logger02
      logger02
    • RE: WDT doesn't work well

      I'm going to answer me.

      The problem was the bootloader, I have flashed the MYSbootloader and the WDT is working well.

      Anybody know a bootloader compatible with MYS but it run quickly? because MYSbootloader spends 10seconds to start

      posted in Development
      logger02
      logger02
    • WDT doesn't work well

      Hello,

      I'm testing the library 2.0 with WDT enabled.

      In before() I add "wdt_enable(wdto_8seg)" and I comment from the _proces() the line "hwWatchdogReset();" to force the wdt reset after 8seg

      After wdt reset, the system crash and it is not restore. If I do a manual reset, neither it is restore. I need to remove the power supply to restore the system.

      Need I use a especial bootloader to use wdt with mysensor? I'm using the default bootloader flashed in the arduino pro mini v3

      posted in Development
      logger02
      logger02
    • RE: Starting flowchart

      I agree with you, if you use have a radio in your system is because you want to control it remotely.

      But I think that there is more reason:

      1. Mysensor could be an additional function on my system, not the only one. So the others system will not work.
      2. Safety requirement, the system shall run free without knowledged locks. If the GW go down for any reason, maybe beacause is broken, your system could be no work. Is not a common case, but it's a real case.

      In my case, my node have a digital input (switch on the wall) and a digital output, the digital output (relay) is manage from the Mysensor node and from the digital input. If the GW is broken, the digital output will not work till I fix or change the GW. It can pass one day or one week it depend of the job. My wife will be very hungry if she can not manage the house manually with the tradional swithes on the wall.

      Any way, it's a feature that I think that could be take into account for next release. Is not very important because is not usual has not GW in the network, but I think that is a safety requirement to add in next deliveries.

      Thank a lot for your support.

      It's a nice forum

      posted in Troubleshooting
      logger02
      logger02
    • RE: Starting flowchart

      Thank you for your response, at least, I have the start initialization more clear.

      There is any way to jump the handshake?

      posted in Troubleshooting
      logger02
      logger02
    • RE: Starting flowchart

      @TheoL said:

      stall

      So, you mean that the infinite loop looking for a GW is only to the beginning. After the first conexion the main loop will be run?

      posted in Troubleshooting
      logger02
      logger02
    • RE: Starting flowchart

      @TheoL said:

      this topic

      Thank you for you fast answer.

      I didn't explain me well. I mean that the button is in the same PCB that the relay that switch the light. So only there is a node

      The node have two inputs to switch one output:

      1. Digital input from a external buttom
      2. A message from the controller throught the MySensor network.

      Anyway, if I'll try your remarks.

      posted in Troubleshooting
      logger02
      logger02
    • RE: Combine DimmableLEDActuator sketch with RelayActuator Sketch

      Could you paste the code?

      posted in Troubleshooting
      logger02
      logger02
    • RE: Combine DimmableLEDActuator sketch with RelayActuator Sketch

      @rsaeful said:

      if (message.type == V_LIGHT || message.type == V_DIMMER) {

      I think that you must to separate the both input messages in two anidate if, like:

      if (message.type == V_LIGHT) {
      // Here the code for the relay
      }else if ( message.type == V_DIMMER) {
      // Here the code for the dimmer
      }

      I hope that it will be useful for you

      posted in Troubleshooting
      logger02
      logger02