433 Mhz Funktemperatursensoren auslesen
Your browser (%browser%) is out of date. It has known security flaws and may not display all features of this and other websites. \
Learn how to update your browser'.
-
-
Moin
Mein FTS zeigt seit Tagen 204,7 °C / 99.0% an.
Mit "pilight-receive" das gleiche.
Mit "sudo ./funktemperatursensor.sh" kommt
Source Code
- pi@raspberrypi ~ $ sudo ./funktemperatursensor.sh
- jq: error: Cannot index array with string
- parse error: Expected string key before ':' at line 196, column 5
- jq: error: Cannot index array with string
- parse error: Expected string key before ':' at line 196, column 5
- 111curl: (7) Failed to connect to 192.168.178.69 port 80: Keine Route zum Zielrechner
-
Hat dein Sensor evtl. die ID gewechselt?
Ich würde erst mal der Sache mit den fehlerhaften Werten nachgehen.
Sobald das wieder im pilight-receive funktioniert kann man sich noch mal das Skirpt anschauen.
Kannst während dessen aber schon mal die Ausgabe aus dem /tmp Ordner posten. -
ID ist bei 44 geblieben wie es auch im Skript steht.
Temp Ausgabe sieht so aus
Source Code
- {
- "message": {
- "id": 44,
- "temperature": 204.6,
- "humidity": 99.0,
- "battery": 1
- },
- "origin": "receiver",
- "protocol": "alecto_wx500",
- "uuid": "0000-b8-27-eb-cb3ea0",
- "repeats": 1
- }
- {
- "message": {
- "id": 832,
- "temperature": -0.6,
- "humidity": 156.0,
- "battery": 0
- },
- "origin": "receiver",
- "protocol": "alecto_ws1700",
- "uuid": "0000-b8-27-eb-cb3ea0",
- "repeats": 1
- }
- {
- "message": {
- "id": "F8",
- "unit": 0,
- "state": "off"
- },
- "origin": "receiver",
- "protocol": "clarus_switch",
- "uuid": "0000-b8-27-eb-cb3ea0",
- "repeats": 1
- }
- {
- "message": {
- "id": 44,
- "temperature": 204.6,
- "humidity": 99.0,
- "battery": 1
- },
- "origin": "receiver",
- "protocol": "alecto_wx500",
- "uuid": "0000-b8-27-eb-cb3ea0",
- "repeats": 1
- }
-
-
Hattest Recht, hat doch irgend wie eine neue ID 46 bekommen.
Jetzt kommen wieder die richtigen Werte. -
Perfekt :)