This likely deserves some editing, since I am not a Python guy or a FCM guy. However, it does respond to heartbeat requests, and reestablishes the connection when it is closed or fails. I've tested it for a few days in my environment (using for a Raspberry Pi project), and it works correctly there.
This likely deserves some editing, since I am not a Python guy or a FCM guy. However, it does respond to heartbeat requests, and reestablishes the connection when it is closed or fails. I've tested it for a few days in my environment (using for a Raspberry Pi project), and it works correctly there.