Irrigation Controller (up to 16 valves with Shift Registers)
-
Hi guys, I’m trying 2 days to compile this sketch for Domoticz. Still getting errors ones from library then from code...
Can someone share with me his working code for Domoticz in 2.0 version? Thanks a lot -
Hi @dbemowsk , Thanks for your reply. I had to reinstall Arduino IDE and all Libraries from my PC. I was fighting with „'POSITIVE' was not declared in this scope“ error, and installed over 6 Libraries for LCD. I got finally working the sketch for Vera from Mysensors/build, at least .
Unfortunately I’m not able to modify Sketch witch are guys using with Domoticz in this Topic.
Is there a way to get missing variables into Irrigation controller from domoticz or at least to set them manually in sketch? For me is enough one watering time for all valves. -
Hi @dbemowsk , Thanks for your reply. I had to reinstall Arduino IDE and all Libraries from my PC. I was fighting with „'POSITIVE' was not declared in this scope“ error, and installed over 6 Libraries for LCD. I got finally working the sketch for Vera from Mysensors/build, at least .
Unfortunately I’m not able to modify Sketch witch are guys using with Domoticz in this Topic.
Is there a way to get missing variables into Irrigation controller from domoticz or at least to set them manually in sketch? For me is enough one watering time for all valves.@mikee This was actually one of the reasons I switched from Domoticz to a Vera controller a couple years ago. The main issue at the time had to do with the use of V_VAR1 - V_VAR3 which is used to configure the valve names and the valve times. I wanted to have the ability to change the valve times.
For your situation though, you can modify your Zone names in the code by changing this bit:
// Name your Zones here or use Vera to edit them by adding a name in Variable3... String valveNickName[17] = { "All Zones", "Zone 1", "Zone 2", "Zone 3", "Zone 4", "Zone 5", "Zone 6", "Zone 7", "Zone 8", "Zone 9", "Zone 10", "Zone 11", "Zone 12", "Zone 13", "Zone 14", "Zone 15", "Zone 16" };Depending on the number of zones you have, just change the names in quotes for Zone 1, Zone 2, etc... up to the number of valves that you have.
I have been told recently though that Domoticz now supports V_VAR(x), but I am not sure how to use it just yet.
-
Hi, my module works with 8 relays but when i try to expand to 16 relays i have an issue. The 2nd register heats up and the pro mini keep restarting / re-initializing. I think i have the wrong connections for the 2nd register. Can anyone help / share what the wiring for the 2nd register should be?
-
Hi, my module works with 8 relays but when i try to expand to 16 relays i have an issue. The 2nd register heats up and the pro mini keep restarting / re-initializing. I think i have the wrong connections for the 2nd register. Can anyone help / share what the wiring for the 2nd register should be?
@mfalkvidd Is this #3 of same question?
-
@mfalkvidd Is this #3 of same question?
@zboblamont yes indeed.. If anyone can help @annujbhatia, please post in https://forum.mysensors.org/topic/9434/problem-with-2nd-register-heating instead of here, to keep all information in the same place.
-
I have the irrigation controller all setup and working. I have one problem though as soon as I power it up with 5 volts for the pro mini sometimes one sometimes all the relays come on. If I am not home the water runs all day is there a programing change or a wire change I need to make to stop this. I was using the old wire diagram without the pull up on pin 13 of the 74hc I changed to the new version and added the lines off code but it still does not help.
Hi @johnecy, know it has been a long time from your post, but I have implemented the script recently and am having the same issue that you mentined. please, how do you solve it?
@johnecy said in Irrigation Controller (up to 16 valves with Shift Registers):
I have the irrigation controller all setup and working. I have one problem though as soon as I power it up with 5 volts for the pro mini sometimes one sometimes all the relays come on. If I am not home the water runs all day is there a programing change or a wire change I need to make to stop this. I was using the old wire diagram without the pull up on pin 13 of the 74hc I changed to the new version and added the lines off code but it still does not help.
-
@mikee This was actually one of the reasons I switched from Domoticz to a Vera controller a couple years ago. The main issue at the time had to do with the use of V_VAR1 - V_VAR3 which is used to configure the valve names and the valve times. I wanted to have the ability to change the valve times.
For your situation though, you can modify your Zone names in the code by changing this bit:
// Name your Zones here or use Vera to edit them by adding a name in Variable3... String valveNickName[17] = { "All Zones", "Zone 1", "Zone 2", "Zone 3", "Zone 4", "Zone 5", "Zone 6", "Zone 7", "Zone 8", "Zone 9", "Zone 10", "Zone 11", "Zone 12", "Zone 13", "Zone 14", "Zone 15", "Zone 16" };Depending on the number of zones you have, just change the names in quotes for Zone 1, Zone 2, etc... up to the number of valves that you have.
I have been told recently though that Domoticz now supports V_VAR(x), but I am not sure how to use it just yet.
Hello,
I have build the irrigation controler this weekend and just found out that there are some issues using this with domoticz.
Is there someone willing to share his customized code to get these zone and time variables working ?Thanks in advance,
Edwin
-
Hello,
I have build the irrigation controler this weekend and just found out that there are some issues using this with domoticz.
Is there someone willing to share his customized code to get these zone and time variables working ?Thanks in advance,
Edwin
@edweather I had a lot of this working in Domoticz years ago. I have since switched to Vera, but here is a link to an old post I had on the subject.
https://forum.mysensors.org/topic/153/irrigation-controller-up-to-16-valves-with-shift-registers/216 -
@edweather I had a lot of this working in Domoticz years ago. I have since switched to Vera, but here is a link to an old post I had on the subject.
https://forum.mysensors.org/topic/153/irrigation-controller-up-to-16-valves-with-shift-registers/216