We have moved at community.getvera.com

Author Topic: Free graphs for your temp/power sensors  (Read 2486 times)

Offline ipstas

  • Sr. Newbie
  • *
  • Posts: 49
  • Karma: +2/-0
Free graphs for your temp/power sensors
« on: March 12, 2019, 04:27:35 pm »
Free graphs / gauges visualization https://www.hundredgraphs.com

Works really simple, you just need a lua file (provided as well), change it to your liking with devices id and serviceId, add to your Luup files. Edit your Startup Lua to include

monitcode = require("Moniton")

Start pushing data
Select what feed is going to be used
Select linear or gauge
Give a title and save
It comes to your dashboard by itself

Let me know if you have any questions

Offline tomtcom

  • Beta Testers
  • Hero Member
  • *****
  • Posts: 1050
  • Karma: +27/-31
Re: Free graphs for your temp/power sensors
« Reply #1 on: March 12, 2019, 07:04:17 pm »
Wow, great find.

Can you provide more details on these files? I read what you posted but I'm not entirely sure what all is needed. Perhaps a few step by step bullets?

Sent from my VS995 using Tapatalk


Offline ipstas

  • Sr. Newbie
  • *
  • Posts: 49
  • Karma: +2/-0
Re: Free graphs for your temp/power sensors
« Reply #2 on: March 12, 2019, 07:43:06 pm »
- download Moniton.lua from https://www.hundredgraphs.com/files/Moniton.lua
- get API key from your Settings https://www.hundredgraphs.com/settings
- update Moniton.lua with new API key
- update same file with device ids you want to push
- go to Vera to Apps/Develop Apps/Luup files and upload that file
- in Edit Startup Lua add line
monitcode = require("Moniton")
After Luup restart Vera should be pushing data every 1 minute

On hundredgraphs you will be able to see new data under /Feeds
Next step go to /Graphs and click on + to add a new Graph

Select Feeds
Choose Linear or Gauge
Add title and units
Save

Now that graph should go to your dashboard like in that demo https://www.hundredgraphs.com/demo

Some docs are there https://www.hundredgraphs.com/apidocs

Offline Don Phillips

  • Hero Member
  • *****
  • Posts: 1464
  • Karma: +41/-36
Re: Free graphs for your temp/power sensors
« Reply #3 on: March 12, 2019, 08:52:28 pm »
+1 - I hope to get time this fall to try this out.
Vera 3, 1.7.1040, CT101, Everspring Motion, GE/Jasco Switch/Dimmer, Leviton outlet, AeonLabs sensor, NuTone garage door, Blue Iris, Sricam SP011, iPhone locator, APCUPSD, VeraMate, VeraAlerts, PLEG, House Modes, Countdown Timer, DVR, Virtual/Multi Switch, LB60Z-1 bulb, Hue, Alexa, Zooz 4-1

Offline tomtcom

  • Beta Testers
  • Hero Member
  • *****
  • Posts: 1050
  • Karma: +27/-31
Re: Free graphs for your temp/power sensors
« Reply #4 on: March 12, 2019, 08:58:15 pm »
Awesome ipstas! You are a rock star! I will be trying this out.

Sent from my VS995 using Tapatalk


Offline ipstas

  • Sr. Newbie
  • *
  • Posts: 49
  • Karma: +2/-0
Re: Free graphs for your temp/power sensors
« Reply #5 on: March 13, 2019, 01:00:06 pm »
my pleasure. If you need something else, just ask. I am the one behind it

Here or preferably at https://www.hundredgraphs.com/#contact. Forum here doesn't send any notifications, I might miss it

Offline jvanhambelgium

  • Jr. Member
  • **
  • Posts: 56
  • Karma: +2/-0
Re: Free graphs for your temp/power sensors
« Reply #6 on: March 13, 2019, 04:45:26 pm »
I can't seem to be able to download the required Monitor.lua file ? I get a 404 / non-existing error for this link

https://www.hundredgraphs.com/files/Moniton.lua

Normal ?

Offline akbooer

  • Beta Testers
  • Master Member
  • *****
  • Posts: 6387
  • Karma: +291/-70
  • "Less is more"
Re: Free graphs for your temp/power sensors
« Reply #7 on: March 13, 2019, 04:46:46 pm »
I can't seem to be able to download the required Monitor.lua file ? I get a 404 / non-existing error for this link

That link works fine for me.
3x Vera Lite-UI5/Edge-UI7, 25x Fibaro, 23x TKB, 9x MiniMote, 2x NorthQ Power, 2x Netatmo, 1x Foscam FI9831P, 9x Philips Hue,
Razberry, MySensors Arduino, HomeWave, AltUI, AltHue, DataYours, Grafana, openLuup, ZWay, ZeroBrane Studio.

Offline jvanhambelgium

  • Jr. Member
  • **
  • Posts: 56
  • Karma: +2/-0
Re: Free graphs for your temp/power sensors
« Reply #8 on: March 13, 2019, 04:50:20 pm »
I can't seem to be able to download the required Monitor.lua file ? I get a 404 / non-existing error for this link

That link works fine for me.

The link here in the forums indeed works, on the website itself in the API-key section there is also a link an that one does not work for me.
Links are exactly the same ... weird ....



Offline sebby

  • Sr. Member
  • ****
  • Posts: 306
  • Karma: +15/-3
Re: Free graphs for your temp/power sensors
« Reply #9 on: March 13, 2019, 05:44:58 pm »
I can't seem to be able to download the required Monitor.lua file ? I get a 404 / non-existing error for this link

That link works fine for me.

The link here in the forums indeed works, on the website itself in the API-key section there is also a link an that one does not work for me.
Links are exactly the same ... weird ....
I had the same issue on the website.  link here works just fine.

Offline ipstas

  • Sr. Newbie
  • *
  • Posts: 49
  • Karma: +2/-0
Re: Free graphs for your temp/power sensors
« Reply #10 on: March 13, 2019, 07:00:29 pm »
wow! thanks for pointing out. Fixed

Offline korttoma

  • Hero Member
  • *****
  • Posts: 729
  • Karma: +26/-5
Re: Free graphs for your temp/power sensors
« Reply #11 on: March 14, 2019, 02:57:32 am »
Thanks for this @ipstas works nicely!!
- Tomas

Offline ipstas

  • Sr. Newbie
  • *
  • Posts: 49
  • Karma: +2/-0
Re: Free graphs for your temp/power sensors
« Reply #12 on: March 14, 2019, 11:51:37 am »
@korttoma Glad to help. If any questions/suggestions/ideas, please feel free to ask.

Offline wilme2

  • Hero Member
  • *****
  • Posts: 1302
  • Karma: +33/-13
Re: Free graphs for your temp/power sensors
« Reply #13 on: March 14, 2019, 05:03:07 pm »
After Luup restart Vera should be pushing data every 1 minute

Looks great!

Is there a way to push less frequently?  My Vera is really busy - adding something that runs 1440 times a day is problematic.  But if I could push say every 10 minutes...
Long Live UI5!  (OK finally made the switch to UI7 in January 2018, and am pretty happy....)

Offline ipstas

  • Sr. Newbie
  • *
  • Posts: 49
  • Karma: +2/-0
Re: Free graphs for your temp/power sensors
« Reply #14 on: March 14, 2019, 06:38:07 pm »
There is a variable in lua file
local updateInterval = 60

You can  change it to any seconds you want (not less than 60). I am personally pushing every 60 secs. But I think average user would be ok with 600 (ten minutes). Vera by itself is not updating stuff too often