Closed roleoroleo closed 5 months ago
Cool :+1:
self._port
async_step_user
and not needed to be members of the flow instanceSince topics are still configurable on the camera after the integration is configured it looks like you need to read topics at least inside async_setup_entry
so that users don't need to remove and re-add the integration after such changes.
Thak you for your notes. I'm taking my first steps in ha programming and I need guidance.
Done. About the last step, I need to study it.
I fixed the last step but I have a weird problem after this change. When the wizard completes, ha doesn't ask the destination area for the new entities. I have to set it later.
EDIT
Fixed moving config code to init.py
i had to comment AI HUMAN and SOUND in init_py cause integration throw an error with this entities. after comment worked ok
i have also constant errors on mqtt broker
1619340036: New connection from xxx.xxx.x.xx on port 1883.
1619340036: Socket error on client
i miss binary_sensor to activate/desactivate motion events
What's your model? mstar, allwinner or allwinner-v2?
mstar
On Sun, Apr 25, 2021 at 1:40 PM roleo @.***> wrote:
What's your model? mstar, allwinner or allwinner-v2?
— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/roleoroleo/yi-hack-MStar/issues/351#issuecomment-826309849, or unsubscribe https://github.com/notifications/unsubscribe-auth/ALECS4SKITYK7AJBRSABWNTTKP5SXANCNFSM43KTXQJA .
Ok, fixed AI HUMAN and SOUND. Thanks.
What do you mean with "i miss binary_sensor to activate/desactivate motion events"?
as per your integration you can have only few sensor, will be nice to have as most as you can just for setting up automations, i mean for binary_sensor for activation of motion events for having a sensor to activate or deactivate motion enevts just to for example setup an automation to record and have snapshots on/off
@divemasterjm the thing you are asking for should be performed with one binary sensor. In HA you can trigger automation on both events where it goes from no motion to motion detected and vice-versa
@foxel i know but i want to deactivate motion detection based on state if for example alarm is amerd home, night, away, therefore i only have snapshot or movie when this setting is on
Sorry but I don't understand. Could you explain me better?
i want to have ftp uploads of images or videos que i turn switch ftp updload ON this why i ask for having more switches in the integration to control camera
FTP Upload | Enable/disable upload of recorded events to a FTP service. |
---|
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.
Please, take a look at this project:
https://github.com/roleoroleo/yi-hack_ha_integration