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. My Project
  3. Video How To - Monitor your Refrigerator

Video How To - Monitor your Refrigerator

Scheduled Pinned Locked Moved My Project
37 Posts 16 Posters 39.8k Views 14 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.
  • KrieghundK Krieghund

    I'm sorry to ask a seemingly dumb question, but what do I need to do to get a third Dallas sensor to work? (I have a top/bottom fridge and a deep freezer).
    I edited the following lines:
    DeviceAddress dallasAddresses[] = {
    {0x28, 0x29, 0x4F, 0x1, 0x0, 0x0, 0x80, 0xBB}, //Freezer Address -- Modify for your sensors
    {0x28, 0x22, 0x53, 0x1, 0x0, 0x0, 0x80, 0x1E}, //Fridge Address -- Modify for your sensors
    ** {0x28, 0xA6, 0x58, 0x1, 0x0, 0x0, 0x80, 0x58} //Deep Freezer I added**

    // set the temp resolution
    for (uint8_t i = 0; i < 3; i++) { //i changed from 2

    // Present temp sensors to controller
    ** for (int i = 0; i < 3; i++) { // i changed from 2**
    gw.present(i, S_TEMP);

    // Read temperatures and send them to controller
    ** for (int i = 0; i < 3; i++) { //i changed from 2**

    I'm not sure what I'm missing. Thank you in advance for your help and great project!!!

    KrieghundK Offline
    KrieghundK Offline
    Krieghund
    wrote on last edited by
    #21

    @Krieghund
    Ok, I think I found it. I needed to have the door sensors start at a higher ID:

    int doorChildren[] = {3, 4}; //i changed from 2,3

    Thank you

    petewillP 1 Reply Last reply
    0
    • KrieghundK Krieghund

      @Krieghund
      Ok, I think I found it. I needed to have the door sensors start at a higher ID:

      int doorChildren[] = {3, 4}; //i changed from 2,3

      Thank you

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

      @Krieghund Glad you found it! Sorry, I couldn't respond sooner.

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

      1 Reply Last reply
      0
      • CrankyCoderC Offline
        CrankyCoderC Offline
        CrankyCoder
        wrote on last edited by
        #23

        any chance this has been updated to 2.0? I am having issues getting the internal pull up for the temp sensors working.

        Home Automation Tinkerer
        www.CrankyCoder.net

        Controller: HomeAssistant in Kubernetes
        Gateway: MQTTClientGateway
        MySensors: 2.3

        petewillP 1 Reply Last reply
        0
        • CrankyCoderC CrankyCoder

          any chance this has been updated to 2.0? I am having issues getting the internal pull up for the temp sensors working.

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

          @Jason-Brunk Sorry for the delay. What's the problem? I don't think that would be related to v2.0 but I could be wrong. Have you tried an external resistor?

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

          1 Reply Last reply
          0
          • CrankyCoderC Offline
            CrankyCoderC Offline
            CrankyCoder
            wrote on last edited by
            #25

            my 4.7k resistors showed up today. So i will try with the external.

            I have been able to get basic arduino sketches to work with the internal pull up and the temp sensor. but as soon as I put mysensors on it, it doesn't pick it up any more. That's why i figured i would see if you updated your sketch to 2 without the need for the external

            Home Automation Tinkerer
            www.CrankyCoder.net

            Controller: HomeAssistant in Kubernetes
            Gateway: MQTTClientGateway
            MySensors: 2.3

            petewillP 1 Reply Last reply
            0
            • CrankyCoderC CrankyCoder

              my 4.7k resistors showed up today. So i will try with the external.

              I have been able to get basic arduino sketches to work with the internal pull up and the temp sensor. but as soon as I put mysensors on it, it doesn't pick it up any more. That's why i figured i would see if you updated your sketch to 2 without the need for the external

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

              @Jason-Brunk Interesting. I haven't updated it yet. I need to get a spare weekend to make the jump to 2.0 but I don't know when that will be. I have so many sensors in my house it will take me a while to get everything up to date.

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

              1 Reply Last reply
              0
              • CrankyCoderC Offline
                CrankyCoderC Offline
                CrankyCoder
                wrote on last edited by
                #27

                I can only imagine. I have seen your youtube channel. jealous

                Home Automation Tinkerer
                www.CrankyCoder.net

                Controller: HomeAssistant in Kubernetes
                Gateway: MQTTClientGateway
                MySensors: 2.3

                1 Reply Last reply
                0
                • TXSpazzT Offline
                  TXSpazzT Offline
                  TXSpazz
                  wrote on last edited by
                  #28

                  This is my first sensor so be nice if I'm missing something obvious. :smile:

                  Your sketch has #include <MySensor.h>

                  In the mysensors library it is MySensors.h with an s

                  If I change it to #include <MySensors.h> with the s then on the line with MySensor gw; I get the error: 'MySensor' does not have a name type.

                  I'm trying to figure out how everything works together but can't figure this out.

                  For reference, my programming background consists of an 8th grade computer class where we learned to make something go from one side of the monitor to the other and yes, it was all green.

                  M 1 Reply Last reply
                  0
                  • TXSpazzT TXSpazz

                    This is my first sensor so be nice if I'm missing something obvious. :smile:

                    Your sketch has #include <MySensor.h>

                    In the mysensors library it is MySensors.h with an s

                    If I change it to #include <MySensors.h> with the s then on the line with MySensor gw; I get the error: 'MySensor' does not have a name type.

                    I'm trying to figure out how everything works together but can't figure this out.

                    For reference, my programming background consists of an 8th grade computer class where we learned to make something go from one side of the monitor to the other and yes, it was all green.

                    M Offline
                    M Offline
                    mbj
                    wrote on last edited by mbj
                    #29

                    @TXSpazz This difference depends on what version you are using. For version 2 it is Mysensors.h . Earlier versions used Mysensor.h.

                    TXSpazzT 1 Reply Last reply
                    0
                    • M mbj

                      @TXSpazz This difference depends on what version you are using. For version 2 it is Mysensors.h . Earlier versions used Mysensor.h.

                      TXSpazzT Offline
                      TXSpazzT Offline
                      TXSpazz
                      wrote on last edited by
                      #30

                      @mbj Thank you, I was wondering if that was it. I started trying to convert it but since I haven't slept in 23 hours it made my brains hurt, but at least I know what direction to go now.

                      petewillP 1 Reply Last reply
                      0
                      • TXSpazzT TXSpazz

                        @mbj Thank you, I was wondering if that was it. I started trying to convert it but since I haven't slept in 23 hours it made my brains hurt, but at least I know what direction to go now.

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

                        @TXSpazz Yeah, @mbj is right, it needs to be updated to v2.0. Still haven't had a chance to do it yet :grimacing:

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

                        1 Reply Last reply
                        0
                        • jmkhaelJ Offline
                          jmkhaelJ Offline
                          jmkhael
                          wrote on last edited by
                          #32

                          Hello,

                          Great work. I've watched almost all your videos. Very instructive.

                          One thing I am wondering about are the gray connectors 'knob like' to quickly wire your cables together. What are they? Where can I buy me some? :bowtie:

                          petewillP 1 Reply Last reply
                          0
                          • jmkhaelJ jmkhael

                            Hello,

                            Great work. I've watched almost all your videos. Very instructive.

                            One thing I am wondering about are the gray connectors 'knob like' to quickly wire your cables together. What are they? Where can I buy me some? :bowtie:

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

                            @jmkhael Are you talking about wire nuts perhaps (at least that's what I call them)? I get mine from a local store. http://www.harborfreight.com/158-piece-wire-connector-assortment-67520.html but it looks like ebay has some too. http://www.ebay.com/itm/70Pcs-Electrical-Wire-Twist-Connector-Nut-Terminals-Cap-Spring-Insert-Assortment-/401077102029?hash=item5d620ee5cd:g:5~sAAOSwe7BWzS4k

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

                            1 Reply Last reply
                            0
                            • jmkhaelJ Offline
                              jmkhaelJ Offline
                              jmkhael
                              wrote on last edited by
                              #34

                              Yes. those! thank you

                              1 Reply Last reply
                              0
                              • N Offline
                                N Offline
                                Newzwaver
                                wrote on last edited by
                                #35

                                HI

                                Do you think you can use the PT1000 two wire temp sensor for this project? I have a number of them and they are water proof and very durable.

                                M 1 Reply Last reply
                                0
                                • N Newzwaver

                                  HI

                                  Do you think you can use the PT1000 two wire temp sensor for this project? I have a number of them and they are water proof and very durable.

                                  M Offline
                                  M Offline
                                  mbj
                                  wrote on last edited by
                                  #36

                                  @Newzwaver If you Google on this subject you will find threads like this one which may help you understand the issue: http://forum.arduino.cc/index.php?topic=16731.0

                                  Basically I think the answer is that if you already have the electronics to read the signal from the PT1000 and can communicate that to a Mysensors sensor it should be fairly easy. If you have to build it all by yourself it is a bit more work to do like the thread above shows.

                                  On the other hand, buying a few DS18B20 is dirt cheap and and then everything you need is already available. They come in waterproof versions as well if you feel you need this. One example from Ebay is http://www.ebay.com/itm/NEW-Waterproof-Digital-Thermal-Probe-or-Sensor-DS18B20-Length-1M-/172243763999?hash=item281a87431f:g:Lj8AAOSw3YNXYu7h

                                  1 Reply Last reply
                                  1
                                  • N Offline
                                    N Offline
                                    Newzwaver
                                    wrote on last edited by
                                    #37

                                    Hi
                                    And thanks for the reply, I do have the PT1000 as well as those sensors. The only thing is I am trying to find a use for the PT1000. I have already placed one in my deep freeze and one out door but have several more that I just want to use. It's not the cost as most of the projects on this are cheap, it's the challenge of getting it done.

                                    Thanks again, I

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


                                    8

                                    Online

                                    11.7k

                                    Users

                                    11.2k

                                    Topics

                                    113.0k

                                    Posts


                                    Copyright 2019 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