mirror of https://github.com/pikvm/pikvm.git
				
				
				
			fix
This commit is contained in:
		
							parent
							
								
									11bd929aad
								
							
						
					
					
						commit
						eaabd93e96
					
				
							
								
								
									
										55
									
								
								docs/gpio.md
								
								
								
								
							
							
						
						
									
										55
									
								
								docs/gpio.md
								
								
								
								
							|  | @ -525,36 +525,37 @@ kvmd | ||||||
|                     - ["plug_led", "plug_button"] |                     - ["plug_led", "plug_button"] | ||||||
| 
 | 
 | ||||||
|     ``` |     ``` | ||||||
|  | 
 | ||||||
|  | 
 | ||||||
| ### ANEL NET-PwrCtrl | ### ANEL NET-PwrCtrl | ||||||
| ??? note "Click to view"     | ??? note "Click to view"     | ||||||
|     The `anelpwr` plugin allows you to use ANEL NET-PwrCrtl IP-PDUs (switchabel sockets) as gpios. There are up to 8 Ports per PDU. Input pulls the the current state from the PDU, Output switches the Socket.  |     The `anelpwr` plugin allows you to use ANEL NET-PwrCrtl IP-PDUs (switchabel sockets) as gpios. There are up to 8 Ports per PDU. Input pulls the the current state from the PDU, Output switches the Socket.  | ||||||
| 
 | 
 | ||||||
|     ```yaml |     ```yaml | ||||||
|     kvmd: |     kvmd: | ||||||
| 	gpio: |         gpio: | ||||||
|         drivers: |             drivers: | ||||||
|             anel_pdu_1: |                 anel_pdu_0: | ||||||
| 		        type: anelpwr |                     type: anelpwr | ||||||
| 		        url: http://IP:Port/ |                     url: http://IP:port | ||||||
| 		        user: admin |                     user: admin | ||||||
| 		        passwd: anel |                     passwd: anel | ||||||
| 		        initial: null |             scheme: | ||||||
| 	    scheme: |                 pdu0_0_pwr: | ||||||
|             pdu1_1_pwr: |                     pin: 0 | ||||||
| 			    pin: 1 |                     driver: anel_pdu_0 | ||||||
| 			    driver: anel_pdu_1 |                     mode: output | ||||||
| 			    mode: output |                     pulse: | ||||||
| 			    pulse: |                         delay: 0 | ||||||
| 			        delay: 0 |                 pdu0_0_led: | ||||||
| 	        pdu1_1_led: |                     pin: 0 | ||||||
| 			    pin: 1 |                     driver: anel_pdu_0 | ||||||
| 			    driver: anel_pdu_1 |                     mode: input | ||||||
| 			    mode: input |             view: | ||||||
| 	    view: |                 header: | ||||||
|             header: |                    title: "PDUs" | ||||||
| 		       title: "PDUs" |                 table: | ||||||
|             table: |                     - ["#PDU0"] | ||||||
| 		        - ["#PDU1"] |                     - [] | ||||||
|                 - [] |                     - ["#PDU0_Port0:", pdu0_0_led, "pdu0_0_pwr|confirm|test"]  | ||||||
|                 - ["#PDU1_Port1:", pdu1_1_led, "pdu1_1_pwr|confirm|test"]  |     ``` | ||||||
|     ``` |  | ||||||
|  |  | ||||||
		Loading…
	
		Reference in New Issue