Author Topic: How are you using the web tiles?  (Read 860 times)

tb001

  • Sr. Member
  • ****
  • Posts: 377
  • Karma: +5/-2
How are you using the web tiles?
« on: January 30, 2016, 02:06:33 pm »
Just going through and revamping our homewave and saw the web tiles function. Seems like it could be cool. Curious to hear how others are using this.

jamac

  • Jr. Member
  • **
  • Posts: 50
  • Karma: +0/-1
Re: How are you using the web tiles?
« Reply #1 on: April 01, 2016, 04:38:02 am »
Is there any way to pass a username and password to a website using the web tile (ie, to automatically log in)?

intveltr

  • Moderator
  • Hero Member
  • *****
  • Posts: 1651
  • Karma: +90/-5
Re: How are you using the web tiles?
« Reply #2 on: April 01, 2016, 04:44:50 am »
You can include user and password in the url: http://username:password@website.com
HomeWave is available in the App Store!  Turn your iPhone/iPad into an easy-to-use remote control for Vera.

Silverow

  • Jr. Member
  • **
  • Posts: 55
  • Karma: +1/-1
Re: How are you using the web tiles?
« Reply #3 on: April 01, 2016, 07:36:22 am »
How to show brent and $ rate from rbc.ru or anyone else?

jamac

  • Jr. Member
  • **
  • Posts: 50
  • Karma: +0/-1
Re: How are you using the web tiles?
« Reply #4 on: April 01, 2016, 02:00:37 pm »
Sorry for being such a noob but I don't seem to be able to do this. Is it as simple as adding ?username=XXX&password=YYY to the end of the URL?

I'm trying to use a webtile to display the energy meter from my rainforest eagle portal at rainforestcloud.com


jamac

  • Jr. Member
  • **
  • Posts: 50
  • Karma: +0/-1
Re: How are you using the web tiles?
« Reply #5 on: April 04, 2016, 02:51:46 am »
Ok... the penny has dropped and I now realise that the syntax is meant to be http://username:password@rainforestcloud.com. (The reference above is hyperlinking to a website called "website.com" which confused me!)

Anyway, when I insert my username and password into "http://username:password@rainforestcloud.com" it doesn't automatically log me in.

Any tips?

jamac

  • Jr. Member
  • **
  • Posts: 50
  • Karma: +0/-1
Re: How are you using the web tiles?
« Reply #6 on: April 04, 2016, 05:16:52 am »
After some trial and error I figure out I could log onto the device locally (ie, not the cloud login) using the following syntax: http://CloudID:InstallCode@eagle-000XXX.local

where CloudID, InstallCode and XXX are supplied with the Rainforest Eagle device.

All good.

jamac

  • Jr. Member
  • **
  • Posts: 50
  • Karma: +0/-1
Re: How are you using the web tiles?
« Reply #7 on: January 03, 2017, 12:43:44 am »
I've been using webtiles to successfully display graphs from a number of sources (eg, electricity consumption from my Rainforest Eagle, solar generation from the Solar Edge monitoring portal etc) on my iPad (running iOS 10.2).

However, I've recently started using emoncms to create customized dashboards, which I thought I'd view on my iPad in the same way, but they refuse to display. I just get a blank webtile. The dashboard urls display fine in Safari.

I've checked the Homewave logs and can't see anything that explains this behavior.

Any tips as to what might be causing this problem?
« Last Edit: January 03, 2017, 05:11:45 pm by jamac »

intveltr

  • Moderator
  • Hero Member
  • *****
  • Posts: 1651
  • Karma: +90/-5
Re: How are you using the web tiles?
« Reply #8 on: January 03, 2017, 04:28:19 pm »
Are there any redirects in emoncms, or does it use https with self generated certificates? Those would be the obvious reasons for failure.
HomeWave is available in the App Store!  Turn your iPhone/iPad into an easy-to-use remote control for Vera.

jamac

  • Jr. Member
  • **
  • Posts: 50
  • Karma: +0/-1
Re: How are you using the web tiles?
« Reply #9 on: January 03, 2017, 05:25:49 pm »
I'm not 100% sure how to check.

The url format is https://emoncms.org/dashboard/view&id=[dashboard id]&apikey=[user api key]. When the dashboard displays the url does not change. I assume this means there are no redirects?

However, it does use https so maybe it is something to do with the certificates???

jamac

  • Jr. Member
  • **
  • Posts: 50
  • Karma: +0/-1
Re: How are you using the web tiles?
« Reply #10 on: January 11, 2017, 03:20:13 pm »
I'm still struggling with this...

intveltr, can https websites be displayed via a Homewave webtile?

If yes, then I'm clearly doing something wrong.

If no, then I'll have to find an alternate solution. One option might be to set up a local emoncms server - presumably I could view that locally via a webtile without SSL handshake issues?