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
crusher70C

crusher70

@crusher70
About
Posts
14
Topics
2
Shares
0
Groups
0
Followers
0
Following
0

Posts

Recent Best Controversial

  • Browser downloads file instead of connecting to Login page?
    crusher70C crusher70

    In case anyone else is reading this post im going to try running through this post.

    I'll update with progress later.

    Self-Signed_Certificate Guide

    MyController.org

  • Browser downloads file instead of connecting to Login page?
    crusher70C crusher70

    Yep worked first time without ssl. Just need to work out how to set-up the free ssl certificate i got from StartSSL.

    Thanks for your continued support its really appreciated.

    MyController.org

  • Browser downloads file instead of connecting to Login page?
    crusher70C crusher70

    HI there,

    Good idea i'll give that a go while sorting out SSL Cert.

    Thanks

    MyController.org

  • Browser downloads file instead of connecting to Login page?
    crusher70C crusher70

    Hi everyone,

    Firstly when working on my local LAN it works perfectly. However I have a small issue where by when connection from the web via dynamic IP > Router > Port forwarding. I enter the correct address and a connection is made however the browser downloads a file called download.
    I cannot seem to find any information on this error, although I'm probably looking in all the wrong places.

    Any help would be greatly appreciated.

    Thanks

    MyController.org

  • Battery based atmega328p sensor (no SMD)
    crusher70C crusher70

    Just a quick hello to say your Battery based atmega328p sensor (no SMD) and the companion boards are exactly what I was looking for. Ordered 10 of each today and cant wait to get cracking on building them.
    Great work btw

    OpenHardware.io mysensors atmega328 battery nrf24l01

  • Soil Sensor Trips wrong way (dry>wet not wet>dry)
    crusher70C crusher70

    @jkandasa

    Thanks jkandasa work great. I shall leave you alone to rest up for a while as its 4:30 am over there. I'm sure I'll have more questions at some point in the future, but for now you have been a great help so thank you very much. Take care and have a great day.
    Regards
    Glen

    MyController.org

  • Soil Sensor Trips wrong way (dry>wet not wet>dry)
    crusher70C crusher70

    @jkandasa

    Ah now I understand thank you once again.

    Regards
    Glen

    MyController.org

  • Soil Sensor Trips wrong way (dry>wet not wet>dry)
    crusher70C crusher70

    @jkandasa

    As requested this is the alarm i have configured.
    0_1456959002208_Relayshutoff.png

    MyController.org

  • Soil Sensor Trips wrong way (dry>wet not wet>dry)
    crusher70C crusher70

    @jkandasa
    Ok one final nob question if you don't mind?

    I have configured the Alarm as suggested but set the active time for 1 min for testing. The alarm triggers as it should but I cant see where the triggering of this alarm turns off the relay. Sorry if this is a silly question but I can't for the life of me see where to configure it.

    Many thanks
    Glen

    MyController.org

  • Soil Sensor Trips wrong way (dry>wet not wet>dry)
    crusher70C crusher70

    @jkandasa
    Great idea! Ill do that now. Thanks again for being so helpful.

    Glen

    MyController.org

  • Soil Sensor Trips wrong way (dry>wet not wet>dry)
    crusher70C crusher70

    @jkandasa

    Thank you jkandasa,
    I was looking at it from completely the wrong direction trying to cover everything with just one alarm. I have reconfigured as you suggested and also added a forward payload which turns on a relay to water plants and turns it off when soil is wet.

    Working perfectly thank you so much for your help with this.

    Glen

    MyController.org

  • Soil Sensor Trips wrong way (dry>wet not wet>dry)
    crusher70C crusher70

    @jkandasa

    Hi and thank you for your help with this.

    I'm using the default MySensor sketch, the read function is as follows:-
    the serial output shows that when the sensor is wet (not triggered) a 1 is sent and Dry (triggered) a 0 is sent.
    I have changed the Dampening to none for now.

    void loop()     
    {     
      // Read digital soil value
      int soilValue = digitalRead(DIGITAL_INPUT_SOIL_SENSOR); // 1 = Not triggered, 0 = In soil with water 
      if (soilValue != lastSoilValue) {
        Serial.println(soilValue);
        gw.send(msg.set(soilValue==0?1:0));  // Send the inverse to gw as tripped should be when no water in soil
      
        lastSoilValue = soilValue;
      }
    
    MyController.org

  • Soil Sensor Trips wrong way (dry>wet not wet>dry)
    crusher70C crusher70

    0_1456951122789_SoilAlarm.jpg

    Hi there,

    I have tried setting the "Trigger When" option to 1 and 0 but it still seems to be reversed.
    Many thanks.
    Glen

    MyController.org

  • Soil Sensor Trips wrong way (dry>wet not wet>dry)
    crusher70C crusher70

    Hi everyone,

    Firstly a big thank you to everyone for your great ideas, guides and guidance. This site got my greenhouse project off to a flying start.
    I have one question which is probably going to expose my noobness.

    I have various sensors running on various test uno boards including multiple temp sensors on one uno and a single soil sensor on another.
    All there are reporting to my Ethernet Gateway then to MyController running on a Pi.
    Im using the digital output of the sensor and it shows up correctly in MyController. However the alarm is only triggered when the sensor goes from dry to wet not wet to dry. I have read through the sketch and it mentions inverting the send to allow for this. Am I missing something?

    Any Help would be greatly appreciated.

    Thanks
    Glen

    MyController.org
  • Login

  • Don't have an account? Register

  • Login or register to search.
  • First post
    Last post
0
  • MySensors
  • OpenHardware.io
  • Categories
  • Recent
  • Tags
  • Popular