Hallo liebe Meister.
Bitte sag mir was ich falsch liege.
Im Dezember vergangenen Jahres installierte ZERO den Server Armbian_5.59_Orangepizero_Ubuntu_xenial_default_3.4.113, installierte den Broker und Node-Red, ließ den Knoten den Lüfter in Abhängigkeit von der Prozessortemperatur einschalten, alles funktionierte einwandfrei.
Heute ist das Flash-Laufwerk gebrannt, alles wiederholt sich genau wie zuvor, aber mit dem GPIO kann der Lüfter aus irgendeinem Grund nicht gesteuert werden. Der GPIO-Knoten für Orange in Node-Red hat NULL-Pins aktiviert, aber es gibt keine Kontrolle.
Bitte sag mir wo mein Fehler ist.
Danke.
Sorry für mein Deutsch
In English
! Hello dear masters.
! Please tell me what I am wrong.
! In December last year, ZERO installed the server Armbian_5.59_Orangepizero_Ubuntu_xenial_default_3.4.113, installed the broker and Node-Red, made the node turning on the fan depending on the processor temperature, everything worked fine.
! Today the flash drive burned, everything repeated exactly as before, but for some reason there is no fan control with GPIO. The GPIO node for Orange in Node-Red has ZERO pins activated, but there is no control.
! Please tell me where is my mistake.
! Thank.
Screenshots
!
Knoten
! [
! {
! "id": "a256cb3d.db9228",
! "type": "exec",
! "z": "6ea33886.596fe8",
! "command": "cat /sys/class/thermal/thermal_zone0/temp",
! "addpay": false,
! "append": "",
! "useSpawn": "false",
! "timer": "",
! "oldrc": false,
! "name": "Temp",
! "x": 250,
! "y": 100,
! "wires": [
! [
! "f3d0f92e.d875e8",
! "577b98c5.3f34e8",
! "25811103.2ec43e"
! ],
! [],
! []
! ]
! },
! {
! "id": "c6e0230e.342bd",
! "type": "inject",
! "z": "6ea33886.596fe8",
! "name": "",
! "topic": "",
! "payload": "",
! "payloadType": "date",
! "repeat": "5",
! "crontab": "",
! "once": false,
! "onceDelay": "",
! "x": 109,
! "y": 102,
! "wires": [
! [
! "a256cb3d.db9228"
! ]
! ]
! },
! {
! "id": "f3d0f92e.d875e8",
! "type": "ui_gauge",
! "z": "6ea33886.596fe8",
! "name": "T CPU",
! "group": "cad7fe30.5bd62",
! "order": 1,
! "width": "6",
! "height": "5",
! "gtype": "gage",
! "title": "CPU Temp.",
! "label": "°C",
! "format": "{{value}}",
! "min": 0,
! "max": "90",
! "colors": [
! "#00b500",
! "#b6e203",
! "#ca3838"
! ],
! "seg1": "",
! "seg2": "",
! "x": 430,
! "y": 60,
! "wires": []
! },
! {
! "id": "577b98c5.3f34e8",
! "type": "mqtt out",
! "z": "6ea33886.596fe8",
! "name": "Temp CPU",
! "topic": "Temp CPU",
! "qos": "",
! "retain": "",
! "broker": "dea36ce7.030f7",
! "x": 440,
! "y": 120,
! "wires": []
! },
! {
! "id": "25811103.2ec43e",
! "type": "switch",
! "z": "6ea33886.596fe8",
! "name": "Переключатель",
! "property": "payload",
! "propertyType": "msg",
! "rules": [
! {
! "t": "gt",
! "v": "35",
! "vt": "str"
! },
! {
! "t": "lt",
! "v": "55",
! "vt": "str"
! }
! ],
! "checkall": "true",
! "repair": false,
! "outputs": 2,
! "x": 135,
! "y": 167,
! "wires": [
! [
! "114184c8.65275b"
! ],
! [
! "e07c01a9.98a01"
! ]
! ]
! },
! {
! "id": "114184c8.65275b",
! "type": "change",
! "z": "6ea33886.596fe8",
! "name": "Вкл",
! "rules": [
! {
! "t": "set",
! "p": "payload",
! "pt": "msg",
! "to": "1",
! "tot": "str"
! }
! ],
! "action": "",
! "property": "",
! "from": "",
! "to": "",
! "reg": false,
! "x": 304,
! "y": 161,
! "wires": [
! [
! "2cef35bc.78a1aa"
! ]
! ]
! },
! {
! "id": "e07c01a9.98a01",
! "type": "change",
! "z": "6ea33886.596fe8",
! "name": "Выкл",
! "rules": [
! {
! "t": "set",
! "p": "payload",
! "pt": "msg",
! "to": "0",
! "tot": "str"
! }
! ],
! "action": "",
! "property": "",
! "from": "",
! "to": "",
! "reg": false,
! "x": 306,
! "y": 201,
! "wires": [
! [
! "2cef35bc.78a1aa"
! ]
! ]
! },
! {
! "id": "2cef35bc.78a1aa",
! "type": "opi_out",
! "z": "6ea33886.596fe8",
! "name": "Pin 21 - PA16",
! "set": true,
! "level": "0",
! "select": "OPZ",
! "pin": "16",
! "x": 490,
! "y": 181,
! "wires": []
! },
! {
! "id": "cad7fe30.5bd62",
! "type": "ui_group",
! "z": "",
! "name": "Temp",
! "tab": "e24b4dec.9d5f1",
! "order": 1,
! "disp": false,
! "width": "6",
! "collapse": false
! },
! {
! "id": "dea36ce7.030f7",
! "type": "mqtt-broker",
! "z": "",
! "broker": "localhost",
! "port": "1883",
! "clientid": "",
! "usetls": false,
! "compatmode": true,
! "keepalive": "60",
! "cleansession": true,
! "birthTopic": "",
! "birthQos": "0",
! "birthPayload": "",
! "willTopic": "",
! "willQos": "0",
! "willPayload": ""
! },
! {
! "id": "e24b4dec.9d5f1",
! "type": "ui_tab",
! "z": "",
! "name": "Orange Pi CPU-TEMP",
! "icon": "dashboard",
! "order": 3
! }
! ]