roleoroleo / yi-hack_ha_integration

Home Assistant custom integration for Yi cameras: yi-hack-MStar, yi-hack-Allwinner, yi-hack-Allwinner-v2, yi-hack-v5 and sonoff-hack
GNU General Public License v3.0
205 stars 32 forks source link

Mixing camera snapshot #62

Closed PilaScat closed 2 months ago

PilaScat commented 2 years ago

I have two allwinner v2, in hassio they are set perfectly but the entrance snapshot cam shows the gate snapshot, like duplicated, but streams and motion detection works fine image image two devices but same snapshot cam, what

roleoroleo commented 2 years ago

I already fixed this problem here: https://github.com/roleoroleo/yi-hack_ha_integration/commit/2508337ba5c270373d08547845495c8ac02ddb9e What version are you using? Check the list of the entities in the device: Settings -> Integrations -> yi_hack_a2_xxxxxx -> device Are they correctly assigned to the proper device?

PilaScat commented 2 years ago

Changed the device name, but I resetted the integration yesterday

PilaScat commented 2 years ago

image Ti scrivo in italiano così ci capiamo meglio, ho tolto l'integrazione per tutte le telecamere, poi ho rimesso solo quella affetta dal problema, e ora mi fa così 😭 Anche @Burbacottero ha questo problema, oltre ad avere altri problemi con l'MQTT, ma per quello c'è #55

EDIT: Ora mi mostra quella che ho scollegato, com'è possibile? 😭

roleoroleo commented 2 years ago

Non capisco dov'è l'anomalia nella schermata che hai postato. Mi sembra tutto ok.

Burbacottero commented 2 years ago

Ora e' risolto il problema mio del MQTT ma, avendo 6 telecamere con yi hack allwinnerv2, sia per quanto riguarda il motion detection che il motion detection cam, mi mostra sempre l'ultimo in ogni telecamera.

Ad esempio se vede un movimento nella telecamera 1, mi mostra lo stesso movimento in tutte le altre e lo stesso snapshot in tutte☹️

PilaScat commented 2 years ago

Esatto lo stesso succede a me, purtroppo non ti posso mostrare lo screen però i detection cam e sensor puntano tutti all'ultima che ha visto un movimento, e nel mio caso ad una che non è collegata ad home assistant

roleoroleo commented 2 years ago

Verificate di aver usato un topic prefix differente per ogni camera. Anche il client id deve essere diverso.

Burbacottero commented 2 years ago

Avevamo modificato entrambi solo il client id e non il topic prefix. Ora funziona. Grazie mille😉

PilaScat commented 2 years ago

Verificate di aver usato un topic prefix differente per ogni camera. Anche il client id deve essere diverso.

Ci avevo pensato ma volevo sentire un tuo parere prima di fare casino, grazie

github-actions[bot] commented 3 months ago

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.