FHEMSync (Alternative zu FHEM2FHEM/RFHEM)

Begonnen von dominik, 18 März 2020, 21:55:46

Vorheriges Thema - Nächstes Thema

GreenFHEMfan

Kann ich das fhemsync irgendwie General resetten?
Rasp 3B+,4 / CUL /  Duofernstick / SIGNALduino (nanocul CC1101 optiboot) / mqtt

dominik

Einfach Neustart machen, fhemsync speichert keinerlei Daten, daher ist nichts zum loeschen oder so.
fhempy -  https://github.com/fhempy/fhempy: GoogleCast, Tuya, UPnP, Ring, EQ3BT, Nespresso, Xiaomi, Spotify, Object Detection, ...
Kaffeespende: https://paypal.me/todominik

GreenFHEMfan

Hier jetzt doch einen Auszug aus der LogFile:

(node:28501) UnhandledPromiseRejectionWarning: Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). To terminate the node process on unhandled promise rejection, use the CLI flag `--unhandled-rejections=strict` (see https://nodejs.org/api/cli.html#cli_unhandled_rejections_mode). (rejection id: 6)
(node:28501) UnhandledPromiseRejectionWarning: TypeError: Cannot read property 'execute' of undefined
    at FHEM.executeSlaveSetCmd [as cmdSetFct] (/usr/lib/node_modules/fhemsync/fhemsync.js:584:23)
(node:28501) UnhandledPromiseRejectionWarning: Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). To terminate the node process on unhandled promise rejection, use the CLI flag `--unhandled-rejections=strict` (see https://nodejs.org/api/cli.html#cli_unhandled_rejections_mode). (rejection id: 7)
(node:1566) UnhandledPromiseRejectionWarning: TypeError: Cannot read property 'execute' of undefined
    at FHEM.executeSlaveSetCmd [as cmdSetFct] (/usr/lib/node_modules/fhemsync/fhemsync.js:584:23)
(Use `node --trace-warnings ...` to show where the warning was created)
(node:1566) UnhandledPromiseRejectionWarning: Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). To terminate the node process on unhandled promise rejection, use the CLI flag `--unhandled-rejections=strict` (see https://nodejs.org/api/cli.html#cli_unhandled_rejections_mode). (rejection id: 1)
(node:1566) [DEP0018] DeprecationWarning: Unhandled promise rejections are deprecated. In the future, promise rejections that are not handled will terminate the Node.js process with a non-zero exit code.
Rasp 3B+,4 / CUL /  Duofernstick / SIGNALduino (nanocul CC1101 optiboot) / mqtt

GreenFHEMfan

Zitat von: mnennstiel am 26 September 2020, 23:25:22
Hier jetzt doch einen Auszug aus der LogFile:

(node:28501) UnhandledPromiseRejectionWarning: Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). To terminate the node process on unhandled promise rejection, use the CLI flag `--unhandled-rejections=strict` (see https://nodejs.org/api/cli.html#cli_unhandled_rejections_mode). (rejection id: 6)
(node:28501) UnhandledPromiseRejectionWarning: TypeError: Cannot read property 'execute' of undefined
    at FHEM.executeSlaveSetCmd [as cmdSetFct] (/usr/lib/node_modules/fhemsync/fhemsync.js:584:23)
(node:28501) UnhandledPromiseRejectionWarning: Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). To terminate the node process on unhandled promise rejection, use the CLI flag `--unhandled-rejections=strict` (see https://nodejs.org/api/cli.html#cli_unhandled_rejections_mode). (rejection id: 7)
(node:1566) UnhandledPromiseRejectionWarning: TypeError: Cannot read property 'execute' of undefined
    at FHEM.executeSlaveSetCmd [as cmdSetFct] (/usr/lib/node_modules/fhemsync/fhemsync.js:584:23)
(Use `node --trace-warnings ...` to show where the warning was created)
(node:1566) UnhandledPromiseRejectionWarning: Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). To terminate the node process on unhandled promise rejection, use the CLI flag `--unhandled-rejections=strict` (see https://nodejs.org/api/cli.html#cli_unhandled_rejections_mode). (rejection id: 1)
(node:1566) [DEP0018] DeprecationWarning: Unhandled promise rejections are deprecated. In the future, promise rejections that are not handled will terminate the Node.js process with a non-zero exit code.


Kann mir einer sagen was das bedeutet?
Läuft das etwas falsch bei Nodes?
Rasp 3B+,4 / CUL /  Duofernstick / SIGNALduino (nanocul CC1101 optiboot) / mqtt

JHo

Hallo zusammen,
mein erster Test mit FHEMSync ist deutlich erfolgreicher als mit FHEM2FHEM und RFHEM. Ich muss meinen Server im Haus umziehen und daher die USB-Devices (Jeelink und ZWave) in einen Raspi auslagern. Danke für das Modul!

Zitat von: GreenFHEMfan am 27 September 2020, 19:08:15
Kann mir einer sagen was das bedeutet?
Läuft das etwas falsch bei Nodes?
Fürs Protokoll und andere Neueinsteiger. Auch wenn es schon eine Weile her ist: der Fehler lässt sich beheben, wenn man beim Master im fhemsync-device das Attribut FHEMSync-auth (richtig) setzt.

Bei der Installation vom npm kommen drei Warn-Messages:
npm WARN deprecated request@2.88.2: request has been deprecated, see https://github.com/request/request/issues/3142
npm WARN deprecated request-promise@4.2.6: request-promise has been deprecated because it extends the now deprecated request package, see https://github.com/request/request/issues/3142
npm WARN deprecated har-validator@5.1.5: this library is no longer supported

Ist das bekannt, muss gefixt werden und wird auch, oder wie geht's mit FHEMSync weiter?

Viele Grüße
Jan
1: FHEM auf Ubuntu, MAX!Cube, Wand- und Heizkörperthermostate, Eco-Schalter, diverse LaCrosse-Sensoren, per remote angebundene DS18B20-Sensoren
2: FHEM auf Raspi 3, Max!Cube, Wand- und Heizkörperthermostate, Eco-Schalter, ht_pitiny-Adapter zu Junkers FW120

dominik

Hi,

ich habe jetzt schon länger nichts mehr an FHEMSync weiterentwickelt. Aktuell investiere ich viel Zeit in die Entwicklung von fhempy (https://github.com/dominikkarall/fhempy). fhempy hat den Vorteil, dass man keine 2 oder mehr FHEM Installationen benötigt, da man fhempy Module einfach auf Peers (also weiterer Hardware) auslagern kann. So habe ich für alle meine Bluetooth Module fhempy Module geschrieben. Damit ist alles zentral in einer FHEM Instanz managebar, obwohl die Module auf den Peers laufen.

Somit wird für mich FHEMSync nicht mehr so relevant werden. Die deprecated Warnings kann ich aber noch beseitigen, da ich sowieso bei gassistant auch diese Libraries austauschen muss.
fhempy -  https://github.com/fhempy/fhempy: GoogleCast, Tuya, UPnP, Ring, EQ3BT, Nespresso, Xiaomi, Spotify, Object Detection, ...
Kaffeespende: https://paypal.me/todominik

Maista

Moin Dominik

Schade. Dann kannst du immerhin meine Berichtigungen der Hilfe noch mit einpflegen  :-\

In wie weit nutzt mir das fhempy Modul dann um es als Ersatz für FHEMsync zu nutzen?

Gruß Gerd

dominik

Bitte noch um Link welche Berichtigung in der Hilfe du meinst? Dann aktualisiere ich das im 1. Post.

fhempy ist nur ein Ersatz für FHEMSync wenn man mit den fhempy Modulen auskommt, das wird aber nur bei wenigen der Fall sein.
fhempy -  https://github.com/fhempy/fhempy: GoogleCast, Tuya, UPnP, Ring, EQ3BT, Nespresso, Xiaomi, Spotify, Object Detection, ...
Kaffeespende: https://paypal.me/todominik

Maista

#278
Hatte ich dir 2020 per Telegram geschickt.
Du wolltest das bei Gelegenheit einpflegen ;)
Hab dir den Verweis per Telegram geschickt

spacy

Hallo Dominik,

traurig zu hören das du den support einstellst. Ich verweden dein FHEMSYNC mit meiner Fheminstanze in der Garage.
Damit funktioniert das Steuern einer Relaisplatine und Taster so was von optimal....

Seit dem heutigen Fhemupdate startet aber fhem aufgrund von fhemsync nicht mehr. Ich erhalte im LOG fhemsync: CoProcess: no such function: cmdFn
Vielleicht hättest du ja die Zeit dir das nochmal anzusehen.

Danke im Vorraus
spacy

dominik

Ich kann ja unterstützen wenn es irgendwann nicht mehr gehen sollte. Ich würde nur keine neuen Features einbauen.

Der CoProcess Fehler ist eigenartig, cmdFn liegt nämlich vor, kannst du bitte nochmals die Scripte aus dem 1. Post installieren?
fhempy -  https://github.com/fhempy/fhempy: GoogleCast, Tuya, UPnP, Ring, EQ3BT, Nespresso, Xiaomi, Spotify, Object Detection, ...
Kaffeespende: https://paypal.me/todominik

spacy

Hallo Dominik,

sorry, ich war da zu schnell und habe den Tag mein Log nicht richtig interpretiert. Nicht Fhemsync ist mein Problem, es lag am Heating Control was ich noch im Einsatz hatte.

Danke

Manley

Hi. Jetzt hatte ich endlich was gefunden, was meine Probleme löst.
Hab nach langem Tüffteln die Verbindung hinbekommen, mein erstes Testdevice in den FHEMsync-room geschoben und wollte jetzt hier mein Problem posten.
Und dann lese ich, dass das eh nicht mehr von dir Supportet wird.
Vielleicht kennst du noch einer Alternative zu deinem Modul.

MfG
Manley
Wir essen jetzt Opa!
Satzzeichen können Leben retten.

dominik

Schilder mal das Problem oder poste das Log, vielleicht kann ich ja noch helfen. Ich habe es noch selbst im Einsatz.
fhempy -  https://github.com/fhempy/fhempy: GoogleCast, Tuya, UPnP, Ring, EQ3BT, Nespresso, Xiaomi, Spotify, Object Detection, ...
Kaffeespende: https://paypal.me/todominik

Adimarantis

FYI: FHEM2FHEM hat kürzlich ein paar Zusatzfunktionen spendiert bekommen, so dass wir uns zumindest entschieden haben auch RFHEM in Rente zu schicken.
FHEMSync kann soweit ich das verstehe noch etwas mehr, aber vielleicht helfen die neusten FHEM2FHEM Änderungen (set cmd, Attribute keepalive und loopThreshold) ja doch mit deinen Anwendungsfällen.
Raspberry 4 + HM-MOD-RPI-PCB (pivCCU) + RfxTrx433XL + 2xRaspberry 1
Module: 50_Signalbot, 52_I2C_ADS1x1x , 58_RPI_1Wire, (50_SPI_MAX31865)