OEG KS2W solarboiler data

For heating/cooling related questions in Domoticz

Moderator: leecollings

Post Reply
kwiegers
Posts: 3
Joined: Tuesday 25 April 2017 9:27
Target OS: Windows
Domoticz version:
Contact:

OEG KS2W solarboiler data

Post by kwiegers »

I have an OEG solarboiler with KS2W controller and OTGW with Domoticz connected to iSense.

There is software available for this controller:
https://www.oeg.net/nl/software-voor-ks ... -212000097

I wonder if this is standard protocol like V-bus and if it it possible to import the data in Domoticz.

Any ideas?

Kees
kwiegers
Posts: 3
Joined: Tuesday 25 April 2017 9:27
Target OS: Windows
Domoticz version:
Contact:

Re: OEG KS2W solarboiler data

Post by kwiegers »

When I connect USB It says: Soletron heating control
Derik
Posts: 1602
Joined: Friday 18 October 2013 23:33
Target OS: Raspberry Pi / ODroid
Domoticz version: BETA
Location: Arnhem/Nijmegen Nederland
Contact:

Re: OEG KS2W solarboiler data

Post by Derik »

mmm what Hard ware setup do you have..
I am interested in a boiler to..
Xu4: Beta Extreme antenna RFXcomE,WU Fi Ping ip P1 Gen5 PVOutput Harmony HUE SolarmanPv OTG Winddelen Alive ESP Buienradar MySensors WOL Winddelen counting RPi: Beta SMAspot RFlinkTest Domoticz ...Different backups
kwiegers
Posts: 3
Joined: Tuesday 25 April 2017 9:27
Target OS: Windows
Domoticz version:
Contact:

Re: OEG KS2W solarboiler data

Post by kwiegers »

I have raspberyy pi zero, OTGW gateway and domotics with smartmeter.

Wheb I plug in cable, it say it is a modem connection.

Kees
pgit
Posts: 12
Joined: Monday 04 August 2014 17:54
Target OS: Raspberry Pi / ODroid
Domoticz version:
Contact:

Re: OEG KS2W solarboiler data

Post by pgit »

I have a OEG KSW-E controller. Connecting the USB to Windows installs a Seltron (heating controller brand) device as a (USB-to) serial port, but I didn't succeed in making a serial connection (with a terminal emulation program) to it program (yet)....
Has anyone found out what settings (baud rate, flow control etc.) are needed and how to
My ultimate goal is to read the data into Domoticz (offcourse)...
muurman
Posts: 4
Joined: Saturday 25 August 2018 19:46
Target OS: Raspberry Pi / ODroid
Domoticz version:
Contact:

Re: OEG KS2W solarboiler data

Post by muurman »

i also have a OEG ksw-e and want to connect to domoticz
ced2dom
Posts: 3
Joined: Friday 31 January 2020 18:19
Target OS: -
Domoticz version:
Contact:

Re: OEG KS2W solarboiler data

Post by ced2dom »

Hi,

I've a OEG KMS-D which is using the same software as the KS2W.

Does anyboby has found a way to interact with the Box ?

Does anybody has the software and would be willing to share it with me. I would like to monitor the serial traffic on the USB to understand the various command sent

Thanks
brambo123
Posts: 1
Joined: Friday 07 February 2020 18:55
Target OS: -
Domoticz version:
Contact:

Re: OEG KS2W solarboiler data

Post by brambo123 »

Today I have looked into it with a friend of mine.
After some research, it appears that modbus ascii is being used.
The correct settings are:
- modbus ascii modes
- baud rate 9600
- unit it 0x80
- function code 3 (read holding registers)
I still have to figure out which holding registers belong to which value, but that is a matter of comparing data with information on the screen.
ced2dom
Posts: 3
Joined: Friday 31 January 2020 18:19
Target OS: -
Domoticz version:
Contact:

Re: OEG KS2W solarboiler data

Post by ced2dom »

