testframework.clients.brain.tester.wallbox module

A sub object of the client for interaction with the Wallbox connection

class testframework.clients.brain.tester.wallbox.WallboxConnection(client: TestClient)

Bases: object

Provides methods for interacting with the wallbox connection. It’s possible to get power measurements at the wallbox connection

Usage:

test_client.wallbox

These can be accessed given an instance of TestClient with .wallbox for example:

Example

>>> def test_wallbox(self, testbench: TestBench):
>>>    test_client = TestClient(testbench, default_timeout=30)
>>>    test_client.wallbox.get_power_l1()
>>>    test_client.wallbox.get_frequency()
get_current_l1() float

return current L1 value measured from power meter at sampling point Wallbox where the Wallbox is measured

get_current_l2() float

return current L2 value measured from power meter at sampling point Wallbox where the Wallbox is measured

get_current_l3() float

return current L3 value measured from power meter at sampling point Wallbox where the Wallbox is measured

get_frequency() float

return frequency value measured from power meter at sampling point Wallbox where the Wallbox is measured

get_power_l1() float

return power L1 value measured from power meter at sampling point Wallbox where the Wallbox is measured

get_power_l2() float

return power L2 value measured from power meter at sampling point Wallbox where the Wallbox is measured

get_power_l3() float

return power L3 value measured from power meter at sampling point Wallbox where the Wallbox is measured

get_power_total() float

return power total value measured from power meter at sampling point Wallbox where the Wallbox is measured

get_total_energy_export() float

return total energy export value measured from power meter at sampling point Wallbox where the Wallbox is measured

get_total_energy_import() float

return total energy import value measured from power meter at sampling point Wallbox where the Wallbox is measured

get_voltage_l1() float

return voltage L1 value measured from power meter at sampling point Wallbox where the Wallbox is measured

get_voltage_l2() float

return voltage L2 value measured from power meter at sampling point Wallbox where the Wallbox is measured

get_voltage_l3() float

return voltage L3 value measured from power meter at sampling point Wallbox where the Wallbox is measured