V2.0 (#147) * change how device are initialized * test pass and add py-custom-printer to dependencies * fix settings * is_pressed is a property * py-custom-printer@b1754c01921a7ac25553a8794498201ec8e44c4d * fix typo * GPIO -> GPIOZERON in RemoteReleaseConnector factory * @timeit on printer.print_image * update py-custom-printer version * focus lens on startup * install numpy with apt-get * update wifi-connect version * add ImageMagick dependency * add all wifi-connect files * implementation of RTC_DS1302 real time clock * fix settings and @transaction_decorate * change default pin configuration * do not create RTC for time being * try fixing RTC * use RPi.GPIO for real time clock management * remove datadog agent * call camera.configure(), camera.clear_space() and camera.focus() explicitly in photobooth.initialize_devices() * enter liveview during camera.focus_narer() and camera.focus_further() * change default focus steps * remove datadog agent * allow shutting down the device by activating a specific pin * add wireless-tools to the list of software installed * comment lockfile for time being * sharpen image before printing * try writing the file in binary mode * enhance picture only * Not filter by default * remove imagemagick * do not trigger capture if paper is not present * make sure to clear messages before asking the printer for status * [email protected] * [email protected] [email protected]. Check photobooth paper level * raise OutPfPaper error in CustomPrinter * fix trigger api endpoint * [email protected] * check paper level only for VKP80III * fix printer * add a white margin on VKP80III * fix ticket not printing correctly * rotate image before printing * remove logging of workers * change how image enhancement work * fix margin color * try/except for printer.configure() * set resin wifi retry flag to True * [email protected] * log wifi-connect connectivity state * always retry after failed connection * start local server only if specified in configuration * fix Fix NM_CONNECTIVITY constants * customize wifi-connect state flow diagram * try using python-webkit2png * install specific version of pip * fix bug render_screenshot take one argument * build from figure base images * fix some errors * add xvfb to init.d * start Xfvb in start.sh * create qt application in main thread * remove typo in try: except * call init_qtgui after it is defined * add an argument to get_screenshot in print_booting_template * use python-webkit2png as a separate process * try launching get_screenshot as multiprocessing.Process * some bug fixes * figure/%%RESIN_MACHINE_NAME%%:1.1.0 * [email protected] * fix some imports * [email protected] * V2.0 refactor (#146) * Refactor + tests * return the file ticket that was actually printed * fix booting ticket * change Makefile, remove unused tests, add a fabfile for deployment * remove Cython dependency * fix some errors in api.py * start server no matter what but catch socket error * add a /focus endpoint to the api * fix /test_template and /print * EOS_1200D_CONFIG -> CAMERA_CONFIG * make door lock pin configurable * compatibility with master * fix test