Welcome to EnviroDIY, a community for do-it-yourself environmental science and monitoring. EnviroDIY is part of WikiWatershed, an initiative of Stroud Water Research Center designed to help people advance knowledge and stewardship of fresh water.
New to EnviroDIY? Start here

Parameter Threshold Notifications

Home Forums Mayfly Data Logger Parameter Threshold Notifications

Tagged: 

Viewing 13 reply threads
  • Author
    Posts
    • #12908
      Jake Lemon
      Participant
        Has anyone set up notifications when Mayfly logger stations data exceeds a prescribed threshold? For example, if conductivity were to exceed 500 us/cm an email would be sent to a designated email addr
      • #12910
        Adam Gold
        Participant
          You can do this remotely if you send data to ThingSpeak (already supported by ModularSensors). There are caps on how many ThingSpeak channels you can have and still have it be free (4 per account, I
        • #12911
          Jake Lemon
          Participant

            Thanks Adam!

          • #13358
            neilh20
            Participant
              To piggy back on this discussion – I’m wondering if anybody (@srgdamiano?) knows if there is a way of doing a POST/GET to request data from the ODM database for the latest row, or be able
            • #13361
              Sara Damiano
              Moderator

                The WoFpy endpoint is here: http://data.wikiwatershed.org/wofpy/

              • #13363
                Sara Damiano
                Moderator
                  Just a note on sending to ThingSpeak: there’s no free tier for anything but “personal use.” If you set your MathWorks/MatLab/ThingSpeak account up as anything else (even non-profit
                • #13365
                  neilh20
                  Participant
                    Gosh @srgdamiano wonderful!. ..

                    As every another question … (thankyou thankyou in advance)

                    So following the examples and trying for some GetValues on EnviroDIY_Mayfly_Temp from
                    https://data

                  • #13366
                    Sara Damiano
                    Moderator
                      There are some bugs with WOFpy right now; I’d thought some had been fixed, but it looks like the only-returning-one-point issue is known and un-fixed: https://github.com/ODM2/ODM2DataSharingPo
                    • #13367
                      neilh20
                      Participant
                        OK I think I’ve figured out something. I can only get the last variable at the moment (432) .. which is what I need for my real analysis of looking at the last value of the voltage returned and
                      • #13376
                        neilh20
                        Participant
                          On the ThingSpeak thanks for pointing it out – they have become painful. I have a number of legacy connections I’m setup up for.

                          Not knowing the architecture of the ODM2/WOF and WaterML

                        • #13382
                          Sara Damiano
                          Moderator
                            Have you found the ulmo library: https://github.com/ulmo-dev/ulmo It can parse the WaterML.

                            I believe it’s what Model My Watersehd and other tools we have are using. I haven’t actually

                          • #13386
                            neilh20
                            Participant
                              Thanks for ulmo reference – I can sort of see something there, but its got a lot of layers and I can see it understands the response from a http://data.wikiwatershed.org/wofpy/rest/1_1/GetValues
                            • #13387
                              Sara Damiano
                              Moderator
                                I don’t think you should have to be messing with eTree if you’re using ulmo. There’s a get_values function that returns a simple python dictionary: https://ulmo.readthedocs.io/en/l
                              • #13390
                                neilh20
                                Participant
                                  Thanks for the front door 🙂 eTree was going down a whirly pooll!

                                  This worked for me, though maybe there is a nicer way.
                                  The output is value_num – which can be used for the threshold check.

                              Viewing 13 reply threads
                              • You must be logged in to reply to this topic.