Giter VIP home page Giter VIP logo

Comments (5)

cody0303 avatar cody0303 commented on June 15, 2024 1

Simpler integration may be the way to go. I'm running the API in Docker, following the instructions here. It was very easy. I think I'm actually just going to make some REST sensors in HA to collect the data, and skip over this integration altogether.

from home-assistant-custom-components-nasa.

caiosweet avatar caiosweet commented on June 15, 2024

Well. 👍

Unfortunately I'm not a programmer and for me it was an experiment. I took some examples on the internet and made this integration. I'd like to get back to work, but I'm not able to deal with it quickly. :0(

We can try to match the jobs, or we should do a new, simpler integration.

Anyway, will you publish your API?

from home-assistant-custom-components-nasa.

caiosweet avatar caiosweet commented on June 15, 2024

REST sensors is the right solution. Especially for APOD.
I will archive this project as soon as I can. :-)

from home-assistant-custom-components-nasa.

cody0303 avatar cody0303 commented on June 15, 2024

Here's the sensor, if you're interested (obviously point to your own internal IP). All the integrations/lovelace I made around your sensor seems to work the same for this one, so far.

#NASA APOD
- platform: rest
  name: nasa_apod
  method: GET
  resource: "http://192.168.88.14:5000/v1/apod"
  value_template: "OK"
  json_attributes:
    - "copyright"
    - "date"
    - "explanation"
    - "hdurl"
    - "url"
    - "media_type"
    - "title"

from home-assistant-custom-components-nasa.

caiosweet avatar caiosweet commented on June 15, 2024

OK thank you.
Not everyone knows how to install the script on their server, meanwhile I'll follow what happens API returns error code 503 (Service Unavailable) but APOD site running fine.

from home-assistant-custom-components-nasa.

Related Issues (4)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.