Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Two cameras linked in the same integration #29

Closed
cbroissa-github opened this issue Jun 9, 2021 · 21 comments
Closed

Two cameras linked in the same integration #29

cbroissa-github opened this issue Jun 9, 2021 · 21 comments

Comments

@cbroissa-github
Copy link

Hello,
I use the h30ga hack for my two Yi Outdoor 1080p IFUS cameras.
I use two differents device name in camera settings (IP:8080)

I add the first one in a new piece, I change the entity name, it's ok.
I add the second in another piece, the two cam are on this same piece, and the two integrations are linked.

There is no problem with my others cam Yi 1080p Home IFUS, there is one integration for each camera.

@roleoroleo
Copy link
Owner

What do you mean with linked?

@cbroissa-github
Copy link
Author

here is a screenshot, you can see on an entity, there is the two integrations and all others entities.

IMG_0177

@roleoroleo
Copy link
Owner

What a weird behavior.
I will check it.

@xiaopeng12138
Copy link

xiaopeng12138 commented Aug 31, 2021

I have the same issue. Can not separate 2 devices is usable but quite annoying.(y211ga+y211ga)

@roleoroleo
Copy link
Owner

Did you try the last version?

@xiaopeng12138
Copy link

xiaopeng12138 commented Sep 5, 2021

Did you try the last version?

I tried v0.3.1 and v0.3.0 and v0.2.9. After I added two cameras it still only shows one device in the list. Is it because 2 cameras have the same username and password? (Edit: change username and older version didn't help)

@cbroissa-github
Copy link
Author

After update yi-hack firmware of my 4 cam and HA integration firmware to v0.3.1, I have always the problem.

@roleoroleo
Copy link
Owner

roleoroleo commented Sep 14, 2021

Please check if serial number (the one listed in status web page) is different.

@cbroissa-github
Copy link
Author

Yes I have 00000000000000000000 for the 4…
Can I edit it or it’s a bug in the hack ?

@roleoroleo
Copy link
Owner

What's the yi fw version?

@cbroissa-github
Copy link
Author

0.1.9

@roleoroleo
Copy link
Owner

I mean the version shown in yi app.
9.0.36...

@roleoroleo
Copy link
Owner

But try the last version.
I changed the entry_id from serial number to mac address: it should work.
But you need to remove all cams and add again.

@cbroissa-github
Copy link
Author

9.0.26.07_202104231123 for 2 cameras
9.0.36.01_202103231716 for 2 cameras

I will try your last version in a few minutes.

@cbroissa-github
Copy link
Author

I always have the problem with 0.3.2 version.

@roleoroleo
Copy link
Owner

9.0.26.07_202104231123 for 2 cameras
9.0.36.01_202103231716 for 2 cameras

Is the problem related to 9.0.36?
Is the sn 0000000... for all 4 cams?

@cbroissa-github
Copy link
Author

Yes with 9.0.36 and 9.0.26 too.
All sn are 000000000

@roleoroleo
Copy link
Owner

Sorry but I need more details.
Are the entities linked in pairs?
2 cams with 9.0.36 mixed and 2 cams with 9.0.26 mixed or 4 cams mixed togheter?

@cbroissa-github
Copy link
Author

All 4 are mixed together

@roleoroleo
Copy link
Owner

roleoroleo commented Sep 15, 2021

Ok, now is fixed: 2508337
But I need to fix the serial number detection in the hack to complete the task.

@cbroissa-github
Copy link
Author

Yes it works, good job !
Thank you.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants