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. Controllers
  3. Vera
  4. Redesigned Vera UI7 Thermostat with Heat/Cool Setpoint, HVAC State, Fan Status, Energy Mode

Redesigned Vera UI7 Thermostat with Heat/Cool Setpoint, HVAC State, Fan Status, Energy Mode

Scheduled Pinned Locked Moved Vera
4 Posts 3 Posters 6.4k Views 4 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.
  • mbkM Offline
    mbkM Offline
    mbk
    wrote on last edited by mbk
    #1

    Re: Request: New Sensor Type ? Thermostatically controlled switch

    Was not sure where to post this, came across this topic and thought will post a related topic.
    Wanted to see if I can replace our old non-wireless/non-zwave thermostat with a home built one using MySensor's thermostat interface (With Ethernet gateway, Nano AtMega328 & NRF24). While checking the Vera UI7 thermostat display found (as many of others) that it is missing few controls that I wanted to have. Searching google did not help much (may be I was not looking at the right place). So, decided to redesign the json to have the controls I wanted (It probably has more controls than most of us need, but they are there if anyone wants to use them).

    It's appearance on Vera UI7 dashboard: 0_1460232030972_Dashboard 1.png
    In Control Tab: 0_1460232131497_Control Tab.png

    In case anyone interested, the info below will get you started:
    a. Upload the redesigned D_HVAC_ZoneThermostatHC1.json in Vera, note the name of the file with HC (meant for Heat/Cool) vs original file name without HC
    b. Upload the modified D_HVAC_ZoneThermostatHC1.xml in Vera, note the name of the file with HC vs original file name without HC, beside the file name changes made: 1. "<deviceType>urn:schemas-upnp-org:device:HVAC_ZoneThermostatHC:1</deviceType>" and 2. comment out a section that we don't need
    c. Upload modified L_Arduino.lua in Vera, changes made:

    1. added a new device type HVACHC (did not want to touch the original HVAC device)
    2. introduced three tVarTypes: "HVAC_FAN_STATUS", "HVAC_MODE_STATE" & "HVAC_ENERGY_MODE"
    3. added a function for energy mode: "SetEnergyMode"

    d. Upload modified I_Arduino1.xml in Vera, changes made: added an <action></action> block for energy mode
    e. Upload your sketch with this modified MyMessage.h , changes made: added S_HVACHC, V_HVAC_FAN_STATUS, V_HVAC_MODE_STATE & V_HVAC_ENERGY_MODE
    f. Upload this sketch for a quick test:ThermostatHC.ino [Please note: it's not a full implementation of a thermostat, just some message exchange tests, you would have to write your own, still working on mine hence can't share at this point]

    Some test result:
    a. after uploading sketch to nano and reset: 0_1460234813172_Screen Shot 04-09-16 at 02.45 PM.PNG
    b. State change with changing mode: 0_1460235188952_Screen Shot 04-09-16 at 02.51 PM.PNG
    c. Message from rest of the controls: 0_1460235277640_Screen Shot 04-09-16 at 02.54 PM.PNG

    Will appreciate a note if you find any bugs in the plugin.

    dbemowskD 1 Reply Last reply
    4
    • mbkM mbk

      Re: Request: New Sensor Type ? Thermostatically controlled switch

      Was not sure where to post this, came across this topic and thought will post a related topic.
      Wanted to see if I can replace our old non-wireless/non-zwave thermostat with a home built one using MySensor's thermostat interface (With Ethernet gateway, Nano AtMega328 & NRF24). While checking the Vera UI7 thermostat display found (as many of others) that it is missing few controls that I wanted to have. Searching google did not help much (may be I was not looking at the right place). So, decided to redesign the json to have the controls I wanted (It probably has more controls than most of us need, but they are there if anyone wants to use them).

      It's appearance on Vera UI7 dashboard: 0_1460232030972_Dashboard 1.png
      In Control Tab: 0_1460232131497_Control Tab.png

      In case anyone interested, the info below will get you started:
      a. Upload the redesigned D_HVAC_ZoneThermostatHC1.json in Vera, note the name of the file with HC (meant for Heat/Cool) vs original file name without HC
      b. Upload the modified D_HVAC_ZoneThermostatHC1.xml in Vera, note the name of the file with HC vs original file name without HC, beside the file name changes made: 1. "<deviceType>urn:schemas-upnp-org:device:HVAC_ZoneThermostatHC:1</deviceType>" and 2. comment out a section that we don't need
      c. Upload modified L_Arduino.lua in Vera, changes made:

      1. added a new device type HVACHC (did not want to touch the original HVAC device)
      2. introduced three tVarTypes: "HVAC_FAN_STATUS", "HVAC_MODE_STATE" & "HVAC_ENERGY_MODE"
      3. added a function for energy mode: "SetEnergyMode"

      d. Upload modified I_Arduino1.xml in Vera, changes made: added an <action></action> block for energy mode
      e. Upload your sketch with this modified MyMessage.h , changes made: added S_HVACHC, V_HVAC_FAN_STATUS, V_HVAC_MODE_STATE & V_HVAC_ENERGY_MODE
      f. Upload this sketch for a quick test:ThermostatHC.ino [Please note: it's not a full implementation of a thermostat, just some message exchange tests, you would have to write your own, still working on mine hence can't share at this point]

      Some test result:
      a. after uploading sketch to nano and reset: 0_1460234813172_Screen Shot 04-09-16 at 02.45 PM.PNG
      b. State change with changing mode: 0_1460235188952_Screen Shot 04-09-16 at 02.51 PM.PNG
      c. Message from rest of the controls: 0_1460235277640_Screen Shot 04-09-16 at 02.54 PM.PNG

      Will appreciate a note if you find any bugs in the plugin.

      dbemowskD Offline
      dbemowskD Offline
      dbemowsk
      wrote on last edited by
      #2

      @mbk I do realize that this topic is quite old, but I thought I would comment on it anyway in the event that someone else stumbles on this as I did.

      I wanted to thank @mbk for his work and efforts in creating this. I thought it may be difficult to make the changes to my Thermostat Bridge Node sketch to implement this, but I was quite wrong. After not finding a solution to my setpoint issue for my thermostat, I decided to have a go at this.

      My findings on this can be found in my other thread, https://forum.mysensors.org/topic/5660/thermostat-bridge-hvac-node-issues/3

      Vera Plus running UI7 with MySensors, Sonoffs and 1-Wire devices
      Visit my website for more Bits, Bytes and Ramblings from me: http://dan.bemowski.info/

      mbkM 1 Reply Last reply
      1
      • dbemowskD dbemowsk

        @mbk I do realize that this topic is quite old, but I thought I would comment on it anyway in the event that someone else stumbles on this as I did.

        I wanted to thank @mbk for his work and efforts in creating this. I thought it may be difficult to make the changes to my Thermostat Bridge Node sketch to implement this, but I was quite wrong. After not finding a solution to my setpoint issue for my thermostat, I decided to have a go at this.

        My findings on this can be found in my other thread, https://forum.mysensors.org/topic/5660/thermostat-bridge-hvac-node-issues/3

        mbkM Offline
        mbkM Offline
        mbk
        wrote on last edited by
        #3

        @dbemowsk
        Glad the post helped somehow. You made some very good points in your post. I recommend anyone reading this also check @dbemowsk's post.

        1 Reply Last reply
        0
        • S Offline
          S Offline
          stephnsons
          wrote on last edited by
          #4

          Very informative thread.

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


          27

          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