• Visitors can check out the Forum FAQ by clicking this link. You have to register before you can post: click the REGISTER link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below. View our Forum Privacy Policy.
  • Want to receive the latest contracting news and advice straight to your inbox? Sign up to the ContractorUK newsletter here. Every sign up will also be entered into a draw to WIN £100 Amazon vouchers!

Reply to: Python Web GUI

Collapse

You are not logged in or you do not have permission to access this page. This could be due to one of several reasons:

  • You are not logged in. If you are already registered, fill in the form below to log in, or follow the "Sign Up" link to register a new account.
  • You may not have sufficient privileges to access this page. Are you trying to edit someone else's post, access administrative features or some other privileged system?
  • If you are trying to post, the administrator may have disabled your account, or it may be awaiting activation.

Previously on "Python Web GUI"

Collapse

  • Protagoras
    replied
    Originally posted by sadkingbilly View Post
    do contractors worry about energy bills??
    who knew?
    INKSPE.
    Worry, no. Get annoyed, yes, and very.

    I resent paying, but at least I can. Millions can't even afford to keep warm.

    It's outrageous that we have such high energy costs which arise owing to policy decisions - or the lack of them. How did we ever get to deserve the terrible governments of the last three or so decades ...

    I still don't know which GUI framework to go with - too much choice!

    Leave a comment:


  • sadkingbilly
    replied
    do contractors worry about energy bills??
    who knew?
    INKSPE.

    Leave a comment:


  • Protagoras
    replied
    I'd pull the data from Octopus with the appropriate API.

    I'm currently on a long-term fixed tariff, with an exit penalty! If we had regional pricing, I'd get a much better rate since live north of the B6 transmission boundary and on any windy day, there's a surplus of available energy here. Frankly, there was no attractive tariff available. At least cost is easy to calculate!

    Leave a comment:


  • WTFH
    replied
    I’d probably go with Postgres to store the data.
    If you’re planning on pulling the data from the Octopus app, I would suggest just pulling the consumption, not the “cost” if you’re on a variable tariff, as sometimes the app displays the cost incorrectly live, but has it correct on the bill.
    It’s one of the chief talking points on IOG groups on Facebook.

    MyEnergi have a simple display that shows usage/generation, but I think it requires having their hardware and it’s just live, so no historical view.

    Leave a comment:


  • Protagoras
    replied
    Originally posted by courtg9000 View Post
    1

    Re your phase 2. Might this be up to the job: https://thepihut.com/products/raspbe...hoC0Q8QAvD_BwE
    Interesting option, but displays like TRMNL don't need any connections which is the attraction.

    Hence I'm thinking that a PI could host the data which TRMNL would access.

    Leave a comment:


  • courtg9000
    replied
    1. Python seems reasonable
    2. SQL would be my choice
    3. Not sure

    Re your phase 2. Might this be up to the job: https://thepihut.com/products/raspbe...hoC0Q8QAvD_BwE

    Leave a comment:


  • Protagoras
    started a topic Python Web GUI

    Python Web GUI

    It's winter project time. I'd like to display my electricity and gas use on a Web page rather than have to access the Octopus App.

    Thinking about a tech stack for this ...
    Python - seems to be a reasonable choice
    Data storage - should I store data in arrays, or write it to a SQL DB?
    GUI - which Python GUI framework to display values and graphs and allow controls to switch between these.

    Expanding on this, I'd really like to display this on a low power display like TRMNL, but this that this is probably a Phase 2. It would be handy to have a display on the wall - this could also show real-time electricity use.

    Any thoughts / recommendations?

Working...
X