element14 Community
element14 Community
    Register Log In
  • Site
  • Search
  • Log In Register
  • About Us
  • Community Hub
    Community Hub
    • What's New on element14
    • Feedback and Support
    • Benefits of Membership
    • Personal Blogs
    • Members Area
    • Achievement Levels
  • Learn
    Learn
    • Ask an Expert
    • eBooks
    • element14 presents
    • Learning Center
    • Tech Spotlight
    • STEM Academy
    • Webinars, Training and Events
    • Learning Groups
  • Technologies
    Technologies
    • 3D Printing
    • FPGA
    • Industrial Automation
    • Internet of Things
    • Power & Energy
    • Sensors
    • Technology Groups
  • Challenges & Projects
    Challenges & Projects
    • Design Challenges
    • element14 presents Projects
    • Project14
    • Arduino Projects
    • Raspberry Pi Projects
    • Project Groups
  • Products
    Products
    • Arduino
    • Avnet Boards Community
    • Dev Tools
    • Manufacturers
    • Multicomp Pro
    • Product Groups
    • Raspberry Pi
    • RoadTests & Reviews
  • Store
    Store
    • Visit Your Store
    • Choose another store...
      • Europe
      •  Austria (German)
      •  Belgium (Dutch, French)
      •  Bulgaria (Bulgarian)
      •  Czech Republic (Czech)
      •  Denmark (Danish)
      •  Estonia (Estonian)
      •  Finland (Finnish)
      •  France (French)
      •  Germany (German)
      •  Hungary (Hungarian)
      •  Ireland
      •  Israel
      •  Italy (Italian)
      •  Latvia (Latvian)
      •  
      •  Lithuania (Lithuanian)
      •  Netherlands (Dutch)
      •  Norway (Norwegian)
      •  Poland (Polish)
      •  Portugal (Portuguese)
      •  Romania (Romanian)
      •  Russia (Russian)
      •  Slovakia (Slovak)
      •  Slovenia (Slovenian)
      •  Spain (Spanish)
      •  Sweden (Swedish)
      •  Switzerland(German, French)
      •  Turkey (Turkish)
      •  United Kingdom
      • Asia Pacific
      •  Australia
      •  China
      •  Hong Kong
      •  India
      •  Korea (Korean)
      •  Malaysia
      •  New Zealand
      •  Philippines
      •  Singapore
      •  Taiwan
      •  Thailand (Thai)
      • Americas
      •  Brazil (Portuguese)
      •  Canada
      •  Mexico (Spanish)
      •  United States
      Can't find the country/region you're looking for? Visit our export site or find a local distributor.
  • Translate
  • Profile
  • Settings
Personal Blogs
  • Community Hub
  • More
Personal Blogs
Nico teWinkel's Blog Time well spent, wasted, or something
  • Blog
  • Documents
  • Mentions
  • Sub-Groups
  • Tags
  • More
  • Cancel
  • New
  • Share
  • More
  • Cancel
Group Actions
  • Group RSS
  • More
  • Cancel
Engagement
  • Author Author: ntewinkel
  • Date Created: 13 Jan 2023 8:33 PM Date Created
  • Views 1454 views
  • Likes 16 likes
  • Comments 10 comments
  • node-red
  • raspberry pi
  • influxdb
Related
Recommended

Time well spent, wasted, or something

ntewinkel
ntewinkel
13 Jan 2023

I spent far too much time last night adding daily high and low temperature display to my Raspberry Pi  node red hummingbird feeder monitoring UI.

So many limitations and quirks to work around!

First, Influxdb does not have a “start of day” function, so I had to do that in a node red function. I need that so it doesn’t include yesterday’s readings for today’s highs and lows.

Then, I realized everything is in the UTC timezone, which gives a different meaning to “today”, so I had to adjust that on both ends: in node red AND in the influxdb query.

Things got personal, so I couldn’t quit!

But look! How pretty!

image
ultimately it was only a few hours, but for that tiny bit of result I was thinking it should have been like 10 minutes! Maybe I need to lower my expectations Joy 

  • Sign in to reply

Top Comments

  • scottiebabe
    scottiebabe over 2 years ago +1
    Low of 8!? Ontario got a cold snap recently, almost froze my paws off trying to chop copper clad Great work as always, thanks for sharing!
Parents
  • BigG
    BigG over 2 years ago

    Yep, I think it relates to starting with the simplest tool you can find, like the no-code Node-Red option, and then quickly finding its limitations... but the thought of starting all over with a better code-based option keeps stopping you from switching... so frustrating this learning curve malarkey.

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • More
    • Cancel
Comment
  • BigG
    BigG over 2 years ago

    Yep, I think it relates to starting with the simplest tool you can find, like the no-code Node-Red option, and then quickly finding its limitations... but the thought of starting all over with a better code-based option keeps stopping you from switching... so frustrating this learning curve malarkey.

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • More
    • Cancel
Children
  • genebren
    genebren over 2 years ago in reply to BigG

    So true.  It's the same feeling you get when you write a simple user interface in VisualBasic and then it grows and grows and becomes a very difficult thing to modify or maintain. But trying to start in a more code driven development environment would have meant a steeper learning curve and the possibility that you might have given up due to a lack of progress.

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • More
    • Cancel
  • ntewinkel
    ntewinkel over 2 years ago in reply to BigG

    Pretty much, yes! In my case I was thinking that I could do it all in one Influxdb call. What was more frustrating was seeing examples of flux (whatever that is?) doing what I need for the “today()” call, and then later seeing the note about this not being available in Influxdb. Also getting max and min in one call is possible, but then you don’t get the related time stamps. Shrug

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • More
    • Cancel
element14 Community

element14 is the first online community specifically for engineers. Connect with your peers and get expert answers to your questions.

  • Members
  • Learn
  • Technologies
  • Challenges & Projects
  • Products
  • Store
  • About Us
  • Feedback & Support
  • FAQs
  • Terms of Use
  • Privacy Policy
  • Legal and Copyright Notices
  • Sitemap
  • Cookies

An Avnet Company © 2025 Premier Farnell Limited. All Rights Reserved.

Premier Farnell Ltd, registered in England and Wales (no 00876412), registered office: Farnell House, Forge Lane, Leeds LS12 2NE.

ICP 备案号 10220084.

Follow element14

  • X
  • Facebook
  • linkedin
  • YouTube