Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

determine writeable values #6

Closed
zivillian opened this issue Mar 7, 2021 · 9 comments
Closed

determine writeable values #6

zivillian opened this issue Mar 7, 2021 · 9 comments

Comments

@zivillian
Copy link
Owner

zivillian commented Mar 7, 2021

We need to know which values can be set by the app and which busAddress has to be used

@zivillian
Copy link
Owner Author

ReadOnlyConditionId in ParameterTemplates.xml looks promising

@zivillian zivillian mentioned this issue Mar 7, 2021
4 tasks
@zivillian
Copy link
Owner Author

There are only 7 ReadOnlyConditionId (out of 4661) with a real condition (not just True or False) so it would be an option to just skip those.

@zivillian
Copy link
Owner Author

but according to the dumps, the busAddress is different:

  • 0x35 for reading (as announced in read-systemconfig-response)
  • 0x30 for writing (as seen in ism7proxy)

@copystring
Copy link
Collaborator

Same goes for 0x8 => 0x3
I guess it's always offset by -5

@zivillian
Copy link
Owner Author

Each master also has a dedicated slave address which can be found by simply adding 5 to the master address (wrapping at 256, i.e. 255+5 is 4).

source

@zivillian
Copy link
Owner Author

Sommerbetrieb

> (000000940004):<?xml version="1.0" encoding="utf-8"?><tbreq bn="31099" gw="1" ae="true" ty="write"><iwr se="A;23" ba="0x30" in="274" dl="0x05" dh="0x00" /></tbreq>
< (000000b00005)
< (efbbbf):<?xml version="1.0" encoding="utf-8"?><tbres bn="31099" gw="1" st="OK" ts="2021-03-07T19:21:30" emsg="">
< <iac se="A;23" ba="0x30" in="274" dl="0x5" dh="0x0" st="OK"/>
< </tbres>

Automatik

> (000000940004):<?xml version="1.0" encoding="utf-8"?><tbreq bn="31099" gw="1" ae="true" ty="write"><iwr se="A;23" ba="0x30" in="274" dl="0x02" dh="0x00" /></tbreq>
< (000000b00005)
< (efbbbf):<?xml version="1.0" encoding="utf-8"?><tbres bn="31099" gw="1" st="OK" ts="2021-03-07T19:21:40" emsg="">
< <iac se="A;23" ba="0x30" in="274" dl="0x2" dh="0x0" st="OK"/>
< </tbres>

Spartemp 17,5

> (000000910004):<?xml version="1.0" encoding="utf-8"?><tbreq bn="31099" gw="1" ae="true" ty="write"><iwr se="A;7" ba="0x30" in="8" dl="0xAF" dh="0x00" /></tbreq>
< (000000ae0005)
< (efbbbf):<?xml version="1.0" encoding="utf-8"?><tbres bn="31099" gw="1" st="OK" ts="2021-03-07T19:27:50" emsg="">
< <iac se="A;7" ba="0x30" in="8" dl="0xAF" dh="0x0" st="OK"/>
< </tbres>

Spartemp 18

> (000000910004):<?xml version="1.0" encoding="utf-8"?><tbreq bn="31099" gw="1" ae="true" ty="write"><iwr se="A;7" ba="0x30" in="8" dl="0xB4" dh="0x00" /></tbreq>
< (000000ae0005)
< (efbbbf):<?xml version="1.0" encoding="utf-8"?><tbres bn="31099" gw="1" st="OK" ts="2021-03-07T19:27:58" emsg="">
< <iac se="A;7" ba="0x30" in="8" dl="0xB4" dh="0x0" st="OK"/>
< </tbres>

@zivillian
Copy link
Owner Author

Warmwassersolltemperatur 59

> (000000940004):<?xml version="1.0" encoding="utf-8"?><tbreq bn="31599" gw="1" ae="true" ty="write"><iwr se="A;255" ba="0x30" in="19" dl="0x4E" dh="0x02" /></tbreq>
< (000000b10005)
< (efbbbf):<?xml version="1.0" encoding="utf-8"?><tbres bn="31599" gw="1" st="OK" ts="2021-03-21T16:22:28" emsg="">
< <iac se="A;255" ba="0x30" in="19" dl="0x4E" dh="0x2" st="OK"/>
< </tbres>

Warmwassersolltemperatur 60

> (000000940004):<?xml version="1.0" encoding="utf-8"?><tbreq bn="31599" gw="1" ae="true" ty="write"><iwr se="A;255" ba="0x30" in="19" dl="0x58" dh="0x02" /></tbreq>
< (000000b10005)
< (efbbbf):<?xml version="1.0" encoding="utf-8"?><tbres bn="31599" gw="1" st="OK" ts="2021-03-21T16:22:34" emsg="">
< <iac se="A;255" ba="0x30" in="19" dl="0x58" dh="0x2" st="OK"/>
< </tbres>

@zivillian
Copy link
Owner Author

zivillian commented Mar 21, 2021

There are additional devices on the bus, which are not reported in the read-systemconfig-response. There presence is hardcoded in the smartset application and evaluated during the initial connect. One example is the WWSystem device (DTID 35000) which is automatically added to the smartset DB if there is a BM-2 with the corresponding configuration. Those devices have additional properties which can be set like Warmwassersolltemperatur eingestellt.

In my setup there are actually two of those properties with PTID 35009 and 35014 which both have the same TelegramNr 19. 35014 seems to be hidden by the ControlType Client_NO_DISPLAY, but according to the DB it was used for wrtiting.

@zivillian
Copy link
Owner Author

I think we need to extract more information from the smartset DB.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants