Skip to main content

ochsner_web2com

ochsner_web2com is a Python module that read or write paramters of a web2com interface from ochser heat pump via SOAP requests.

Example

    import ochsner_web2com.web2com as web2com
    
    ## Connect to a web2com server with default eBus and device id.
    ## Use Digest access authentication as default
    w2c = web2com.Service('192.168.188.50', 'OEM', 'password')

    ## Change the id's of ebus or device.
    w2c.set_eBus_id(1)
    w2c.set_device_id(2)

    ## get value via chain id
    result = w2c.get_value('/1/2/1/125/9')
    print(result)
    ## set value via chain id
    result = w2c.set_value('/1/2/4/99/6', 20.0)
    print(result)

    ## get value via predefined enum
    result = w2c.get(web2com.HEAT_PUMP.Thermal_energy_kWh)
    print(result)
    ## set value via predefined enum
    result = w2c.set(web2com.HEATING_CIRCUIT.Normal_setpoint_room_temperature_heating, 20.0)
    print(result)

    ## get values via list of id's (eBus and device will be added)
    result = w2c.get([1, 125, 9])
    print(result)
    ## set value via list of id's (eBus and device will be added)
    result = w2c.set([4, 99, 6], 20.0)
    print(result)

    ## Connect to a web2com server with default eBus and device id.
    ## Use Basic access authentication
    w2c_basic = Service('192.168.188.50', 'OEM', 'password', auth=AUTH.BASIC)

    ## get value via chain id
    result = w2c_basic.get_value('/1/2/1/125/9')
    print(result)

The first parameter of the result holds the HTTP result code and the second paramter the value of the paramter.

Paramter List:

Description ID chain
heat pump: State heat generator control /1/2/1/125/0
heat pump: Flow temperature heat generator /1/2/1/125/1
heat pump: Return flow temperature heat generator /1/2/1/125/2
heat pump: Heat source outlet temperature /1/2/1/125/3
heat pump: Heat source inlet temperature /1/2/1/125/4
heat pump: Operation cycles /1/2/1/125/5
heat pump: Operation hours /1/2/1/125/6
heat pump: Volume flow heat energy /1/2/1/125/7
heat pump: Flow rate heat source /1/2/1/125/8
heat pump: Thermal energy kWh /1/2/1/125/9
heat pump: Thermal energy MWh /1/2/1/125/10
heat pump: Energy DHW kWh /1/2/1/125/11
heat pump: Energy DHW MWh /1/2/1/125/12
auxiliary: State heat generator control /1/2/2/126/0
auxiliary: Flow temperature heat generator /1/2/2/126/1
auxiliary: Operation cycles /1/2/2/126/2
auxiliary: Operation hours /1/2/2/126/3
auxiliary: Thermal energy kWh /1/2/2/126/4
auxiliary: Thermal energy MWh /1/2/2/126/5
heating circuit: State heating circuit control /1/2/4/119/0
heating circuit: Outdoor temperature /1/2/4/119/1
heating circuit: Outdoor temperature average value /1/2/4/119/2
heating circuit: Setpoint room temperature /1/2/4/119/3
heating circuit: Actual heating circuit flow temperature /1/2/4/119/4
heating circuit: Setpoint heating circuit flow temperature /1/2/4/119/5
DHW: State DHW control /1/2/7/121/0
DHW: Actual DHW temperature /1/2/7/121/1
DHW: DHW setpoint /1/2/7/121/2
Manager: Storage tank temperature top /1/2/8/122/0
Manager: Storage tank temperature center /1/2/8/122/1
Manager: Plant flow temperature /1/2/8/122/2
Manager: Plant CH setpoint flow temperature /1/2/8/122/3
Manager: Heating power in heating mode /1/2/8/122/4
Manager: Heating power in DHW mode /1/2/8/122/5
Manager: State heating manager /1/2/8/122/6

Default paramter:

Description ID
eBus 1
device 2

Metadata

Release files for ochsner-web2com 0.1.7

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for ochsner-web2com 0.1.7
File Size Uploaded
ochsner_web2com-0.1.7.tar.gz 4.1 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for ochsner-web2com 0.1.7
File Interpreter ABI Platform
ochsner_web2com-0.1.7-py3-none-any.whl Python 3 none any Details

Total release size: 9.3 kB

Release files / ochsner_web2com-0.1.7.tar.gz

Download URL ochsner_web2com-0.1.7.tar.gz
Size 4.1 kB
Tags Source
SHA-256 checksum
How to use checksums
9bab6629d020f8ca2831e8212814ee8316a240233467cf41d75524f1da911c0a
BLAKE2b-256 checksum
How to use checksums
698e13235b51065aef22a78f820c04b68a013cf369426f6b039e14c516a65174
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/5.1.1 CPython/3.8.9

Release files / ochsner_web2com-0.1.7-py3-none-any.whl

Download URL ochsner_web2com-0.1.7-py3-none-any.whl
Size 5.2 kB
Tags Python 3
SHA-256 checksum
How to use checksums
5e686a084dd5bdbbb931c16b431a3f068e62a4d059e4af9a74f308027163d0f8
BLAKE2b-256 checksum
How to use checksums
f6daad1b7c8878a7089b9e82f958408cdd6faba34298520335bea6432ef69ab9
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/5.1.1 CPython/3.8.9

Release history Release notifications | RSS feed

This release

0.1.7 This release

2 release files

0.1.6

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page