• Categories
    • Recent
    • Tags
    • Popular
    • Register
    • Login
    1. Home
    2. rayven
    R
    Offline
    • Profile
    • Following 0
    • Followers 0
    • Topics 4
    • Posts 12
    • Groups 0

    rayven

    @rayven

    0
    Reputation
    448
    Profile views
    12
    Posts
    0
    Followers
    0
    Following
    Joined
    Last Online

    rayven Unfollow Follow

    Latest posts made by rayven

    • RE: Trouble migrating from executable to docker image.

      @jkandasa

      sudo docker run --detach --name mycontroller --publish 8080:8080 --publish 8443:8443 --publish 9443:9443 --volume $PWD/mc_home:/mc_home --volume $PWD/mycontroller.yaml:/app/mycontroller.yaml --env TZ="America/New_York" --restart unless-stopped docker.io/mycontroller/server:2.1.0-devel

      I was getting a warning about metrics at the top of the webpage. It looked like it wasn't connecting to Influx. Are the mycontroller.yaml setting the same for the binary and the docker container?

      posted in General Discussion
      R
      rayven
    • RE: JavaScript evaluation question.

      @jkandasa I appreciate it.

      posted in General Discussion
      R
      rayven
    • JavaScript evaluation question.

      Are there any examples available for the JavaScript evaluation type for operations -> task ?

      I would like to evaluate current.timestamp and prevoius.timestamp for a time greater than 120seconds.

      posted in General Discussion
      R
      rayven
    • Trouble migrating from executable to docker image.

      I'm having trouble migrating from the stand alone executable to the docker image.

      Is it possible to do this via backup and restore?

      posted in General Discussion
      R
      rayven
    • RE: Is their an option to enable ack for messages the gateway originates?

      it may be a more universal solution for the node/switch to use the request(uint8_t childSensorId, uint8_t variableType) function and resend the command to the node/relayActuator after a timeout. This is what @jkandasa mentioned in his post earlier. Still if the node/switch receives the request() it does not know what sensor sent it. If this was contained in the message variable we could implement a fairly robust solution to this.

      posted in General Discussion
      R
      rayven
    • RE: Is their an option to enable ack for messages the gateway originates?

      @rayven the sending node/switch could set the state of the ackSensor to UNDEFINED and the receiving node/relayActuator can update it as to the STATE of the relay. So the receiving node/relayActuator needs to know which nodes to send an ackSensor STATUS update to. Because it wont know which node/sensor sent the message. All this goes out the window if the user toggles the switch quickly or there is more than one sender like the gateway and the node/switch.

      posted in General Discussion
      R
      rayven
    • RE: Is their an option to enable ack for messages the gateway originates?

      Are you sending the msg from the gateway or a node? If from a node then you could add a 'sensor' on the sending node that the second relayactuator could update as it switches the relay on. if the sending nodes 'sensor' isn't updated in the TIMEOUT period then it will resend the message.

      posted in General Discussion
      R
      rayven
    • RE: Is their an option to enable ack for messages the gateway originates?

      I moved to trying to use ack between two nodes to better understand what is being done. In the receive function I was unable to tell which node sent the ack. Like int NODE_ID = message.originatingNode similar to msg.setDestination(int NODE_ID). Seems like you would need to set a timer when you send a message to check and see if a ReceivedAck flag had been set in a TIMEOUT period. And in the receive function when we test for ack set the ack flag to true. My issue is not knowing what is being ack'ed. Are you acking my last message or the one of the previous messages. So I clearly dont understand the ack from the receive functions point of view....

      It is my understanding that the node sending the message that is requesting the ack will resend the message if no ack is heard within the parameters set in the mysensors code.

      posted in General Discussion
      R
      rayven
    • RE: Is their an option to enable ack for messages the gateway originates?

      Is this a possible feature or is there an insurmountable obstacle?

      posted in General Discussion
      R
      rayven
    • Is their an option to enable ack for messages the gateway originates?

      I have a sensor that controls a pump. Sometimes the pump does not receive the message the controller/gateway sends when i change the S_Binary sensor state to ON. I would like the gateway to request an ack from the sensor and retry if it does not get one. Is this possible?

      posted in General Discussion
      R
      rayven