Irrigation Controller (up to 16 valves with Shift Registers)
-
I just made the change and tested it. That was definitely the problem. Works perfect now.
Not sure who can change the example code, but all that needs to be added is this:
// //Update valve data when first powered on for (byte i = 1; i <= NUMBER_OF_VALVES; i++) { lcd.clear(); goGetValveTimes(); } lcd.clear(); //Add this line inSetup = false;@dbemowsk
You beat me too it. I added the same line in same location and it works perfect. Every so often I see the raindrop icon to show that it is pulling data to update the valve times. -
So it is definitely a confirmed bug. I ended up finding some old sample code from when I started this last year and this bit of code was actually in the setup method and not in goGetValveTimes:
lcd.print(F(" Updating ")); lcd.setCursor(0, 1); lcd.print(F(" Valve Data: ")); lcd.print(valveIndex);So some time in the past year the sample code had been changed.
-
So it is definitely a confirmed bug. I ended up finding some old sample code from when I started this last year and this bit of code was actually in the setup method and not in goGetValveTimes:
lcd.print(F(" Updating ")); lcd.setCursor(0, 1); lcd.print(F(" Valve Data: ")); lcd.print(valveIndex);So some time in the past year the sample code had been changed.
-
Hi I just order all the parts that was listed. Do I need to read the 230 post or it's ok just watched the video.
@tombstone You shouldn't need to read all the posts. Maybe just search the thread if you run into any snags. What kind of setup are you dropping this into? Do you currently have valves installed? Does your setup have a master valve or pump relay? Is it a standard 24V AC system?
-
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. -
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....
-
If you are looking for Software, try openhab.
You need to buy Vera, but the software is free.
@Black-Cat thanks 😁
-
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... ''' -
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.
-
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.
@tbowmo
The hardware I'am using for the gateway is the Arduino pro mini and its wireless from the NRF24L01+ 2.4GHz Wireless TransceiverI 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