Giter VIP home page Giter VIP logo

Comments (10)

marines avatar marines commented on May 20, 2024

Just to add that with the above fix the camera can be added properly but it says that camera is off when trying to view the feed.

from hass-xiaomi-miot.

al-one avatar al-one commented on May 20, 2024

Get the stream_address from the entity state attributes (Developer tools > State), and test whether it can play through VLC and other players.

from hass-xiaomi-miot.

marines avatar marines commented on May 20, 2024

There is no stream_address attribute. :/

image

from hass-xiaomi-miot.

al-one avatar al-one commented on May 20, 2024

Before getting the stream address, click on the camera entity dialog, and the stream address is only valid for 5 minutes.

from hass-xiaomi-miot.

marines avatar marines commented on May 20, 2024

I have also tried that before but stream_address didn't show up.

image

from hass-xiaomi-miot.

al-one avatar al-one commented on May 20, 2024

The state_updater is lan, do your enable miot_cloud ?

from hass-xiaomi-miot.

marines avatar marines commented on May 20, 2024

Right. Forgot that the camera requires cloud connection. So with cloud connection enabled there is the issue I've described in the first post.

Here's the entity state:

image

The playlist file is accessible by both my PC and HA container and has the following content (except X-es):

#EXTM3U
#EXT-X-VERSION:3
#EXT-X-STREAM-INF:BANDWIDTH=250000
chunklist_w2XXXXXXX1.m3u8

But VLC just spins trying to load the stream.

from hass-xiaomi-miot.

lexin8 avatar lexin8 commented on May 20, 2024

Abnormal camera access seems not a case. At present, the plug-in is not well supported!

from hass-xiaomi-miot.

marines avatar marines commented on May 20, 2024

@al-one Does that mean it can't be fixed?

from hass-xiaomi-miot.

al-one avatar al-one commented on May 20, 2024

If the stream address is not available, then I have no idea.
This component only get stream address from xiaomi cloud and generates camera entity proxy to stream address through HA ffmpeg.

from hass-xiaomi-miot.

Related Issues (20)

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.