Closed tspad1960 closed 3 years ago
The connection flow is as such:
isConnected()
becomes true)hasInitialized()
becomes true)The tricky part is that the ATEM in step 2 could have rejected the connection, resulting in it never sending the initialization data in step 4. However, the library doesn't catch this, and just waits for step 4 (until a timeout, where it'll start over)
The ATEM only rejects connections if the connection limit is hit, so I'm wondering if you have too many instances of software control running, while trying to connect a few of the tally lights? I can't tell exactly what's going on in your situation, as I don't have enough details about switcher model, amount of tallys, if any of them connect and how many instances of software control you run etc.
Hy could you please show us your IP Setting? Only if it is a network not reachable from the Internet You IP Adress The IP Adress Mask The Gateway IP The Atem IP
Maybe there is already the failure.
I am not on location with the ATEM at this time but the settings were
Device: IP: 10.0.10.50 Mask: 255.255.255.0 Gateway 10.0.10.1
ATEM IP: 10.0.10.30 Mask 255.255.255.0 Gateway 10.0.10.1
Thomas Spadaro
Thomas.Spadaro@SmartCommunications.us Mobile: 609-509-0303
On Sat, Mar 6, 2021 at 12:35 PM goudi76 notifications@github.com wrote:
Hy could you please show us your IP Setting? Only if it is a network not reachable from the Internet You IP Adress The IP Adress Mask The Gateway IP The Atem IP
Maybe there is already the failure.
— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/AronHetLam/ATEM_tally_light_with_ESP8266/issues/24#issuecomment-791995749, or unsubscribe https://github.com/notifications/unsubscribe-auth/AOI7EHXH7NINOYAJLZ64IPTTCJRUXANCNFSM4YVSQFOA .
I had a look into doing this with an ESP32 a while a go and I ran into a similar issue, but upon further research, I found that the free, open source ATEM libraries by SKAARHOJ didn't support ATEM versions above 7.5. From my understanding that would mean anything that uses those libraries won't work with any more recent versions.
@MarnitzRoux that's not the case. I've had multiple people ask me the same thing, it just means that his piblic libraries aren't updated since 7.5, and that newer features aren't supported. I initially made this project last summer, using it with an ATEM mini pro (v8.2 or so). In my version of the library I've added support for knowing if the ATEM is streaming of not.
The ESP32 might not be supported, but I just got one home, and am planning to make it work soon.
@AronHetLam Yeah okay, that makes sense. I initially followed another project that implemented the libraries for the ESP32 so I thought that would work but I guess not. Hopefully you'll have more success. I'll keep an eye on your project for any future support for he ESP32.
Just to follow up, I will be testing this again this week when back on location. There may have been another issue going on with the ATEM. It may have been causing a problem.
On Sun, Mar 7, 2021, 4:23 AM MarnitzRoux notifications@github.com wrote:
@AronHetLam https://github.com/AronHetLam Yeah okay, that makes sense. I initially followed another project that implemented the libraries for the ESP32 so I thought that would work but I guess not. Hopefully you'll have more success. I'll keep an eye on your project for any future support for he ESP32.
— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/AronHetLam/ATEM_tally_light_with_ESP8266/issues/24#issuecomment-792244842, or unsubscribe https://github.com/notifications/unsubscribe-auth/AOI7EHRCOQJKWPVFTZGRKVLTCNA2DANCNFSM4YVSQFOA .
I was able to dig up an original gen 1ATEM television studio, set it up on my local network and tally light connected right away. So the issue I had was in the network. Sorry for the false alarm. Currently using ESP8266 NodeMCU device.
Thanks for the good work. If I make any significant changes I will do a PR.
On Sun, Mar 7, 2021, 2:31 PM Thomas Spadaro < thomas.spadaro@smartcommunications.us> wrote:
Just to follow up, I will be testing this again this week when back on location. There may have been another issue going on with the ATEM. It may have been causing a problem.
On Sun, Mar 7, 2021, 4:23 AM MarnitzRoux notifications@github.com wrote:
@AronHetLam https://github.com/AronHetLam Yeah okay, that makes sense. I initially followed another project that implemented the libraries for the ESP32 so I thought that would work but I guess not. Hopefully you'll have more success. I'll keep an eye on your project for any future support for he ESP32.
— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/AronHetLam/ATEM_tally_light_with_ESP8266/issues/24#issuecomment-792244842, or unsubscribe https://github.com/notifications/unsubscribe-auth/AOI7EHRCOQJKWPVFTZGRKVLTCNA2DANCNFSM4YVSQFOA .
No worries. I'll go ahead and close this then. What I don't get is that it connected, but never initialized. All other cases so far with network problems would cause it not to connect at all. Usually the issue you initially described is caused by hitting the ATEM's connection limit.
If you find out more about what exactly the cause was, please feel free to post it in here. 😊
I have the application up and running but do have an issue. Once I have the network all configured and working, My status indicates "Connected - Wating for initialization - Connection might have been rejected" I see it is checking atemSwitcher.isConnected(). what could cause this condition?
Side info, I am running on ESP8266 NodeMCU