dm82m / hassio-addons

HAOS add-ons developed by dm82m
MIT License
28 stars 17 forks source link

Use neolinks built in dual mode #19

Closed QuantumEntangledAndy closed 1 year ago

QuantumEntangledAndy commented 1 year ago

Latest build of neolink includes mqtt-rtsp command which acts as a dual mqtt and rtsp command. Using this command can get you additional features like being able to turn the stream on/off from the mqtt.

Change this bit:

https://github.com/dm82m/hassio-addons/blob/ad74cf5cec5cfd0554a5af146dc3065cec7528ed/neolink/run.sh#L24-L29

To this:

dual) 
   neolink mqtt-rtsp --config /config/addons/neolink.toml

And also update to latest 0.6 build

There is however a small change to the config file that might thow people off. The mqtt server is now defined globally rather than per camera

dm82m commented 1 year ago

great @QuantumEntangledAndy thank your for letting me know. I updated it!