Package dev.digiried.wattpilot.shell
Class App
java.lang.Object
dev.digiried.wattpilot.shell.App
- All Implemented Interfaces:
WattpilotClientListener
Simple shell application to interact with a Wattpilot wallbox.
- Author:
- Florian Hotze - Initial contribution
-
Method Details
-
main
Main method to start the shell application.Two arguments are expected: the host and the password of the wallbox.
- Parameters:
args-
-
connected
public void connected()Description copied from interface:WattpilotClientListenerCalled when the client successfully connected to the wallbox.- Specified by:
connectedin interfaceWattpilotClientListener
-
disconnected
Description copied from interface:WattpilotClientListenerCalled when the client disconnected from the wallbox.- Specified by:
disconnectedin interfaceWattpilotClientListener- Parameters:
reason- the reason for the disconnectioncause- the throwable that caused the disconnect ornullif no throwable disconnected the client
-