If you have error in klippy log like:
[Errno 13] could not open port /dev/serial0: [Errno 13] Permission denied: '/dev/serial0'
Follow the raspi-config -> Inerface Options -> Serial Port and disable a Login Shell
Then disable a getty service:
| { | |
| "devices": {}, | |
| "hmi": { | |
| "views": [ | |
| { | |
| "id": "v_27b64b812-b113a", | |
| "name": "View_1", | |
| "profile": { | |
| "width": 640, | |
| "height": 480, |
| #include <GyverMotor.h> | |
| #include <PS2X_lib.h> | |
| #include "GyverTimer.h" | |
| // Контроллер | |
| #define PS2_DAT 12 | |
| #define PS2_CMD 13 | |
| #define PS2_ATT 6 | |
| #define PS2_CLK 7 | |
| int error = 0; |
| # Home Assistant integration (MQTT discovery) | |
| homeassistant: false | |
| # allow new devices to join | |
| permit_join: true | |
| # MQTT settings | |
| mqtt: | |
| # MQTT base topic for zigbee2mqtt MQTT messages | |
| base_topic: zigbee2mqtt |
| http_port ${SQUID_PORT} | |
| cache deny all | |
| hierarchy_stoplist cgi-bin ? | |
| client_persistent_connections on | |
| persistent_request_timeout 2 minutes | |
| access_log none | |
| cache_store_log none | |
| cache_log /dev/null |
| 2.6.5 |
File Bot on Synology ARM5 NAS
https://www.filebot.net/forums/viewtopic.php?t=1802
https://get.filebot.net/syno http://packages.synocommunity.com http://packages.pcloadletter.co.uk # JAVA Embedded Installer
Install Pakages
| #!/usr/bin/python | |
| # | |
| # Copyright 2016 Red Hat | Ansible | |
| # GNU General Public License v3.0+ (see COPYING or https://www.gnu.org/licenses/gpl-3.0.txt) | |
| from __future__ import absolute_import, division, print_function | |
| __metaclass__ = type | |
| ANSIBLE_METADATA = {'metadata_version': '1.1', |
| #!/usr/bin/python | |
| # | |
| # (c) 2017, Dario Zanzico (git@dariozanzico.com) | |
| # GNU General Public License v3.0+ (see COPYING or https://www.gnu.org/licenses/gpl-3.0.txt) | |
| from __future__ import absolute_import, division, print_function | |
| __metaclass__ = type | |
| ANSIBLE_METADATA = {'status': ['preview'], |
| <?php | |
| /** | |
| * Bitbucket to pivotal webhook | |
| * Deploy this hook to your server and add webhook http://yourdomain.com/bitbucket2pivotal.php?token=<PivotalToken> | |
| */ | |
| $token = !empty($_GET['token']) ? $_GET['token'] : getenv('PIVOTAL_TOKEN'); | |
| if (!$token) { | |
| print 'Token should be defined!'; | |
| die; |