FHEM - Hardware > Server - Linux

never touch a running system!!!

(1/3) > >>

hankyzoolander:
Hallo,
ich habe da ein kleines Problem.
Dachte mir heute morgen mal ein Update von meinem Heizungsfhem zu machen. Auf diesem war das letzte Update von 2016!
Lief all die jahre komplett durch und hat wunderbar funktioniert. Dort ist noch ein ganz alter B Raspi im Einsatz.
Soweit so gut,
Update gemacht, update ohne Fehler durchgeführt, fhem neu gestartet.
Fhem startet kurz aber nach einigen Sekunden wird es wieder beendet.

Log Datei zeigt folgendes:

--- Code: ---Protect this FHEM installation by defining an allowed device with define allowed allowed
You can disable this message with attr global motd none
Autosave deactivated
2021.10.03 13:45:17 3: Opening FIRMATA device /dev/ttyUSB0
2021.10.03 13:45:17 3: Setting FIRMATA serial parameters to 57600,8,N,1
2021.10.03 13:45:17 3: FIRMATA device opened
2021.10.03 13:45:21 1: usb create starting
2021.10.03 13:45:24 3: Probing CUL device /dev/ttyAMA0
2021.10.03 13:45:24 3: Probing TCM_ESP3 device /dev/ttyAMA0
2021.10.03 13:45:24 3: Probing ZWDongle device /dev/ttyAMA0
2021.10.03 13:45:24 3: Probing SIGNALDuino device /dev/ttyAMA0
2021.10.03 13:45:24 3: Probing MYSENSORS device /dev/ttyAMA0
2021.10.03 13:45:25 3: Probing ArduCounter device /dev/ttyAMA0
2021.10.03 13:45:25 3: Probing ElsnerWS device /dev/ttyAMA0
2021.10.03 13:45:26 3: Probing FRM device /dev/ttyAMA0
2021.10.03 13:45:31 1: usb create end
2021.10.03 13:45:33 0: Featurelevel: 6
2021.10.03 13:45:33 0: Server started with 36 defined entities (fhem.pl:25039/2021-10-01 perl:5.014002 os:linux user:fhem pid:2714)
2021.10.03 13:45:33 3: FIRMATA: querying Firmata versions
@./FHEM/10_FRM.pm:main:816 : Unhandled attribute 'protocol_version_query' called

--- Ende Code ---

Auch beim Versuch mit sudo service fhem start , startet fehm kurz, und wird dann beendet.
Hat jemand ne Idee?
Danke als im voraus

hankyzoolander:
edit:
es scheint an der Firmata zu liegen.
Habe in der fhem.cfg den Eintrag define FIRMATA FRM /dev/ttyUSB0@57600 auskommentiert und fhem startet jetzt wieder und ist auch per browser erreichbar.

hankyzoolander:
edit2:
anscheinend gibts da ne neue version davon oder so in der Art.
in der commandref steht:

--- Code: ---(1) Install version 0.69 or higher of the Perl module Device::Firmata, e.g. via OS command line:

cpan install Device::Firmata
--- Ende Code ---

das läuft gerade. (dauert etwas)

hankyzoolander:
edit:3
hmm, da liegt ein problem vor.

--- Code: ---pi@raspberrypi ~ $ cpan install Device::Firmata

CPAN.pm requires configuration, but most of it can be done automatically.
If you answer 'no' below, you will enter an interactive dialog for each
configuration option instead.

Would you like to configure as much as possible automatically? [yes] y

 <install_help>

Warning: You do not have write permission for Perl library directories.

To install modules, you need to configure a local Perl library directory or
escalate your privileges.  CPAN can help you by bootstrapping the local::lib
module or by configuring itself to use 'sudo' (if available).  You may also
resolve this problem manually if you need to customize your setup.

What approach do you want?  (Choose 'local::lib', 'sudo' or 'manual')
 [local::lib] sudo

Autoconfigured everything but 'urllist'.

Now you need to choose your CPAN mirror sites.  You can let me
pick mirrors for you, you can select them from a list or you
can enter them by hand.

Would you like me to automatically choose some CPAN mirror
sites for you? (This means connecting to the Internet) [yes] y
Trying to fetch a mirror list from the Internet
Fetching with LWP:
http://www.perl.org/CPAN/MIRRORED.BY

Looking for CPAN mirrors near you (please be patient)
. done!

New urllist
  http://www.cpan.org/

Autoconfiguration complete.

commit: wrote '/home/pi/.cpan/CPAN/MyConfig.pm'

You can re-run configuration any time with 'o conf init' in the CPAN shell
Fetching with LWP:
http://www.cpan.org/authors/01mailrc.txt.gz
Going to read '/home/pi/.cpan/sources/authors/01mailrc.txt.gz'
............................................................................DONE
Fetching with LWP:
http://www.cpan.org/modules/02packages.details.txt.gz
Going to read '/home/pi/.cpan/sources/modules/02packages.details.txt.gz'
  Database was generated on Sun, 03 Oct 2021 11:41:02 GMT
.............
  New CPAN.pm version (v2.28) available.
  [Currently running version is v1.960001]
  You might want to try
    install CPAN
    reload cpan
  to both upgrade CPAN.pm and run the new version without leaving
  the current session.


...............................................................DONE
Fetching with LWP:
http://www.cpan.org/modules/03modlist.data.gz
Going to read '/home/pi/.cpan/sources/modules/03modlist.data.gz'
DONE
Going to write /home/pi/.cpan/Metadata
Running install for module 'Device::Firmata'
Running make for J/JN/JNSBYR/Device-Firmata-0.69.tar.gz
Fetching with LWP:
http://www.cpan.org/authors/id/J/JN/JNSBYR/Device-Firmata-0.69.tar.gz
Fetching with LWP:
http://www.cpan.org/authors/id/J/JN/JNSBYR/CHECKSUMS
Checksum for /home/pi/.cpan/sources/authors/id/J/JN/JNSBYR/Device-Firmata-0.69.tar.gz ok
Uncompressed /home/pi/.cpan/sources/authors/id/J/JN/JNSBYR/Device-Firmata-0.69.tar.gz successfully
Using Tar:/bin/tar xf "Device-Firmata-0.69.tar":
Couldn't untar Device-Firmata-0.69.tar
Package seems to come without Makefile.PL.
  (The test -f "/home/pi/.cpan/build/JNSBYR-FzBRD3/Makefile.PL" returned false.)
  Writing one on our own (setting NAME to DeviceFirmata)
  Had problems unarchiving. Please build manually
Running make test
  Make had some problems, won't test
Running make install
  Make had some problems, won't install
pi@raspberrypi ~ $

--- Ende Code ---

hankyzoolander:
edit4:
sobald ich das FRM Modul mit define FIRMATA FRM /dev/ttyUSB0@57600 anlege, wird fhem sofort beendet.
Das device wird angelegt und es steht folgende Meldung,

DRIVER_STATUS             Perl module Device::Firmata version 0.69 or higher required, see Commandref for details how to fix

Navigation

[0] Themen-Index

[#] Nächste Seite

Zur normalen Ansicht wechseln