From 9ee25e36a05b097c6f6b5bcb6f66ee249dd2844c Mon Sep 17 00:00:00 2001 From: Jan Michel Date: Sun, 27 Mar 2022 15:41:52 +0200 Subject: [PATCH] add readme for power supply gui --- powersupplies/web/README.txt | 56 ++++++++++++++++++++++++++++++++++++ 1 file changed, 56 insertions(+) create mode 100644 powersupplies/web/README.txt diff --git a/powersupplies/web/README.txt b/powersupplies/web/README.txt new file mode 100644 index 0000000..d7de3da --- /dev/null +++ b/powersupplies/web/README.txt @@ -0,0 +1,56 @@ +Supported Devices +================= +* Hameg / Rohde-Schwarz HMP, HMC (Ethernet, RS232, USB) +* Gw-Instek PSP (only with a non-standard USB-RS232 converter), PST +* Korad / RND KA3000 (USB) +* Custom power switch modules + +Start +===== +* Run ./httpi localhost 2222 +* Direct browser to http://localhost:2222 + + +Caveats +======= +* Mostly not multi-user proof +* Not secure. Don't expose to the world, use in separated local network only. +* Some serial devices might need some fine tuning of delays and wait times. + + +Configuration File +================== + + PWRSPLY:/path/to/device:Speed_Port:Name:Type:Channels:Names + +/path/to/device + * IP192.168.0.0 (Ethernet) + * /dev/FTDI_FT232R_USB_UART_A702HE33 (serial devices) + * SERuser@192.168.0.0/dev/ttyUSB0 (serial devices on other computer) + +Speed_Port + * BAUD rate for serial devices + * Port number for Ethernet devices + +Name + * name of power supply in GUI + +Type + * Power supply series: HMP, HMC, PST, PSP, KA3000 + * Custom modules: PWRSW + +Channels + * Number of channels on device + +Names + * List of names for channels (separated by colon. keep short) + + +USB Devices +============== +Configure USB system to create fixed names for devices and set permissions: + +/etc/udev/rules.d/99-serial-permission.rules + SUBSYSTEMS=="usb", ATTRS{idVendor}=="10c4", SYMLINK+="$env{ID_SERIAL}", \ + GROUP="users", MODE="0666", TEST=="power/control", ATTR{power/control}="on" + -- 2.43.0