Closed PilaScat closed 2 years ago
Which firmware version and which integration version?
Last one on both, installed today
Did you install mqtt server? It's a requirement.
Yes, mosquitto broker on different docker, created the account and linked with ha
Login with ssh to the cam and try to restart mqttv4 process. We have to check if the connection to the mqtt broker is ok.
killall mqttv4
. /tmp/sd/yi-hack/script/env.sh
mqttv4
Isn't ok, do I need to configure mqtt in the cam? I did it before but the integration exploded when I did it
Yes, you should configure mqtt in the cam:
Or you can edit manually the file /tmp/sd/yi-hack/etc/mqttv4.conf
do I need to create a user in mosquitto?
No. If your broker is configured with authentication, enter it in the mqtt settings page. Otherwise leave the fields blank.
Thanks now work, but hackv5 doesn't have TTS, and allwinner TTS is there but doesn't work
yi-hack-v5 doesn't have tts, yes. I can try to build it for this platform.
There are 2 different tts services you can use with the cam: ha internal tts and cam internal tts. ha internal is (for example Google) tts.google_say, for this you don't need to insall anything. cam internal is yi_hack.speak: you need to install tts engine from https://github.com/roleoroleo/yi-hack-utils/ in /tmp/sd/yi_hack
There is a hidden page useful to test them in http://ip-cam:8080/?page=speak
You can download and try tts for v5. But it's not tested because I don't have this model to test it.
Thanks
Only stream works, sensor and switch doesn't Status sensor says disconnected but stream is working Using yi outdoor allwinner v2