• Categories
    • Recent
    • Tags
    • Popular
    • Register
    • Login

    V_HVAC_FLOW_STATE issue

    Scheduled Pinned Locked Moved Developers Zone
    10 Posts 4 Posters 1.1k Views 1 Watching
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • D Offline
      Daniele
      last edited by

      Hi,
      I have a flow state sensor, and I'd like to change the state at pre-defined times during the day.
      I created a timer and an operation like this:
      0_1536557828124_a3616db8-f4e0-4f92-a063-38bde3f016cd-image.png
      but the state doesn't change.
      I tried adding single or double quotes to the payload, the sensor value changes but it's incorrect (i.e. contains also the quotes).
      Am I missing something?
      I'm using MC 1.3.0 final.
      Thanks
      Daniele

      skywatchS jkandasaJ 2 Replies Last reply Reply Quote 0
      • skywatchS Offline
        skywatch @Daniele
        last edited by

        @daniele It would help if you could post your code for the node so we can see how you are getting the data and using it.

        FWIW I prefer to do things like this within the node. That way, if the controller goes down the node still carries on doing its job. You could add a RTC to the node to help with this, I am doing this with a node later this week.

        1 Reply Last reply Reply Quote 0
        • D Offline
          Daniele
          last edited by

          @skywatch , I understand your suggestion, but I usually prefer having all the logic in one place (the controller), and having the nodes as simple as possible, let's say simple executors of what the controller tells them.

          BTW, in this case I'm using a "virtual" sensors (attached to a real node in MyController), so the node doesn't have anything to do; I need it as a state variable that determines the way the controller logic works.

          1 Reply Last reply Reply Quote 0
          • jkandasaJ Offline
            jkandasa @Daniele
            last edited by

            @daniele

            • Do you see any error on mycontroller.log log file?
            • Do you see any date in Status >> Resources logs page?
            • Can you check your node receives the payload when you operate directly?
            1 Reply Last reply Reply Quote 0
            • D Offline
              Daniele
              last edited by

              @jkandasa :

              • 2018-09-10 17:34:50,038 WARN [Quartz_Scheduler_Worker-9] [org.mycontroller.standalone.message.McActionEngine:158] Not supported opration! OperationTable for sensor variable:[Off]
              • nothing under resource logs
              • node is working properly if I change the sensors value manually from the dashboard
              1 Reply Last reply Reply Quote 0
              • N Offline
                ncollins
                last edited by

                Have you tried setting the payload value to 0 instead of "Off"?

                1 Reply Last reply Reply Quote 0
                • D Offline
                  Daniele
                  last edited by

                  I tried also with numbers.
                  The value changes in the dashboard, but becomes the number, not the corresponding label

                  jkandasaJ 2 Replies Last reply Reply Quote 0
                  • jkandasaJ Offline
                    jkandasa @Daniele
                    last edited by

                    @daniele Thanks for the detailed report. It is a bug in MyController. I have opened a ticket. I will fix it soon.

                    https://github.com/mycontroller-org/mycontroller/issues/466

                    1 Reply Last reply Reply Quote 0
                    • jkandasaJ Offline
                      jkandasa @Daniele
                      last edited by

                      @daniele I have added fix for this issue, kindly check it in SNAPSHOT version.

                      If you want to use special operation on your payload, should starts with sp:,

                      Example: I want to use toggle special operation. payload should be as sp:toggle

                      1 Reply Last reply Reply Quote 0
                      • D Offline
                        Daniele
                        last edited by

                        Works perfectly!
                        You rock!

                        1 Reply Last reply Reply Quote 1
                        • First post
                          Last post

                        0

                        Online

                        587

                        Users

                        529

                        Topics

                        3.4k

                        Posts
                        Copyright © 2015-2025 MyController.org | Contributors | Localization