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. Irrigation Controller (up to 16 valves with Shift Registers)

Irrigation Controller (up to 16 valves with Shift Registers)

Scheduled Pinned Locked Moved My Project
371 Posts 56 Posters 248.8k Views 52 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.
  • tombstoneT Offline
    tombstoneT Offline
    tombstone
    wrote on last edited by
    #303

    Its my 1st project and I have learnt alot but have got myself a snag and I am getting this....

    Arduino: 1.8.3 (Windows 10), Board: "Arduino Pro or Pro Mini, ATmega328 (5V, 16 MHz)"

    C:\Users\HTPC\Documents\Arduino\Irrigation_Controller_1\Irrigation_Controller_1..ino:82:21: fatal error: TimeLib.h: No such file or directory

    #include <TimeLib.h>

                     ^
    

    compilation terminated.

    exit status 1
    Error compiling for board Arduino Pro or Pro Mini.

    1 Reply Last reply
    0
    • gohanG Offline
      gohanG Offline
      gohan
      Mod
      wrote on last edited by
      #304

      go to library manager and install Time library

      tombstoneT 1 Reply Last reply
      0
      • tombstoneT Offline
        tombstoneT Offline
        tombstone
        wrote on last edited by
        #305
        This post is deleted!
        1 Reply Last reply
        0
        • tombstoneT Offline
          tombstoneT Offline
          tombstone
          wrote on last edited by
          #306
          This post is deleted!
          1 Reply Last reply
          0
          • tombstoneT Offline
            tombstoneT Offline
            tombstone
            wrote on last edited by
            #307
            This post is deleted!
            1 Reply Last reply
            0
            • gohanG gohan

              go to library manager and install Time library

              tombstoneT Offline
              tombstoneT Offline
              tombstone
              wrote on last edited by
              #308
              This post is deleted!
              1 Reply Last reply
              0
              • tombstoneT Offline
                tombstoneT Offline
                tombstone
                wrote on last edited by
                #309

                ok I almost there :-D but my pro mini has just Analog 1 to 3. I say I have to change the coda were abouts...
                I also have not setup up my Vera Controller as I see you have to pay...

                Is there another one that is eazy as I have try some but can not get it to work. eg HomeGenie is download and on my pc but don't think its not to good. don't know how to find my pro mini. happy to chagaen to someing eazer to get me started thanks guys....

                1 Reply Last reply
                0
                • tombstoneT Offline
                  tombstoneT Offline
                  tombstone
                  wrote on last edited by
                  #310

                  Domoticz LOOKS :-D GOOD
                  BUT new to all this :-D

                  1 Reply Last reply
                  0
                  • Black CatB Offline
                    Black CatB Offline
                    Black Cat
                    wrote on last edited by
                    #311

                    If you are looking for Software, try openhab.

                    You need to buy Vera, but the software is free.

                    tombstoneT 1 Reply Last reply
                    0
                    • Black CatB Black Cat

                      If you are looking for Software, try openhab.

                      You need to buy Vera, but the software is free.

                      tombstoneT Offline
                      tombstoneT Offline
                      tombstone
                      wrote on last edited by
                      #312

                      @Black-Cat thanks 😁

                      1 Reply Last reply
                      0
                      • tombstoneT Offline
                        tombstoneT Offline
                        tombstone
                        wrote on last edited by
                        #313

                        ok so when adding to Domoticz..
                        I go to hardware...
                        I name is..... test...
                        then choose.. MySensors Gateway with LAN interface....
                        Data Timeout: .... Disabled.....
                        Remote Address.... (I have tryed)....

                        IP Address, Subnet Mask, Default Gateway, Primary DNS, Secondary DNS.

                        (i try everythinbg I can think of and still not work)

                        Port: ... 5003
                        My pro min has the red light on and blink blue occassionally.

                        what I get from the Domoticz log is

                        
                        
                        2017-07-30 18:00:00.627 Error: MySensors: Can not connect to: 61.9.211.33:5003
                        2017-07-30 18:00:00.627 TCP: Connection problem (Unable to connect to specified IP/Port)
                        2017-07-30 18:00:00.627 TCP: Reconnecting in 30 seconds...
                        '''
                        1 Reply Last reply
                        0
                        • tbowmoT Offline
                          tbowmoT Offline
                          tbowmo
                          Admin
                          wrote on last edited by
                          #314

                          @tombstone

                          What hardware are you using for the gateway? Arduino, Sensebender GW, ESP8266, is it wired or wireless?

                          Does it get an IP address from your router?

                          Can you successfully telnet to the above IP address on port 5003? (And what is the output)

                          Does the gateway send any logs to the serial port? If yes, then post them on the forum.

                          tombstoneT 1 Reply Last reply
                          0
                          • tbowmoT tbowmo

                            @tombstone

                            What hardware are you using for the gateway? Arduino, Sensebender GW, ESP8266, is it wired or wireless?

                            Does it get an IP address from your router?

                            Can you successfully telnet to the above IP address on port 5003? (And what is the output)

                            Does the gateway send any logs to the serial port? If yes, then post them on the forum.

                            tombstoneT Offline
                            tombstoneT Offline
                            tombstone
                            wrote on last edited by
                            #315

                            @tbowmo
                            The hardware I'am using for the gateway is the Arduino pro mini and its wireless from the NRF24L01+ 2.4GHz Wireless Transceiver

                            I don't know if it is getting IP address from my router.

                            have not use telnet before (I have just youtube it and enabled it... all what i got from youtube was that you can send email lol cool)

                            Does the gateway send any logs to the serial port? If yes, then post them on the forum. (were do I get them logs the ones from Domoticz and below but not much info to go on)

                            Thanks :-D

                            1 Reply Last reply
                            0
                            • tbowmoT Offline
                              tbowmoT Offline
                              tbowmo
                              Admin
                              wrote on last edited by
                              #316

                              @tombstone

                              How is the promini connected to the device runnning domoticz?

                              To me it sounds like that you have the promini connected directly to your computer where domoticz is running, then you should add it as a serial gateway, and not ethernet gateway

                              If you haven't already done this, I suggest that you read about the mysensors network so you have a basic understanding on how mysensors works.

                              tombstoneT 1 Reply Last reply
                              0
                              • tbowmoT tbowmo

                                @tombstone

                                How is the promini connected to the device runnning domoticz?

                                To me it sounds like that you have the promini connected directly to your computer where domoticz is running, then you should add it as a serial gateway, and not ethernet gateway

                                If you haven't already done this, I suggest that you read about the mysensors network so you have a basic understanding on how mysensors works.

                                tombstoneT Offline
                                tombstoneT Offline
                                tombstone
                                wrote on last edited by tombstone
                                #317

                                @tbowmo
                                I have it runing both ways but with serial gateway there no errors but when going to setup there is no NODES.

                                2017-07-30 19:20:55.764 TCP: Connection problem (Unable to connect to specified IP/Port)
                                2017-07-30 19:20:55.766 TCP: Reconnecting in 30 seconds...
                                2017-07-30 19:21:26.035 TCP: Reconnecting...
                                2017-07-30 19:21:37.093 MySensors: TCP/IP Worker stopped...
                                2017-07-30 19:27:03.150 MySensors: Using serial port: COM4
                                
                                tombstoneT 1 Reply Last reply
                                0
                                • tombstoneT tombstone

                                  @tbowmo
                                  I have it runing both ways but with serial gateway there no errors but when going to setup there is no NODES.

                                  2017-07-30 19:20:55.764 TCP: Connection problem (Unable to connect to specified IP/Port)
                                  2017-07-30 19:20:55.766 TCP: Reconnecting in 30 seconds...
                                  2017-07-30 19:21:26.035 TCP: Reconnecting...
                                  2017-07-30 19:21:37.093 MySensors: TCP/IP Worker stopped...
                                  2017-07-30 19:27:03.150 MySensors: Using serial port: COM4
                                  
                                  tombstoneT Offline
                                  tombstoneT Offline
                                  tombstone
                                  wrote on last edited by tombstone
                                  #318

                                  @tombstone

                                  //#define MY_NODE_ID 1  // Set this to fix your Radio ID or use Auto
                                  

                                  IS there someing I have missed with adding NODES???

                                  gohanG 1 Reply Last reply
                                  0
                                  • tombstoneT Offline
                                    tombstoneT Offline
                                    tombstone
                                    wrote on last edited by
                                    #319
                                    0 MCO:BGN:INIT NODE,CP=RNNNA--,VER=2.1.1
                                    3 TSM:INIT
                                    4 TSF:WUR:MS=0
                                    11 TSM:INIT:TSP OK
                                    13 TSM:FPAR
                                    15 TSF:MSG:SEND,255-255-255-255,s=255,c=3,t=7,pt=0,l=0,sg=0,ft=0,st=OK:
                                    2022 !TSM:FPAR:NO REPLY
                                    2024 TSM:FPAR
                                    2026 TSF:MSG:SEND,255-255-255-255,s=255,c=3,t=7,pt=0,l=0,sg=0,ft=0,st=OK:
                                    4034 !TSM:FPAR:NO REPLY
                                    4036 TSM:FPAR
                                    4038 TSF:MSG:SEND,255-255-255-255,s=255,c=3,t=7,pt=0,l=0,sg=0,ft=0,st=OK:
                                    6046 !TSM:FPAR:NO REPLY
                                    6048 TSM:FPAR
                                    6050 TSF:MSG:SEND,255-255-255-255,s=255,c=3,t=7,pt=0,l=0,sg=0,ft=0,st=OK:
                                    8058 !TSM:FPAR:FAIL
                                    8059 TSM:FAIL:CNT=1
                                    8061 TSM:FAIL:PDT
                                    18065 TSM:FAIL:RE-INIT
                                    18067 TSM:INIT
                                    18074 TSM:INIT:TSP OK
                                    18076 TSM:FPAR
                                    18078 TSF:MSG:SEND,255-255-255-255,s=255,c=3,t=7,pt=0,l=0,sg=0,ft=0,st=OK:
                                    20086 !TSM:FPAR:NO REPLY
                                    20088 TSM:FPAR
                                    20090 TSF:MSG:SEND,255-255-255-255,s=255,c=3,t=7,pt=0,l=0,sg=0,ft=0,st=OK:
                                    22099 !TSM:FPAR:NO REPLY
                                    22102 TSM:FPAR
                                    22104 TSF:MSG:SEND,255-255-255-255,s=255,c=3,t=7,pt=0,l=0,sg=0,ft=0,st=OK:
                                    24112 !TSM:FPAR:NO REPLY
                                    24114 TSM:FPAR
                                    24116 TSF:MSG:SEND,255-255-255-255,s=255,c=3,t=7,pt=0,l=0,sg=0,ft=0,st=OK:
                                    26124 !TSM:FPAR:FAIL
                                    26125 TSM:FAIL:CNT=2
                                    26127 TSM:FAIL:PDT
                                    36130 TSM:FAIL:RE-INIT
                                    36132 TSM:INIT
                                    36140 TSM:INIT:TSP OK
                                    36142 TSM:FPAR
                                    36144 TSF:MSG:SEND,255-255-255-255,s=255,c=3,t=7,pt=0,l=0,sg=0,ft=0,st=OK:
                                    38152 !TSM:FPAR:NO REPLY
                                    38154 TSM:FPAR
                                    38156 TSF:MSG:SEND,255-255-255-255,s=255,c=3,t=7,pt=0,l=0,sg=0,ft=0,st=OK:
                                    40164 !TSM:FPAR:NO REPLY
                                    40166 TSM:FPAR
                                    40168 TSF:MSG:SEND,255-255-255-255,s=255,c=3,t=7,pt=0,l=0,sg=0,ft=0,st=OK:
                                    42176 !TSM:FPAR:NO REPLY
                                    42178 TSM:FPAR
                                    42180 TSF:MSG:SEND,255-255-255-255,s=255,c=3,t=7,pt=0,l=0,sg=0,ft=0,st=OK:
                                    44188 !TSM:FPAR:FAIL
                                    44189 TSM:FAIL:CNT=3
                                    44191 TSM:FAIL:PDT
                                    54194 TSM:FAIL:RE-INIT
                                    54196 TSM:INIT
                                    54203 TSM:INIT:TSP OK
                                    54205 TSM:FPAR
                                    54207 TSF:MSG:SEND,255-255-255-255,s=255,c=3,t=7,pt=0,l=0,sg=0,ft=0,st=OK:
                                    56215 !TSM:FPAR:NO REPLY
                                    56217 TSM:FPAR
                                    56219 TSF:MSG:SEND,255-255-255-255,s=255,c=3,t=7,pt=0,l=0,sg=0,ft=0,st=OK:
                                    58227 !TSM:FPAR:NO REPLY
                                    58229 TSM:FPAR
                                    58231 TSF:MSG:SEND,255-255-255-255,s=255,c=3,t=7,pt=0,l=0,sg=0,ft=0,st=OK:
                                    60239 !TSM:FPAR:NO REPLY
                                    60241 TSM:FPAR
                                    60243 TSF:MSG:SEND,255-255-255-255,s=255,c=3,t=7,pt=0,l=0,sg=0,ft=0,st=OK:
                                    62252 !TSM:FPAR:FAIL
                                    62254 TSM:FAIL:CNT=4
                                    62255 TSM:FAIL:PDT
                                    72258 TSM:FAIL:RE-INIT
                                    72260 TSM:INIT
                                    72267 TSM:INIT:TSP OK
                                    72269 TSM:FPAR
                                    72271 TSF:MSG:SEND,255-255-255-255,s=255,c=3,t=7,pt=0,l=0,sg=0,ft=0,st=OK:
                                    74280 !TSM:FPAR:NO REPLY
                                    74283 TSM:FPAR
                                    74285 TSF:MSG:SEND,255-255-255-255,s=255,c=3,t=7,pt=0,l=0,sg=0,ft=0,st=OK:
                                    76293 !TSM:FPAR:NO REPLY
                                    76295 TSM:FPAR
                                    76297 TSF:MSG:SEND,255-255-255-255,s=255,c=3,t=7,pt=0,l=0,sg=0,ft=0,st=OK:
                                    78305 !TSM:FPAR:NO REPLY
                                    78307 TSM:FPAR
                                    78309 TSF:MSG:SEND,255-255-255-255,s=255,c=3,t=7,pt=0,l=0,sg=0,ft=0,st=OK:
                                    80317 !TSM:FPAR:FAIL
                                    80318 TSM:FAIL:CNT=5
                                    80320 TSM:FAIL:PDT
                                    90323 TSM:FAIL:RE-INIT
                                    90326 TSM:INIT
                                    90333 TSM:INIT:TSP OK
                                    90335 TSM:FPAR
                                    90337 TSF:MSG:SEND,255-255-255-255,s=255,c=3,t=7,pt=0,l=0,sg=0,ft=0,st=OK:
                                    92345 !TSM:FPAR:NO REPLY
                                    92347 TSM:FPAR
                                    92349 TSF:MSG:SEND,255-255-255-255,s=255,c=3,t=7,pt=0,l=0,sg=0,ft=0,st=OK:
                                    94357 !TSM:FPAR:NO REPLY
                                    94359 TSM:FPAR
                                    94361 TSF:MSG:SEND,255-255-255-255,s=255,c=3,t=7,pt=0,l=0,sg=0,ft=0,st=OK:
                                    96369 !TSM:FPAR:NO REPLY
                                    96371 TSM:FPAR
                                    96373 TSF:MSG:SEND,255-255-255-255,s=255,c=3,t=7,pt=0,l=0,sg=0,ft=0,st=OK:
                                    98381 !TSM:FPAR:FAIL
                                    98383 TSM:FAIL:CNT=6
                                    98384 TSM:FAIL:PDT
                                    108387 TSM:FAIL:RE-INIT
                                    108389 TSM:INIT
                                    108396 TSM:INIT:TSP OK
                                    108398 TSM:FPAR
                                    108401 TSF:MSG:SEND,255-255-255-255,s=255,c=3,t=7,pt=0,l=0,sg=0,ft=0,st=OK:
                                    110408 !TSM:FPAR:NO REPLY
                                    110410 TSM:FPAR
                                    110413 TSF:MSG:SEND,255-255-255-255,s=255,c=3,t=7,pt=0,l=0,sg=0,ft=0,st=OK:
                                    112420 !TSM:FPAR:NO REPLY
                                    112422 TSM:FPAR
                                    112425 TSF:MSG:SEND,255-255-255-255,s=255,c=3,t=7,pt=0,l=0,sg=0,ft=0,st=OK:
                                    114433 !TSM:FPAR:NO REPLY
                                    114435 TSM:FPAR
                                    114438 TSF:MSG:SEND,255-255-255-255,s=255,c=3,t=7,pt=0,l=0,sg=0,ft=0,st=OK:
                                    116445 !TSM:FPAR:FAIL
                                    116447 TSM:FAIL:CNT=7
                                    116449 TSM:FAIL:PDT
                                    

                                    This is my debug log. will like to know if there some thing I missed as I learning thanks :+1:

                                    1 Reply Last reply
                                    0
                                    • tbowmoT Offline
                                      tbowmoT Offline
                                      tbowmo
                                      Admin
                                      wrote on last edited by
                                      #320

                                      @tombstone

                                      Just to be sure, you have one pro mini with NRF24 working as a gateway, connected to your computer?

                                      And then you have one (or more) pro minis also with NRF24, acting as nodes?

                                      tombstoneT 1 Reply Last reply
                                      0
                                      • tombstoneT tombstone

                                        @tombstone

                                        //#define MY_NODE_ID 1  // Set this to fix your Radio ID or use Auto
                                        

                                        IS there someing I have missed with adding NODES???

                                        gohanG Offline
                                        gohanG Offline
                                        gohan
                                        Mod
                                        wrote on last edited by
                                        #321

                                        @tombstone said in Irrigation Controller (up to 16 valves with Shift Registers):

                                        @tombstone

                                        //#define MY_NODE_ID 1  // Set this to fix your Radio ID or use Auto
                                        

                                        IS there someing I have missed with adding NODES???

                                        yuo need to uncomment that line

                                        tbowmoT 1 Reply Last reply
                                        0
                                        • gohanG gohan

                                          @tombstone said in Irrigation Controller (up to 16 valves with Shift Registers):

                                          @tombstone

                                          //#define MY_NODE_ID 1  // Set this to fix your Radio ID or use Auto
                                          

                                          IS there someing I have missed with adding NODES???

                                          yuo need to uncomment that line

                                          tbowmoT Offline
                                          tbowmoT Offline
                                          tbowmo
                                          Admin
                                          wrote on last edited by
                                          #322

                                          @gohan

                                          Only if he won't use auto id assignment from domoticz.

                                          tombstoneT gohanG 2 Replies Last reply
                                          0
                                          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