woersty / loxberry-plugin-sml-emon Goto Github PK
View Code? Open in Web Editor NEWLoxBerry Plugin SML-eMon
License: Apache License 2.0
LoxBerry Plugin SML-eMon
License: Apache License 2.0
PHP Warning: usort() expects parameter 2 to be a valid callback, function 'sort_by_mtime' not found or invalid function name in /opt/loxberry/webfrontend/html/plugins/sml_emon/index.php on line 38
nnot exec /opt/loxberry/log/plugins/apc_ups/data/apccontrol commfailure: No such file or directory
Hallo,
ich habe den Lesekopf von ELV, dieser verwendet wohl einen anderen Chip CP2102N anstatt CP2104.
Gibt es die Möglichkeit diesen Lesekopf auch über dieses Plugin abzufragen?
ich dachte in der deamon Datei in Zeile 27 den Chipnamen zu ändern würde reichen, dies ist wohl nicht so..
Anbei ein paar Terminal abfragen, von Linux wird der Lesekopf aber erkannt.
loxberry@loxberry:~ $ ls -l /dev/serial/{by-path,by-id}/*
lrwxrwxrwx 1 root root 13 Mar 7 18:38 /dev/serial/by-id/usb-Silicon_Labs_CP2102N_USB_to_UART_Bridge_Controller_58f12cffbbeeec1198ae2ef90f611b40-if00-
port0 -> ../../ttyUSB0
loxberry@loxberry:~ $ ls /dev/ttyUSB*
/dev/ttyUSB0
loxberry@loxberry:~ $ udevadm info -q all -n /dev/ttyUSB0 |awk -F": " '{print "usbdevice'$u'"$2}'
usbdevice/devices/platform/soc/3f980000.usb/usb1/1-1/1-1.2/1-1.2:1.0/ttyUSB0/tty/ttyUSB0
usbdevice_ttyUSB0
usbdevice_0
usbdevice_serial/by-path/platform-3f980000.usb-usb-0:1.2:1.0-port0
usbdevice_serial/by-id/usb-Silicon_Labs_CP2102N_USB_to_UART_Bridge_Controller_58f12cffbbeeec1198ae2ef90f611b40-if00-port0
usbdevice_DEVPATH=/devices/platform/soc/3f980000.usb/usb1/1-1/1-1.2/1-1.2:1.0/ttyUSB0/tty/ttyUSB0
usbdevice_DEVNAME=/dev/ttyUSB0
usbdevice_MAJOR=188
usbdevice_MINOR=0
usbdevice_SUBSYSTEM=tty
usbdevice_USEC_INITIALIZED=12365721
usbdevice_ID_PATH=platform-3f980000.usb-usb-0:1.2:1.0
usbdevice_ID_PATH_TAG=platform-3f980000_usb-usb-0_1_2_1_0
usbdevice_ID_VENDOR=Silicon_Labs
usbdevice_ID_VENDOR_ENC=Silicon\x20Labs
usbdevice_ID_VENDOR_ID=10c4
usbdevice_ID_MODEL=CP2102N_USB_to_UART_Bridge_Controller
usbdevice_ID_MODEL_ENC=CP2102N\x20USB\x20to\x20UART\x20Bridge\x20Controller
usbdevice_ID_MODEL_ID=ea60
usbdevice_ID_REVISION=0100
usbdevice_ID_SERIAL=Silicon_Labs_CP2102N_USB_to_UART_Bridge_Controller_58f12cffbbeeec1198ae2ef90f611b40
usbdevice_ID_SERIAL_SHORT=58f12cffbbeeec1198ae2ef90f611b40
usbdevice_ID_TYPE=generic
usbdevice_ID_BUS=usb
usbdevice_ID_USB_INTERFACES=:ff0000:
usbdevice_ID_USB_INTERFACE_NUM=00
usbdevice_ID_USB_DRIVER=cp210x
usbdevice_ID_MM_CANDIDATE=1
usbdevice_DEVLINKS=/dev/serial/by-path/platform-3f980000.usb-usb-0:1.2:1.0-port0 /dev/serial/by-id/usb-Silicon_Labs_CP2102N_USB_to_UART_Bridge_Control
ler_58f12cffbbeeec1198ae2ef90f611b40-if00-port0
usbdevice_TAGS=:systemd:
usbdevice_CURRENT_TAGS=:systemd:
usbdevice_
lieben Gruß
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.