Geekzone: technology news, blogs, forums
Guest
Welcome Guest.
You haven't logged in yet. If you don't have an account you can register now.


View this topic in a long page with up to 500 replies per page Create new topic
1 | 2 | 3
davidcole

6099 posts

Uber Geek
+1 received by user: 1465

Trusted

  #1805475 23-Jun-2017 07:48
Send private message

Lol, it works.  Spelling mistakes are a wonderful thing...ie someone on their dev team can't spell.  Unless it was intentional.

 

Just need to figure out what parms to give the usage api.  In chrome dev tools I can't see the payload I'm sending.

 

 





Previously known as psycik

Home Assistant: Gigabyte AMD A8 Brix, Home Assistant with Aeotech ZWave Controller, Raspberry PI, Wemos D1 Mini, Zwave, Shelly Humidity and Temperature sensors
Media:Chromecast v2, ATV4 4k, ATV4, HDHomeRun Dual
Server
Host Plex Server 3x3TB, 4x4TB using MergerFS, Samsung 850 evo 512 GB SSD, Proxmox Server with 1xW10, 2xUbuntu 22.04 LTS, Backblaze Backups, usenetprime.com fastmail.com Sharesies Trakt.TV Sharesight 




davidcole

6099 posts

Uber Geek
+1 received by user: 1465

Trusted

  #1805506 23-Jun-2017 09:33
Send private message

Booya:

 

{u'date': u'2017-06-16T00:00:00+12:00', u'usage': 28.74, u'dollars': 8.2990578, u'estimate': False, u'highligh t': False}





Previously known as psycik

Home Assistant: Gigabyte AMD A8 Brix, Home Assistant with Aeotech ZWave Controller, Raspberry PI, Wemos D1 Mini, Zwave, Shelly Humidity and Temperature sensors
Media:Chromecast v2, ATV4 4k, ATV4, HDHomeRun Dual
Server
Host Plex Server 3x3TB, 4x4TB using MergerFS, Samsung 850 evo 512 GB SSD, Proxmox Server with 1xW10, 2xUbuntu 22.04 LTS, Backblaze Backups, usenetprime.com fastmail.com Sharesies Trakt.TV Sharesight 


nate
6473 posts

Uber Geek
+1 received by user: 458

Retired Mod
Trusted
Lifetime subscriber

  #1805513 23-Jun-2017 10:01
Send private message

davidcole:

 

Booya:

 

{u'date': u'2017-06-16T00:00:00+12:00', u'usage': 28.74, u'dollars': 8.2990578, u'estimate': False, u'highligh t': False}

 

 

 

 

Yay!




davidcole

6099 posts

Uber Geek
+1 received by user: 1465

Trusted

  #1805894 23-Jun-2017 22:00
Send private message

Quite proud of myself:

 

 

This is grafana pulled from an influx db.





Previously known as psycik

Home Assistant: Gigabyte AMD A8 Brix, Home Assistant with Aeotech ZWave Controller, Raspberry PI, Wemos D1 Mini, Zwave, Shelly Humidity and Temperature sensors
Media:Chromecast v2, ATV4 4k, ATV4, HDHomeRun Dual
Server
Host Plex Server 3x3TB, 4x4TB using MergerFS, Samsung 850 evo 512 GB SSD, Proxmox Server with 1xW10, 2xUbuntu 22.04 LTS, Backblaze Backups, usenetprime.com fastmail.com Sharesies Trakt.TV Sharesight 


Yabanize
2351 posts

Uber Geek
+1 received by user: 583


  #1805909 23-Jun-2017 22:26
Send private message

I hear flick actually has an official API beta, hit up their social team if anyone is interested


davidcole

6099 posts

Uber Geek
+1 received by user: 1465

Trusted

  #1806767 26-Jun-2017 09:18
Send private message

So just been able to pull almost 2 years worth of hourly power data out of genesis.  I has some pretty graphs now.

 

 





Previously known as psycik

Home Assistant: Gigabyte AMD A8 Brix, Home Assistant with Aeotech ZWave Controller, Raspberry PI, Wemos D1 Mini, Zwave, Shelly Humidity and Temperature sensors
Media:Chromecast v2, ATV4 4k, ATV4, HDHomeRun Dual
Server
Host Plex Server 3x3TB, 4x4TB using MergerFS, Samsung 850 evo 512 GB SSD, Proxmox Server with 1xW10, 2xUbuntu 22.04 LTS, Backblaze Backups, usenetprime.com fastmail.com Sharesies Trakt.TV Sharesight 


 
 
 

Shop now at Mighty Ape (affiliate link).
tchart
2397 posts

Uber Geek
+1 received by user: 579

ID Verified
Trusted

  #1819409 11-Jul-2017 10:10
Send private message

Is anyone else found Genesis haven't updated their usage data since the 5th? Missing ~5 days of usage data now!


davidcole

6099 posts

Uber Geek
+1 received by user: 1465

Trusted

  #1819412 11-Jul-2017 10:13
Send private message

tchart:

 

Is anyone else found Genesis haven't updated their usage data since the 5th? Missing ~5 days of usage data now!

 

 

 

 

Yeah I can see my script has pulled nothing the last time it ran this morning.  Still getting a 200 response though, just no data





