Recent

Author Topic: Foobot indoor air quality monitor  (Read 4961 times)

minesadorada

  • Sr. Member
  • ****
  • Posts: 452
  • Retired
Foobot indoor air quality monitor
« on: December 29, 2016, 06:10:31 pm »
Lazarus implementation of Foobot API (GPL)
Windows: https://svn.code.sf.net/p/lazarus-ccr/svn/applications/foobot/monitor/innosetup/setup_foobotmonitor.exe
Linux: https://svn.code.sf.net/p/lazarus-ccr/svn/applications/foobot/monitor/linuxbinaries/foobotmonitor.zip

The ccr Foobot project contains a Lazarus interface to the Foobot API
https://svn.code.sf.net/p/lazarus-ccr/svn/applications/foobot/

Foobot is an INOT gadget that monitors indoor air quality. http://foobot.io/

I got one, and discovered they only had Android and iPhone interfaces for it, so I wrote my own in Lazarus/fpc.
If you have a Foobot - give it a try!

It's a work-in-progress.

Wiki Page: http://wiki.lazarus.freepascal.org/Foobot
« Last Edit: December 30, 2016, 12:28:44 pm by minesadorada »
GPL Apps: Health MonitorRetro Ski Run
OnlinePackageManager Components: LazAutoUpdate, LongTimer, PoweredBy, ScrollText, PlaySound, CryptINI

lainz

  • Hero Member
  • *****
  • Posts: 4468
    • https://lainz.github.io/
Re: Foobot indoor air quality monitor
« Reply #1 on: December 29, 2016, 07:21:19 pm »
I don't have one but nice you can program stuff like this, hopefully I someday can make better projects like this  :)

minesadorada

  • Sr. Member
  • ****
  • Posts: 452
  • Retired
Re: Foobot indoor air quality monitor
« Reply #2 on: December 29, 2016, 07:35:02 pm »
I don't have one but nice you can program stuff like this, hopefully I someday can make better projects like this  :)
@lainz: I use two methods to stream the complex JSON from the Foobot server to an fpc object:
One based on your generics code, and another based on using a Variant field.

- so thanks for your generics solution :)
GPL Apps: Health MonitorRetro Ski Run
OnlinePackageManager Components: LazAutoUpdate, LongTimer, PoweredBy, ScrollText, PlaySound, CryptINI

lainz

  • Hero Member
  • *****
  • Posts: 4468
    • https://lainz.github.io/
Re: Foobot indoor air quality monitor
« Reply #3 on: December 29, 2016, 07:37:29 pm »
Well done. I did that generic unit some years ago and stored it in the wiki, is really usefull instead of writing again the collections code each time you need it.

minesadorada

  • Sr. Member
  • ****
  • Posts: 452
  • Retired
Re: Foobot indoor air quality monitor
« Reply #4 on: December 30, 2016, 11:03:21 am »
Foobot Interrogator V0.1.1.0

This app can query multiple Foobots in your home.  It produces a report of readings over a specified time period (up to 45 days hence) and specified intervals.

Windows 32/64 binaries:
https://svn.code.sf.net/p/lazarus-ccr/svn/applications/foobot/innosetup/foobotinterrogator_setup.exe

Linux 32/64 binaries:
https://svn.code.sf.net/p/lazarus-ccr/svn/applications/foobot/compiled/linuxbinaries.zip

Source:
https://svn.code.sf.net/p/lazarus-ccr/svn/applications/foobot/

To use this app, you will need:
1. A Foobot
2. A Foobot account
3. A free API Key (from https://api.foobot.io/apidoc/index.html)

The source contains a utility unit that accesses the Foobot API for your own Lazarus Foobot app creations.

Foobot Monitor update
The Monitor app (1st post in thread) now minimises to the system tray.

Wiki Page (includes screenshots)
http://wiki.lazarus.freepascal.org/Foobot
« Last Edit: December 30, 2016, 01:03:11 pm by minesadorada »
GPL Apps: Health MonitorRetro Ski Run
OnlinePackageManager Components: LazAutoUpdate, LongTimer, PoweredBy, ScrollText, PlaySound, CryptINI

minesadorada

  • Sr. Member
  • ****
  • Posts: 452
  • Retired
Re: Foobot indoor air quality monitor
« Reply #5 on: January 02, 2017, 10:40:42 am »
Foobot Monitor update to V0.1.0.0

* Now shows 48-hour history graph on start-up and increments the graph whilst running
* Readings are colour-coded
* Various bugfixes and improvements

Download as above posts
« Last Edit: January 02, 2017, 01:25:47 pm by minesadorada »
GPL Apps: Health MonitorRetro Ski Run
OnlinePackageManager Components: LazAutoUpdate, LongTimer, PoweredBy, ScrollText, PlaySound, CryptINI

minesadorada

  • Sr. Member
  • ****
  • Posts: 452
  • Retired
Re: Foobot indoor air quality monitor
« Reply #6 on: January 07, 2017, 10:04:19 am »
Foobot Monitor update to 0.2.0.0

* Multiple foobots supported
* Snazzy splash screen
* Many minor improvements

Wiki page as above posts

Windows 32/64 binaries:
 https://svn.code.sf.net/p/lazarus-ccr/svn/applications/foobot/monitor/innosetup/setup_foobotmonitor.exe
Linux 32/64 binaries:
 https://svn.code.sf.net/p/lazarus-ccr/svn/applications/foobot/monitor/linuxbinaries/foobotmonitor.zip
« Last Edit: January 07, 2017, 10:17:37 am by minesadorada »
GPL Apps: Health MonitorRetro Ski Run
OnlinePackageManager Components: LazAutoUpdate, LongTimer, PoweredBy, ScrollText, PlaySound, CryptINI

minesadorada

  • Sr. Member
  • ****
  • Posts: 452
  • Retired
Re: Foobot indoor air quality monitor
« Reply #7 on: January 10, 2017, 09:18:31 am »
Foobot Monitor update to V0.2.2.0

* Now has customisable triggers, colours etc.
* Traffic Light display of air quality

Wiki Page: http://wiki.lazarus.freepascal.org/Foobot
GPL Apps: Health MonitorRetro Ski Run
OnlinePackageManager Components: LazAutoUpdate, LongTimer, PoweredBy, ScrollText, PlaySound, CryptINI

 

TinyPortal © 2005-2018