Comments (9)
Take your time and drive carefully.
Thanks.
from homebridge-dafang.
MQTT MOSQUITTOOPTS need --cafile , --cafile, --cert
from homebridge-dafang.
hey @bdonohoe how did you edited client.js? I found the file but I don't know what to edit.
from homebridge-dafang.
Found it by my self
from homebridge-dafang.
Hi @ScharV or @bdonohoe can you help me? Where is the client.js file stored and what do I have to edit? I am running Mosquitto on my linux server in at home as central server. I am using a raspberry PI as streaming homebridge client. On the Linux server I have running Home Assistant but that doesn's support streaming video to homekit.
from homebridge-dafang.
Hey @conradhagemans sorry for my delayed reply....im actually driving with my car i will answer your question asap in the following hour
from homebridge-dafang.
@conradhagemans
in my case with Homebridge i found the client.js file here:
/usr/local/lib/node_modules/homebridge-dafang/node_modules/mqtt/lib/client.js
————————————————————
Then you have to add it at the first Block like this:
...
}
var defaultConnectOptions = {
keepalive: 60,
reschedulePings: true,
protocolId: 'MQTT',
protocolVersion: 4,
reconnectPeriod: 1000,
connectTimeout: 30 * 1000,
username: "MyCam",
password: "MySecretPassword",
clean: true,
resubscribe: true
}
...
————————————————————
Username and password fields aren‘t there in original.
Hope that helps you otherwise feel free to contact me.
from homebridge-dafang.
@ScharV thank you for the quick response. I will try it out and post an update later tonight.
from homebridge-dafang.
Yes!! It works. Bridge added to my HomeKit app and camera added. Now error with FFMpeg. I think I have to recompile it on my raspberry. @ScharV once more thank you.
from homebridge-dafang.
Related Issues (20)
- [BUG] - ffmpeg exited with code 1 HOT 15
- Usage without Dafang Hack? (RTSP BETA)
- No second camera controls HOT 1
- Error: Connection refused: Not authorized HOT 4
- mqtt commands
- Update to reflect changes in EliasKotlyar / Xiaomi-Dafang-Hacks HOT 5
- [BUG] - ERROR: FFmpeg exited with code 1 HOT 10
- mqtt broker HOT 1
- Dafang HOT 1
- [BUG] - Motion Détection don't work HOT 11
- Record video
- [BUG] - plugin incorrectly registered HOT 2
- [BUG] - multiple build errors on installation HOT 1
- [BUG] I cannot get a live video in the Home app HOT 1
- Is it possible to reduce the video size? HOT 1
- Two richmotionsensors showing in home app HOT 16
- Two way audio HOT 2
- [BUG] - Plugin does not respect videoConfig parameters HOT 2
- [BUG] - Cant start homebridge after adding plugin HOT 2
- [BUG] - Warning during in homebridge log: Current Ambient Light Level': characteristic was supplied illegal value: number 805765 exceeded maximum of 100000 HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from homebridge-dafang.