Skip to content
  • MySensors
  • OpenHardware.io
  • Categories
  • Recent
  • Tags
  • Popular
Skins
  • Light
  • Brite
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Brand Logo
  1. Home
  2. Bug Reports
  3. S_HVAC device on vera doesnt set set point to arduino

S_HVAC device on vera doesnt set set point to arduino

Scheduled Pinned Locked Moved Bug Reports
30 Posts 6 Posters 10.9k Views 6 Watching
  • 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.
  • A Offline
    A Offline
    akbooer
    wrote on last edited by
    #11

    @blacey
    You are, of course, right. The problem is that the plugin does not implement the TemperatureSetpoint1 service. Requires a small change to the I_Arduino1.xml file and possibly the Lua file too.

    1 Reply Last reply
    0
    • L Offline
      L Offline
      leeoz
      wrote on last edited by
      #12

      R u guys going to update the GitHub files and publish it? or you want to give me some instructions on where to change what and test it?
      Let me know if I can be any help (mybe sending you my log or somthing...)
      tnx
      Leeoz

      1 Reply Last reply
      0
      • A Offline
        A Offline
        akbooer
        wrote on last edited by
        #13

        The point is that no one actually has a solution right now.

        I see two ways forward, described here

        http://forum.micasaverde.com/index.php/topic,27712.msg246892.html#msg246892

        And here

        http://forum.micasaverde.com/index.php/topic,28943.msg207265.html#msg207265

        The second one requires us to do nothing but wait for a month (so they say) at which time the Vera firmware will be changed to reinstate the missing command.

        The first approach is a pragmatic workaround which could be relatively easily coded in the modules I mentioned previously.

        1 Reply Last reply
        0
        • L Offline
          L Offline
          leeoz
          wrote on last edited by
          #14

          L_Arduino.lua I_Arduino1.xml MyMessage.h

          So I fixed it with simple fix.
          After reading this:
          http://forum.mysensors.org/topic/1337/request-new-sensor-type-thermostatically-controlled-switch/2
          Attached are the latest lua+xml+h files with the fix I've made.
          Leeoz

          1 Reply Last reply
          0
          • korttomaK Offline
            korttomaK Offline
            korttoma
            Hero Member
            wrote on last edited by
            #15

            Hi @leeoz would you mind sharing the arduino sketch for the HVAC device from this project?

            • Tomas
            1 Reply Last reply
            0
            • korttomaK Offline
              korttomaK Offline
              korttoma
              Hero Member
              wrote on last edited by
              #16

              I finally put together a thermostat device sketch. Unfortunately it got a bit out of hand and I implemented lots of features that most people probably not need.

              Not sure if I'm using the V_HVAC_FLOW_STATE and V_HVAC_SETPOINT_HEAT correctly but it seems to work with my Vera UI5 presented as a S_HEATER device.

              Here is the sketch in case someone needs it.

              https://codebender.cc/sketch:169733

              • Tomas
              1 Reply Last reply
              0
              • korttomaK Offline
                korttomaK Offline
                korttoma
                Hero Member
                wrote on last edited by korttoma
                #17

                Is anyone using Heater device in Vera UI7? Just moved my thermostat to a VeraPlus but it is not quite working correctly. Cant send setpoint value to the device. Sending Heat and Off command works as expected and also status changes are received in Vera. I need to get my z-Wave thermostat moved from my UI5 Veralite to the VeraPlus to do some comparison of the variables used. Then I'll look in to the MySensors GW plugin files if I can find something in need of fixing.

                • Tomas
                petewillP 1 Reply Last reply
                0
                • korttomaK korttoma

                  Is anyone using Heater device in Vera UI7? Just moved my thermostat to a VeraPlus but it is not quite working correctly. Cant send setpoint value to the device. Sending Heat and Off command works as expected and also status changes are received in Vera. I need to get my z-Wave thermostat moved from my UI5 Veralite to the VeraPlus to do some comparison of the variables used. Then I'll look in to the MySensors GW plugin files if I can find something in need of fixing.

                  petewillP Offline
                  petewillP Offline
                  petewill
                  Admin
                  wrote on last edited by
                  #18

                  @korttoma
                  Coincidentally I am working on a thermostat prototype using your code now. I actually just found an error in the Vera files while I was doing some testing. Try uploading the I_Arduino1.xml and L_Arduino.lua to your Vera from here: https://github.com/mysensors/Vera/tree/UI7

                  My "How To" home automation video channel: https://www.youtube.com/channel/UCq_Evyh5PQALx4m4CQuxqkA

                  korttomaK 1 Reply Last reply
                  0
                  • petewillP petewill

                    @korttoma
                    Coincidentally I am working on a thermostat prototype using your code now. I actually just found an error in the Vera files while I was doing some testing. Try uploading the I_Arduino1.xml and L_Arduino.lua to your Vera from here: https://github.com/mysensors/Vera/tree/UI7

                    korttomaK Offline
                    korttomaK Offline
                    korttoma
                    Hero Member
                    wrote on last edited by
                    #19

                    @petewill I actually tried the new files yesterday but I could not get the termostat to work. For some reason the window cover device allso stoped working so I went back to the old file. I dont know why but I suspect that I should update the GW since I dont remember when I updated it an not sure of the version running on it.

                    • Tomas
                    petewillP 1 Reply Last reply
                    0
                    • korttomaK korttoma

                      @petewill I actually tried the new files yesterday but I could not get the termostat to work. For some reason the window cover device allso stoped working so I went back to the old file. I dont know why but I suspect that I should update the GW since I dont remember when I updated it an not sure of the version running on it.

                      petewillP Offline
                      petewillP Offline
                      petewill
                      Admin
                      wrote on last edited by
                      #20

                      @korttoma Wow, that's strange that your window coverings stopped working! I have window coverings and they are working after the update. Maybe updating the gateway is a good idea :)

                      Are you able to get the logs from the heater device? The window covering messages are 29-31 which are no where near the heater messages which is why this is so strange (to me at least).

                      My "How To" home automation video channel: https://www.youtube.com/channel/UCq_Evyh5PQALx4m4CQuxqkA

                      korttomaK 1 Reply Last reply
                      0
                      • petewillP petewill

                        @korttoma Wow, that's strange that your window coverings stopped working! I have window coverings and they are working after the update. Maybe updating the gateway is a good idea :)

                        Are you able to get the logs from the heater device? The window covering messages are 29-31 which are no where near the heater messages which is why this is so strange (to me at least).

                        korttomaK Offline
                        korttomaK Offline
                        korttoma
                        Hero Member
                        wrote on last edited by
                        #21

                        @petewill yeah it seems like the GW was completely frozen so i it was not window cover related. I think it froze from the commands I tried to send to the heater (I think the version of the GW is 1.5 so I'm not sure if the HVAC device is handled). I was looking in to updating my GW yesterday but I could not get the 1.5.4 GW to compile using codebender.

                        Did you already build the thermostat device?

                        I was thinking should it be presented as HVAC device or is it stil ok to use HEATER like in my example. Hocking up some serial logging to my live thermostat is not something I'm prepared to do, I usually do debugging like this on a smal system at work but I will not have access to this till next week.

                        • Tomas
                        petewillP 1 Reply Last reply
                        0
                        • korttomaK korttoma

                          @petewill yeah it seems like the GW was completely frozen so i it was not window cover related. I think it froze from the commands I tried to send to the heater (I think the version of the GW is 1.5 so I'm not sure if the HVAC device is handled). I was looking in to updating my GW yesterday but I could not get the 1.5.4 GW to compile using codebender.

                          Did you already build the thermostat device?

                          I was thinking should it be presented as HVAC device or is it stil ok to use HEATER like in my example. Hocking up some serial logging to my live thermostat is not something I'm prepared to do, I usually do debugging like this on a smal system at work but I will not have access to this till next week.

                          petewillP Offline
                          petewillP Offline
                          petewill
                          Admin
                          wrote on last edited by
                          #22

                          @korttoma

                          I was looking in to updating my GW yesterday but I could not get the 1.5.4 GW to compile using codebender.

                          Hmm. I always use the arduino IDE and download the code form Github so I'm not sure about this one.

                          Did you already build the thermostat device?

                          It is currently a work in process. I have an A/C device as well so I'm doing quite a bit of coding for that. I am using the HVAC device instead of the heater device. Heater should still work though I would think.

                          My "How To" home automation video channel: https://www.youtube.com/channel/UCq_Evyh5PQALx4m4CQuxqkA

                          1 Reply Last reply
                          0
                          • korttomaK Offline
                            korttomaK Offline
                            korttoma
                            Hero Member
                            wrote on last edited by
                            #23

                            I have been hapily using codebender for the last 2 years so my IDE vad on v. 1.0.5 witch did not compile either. Updated IDE to 1.6.2 now and it compiles. Maybe I can find time to do the update to night or tomorrow.

                            • Tomas
                            1 Reply Last reply
                            0
                            • korttomaK Offline
                              korttomaK Offline
                              korttoma
                              Hero Member
                              wrote on last edited by
                              #24

                              @petewill I managed to get my hands on the log file from the VeraPlus when trying to send setpoint value. It seems like the HEATER device is not working and gives the "No implementation" Error.

                              08	03/10/16 12:27:26.352	JobHandler_LuaUPnP::HandleActionRequest device: 44 service: urn:upnp-org:serviceId:TemperatureSetpoint1 action: SetCurrentSetpoint <0x71f83520>
                              08	03/10/16 12:27:26.355	JobHandler_LuaUPnP::HandleActionRequest argument DeviceNum=44 <0x71f83520>
                              08	03/10/16 12:27:26.356	JobHandler_LuaUPnP::HandleActionRequest argument serviceId=urn:upnp-org:serviceId:TemperatureSetpoint1 <0x71f83520>
                              08	03/10/16 12:27:26.356	JobHandler_LuaUPnP::HandleActionRequest argument action=SetCurrentSetpoint <0x71f83520>
                              08	03/10/16 12:27:26.356	JobHandler_LuaUPnP::HandleActionRequest argument NewCurrentSetpoint=72.5 <0x71f83520>
                              08	03/10/16 12:27:26.356	JobHandler_LuaUPnP::HandleActionRequest argument rand=0.4705214786808938 <0x71f83520>
                              02	03/10/16 12:27:26.357	Device_LuaUPnP::HandleActionRequest 44 none of the 1 implementations handled it <0x71f83520>
                              02	03/10/16 12:27:26.357	JobHandler_LuaUPnP::RunAction device 44 action urn:upnp-org:serviceId:TemperatureSetpoint1/SetCurrentSetpoint failed with 501/No implementation <0x71f83520>
                              

                              fyi, for this test I did not have your latest implemented fix for the HVAC devcie but I guess that does not matter.

                              How is your setup coming along?

                              btw, I'm working on updating my old Veralite to UI7 so that I can have a separate test system but the update just do not seem to want to work, I requested Vera support to do it for me now so I just have to wait until they get to it.

                              • Tomas
                              petewillP 1 Reply Last reply
                              0
                              • korttomaK korttoma

                                @petewill I managed to get my hands on the log file from the VeraPlus when trying to send setpoint value. It seems like the HEATER device is not working and gives the "No implementation" Error.

                                08	03/10/16 12:27:26.352	JobHandler_LuaUPnP::HandleActionRequest device: 44 service: urn:upnp-org:serviceId:TemperatureSetpoint1 action: SetCurrentSetpoint <0x71f83520>
                                08	03/10/16 12:27:26.355	JobHandler_LuaUPnP::HandleActionRequest argument DeviceNum=44 <0x71f83520>
                                08	03/10/16 12:27:26.356	JobHandler_LuaUPnP::HandleActionRequest argument serviceId=urn:upnp-org:serviceId:TemperatureSetpoint1 <0x71f83520>
                                08	03/10/16 12:27:26.356	JobHandler_LuaUPnP::HandleActionRequest argument action=SetCurrentSetpoint <0x71f83520>
                                08	03/10/16 12:27:26.356	JobHandler_LuaUPnP::HandleActionRequest argument NewCurrentSetpoint=72.5 <0x71f83520>
                                08	03/10/16 12:27:26.356	JobHandler_LuaUPnP::HandleActionRequest argument rand=0.4705214786808938 <0x71f83520>
                                02	03/10/16 12:27:26.357	Device_LuaUPnP::HandleActionRequest 44 none of the 1 implementations handled it <0x71f83520>
                                02	03/10/16 12:27:26.357	JobHandler_LuaUPnP::RunAction device 44 action urn:upnp-org:serviceId:TemperatureSetpoint1/SetCurrentSetpoint failed with 501/No implementation <0x71f83520>
                                

                                fyi, for this test I did not have your latest implemented fix for the HVAC devcie but I guess that does not matter.

                                How is your setup coming along?

                                btw, I'm working on updating my old Veralite to UI7 so that I can have a separate test system but the update just do not seem to want to work, I requested Vera support to do it for me now so I just have to wait until they get to it.

                                petewillP Offline
                                petewillP Offline
                                petewill
                                Admin
                                wrote on last edited by
                                #25

                                @korttoma
                                Hmm. This is getting beyond my ability. Are you on 1.5 on your gateway and the sensor now? Can you test with the fix I submitted? It actually could make a difference because the mode states are used by both the Header device and the HVAC device.
                                0_1457619636441_upload-51b5e182-239f-4eb4-92f6-3e2195b085dc

                                If you increase the temp at your thermostat does Vera update?

                                I am still on UI5 so maybe that is part of the problem?

                                My project is at a standstill for the moment. I hope to resume it soon but life is getting in the way :)

                                My "How To" home automation video channel: https://www.youtube.com/channel/UCq_Evyh5PQALx4m4CQuxqkA

                                1 Reply Last reply
                                0
                                • korttomaK Offline
                                  korttomaK Offline
                                  korttoma
                                  Hero Member
                                  wrote on last edited by
                                  #26

                                  @petewill
                                  I now have 1.5.4 on both the GW and heater device but this does not matter since the command newer leves the Vera. I'm sure I will be able to get this working but I need to get my Veralite updated first so I can have a proper test system. Yes UI7 is part of the problem since UI5 worked fine for me to (I think something related to the used SetPoint variables were changed). The current setpoint in the device is reported to Vera under the Variable "CurrentSetpoint Heat" so this part looks fine.

                                  Yeah, sometimes life gets in the way but that is OK ;)

                                  • Tomas
                                  1 Reply Last reply
                                  0
                                  • korttomaK Offline
                                    korttomaK Offline
                                    korttoma
                                    Hero Member
                                    wrote on last edited by
                                    #27

                                    I finally got my Veralite updated to UI7 so I could take a look at this and I can now send setpoint value to my heater device.

                                    Here is the additions I made to I_Arduino1.xml

                                    <action>
                                          	<serviceId>urn:upnp-org:serviceId:TemperatureSetpoint1</serviceId>
                                          	<name>SetCurrentSetpoint</name>
                                          	<job>
                                          		if (p ~= nil) then p.Setpoint(lul_device, lul_settings.NewCurrentSetpoint)  end
                                      			return 4,0
                                      		</job>
                                        </action>
                                    

                                    And here is what I added to L_Arduino.lua

                                    function Setpoint(device, NewCurrentSetpoint)
                                    	sendCommand(luup.devices[device].id,"HVAC_SETPOINT_HEAT",NewCurrentSetpoint)
                                    end
                                    

                                    Unfortunately if I change the setpoint locally on the heater device I do not get the new value to the device in the vera dashboard since the value is reported to the variable "CurrentSetpoint Heat" instead of "CurrentSetpoint".

                                    Anyhow, I'm gona try the HVAC device type to see how it performs as comparison.

                                    • Tomas
                                    1 Reply Last reply
                                    0
                                    • korttomaK Offline
                                      korttomaK Offline
                                      korttoma
                                      Hero Member
                                      wrote on last edited by
                                      #28

                                      @petewill I tried to add my changes to github but I could not figure out how. I get "Failed to sync this branch" when I tried to sync what I committed. I have not contributed anything for 2 years so I don't remember how.

                                      • Tomas
                                      petewillP 1 Reply Last reply
                                      0
                                      • korttomaK korttoma

                                        @petewill I tried to add my changes to github but I could not figure out how. I get "Failed to sync this branch" when I tried to sync what I committed. I have not contributed anything for 2 years so I don't remember how.

                                        petewillP Offline
                                        petewillP Offline
                                        petewill
                                        Admin
                                        wrote on last edited by
                                        #29

                                        @korttoma Glad you got it working!

                                        Unfortunately I can't offer much help with GitHub. I don't use it enough to have the process memorized. It's always trial and error for me too. Did you sync with the UI7 branch before you tried to upload your changes? Sorry I can't be more help...

                                        My "How To" home automation video channel: https://www.youtube.com/channel/UCq_Evyh5PQALx4m4CQuxqkA

                                        1 Reply Last reply
                                        0
                                        • korttomaK Offline
                                          korttomaK Offline
                                          korttoma
                                          Hero Member
                                          wrote on last edited by
                                          #30

                                          finally managed to work out the GitHub part, I had to update the desktop software and remove the 2 year old project I had there, I stil find it quite confusing.

                                          • Tomas
                                          1 Reply Last reply
                                          1
                                          Reply
                                          • Reply as topic
                                          Log in to reply
                                          • Oldest to Newest
                                          • Newest to Oldest
                                          • Most Votes


                                          14

                                          Online

                                          11.7k

                                          Users

                                          11.2k

                                          Topics

                                          113.1k

                                          Posts


                                          Copyright 2025 TBD   |   Forum Guidelines   |   Privacy Policy   |   Terms of Service
                                          • Login

                                          • Don't have an account? Register

                                          • Login or register to search.
                                          • First post
                                            Last post
                                          0
                                          • MySensors
                                          • OpenHardware.io
                                          • Categories
                                          • Recent
                                          • Tags
                                          • Popular