brambo123 wrote: Friday 07 February 2020 19:05 Today I have looked into it with a friend of mine.
After some research, it appears that modbus ascii is being used.
The correct settings are:
- modbus ascii modes
- baud rate 9600
- unit it 0x80
- function code 3 (read holding registers)
I still have to figure out which holding registers belong to which value, but that is a matter of comparing data with information on the screen.
Hi brambo123,

Which client are you using to query the box ?

The unit it 0x80 is the device ID ? or the starting register ID ?
ced2dom
Posts: 3
Joined: Friday 31 January 2020 18:19
Target OS: -
Domoticz version:
Contact:

Re: OEG KS2W solarboiler data

Post by ced2dom »

Hi,

Due to the COVID, i've had a bit of time to look after this.

My Setup is not a KS2W but a KMS-D from OEG. I've figure out some of the holding registers.

I've created a page on github with a small code to read the register and publish it on a MQTT broker.

Here it is : https://github.com/ced2git/oeg_kmsd

Ced
Rik1980
Posts: 1
Joined: Friday 24 March 2017 9:56
Target OS: Raspberry Pi / ODroid
Domoticz version:
Contact:

Re: OEG KS2W solarboiler data

Post by Rik1980 »

How do you connect to PC or RPI?
mipviwawes
Posts: 1
Joined: Monday 25 January 2021 21:56
Target OS: Raspberry Pi / ODroid
Domoticz version:
Contact:

Re: OEG KS2W solarboiler data

Post by mipviwawes »

ced2dom wrote: Friday 27 March 2020 19:28 Hi,

Due to the COVID, i've had a bit of time to look after this.

My Setup is not a KS2W but a KMS-D from OEG. I've figure out some of the holding registers.

I've created a page on github with a small code to read the register and publish it on a MQTT broker.

Here it is : https://github.com/ced2git/oeg_kmsd

Ced
First of all, I owe you a beer.
The sole reason I made an account on this forum, is to thank you for creating the Python code that is found on your Github.

I've altered the code so it fits my needs ;)
(I'm using a signed integer to handle negative values for the sensor T1 which is mounted outside and forward the instrument values to my Homey)

Code: Select all

#!/usr/bin/env python3

oeg_dict = {

	38:"oegT1",
	39:"oegT2",
	40:"oegT3",
	}

address="http://IP-ADDRESS/api/app/com.internet/"

import minimalmodbus
import serial
import csv
import time
import requests

from minimalmodbus import ModbusException
from minimalmodbus import NoResponseError

instrument = minimalmodbus.Instrument('/dev/ttyACM0', 128, minimalmodbus.MODE_ASCII) # port name, slave address (in decimal)
instrument.serial.baudrate = 9600 # Baud
instrument.serial.parity = serial.PARITY_EVEN
instrument.serial.bytesize = 7
instrument.serial.stopbits = 1
instrument.serial.timeout = 0.05	# seconds

localtime=time.asctime(time.localtime(time.time()))
for x in oeg_dict:
	try:
		tempdata = instrument.read_register(x,1,3,signed=True)
		url = (address + oeg_dict[x] + "/" + str(tempdata))
		setvar = requests.get(url)
	except NoResponseError:
		a=1


passion75
Posts: 2
Joined: Monday 09 October 2017 14:01
Target OS: Windows
Domoticz version:
Contact:

Re: OEG KS2W solarboiler data

Post by passion75 »

Dear mipviwawes,

How do you connect the oeg to homey?

I also have a OEG KSW and also want to connect it to my homey :D :D :D :D :D

Regards

Pascal Biemans
bliek79
Posts: 1
Joined: Monday 25 July 2022 10:25
Target OS: Raspberry Pi / ODroid
Domoticz version:
Contact:

Re: OEG KS2W solarboiler data

Post by bliek79 »

hello, i'm new here.

I recently got a boiler with an oeg kws-* I would like to know which otgw you have used to make a connection to the kws-*, and with which cable it is connected.

I'd love to hear from the experts
Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest