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. Development
  3. Mysensors Thermostat

Mysensors Thermostat

Scheduled Pinned Locked Moved Development
5 Posts 5 Posters 5.9k Views 3 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.
  • G Offline
    G Offline
    gigi
    wrote on last edited by
    #1

    I'm making a thermostat with mysensors

    define CHILD_ID_HEATER 0
    MyMessage msgHeater(CHILD_ID_HEATER, V_HEATER_SW);
    MyMessage msgTemp(CHILD_ID_HEATER, V_TEMP);
    MyMessage msgUp(CHILD_ID_HEATER, V_UP);
    MyMessage msgDown(CHILD_ID_HEATER, V_DOWN);

    void setup()
    {
    gw.begin(incomingMessage, NODE_ID, false); //nodo 6
    gw.sendSketchInfo(SN, SV);
    gw.present(CHILD_ID_HEATER, S_HEATER);
    gw.send(msgTemp.set(tempVera));
    .....

    V_HEATER_SW has the current temperature, turn off the power and heat button and two buttons + and - inside the threshold temperature

    with gw.send(msgTemp.set(tempVera)); I send temperature to vera
    with gw.send(msgHeater.set("Off"),true); and gw.send(msgHeater.set("HeatOn"),true); send to vera off ed heaton.

    My BIG problem:
    how do I send through two buttons on Arduino + and - on Vera?

    if(digitalRead(BUTTON_PIN_MENO) == HIGH)
    {
    //send - to vera
    }

    if(digitalRead(BUTTON_PIN_PIU) == HIGH)
    {
    //send + to vera
    }

    APNT-21_VERA_Scene.png

    Thank Gigi

    Vera lite - mysensors Ethernet gateway - AirWik sensor - Relay Module

    H 1 Reply Last reply
    0
    • G gigi

      I'm making a thermostat with mysensors

      define CHILD_ID_HEATER 0
      MyMessage msgHeater(CHILD_ID_HEATER, V_HEATER_SW);
      MyMessage msgTemp(CHILD_ID_HEATER, V_TEMP);
      MyMessage msgUp(CHILD_ID_HEATER, V_UP);
      MyMessage msgDown(CHILD_ID_HEATER, V_DOWN);

      void setup()
      {
      gw.begin(incomingMessage, NODE_ID, false); //nodo 6
      gw.sendSketchInfo(SN, SV);
      gw.present(CHILD_ID_HEATER, S_HEATER);
      gw.send(msgTemp.set(tempVera));
      .....

      V_HEATER_SW has the current temperature, turn off the power and heat button and two buttons + and - inside the threshold temperature

      with gw.send(msgTemp.set(tempVera)); I send temperature to vera
      with gw.send(msgHeater.set("Off"),true); and gw.send(msgHeater.set("HeatOn"),true); send to vera off ed heaton.

      My BIG problem:
      how do I send through two buttons on Arduino + and - on Vera?

      if(digitalRead(BUTTON_PIN_MENO) == HIGH)
      {
      //send - to vera
      }

      if(digitalRead(BUTTON_PIN_PIU) == HIGH)
      {
      //send + to vera
      }

      APNT-21_VERA_Scene.png

      Thank Gigi

      H Offline
      H Offline
      hek
      Admin
      wrote on last edited by
      #2

      @gigi

      You'll have to investigate the vera thermostat device files to find this information.
      It might be some missing commands for this as you are pioneer here.

      1 Reply Last reply
      0
      • P Offline
        P Offline
        punter9
        wrote on last edited by
        #3

        seems as easy as a temp sensor and a couple relays.......now making a neat looking virtual display to use.....

        1 Reply Last reply
        0
        • B Offline
          B Offline
          BigDog
          wrote on last edited by
          #4

          i am realy interested in this :) wil keep a eye on this topic :)
          been searching for a way to make a thermostat that can be managed localy and with domoticz

          1x Raspberry With Domoticz V2.3011 [Linux version 4.1.6+]
          PiRack With
          -1X PiFace Digital
          -1X RaZberry - OpenZWave
          1X RFXtrx433 USB Firmware: 183
          5X Arduino: mysensors V1.5(including)

          • First DoorBel Project -> WORKS! :)
            6x ESP8266: easy firmware(Testing)
          1 Reply Last reply
          0
          • K Offline
            K Offline
            korttoma
            Hero Member
            wrote on last edited by
            #5

            I don't know about domoticz but I reacently put together a Thermostat device that I use with Vera UI5.
            I posted about it here and here

            • Tomas
            1 Reply Last reply
            0

            Hello! It looks like you're interested in this conversation, but you don't have an account yet.

            Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.

            With your input, this post could be even better 💗

            Register Login
            Reply
            • Reply as topic
            Log in to reply
            • Oldest to Newest
            • Newest to Oldest
            • Most Votes


            18

            Online

            12.0k

            Users

            11.2k

            Topics

            113.4k

            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