Giter Site home page Giter Site logo

loxberry-plugin-sml-emon's People

Contributors

woersty avatar

Watchers

 avatar  avatar

loxberry-plugin-sml-emon's Issues

sort_by_mtime

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

CP2102N_USB_to_UART_Bridge_Controller

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ß

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.