Closed hjdhjd closed 4 years ago
👀 thanks @hjdhjd
This is fantastic, can't believe the customisations you added. If DoorBird ever implement HomeKit natively, sure they'll be watching this UX 👍
You're right, a v1.0.0 is a better idea for version now that its Major again
Thanks! Let me know if you have any questions or issues.
I was working on a similar project and forked a version of my own code to create this...figured it’d be a nice contribution back, and would update this plugin so it’s staged for two-way audio. I’m still reverse-engineering uploading any audio to the Doorbird via the API. Have you had any success with audio-transmit in the API?
Going to test it out today. It's a really amazing contribution, sets this up wonderfully. I'd only got as far as trying out the example with gstreamer as per the LAN API docs. what is failing to accept, is there a response from DB?
Possible problem.
[8/14/2020, 15:05:48] ERROR LOADING PLUGIN homebridge-doorbird: [8/14/2020, 15:05:48] Error: Cannot find module 'C:\dev\npm\node_modules\homebridge-doorbird\dist\index.js' Require stack:
On 14 Aug 2020, at 14:19, hjdhjd notifications@github.com wrote:
I was working on a similar project and forked a version of my own code to create this...figured it’d be a nice contribution back, and would update this plugin so it’s staged for two-way audio. I’m still reverse-engineering uploading any audio to the Doorbird via the API. Have you had any success with audio-transmit in the API?
— You are receiving this because you were assigned. Reply to this email directly, view it on GitHub https://github.com/brownad/homebridge-doorbird/issues/76#issuecomment-674070848, or unsubscribe https://github.com/notifications/unsubscribe-auth/ABUK4C357Q73RRYRCLOJZFLSAU2WJANCNFSM4P5V5KUA.
published BTW.
When you publish the plugin, npm effectively runs a "make clean" in your working directory.
If you just do npm run prepublishOnly
in your working directory it'll re-transpile the plugin.
@brownad So the gstreamer example...did you get that working?
I did manage to publish correctly is something missing from the NPM package?
installing it I took it from NPM, am I the only one seeing this from the install? Sorry need some help on this :(
On 14 Aug 2020, at 16:38, hjdhjd notifications@github.com wrote:
@brownad https://github.com/brownad So the gstreamer example...did you get that working?
— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/brownad/homebridge-doorbird/issues/76#issuecomment-674134267, or unsubscribe https://github.com/notifications/unsubscribe-auth/ABUK4CZTUDOZBY6HNWWKPOTSAVLAFANCNFSM4P5V5KUA.
Didn’t spend enough time on it, wasn’t sure how it would work within ffmpeg also. Seems plausible their example is showing it to work. Guessing other platforms are using simple approaches with Doorbird too e.g. TinyCam
On 14 Aug 2020, at 16:38, hjdhjd notifications@github.com wrote:
@brownad https://github.com/brownad So the gstreamer example...did you get that working?
— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/brownad/homebridge-doorbird/issues/76#issuecomment-674134267, or unsubscribe https://github.com/notifications/unsubscribe-auth/ABUK4CZTUDOZBY6HNWWKPOTSAVLAFANCNFSM4P5V5KUA.
Ok sorted now, needed to close down homebridge completely
Installed and running, not receiving audio though. Surfaced a problem I had calling JPEG image, was always super choppy, I used to take a restream from another source (ispy) was much faster. I’ve updated the local config to respect the latest changes, but yes it is a lot simpler, there were too many config items before… maybe too many
I’ll keep testing it
On 14 Aug 2020, at 16:38, hjdhjd notifications@github.com wrote:
@brownad https://github.com/brownad So the gstreamer example...did you get that working?
— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/brownad/homebridge-doorbird/issues/76#issuecomment-674134267, or unsubscribe https://github.com/notifications/unsubscribe-auth/ABUK4CZTUDOZBY6HNWWKPOTSAVLAFANCNFSM4P5V5KUA.
Seems fine now.. audio and stream. Snapshots still choppy. But that might be down to hitting it over wifi, it has always been poor.. ispy via stillImage source was far smoother - grabs a small image 320 size. Was enough for a doorbell event
Sent from my iPhone
On 14 Aug 2020, at 16:38, hjdhjd notifications@github.com wrote:
@brownad So the gstreamer example...did you get that working?
— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub, or unsubscribe.
Think we can close this, works a charm
Sent from my iPhone
On 14 Aug 2020, at 16:38, hjdhjd notifications@github.com wrote:
@brownad So the gstreamer example...did you get that working?
— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub, or unsubscribe.
Glad to hear it.
@brownad - I pushed a big update through. I refactored the plugin, once more. :smile:
It now supports all the modern Homebridge APIs, rewritten in TypeScript for better maintainability.
Highlights...
Test it out and let me know your thoughts. I've been running this for a week or so without issues.
To install it...in case you don't know / aren't familiar with typescript...
clone the repo. Hop into the repo directory and run:
npm run prepublishOnly
That'll install it locally. If you do
npm -g install
in that local directory, it'll symlink into the system's node_modules and you can just reboot homebridge to test it out.My suggestion is that you push this out as v1.0.0...but entirely your call, of course.