Git Product home page Git Product logo

Comments (5)

caitken-com avatar caitken-com commented on July 19, 2024

Hi @samsamsamsamsamsam,
Have you looked at our documentation?
https://nrchkb.github.io/wiki/service/camera-control/

As well as the built-in examples provided with the pallet/plugin.
https://nrchkb.github.io/wiki/examples/demo-setup/#how-it-works

from node-red-contrib-homekit-bridged.

samsamsamsamsamsam avatar samsamsamsamsamsam commented on July 19, 2024

Hello
Thank you very much for the great plugin.
Yes, I've already familiarized myself with it.
And my Reolink cameras can be seen live in Apple Home.
Thanks for the good documentation of the functions.
Is there a way to donate something?
The only thing that doesn't work yet is that the livestream is saved in iCloud, but I have already managed to say in Apple Home that everything should be saved in iCloud, etc.
Via the "Camera Recording Management" function.
I'll keep trying today.
And then post my solution here.
Because with the Victron Venus OS it is a bit more complicated to install ffmpeg.

Thanks again
Sam

from node-red-contrib-homekit-bridged.

samsamsamsamsamsam avatar samsamsamsamsamsam commented on July 19, 2024

(Reolink or other) RTSP livestream cameras, integrate into Apple Homekit, via Victron Venus OS (Cerbo GX or others).

Feasible, even for non-programmers, with a little patience and willingness to learn.

Here are the steps I have taken:

If you want to use older Apple devices, take note of this.
https://discussions.apple.com/thread/254934792?sortBy=best
For example, I use an Apple iPad Air 2 from 2014 as an Apple Home Hub.

You may also need to reset your Apple Home.
Use this one.
http://appldnld.apple.com/iOSProfiles/HomeKitReset.mobileconfig

Test RTSP Livestream and set RTSP Camera IP to Static.
There is a high-resolution and low-resolution stream.
https://support.reolink.com/hc/en-us/articles/900000630706-Introduction-to-RTSP/

Install Victron Venus OS Large firmware on Cerbo GX.
And activate Node Red on Venus OS.
https://www.victronenergy.com/live/venus-os:large

Log in to Node Red with the user name admin and the password for the Victron Remote console.
https://community.victronenergy.com/questions/175440/login-username-and-password-for-first-use-of-node.html

Install and test the node-red-contrib-homekit-bridged v1.6.1.
https://youtu.be/QTK2wM7vCRI?si=NeaiaGohUyiLxVfP

Set up root access on Venus OS.
The default root password is ZZZ.
And free up hard disk space using the script:
/opt/victronenergy/swupdate-scripts/resize2fs.sh
https://www.victronenergy.com/live/ccgx:root_access#partitions_read-only_rootfs_and_available_disk_space%E2%80%8B%E2%80%8B%E2%80%8B

Download and install FFmpeg Static Builds, for ARMHF, directly on Venus OS.
https://www.johnvansickle.com/ffmpeg/faq/

Set up the Apple HomeKit Node Service in Node Red.
Depending on the camera.
https://nrchkb.github.io/wiki/service/camera-control/#-reolink

Deactivate root user access to Venus OS again.

A live stream should now be available in the Apple Home.

If there are problems, it sometimes helps to restart the Venus OS completely by cutting the power supply.
And switching the Apple Home app and the Apple Home Hub on and off.

Otherwise, a re-installation of the Node Red installation can also help, with
rm -rf /data/home/nodered/ && svc -t /service/node-red-venus/
https://community.victronenergy.com/questions/156632/node-red-repairre-install.html
And or
rm -rf /data/home/root/.node-red && rm -rf /data/conf/signalk
victronenergy/venus#809

Use the “top” command in the terminal to check whether there is enough memory and processor power available.

ATTENTION:
The ffmpeg installation and root access will be lost after a firmware update. This must therefore be reinstalled after a firmware update.

Saving the livestream in iCloud and motion detection do not yet work for me.
This could be because the Apple iPad Air 2 is too old.
Or, I still need to install other services, such as

CameraRecordingManagement
Apple HomeKit status
CameraRecordingManagement
CameraRTPStreamManagement

I have not found any information on this.
If anyone knows more, please reply.

from node-red-contrib-homekit-bridged.

caitken-com avatar caitken-com commented on July 19, 2024

Hey @samsamsamsamsamsam ,

  1. I tried messaging the author, @Shaquu, about donating. But he’s been busy with family life so I didn’t hear back yet.
  2. Would you like to put your example into a PR as a child page to here? https://nrchkb.github.io/wiki/examples/

Glad you were able to get a working solution ☺️

from node-red-contrib-homekit-bridged.

samsamsamsamsamsam avatar samsamsamsamsamsam commented on July 19, 2024

Hey caitken-com

I found the Donat button on GitHub. And donated something, to Shaquu.

Of course you can use my instructions, for the Wiki Page.

I also tried the Homebridge and CameraUI tool.
See:

https://community.victronenergy.com/questions/288758/homebridge-or-similar-solutions-on-cerbo-gx-for-ap.html

This also works and even with motion detection and saving the videos in the iCloud.
But needs much more processor power and memory and is unreliable.
The motion detection of Apple Home is also very bad and only 7 seconds of clips are saved in the iCloud. Which is impractical.
That's why I would recommend this Node Red plugin from Shaquu to everyone.
So far it has run without any problems and very reliably, but only with the video stream in low resolution via the internet.
But that's fine for me, because I currently only use it to watch the livestream on the Apple Watch.

from node-red-contrib-homekit-bridged.

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.