Jump to content

Welcome to Smart Home Forum by FIBARO

Dear Guest,

 

as you can notice parts of Smart Home Forum by FIBARO is not available for you. You have to register in order to view all content and post in our community. Don't worry! Registration is a simple free process that requires minimal information for you to sign up. Become a part of of Smart Home Forum by FIBARO by creating an account.

 

As a member you can:

  •     Start new topics and reply to others
  •     Follow topics and users to get email updates
  •     Get your own profile page and make new friends
  •     Send personal messages
  •     ... and learn a lot about our system!

 

Regards,

Smart Home Forum by FIBARO Team


Recommended Posts

Posted
It was approx 50 euro on eBay, including Power Supply and shipment from Germany - just search "M135 Kemo"...

BTW, everything (M135, Fibaro US, watering valves) is powered by the same single 12V power supply (except the Fibaro 2-x1,5 Relè obviously)

Good luck!

R

Hi,

I'm looking for a sprinkler system ccompatible with fibaro, but I couldn´t find anyone compatible. Is it right? the only way to create one is based on DIY?

I only need to control 4 different valves, and I don´t know how to deal with it. Could you please show me the way?

Thanks a lot!

I am using normal 12V/DC (normally closed) valves controlled by fibaro 2x1,5 relay - so the same 12V transformer powers both the humidity sensor, the fibaro universal sensor and the valves

Hope it helps!

R

Thanks!!

And what about new RGB fibaro module. Could it works as a valve control? and will fibaro allow us to set it up as a sprinkler?

Thanks again

Posted

As now with 3.559 virtual device are available in iPad app, I setup the virtual device in order to have button for a delay of 0h, 24h, 48h, for a addition of 0%, +10%, +20% of water.

Now I'm trying to add button in order to move from the mode auto to off in order to stop a valve directly from the iPad. With this command (

Please login or register to see this link.

) I can access to info about watering. I can see that this is "mode" value that I need to change but I haven't success thrue a LUA code:

Please login or register to see this code.

Where is the mistake??? Thx for your help

Please login or register to see this image.

/emoticons/default_icon_biggrin.gif" alt=":-D" />

[ Added: 2013-09-02, 22:26 ]

Quikdav provided me some help for my request but this is fully working. We tried the following code:

Please login or register to see this code.

But this is not changing the mode of the FGS221. But if we replace "mode" by "name" the code is changing the name of the module.

Where is the mistake that make?

[ Added: 2013-09-16, 21:42 ]

No idea for my question???

  • 8 months later...
Posted

Unfortunately Fibaro has messed up something with Drenches Panel

Please login or register to see this image.

/emoticons/default_icon_sad.gif" alt=":-(" />

You can't use VD to change that param rainDelay !?

Why is that so? I have also noticed that the param is now in seconds not hours.

It's such a pity as there is no chance to change the delay based on the weather condition.

OK solved - change "24" to 24.

Please login or register to see this image.

/emoticons/default_icon_smile.gif" alt=":-)" />

Posted
It was approx 50 euro on eBay, including Power Supply and shipment from Germany - just search "M135 Kemo"...

BTW, everything (M135, Fibaro US, watering valves) is powered by the same single 12V power supply (except the Fibaro 2-x1,5 Relè obviously)

Good luck!

R

I bought the same device (Kemo) and it consists of two elements: the probe and a black box. Did you connect both to the rgbw controller or only the probe?

  • 4 months later...
Posted

It works really well. My sprinklers are indeed delayed on rainy days, thanks!

But what actually happens if a sprinkler was delayed twice. E.g. If the sprinkler is planned on Monday, but was delayed on Mon+Tue. Does that mean it will run on Wed (even though it is perhaps also planned on Thu)?

And if it was also delayed on Wed, does that mean it is 'cancelled' as it runs simultaneously with the other planned run?

Posted

savage,

This code just delays current schedule for 24 hrs and executes sprinklers (if there are more rainy days it's constantly delayed). Then sprinklers continue to work as scheduled in a panel.

Posted

Thanks, exactly the answer I was hoping for! If it is possible to delay a sprinkler run multiple times it works for me.

  • 9 months later...
Posted

Hi Guys,

 

I have buttons for rain delay and thats fine - I added a button to change mode from off to auto and vice versa but as soon as the json is saved it seems to revert back to what ever is set in the panel

 

is this a variable we are simply not allowed to change?

 

or am i missing something:

 

jsonTable.drenchers[1].mode = 'auto'
fibaro:debug('Mode: ' ..jsonTable.drenchers[1].mode);
 
it debugs and reads fine.
 
HELP

Please login or register to see this image.

/emoticons/default_smile.png" alt=":)" srcset="https://forum.fibaro.com/uploads/emoticons/[email protected] 2x" width="20" height="20" />
  • 3 weeks later...
Posted

In case anyone cares the solution was as follows:

 

HC2:POST("/api/devices/32/action/setDrenchingMode", '{"args":["off"]}')
 
rather than editting the json
  • 10 months later...
Posted

Hi,


following code example ...


Please login or register to see this code.


...is possible to set the DrenchingMode, too.


 


But one question. Is it possible to check the drenchingMode over the LUA API?


I get a "nil" value, if I check the drenchingMode property over fibaro:getValue(deviceID, "mode");


  • 3 months later...
Posted

Sure, here is an example of code for updating any variable possible in the panel

 

md return the mode

 

local localhost = '127.0.0.1';
local port = 11111;
HC2 = Net.FHttp(localhost, port)
response ,status, errorCode = HC2:GET("/api/panels/drenchers")
jsonTable = json.decode(response)
-- données entêtre du panneau
rd = jsonTable.rainDelay
aw = jsonTable.adjustWater
dr = jsonTable.drenchers
 
for i = 1, #dr do
  id = jsonTable.drenchers.id
nd = jsonTable.drenchers.nextDrenching
md = jsonTable.drenchers.mode
  fibaro:call(id, "setDrenchingMode", "auto")
cy = jsonTable.drenchers.cycles
  du = 15 -- durée d'arrosage
  hh = 20 -- début du cycle 1
  mm = 00  
  -- modification de chaque ligne de cycle
  for c = 1, #cy do
jsonTable.drenchers.cycles[c].hour = hh
    jsonTable.drenchers.cycles[c].minute = mm
jsonTable.drenchers.cycles[c].duration = du
    mm = du * c
    if (mm > 59) then
      mm = 60 - mm
      hh = hh + 1
    end
    if hh > 23 then
      hh = 0
    end
  end
end
-- Enregistrement des modifications 
response = json.encode(jsonTable)
response2 ,status2, errorCode2 = HC2:PUT("/api/panels/drenchers", response)
if errorCode2 == 0
then
  fibaro:debug(status2.." success on PUT")
else
  fibaro:debug("error" .. errorCode2)
end
Posted

Thanks for reply. But that was not the question.

 

The question was: "Is it possible to check the drenchingMode over the LUA API?"

 

The solution should be. Check and set the value ("mode"), each with one line of code

Posted

A.Socha,

Should "Rain Delay" timer reset every time Weather data switches away from rain (i.e "rain" to "sun" or "rain" to "cloudy")

My understanding is that the countdown timer that starts after you "save" the panel should reset to the specified time when the HC2/yahoo weather detects rain and start counting down again when the rain stops... Therefore only turning the sprinklers on if the "rain delay" countdown timer reaches zero and is 0:00 when the scheduled cycle time comes about.

This is not how it currently works but I may misunderstand the intention of these features?

Please login or register to see this link.

Does anyone know a solution as described above in the Watering panel for the HCL that can't make use of LUA scripts? Thank you in advance for your advises.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...