Arduino irrigation issues



  • Hello,
    I am currently working on a project for school and chose the irrigation build. After getting to the upload of the code (which not confident it was taken, given that I am using the enhanced pro mini with an Atmel mega328p mu1636) not sure if I need to choose the proper programmer. Also, I am not able to get any debug on the serial monitor when uncommented. Then along the way I realized that this is for a Vera home automation system. I do not have the intent to buy this before the project is due. Is there a way to demonstrate this in a class room environment by say just using the push button to run through the zones? This is very time sensitive and I would really appreciate a response on this either good or bad.
    Thanks,
    Adam Scharlau


  • Mod

    Hi @adam, welcome to the forum

    MySensors supports multiple controllers. It can also be used without an controller.
    If you haven't already, read the getting started guide. Reading it will save you a lot of time.


  • Plugin Developer

    Hi Adam, if you have a raspberry Pi I would recommend installing Domoticz on it. It's one of the better options for beginners as it has great MySensors support built in.

    More on Domoticz here



  • IObroker or openhab will work as a replacement controller for Vera.



  • @alowhum Unless things have changed I don't know if Domoticz is a good choice for this. Back when I was using Domoticz with my irrigation controller, I had issues with the V_Var1-3 values for setting the zone names and times. It has been a while since I have used Domoticz, so there may have been some updates that have fixed this that I am unaware of, so if there is, someone can chime in and correct me. I don't know what other controllers support the V_Var values.


  • Plugin Developer

    Why would you need V-Var values?

    I know that Domoticz is one of the few to support the INFO field well, meaning it's easy to store variables that way.

    Domoticz is the most user friendly system, with out of the box support for MySensors. And that says more about the state of the open source controller ecosystem than anything ๐Ÿ˜ž



  • Thanks for all the info guys. I ended up buy the Vera and it seems that I am having trouble with the serial gateway. I have the gui17 my sensor plug in loaded correctly I think. The plug in pops up but canโ€™t detect device is showing or a lua start up fail. Then once I was able to get the serial gate to talk to Vera showing the six functions and the node but never was able to get the lcd display or control anything. I will mention that I am using a pro mini as my serial gate not sure if nano is still the ONLY microcontroller that can be used.



  • @alowhum The V_Var values are what let you set the watering times as well as the zone names that get displayed on the LCD from the controller side. Having this functionality would allow you to adjust the watering times based on weather data using a LUA or other controller based script. If you didn't have the V-Var values, you would have to hard code the watering times in the sketch and if you wanted to adjust them, you would have to modify the sketch and re-upload it.


  • Plugin Developer

    @dbemowsk Ah, sorry, I didn't realise this referred to a specific sketch. My bad.



  • @alowhum Unless it has changed, the original sketch in the build section had this. Here is an example from one zone from my Vera setup.
    0_1543775096757_6d08b5a2-49af-4443-9b90-c9af65f719da-image.png
    Variable1 - 3 correspond to the V_VAR1 - V_VAR3 values.
    V_VAR1 sets the zone run time when triggered automatically.
    V_VAR2 sets the run time for when the zone is triggered manually from the buttons on the controller.
    V_VAR3 sets the name that will be displayed on the LCD screen on the controller.

    A few years ago when I was running Domoticz, I had some crafty LUA script with a custom sketch that let me do this to a point, but it was quite cumbersome. Getting my Vera Plus controller made this much easier.



  • IObroker or openhab support V_VAR and the original sketch works on both controllers, at least for me it does.



  • I was hoping back then that Domoticz would get on the wagon and add support for these, but they never did. Unless they have done something recently, I haven't used Domoticz in a few years. It's good to know that there are others out there that do support this.


Log in to reply
 

Suggested Topics

15
Online

11.4k
Users

11.1k
Topics

112.7k
Posts