Previously known as psycik

Home Assistant: Gigabyte AMD A8 Brix, Home Assistant with Aeotech ZWave Controller, Raspberry PI, Wemos D1 Mini, Zwave, Shelly Humidity and Temperature sensors
Media:Chromecast v2, ATV4 4k, ATV4, HDHomeRun Dual
Server
Host Plex Server 3x3TB, 4x4TB using MergerFS, Samsung 850 evo 512 GB SSD, Proxmox Server with 1xW10, 2xUbuntu 22.04 LTS, Backblaze Backups, usenetprime.com fastmail.com Sharesies Trakt.TV Sharesight 


tchart
2397 posts

Uber Geek
+1 received by user: 579

ID Verified
Trusted

  #1821961 13-Jul-2017 15:23
Send private message

Yay, data finally updated!

 

Hey what trends etc are you guys looking at? These are my charts so far

 

 

 


davidcole

6099 posts

Uber Geek
+1 received by user: 1465

Trusted

  #1821981 13-Jul-2017 15:37
Send private message

Yeah mine updated as well

 

 

 





Previously known as psycik

Home Assistant: Gigabyte AMD A8 Brix, Home Assistant with Aeotech ZWave Controller, Raspberry PI, Wemos D1 Mini, Zwave, Shelly Humidity and Temperature sensors
Media:Chromecast v2, ATV4 4k, ATV4, HDHomeRun Dual
Server
Host Plex Server 3x3TB, 4x4TB using MergerFS, Samsung 850 evo 512 GB SSD, Proxmox Server with 1xW10, 2xUbuntu 22.04 LTS, Backblaze Backups, usenetprime.com fastmail.com Sharesies Trakt.TV Sharesight 


tchart
2397 posts

Uber Geek
+1 received by user: 579

ID Verified
Trusted

  #1854290 28-Aug-2017 19:18
Send private message

Anyone else having issues scraping the Genesis data? Mine hasnt updated since the 18th :(


 
 
 
 

Shop now for Lego sets and other gifts (affiliate link).
davidcole

6099 posts

Uber Geek
+1 received by user: 1465

Trusted

  #1854350 28-Aug-2017 20:29
Send private message

Mine seems similar again. it comes back, but since I only pull 5 days at a time it leaves a gap.




Previously known as psycik

Home Assistant: Gigabyte AMD A8 Brix, Home Assistant with Aeotech ZWave Controller, Raspberry PI, Wemos D1 Mini, Zwave, Shelly Humidity and Temperature sensors
Media:Chromecast v2, ATV4 4k, ATV4, HDHomeRun Dual
Server
Host Plex Server 3x3TB, 4x4TB using MergerFS, Samsung 850 evo 512 GB SSD, Proxmox Server with 1xW10, 2xUbuntu 22.04 LTS, Backblaze Backups, usenetprime.com fastmail.com Sharesies Trakt.TV Sharesight 


davidcole

6099 posts

Uber Geek
+1 received by user: 1465

Trusted

  #1857969 4-Sep-2017 10:54
Send private message

I think it's getting an error, a 406.  I'll have to have a look at why.  Maybe they've changed something in the authentication.

 

 





Previously known as psycik

Home Assistant: Gigabyte AMD A8 Brix, Home Assistant with Aeotech ZWave Controller, Raspberry PI, Wemos D1 Mini, Zwave, Shelly Humidity and Temperature sensors
Media:Chromecast v2, ATV4 4k, ATV4, HDHomeRun Dual
Server
Host Plex Server 3x3TB, 4x4TB using MergerFS, Samsung 850 evo 512 GB SSD, Proxmox Server with 1xW10, 2xUbuntu 22.04 LTS, Backblaze Backups, usenetprime.com fastmail.com Sharesies Trakt.TV Sharesight 


tchart
2397 posts

Uber Geek
+1 received by user: 579

ID Verified
Trusted

  #1857990 4-Sep-2017 11:26
Send private message

davidcole:

I think it's getting an error, a 406.  I'll have to have a look at why.  Maybe they've changed something in the authentication.


 



Yeah they updated the website and app recently. So I think this may have caused the issue. I got mine working again so I've got a fix. I'll post the details when I get a chance.

tchart
2397 posts

Uber Geek
+1 received by user: 579

ID Verified
Trusted

  #1858503 4-Sep-2017 21:40
Send private message

davidcole:

 

I think it's getting an error, a 406.  I'll have to have a look at why.  Maybe they've changed something in the authentication.

 

 

 

 

So, I had to add these headers to all of my requests ("authorize" included) to get it working again.

 

req.header("X-OrgCode","GENE")

 

req.header("X-Source","514C1EDEB42F4A5DBDF484F6BA2A87DC")

 

You can see the web app sending these. I tried various variations but only these two seemed to work.

 

AFAIK the X-Source doesnt change between sessions and doesnt seem linked to my account - maybe check your traffic from the web app and let me know if your value is different.


1 | 2 | 3
View this topic in a long page with up to 500 replies per page Create new topic








Geekzone Live »

Try automatic live updates from Geekzone directly in your browser, without refreshing the page, with Geekzone Live now.



Are you subscribed to our RSS feed? You can download the latest headlines and summaries from our stories directly to your computer or smartphone by using a feed reader.