Comments (29)
Corresponding json file:
{
"Devices": [
{
"ReadBusAddress": "0x00",
"DeviceTemplateId": 19000,
"Parameter": [
19000,
19001,
19002,
19003,
19004,
19007,
19011,
19012,
19014,
19015,
19016,
19019,
19020,
19021
]
},
{
"ReadBusAddress": "0x7C",
"DeviceTemplateId": 23000,
"Parameter": [
23010,
23011,
23012,
23013,
23014,
23015,
23017,
23018,
23019,
23023,
23024,
23025,
23026,
23027,
23028,
23030,
23031,
23032,
23033,
23034,
23035,
23036,
23037,
23038,
23039,
23040,
23041,
23042,
23043,
23044,
23045,
23046,
23047,
23048,
23050,
23052,
23057,
23062,
23066,
23070,
23071,
23073,
23074,
23075,
23076,
23080,
23081,
23082,
23083,
23084,
23085,
23086,
23087
]
}
]
}
from ism7mqtt.
Judging from the values I guess this not a problem of ism7mqtt, but the ISM reporting invalid values. All of them look like beeing reported as 0xff
. Do you get different values using the Smartset application or in the Wolf portal?
from ism7mqtt.
Thank you for your answer!
The values in the Wolf Smartset look good, see the following screenshots.
I recreated the parameter.json file, but the content is the same as the first version.
from ism7mqtt.
Can you capture the debug output and post it here (-d
)? Please redact the password (which is printed in the first few lines).
from ism7mqtt.
Glad to!
Please forgive my ignorance, but how can I enable debug mode in the docker container?
from ism7mqtt.
Found it, sorry!
from ism7mqtt.
Hope the log is sufficient!?
> <?xml version="1.0" encoding="utf-16"?><direct-logon-request xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema"><password>xxxx</password></direct-logon-request>
< <?xml version="1.0" encoding="utf-8"?><direct-logon-response state="ok" sid="1"><installationname>ISM7</installationname><serialnumber>abcde</serialnumber><date-time>2022-12-22T23:03:22</date-time><ism-softwareversion>200.1.5.2.1</ism-softwareversion><ism-hardwareversion>1.0</ism-hardwareversion><type>ISM7i</type></direct-logon-response>
> <?xml version="1.0" encoding="utf-16"?><read-systemconfig-request xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" sid="1" />
< <?xml version="1.0" encoding="utf-8"?><read-systemconfig-response sid="1"><gateway type="ISM7i" softwareNumber="1" softwareVersion="200" wlan="false" g3="false"/><busconfig type="ebus"><busDevices><busDevice ba="0x8" sv="0x70" sr="0x1" cfg="0x405A" did="0x21"/><busDevice ba="0x35" sv="0x2" sr="0x4" cfg="0xC000" did="0x20"/><busDevice ba="0x7C" sv="0xFF" sr="0xFF" cfg="0x322" did="0x11"/><busDevice ba="0x76" sv="0x2" sr="0x27" cfg="0x8000" did="0x15"/></busDevices></busconfig></read-systemconfig-response>
> <?xml version="1.0" encoding="utf-16"?><tbreq xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" bn="1" gw="1" ae="false" ty="pull"><ird in="4" ba="0x7C" /><ird in="7" ba="0x7C" /><ird in="8" ba="0x7C" /><ird in="9" ba="0x7C" /><ird in="10" ba="0x7C" /><ird in="11" ba="0x7C" /><ird in="12" ba="0x7C" /><ird in="13" ba="0x7C" /><ird in="14" ba="0x7C" /><ird in="15" ba="0x7C" /><ird in="16" ba="0x7C" /><ird in="17" ba="0x7C" /><ird in="18" ba="0x7C" /><ird in="19" ba="0x7C" /><ird in="20" ba="0x7C" /><ird in="21" ba="0x7C" /><ird in="22" ba="0x7C" /><ird in="23" ba="0x7C" /><ird in="24" ba="0x7C" /><ird in="25" ba="0x7C" /><ird in="26" ba="0x7C" /><ird in="27" ba="0x7C" /><ird in="33" ba="0x7C" /><ird in="48" ba="0x7C" /><ird in="59" ba="0x7C" /></tbreq>
< <?xml version="1.0" encoding="utf-8"?><tbres bn="1" gw="1" st="OK" ts="2022-12-22T23:03:29" emsg=""><irs se="0" ba="0x7C" in="4" dl="0xFF" dh="0xFF" st="OK"/><irs se="0" ba="0x7C" in="7" dl="0xFF" dh="0xFF" st="OK"/><irs se="0" ba="0x7C" in="8" dl="0xFF" dh="0xFF" st="OK"/><irs se="0" ba="0x7C" in="9" dl="0xFF" dh="0xFF" st="OK"/><irs se="0" ba="0x7C" in="10" dl="0xFF" dh="0xFF" st="OK"/><irs se="0" ba="0x7C" in="11" dl="0xFF" dh="0xFF" st="OK"/><irs se="0" ba="0x7C" in="12" dl="0xFF" dh="0xFF" st="OK"/><irs se="0" ba="0x7C" in="13" dl="0xFF" dh="0xFF" st="OK"/><irs se="0" ba="0x7C" in="14" dl="0xFF" dh="0xFF" st="OK"/><irs se="0" ba="0x7C" in="15" dl="0xFF" dh="0xFF" st="OK"/><irs se="0" ba="0x7C" in="16" dl="0xFF" dh="0xFF" st="OK"/><irs se="0" ba="0x7C" in="17" dl="0xFF" dh="0xFF" st="OK"/><irs se="0" ba="0x7C" in="18" dl="0xFF" dh="0xFF" st="OK"/><irs se="0" ba="0x7C" in="19" dl="0xFF" dh="0xFF" st="OK"/><irs se="0" ba="0x7C" in="20" dl="0xFF" dh="0xFF" st="OK"/><irs se="0" ba="0x7C" in="21" dl="0xFF" dh="0xFF" st="OK"/><irs se="0" ba="0x7C" in="22" dl="0xFF" dh="0xFF" st="OK"/><irs se="0" ba="0x7C" in="23" dl="0xFF" dh="0xFF" st="OK"/><irs se="0" ba="0x7C" in="24" dl="0xFF" dh="0xFF" st="OK"/><irs se="0" ba="0x7C" in="25" dl="0xFF" dh="0xFF" st="OK"/><irs se="0" ba="0x7C" in="26" dl="0xFF" dh="0xFF" st="OK"/><irs se="0" ba="0x7C" in="27" dl="0xFF" dh="0xFF" st="OK"/><irs se="0" ba="0x7C" in="33" dl="0xFF" dh="0xFF" st="OK"/><irs se="0" ba="0x7C" in="48" dl="0xFF" dh="0xFF" st="OK"/><irs se="0" ba="0x7C" in="59" st="ER"/></tbres>
publishing mqtt with topic 'Wolf/192.168.111.111/CWL_0x7C' '{"Bypass-Temperatur":-0.1,"Ablufttemperatur":-0.1,"ZH + WRG":-1,"Frischlufttemperatur":-0.1,"Druckungleichgewicht zulaessig":-1,"Festes Druckungleichgewicht":-1,"Heizregister":-1,"Luftdurchsatz Zuluft":-1,"Temperatur Nachheizregister":-0.1,"Luftdurchsatz Abluft":-1,"Auswahl Eingang 1":-1,"Mindestspannung Eingang 1":-0.1,"Bypass Status":-1,"Hoechstspannung Eingang 1":-0.1,"Bedingungen Schalteingang 1":-1,"Zuluftventilator-Modus Schalteingang 1":-1,"Abluftventilator-Modus Schalteingang 1":-1,"Auswahl Eingang 2":-1,"Mindestspannung Eingang 2":-0.1,"Zuluftdruck":-0.1,"Hoechstspannung Eingang 2":-0.1,"Abluftdruck":-0.1,"Bedingungen Schalteingang 2":-1,"Frost Status":-1,"Zuluftventilator-Modus Schalteingang 2":-1,"Abluftventilator-Modus Schalteingang 2":-1,"Erdwaermetauscher":-1,"Mindesttemperatur Erdwaermetauscher":-0.1,"Hoechsttemperatur Erdwaermetauscher":-0.1,"Funktion der Bypass Klappe":-1,"Luftdurchsatz Stufe 0 (Feuchteschutz)":-1,"Bypass-Hysterese":-0.1}'
> <?xml version="1.0" encoding="utf-16"?><tbreq xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" bn="5" gw="1" ae="false" ty="push"><ird in="4" ba="0x7C" is="60" /><ird in="7" ba="0x7C" is="60" /><ird in="8" ba="0x7C" is="60" /><ird in="9" ba="0x7C" is="60" /><ird in="10" ba="0x7C" is="60" /><ird in="11" ba="0x7C" is="60" /><ird in="12" ba="0x7C" is="60" /><ird in="13" ba="0x7C" is="60" /><ird in="14" ba="0x7C" is="60" /><ird in="15" ba="0x7C" is="60" /><ird in="16" ba="0x7C" is="60" /><ird in="17" ba="0x7C" is="60" /><ird in="18" ba="0x7C" is="60" /><ird in="19" ba="0x7C" is="60" /><ird in="20" ba="0x7C" is="60" /><ird in="21" ba="0x7C" is="60" /><ird in="22" ba="0x7C" is="60" /><ird in="23" ba="0x7C" is="60" /><ird in="24" ba="0x7C" is="60" /><ird in="25" ba="0x7C" is="60" /><ird in="26" ba="0x7C" is="60" /><ird in="27" ba="0x7C" is="60" /><ird in="33" ba="0x7C" is="60" /><ird in="48" ba="0x7C" is="60" /><ird in="59" ba="0x7C" is="60" /></tbreq>
< <?xml version="1.0" encoding="utf-8"?><tbres bn="5" gw="1" st="OK" ts="2022-12-22T23:03:35" emsg=""><irs se="0" ba="0x7C" in="4" dl="0xFF" dh="0xFF" st="OK"/><irs se="0" ba="0x7C" in="7" dl="0xFF" dh="0xFF" st="OK"/><irs se="0" ba="0x7C" in="8" dl="0xFF" dh="0xFF" st="OK"/><irs se="0" ba="0x7C" in="9" dl="0xFF" dh="0xFF" st="OK"/><irs se="0" ba="0x7C" in="10" dl="0xFF" dh="0xFF" st="OK"/><irs se="0" ba="0x7C" in="11" dl="0xFF" dh="0xFF" st="OK"/><irs se="0" ba="0x7C" in="12" dl="0xFF" dh="0xFF" st="OK"/><irs se="0" ba="0x7C" in="13" dl="0xFF" dh="0xFF" st="OK"/><irs se="0" ba="0x7C" in="14" dl="0xFF" dh="0xFF" st="OK"/><irs se="0" ba="0x7C" in="15" dl="0xFF" dh="0xFF" st="OK"/><irs se="0" ba="0x7C" in="16" dl="0xFF" dh="0xFF" st="OK"/><irs se="0" ba="0x7C" in="17" dl="0xFF" dh="0xFF" st="OK"/><irs se="0" ba="0x7C" in="18" dl="0xFF" dh="0xFF" st="OK"/><irs se="0" ba="0x7C" in="19" dl="0xFF" dh="0xFF" st="OK"/><irs se="0" ba="0x7C" in="20" dl="0xFF" dh="0xFF" st="OK"/><irs se="0" ba="0x7C" in="21" dl="0xFF" dh="0xFF" st="OK"/><irs se="0" ba="0x7C" in="22" dl="0xFF" dh="0xFF" st="OK"/><irs se="0" ba="0x7C" in="23" dl="0xFF" dh="0xFF" st="OK"/><irs se="0" ba="0x7C" in="24" dl="0xFF" dh="0xFF" st="OK"/><irs se="0" ba="0x7C" in="25" dl="0xFF" dh="0xFF" st="OK"/><irs se="0" ba="0x7C" in="26" dl="0xFF" dh="0xFF" st="OK"/><irs se="0" ba="0x7C" in="27" dl="0xFF" dh="0xFF" st="OK"/><irs se="0" ba="0x7C" in="33" dl="0xFF" dh="0xFF" st="OK"/><irs se="0" ba="0x7C" in="48" dl="0xFF" dh="0xFF" st="OK"/><irs se="0" ba="0x7C" in="59" st="ER"/></tbres>
publishing mqtt with topic 'Wolf/192.168.111.111/CWL_0x7C' '{"Bypass-Temperatur":-0.1,"Ablufttemperatur":-0.1,"ZH + WRG":-1,"Frischlufttemperatur":-0.1,"Druckungleichgewicht zulaessig":-1,"Festes Druckungleichgewicht":-1,"Heizregister":-1,"Luftdurchsatz Zuluft":-1,"Temperatur Nachheizregister":-0.1,"Luftdurchsatz Abluft":-1,"Auswahl Eingang 1":-1,"Mindestspannung Eingang 1":-0.1,"Bypass Status":-1,"Hoechstspannung Eingang 1":-0.1,"Bedingungen Schalteingang 1":-1,"Zuluftventilator-Modus Schalteingang 1":-1,"Abluftventilator-Modus Schalteingang 1":-1,"Auswahl Eingang 2":-1,"Mindestspannung Eingang 2":-0.1,"Zuluftdruck":-0.1,"Hoechstspannung Eingang 2":-0.1,"Abluftdruck":-0.1,"Bedingungen Schalteingang 2":-1,"Frost Status":-1,"Zuluftventilator-Modus Schalteingang 2":-1,"Abluftventilator-Modus Schalteingang 2":-1,"Erdwaermetauscher":-1,"Mindesttemperatur Erdwaermetauscher":-0.1,"Hoechsttemperatur Erdwaermetauscher":-0.1,"Funktion der Bypass Klappe":-1,"Luftdurchsatz Stufe 0 (Feuchteschutz)":-1,"Bypass-Hysterese":-0.1}'
from ism7mqtt.
Yes it is, but as I guessed, your module only sends 0xff
- maybe it get's better if you let it run for a few hours
from ism7mqtt.
OK, I will run it and watch.
There is one point I still don't really understand. If Smartset shows correct values, then the ISM7 must not only send 0xff. Or does the communication run differently here?
from ism7mqtt.
Yes it is, but as I guessed, your module only sends
0xff
- maybe it get's better if you let it run for a few hours
No changes after some hours.
Is above log showing raw data? Or can we collect this data?
As it is, the problem seems to occur with at least a second Wolf CWL.
from ism7mqtt.
Is above log showing raw data?
Sadly yes, what you see is the raw data sent by the CWL.
Can you attach your smartset.db file? Maybe we need other parameters for CWL.
from ism7mqtt.
Sure, but unfortunately i was not able to locate the "smartset.db".
Where should i be able to find it?
from ism7mqtt.
it should be located at %APPDATA%\Wolf GmbH\Smartset\App_Data\smartsetpc.sdf
from ism7mqtt.
Alright!
I am on vacation for a few days. Gonna upload the file next friday /saturday.
from ism7mqtt.
As promised my sdf-file...
Could you please leave a short message after downloading. I gonna remove the file after this.
from ism7mqtt.
done
from ism7mqtt.
Great! Thx!
from ism7mqtt.
I think I've found something - the ConverterTemplates.xml contains an additional element ServiceReadNumber
for those parameters:
<NumericConverter16Template CTID="23017">
<TelegramNr>7</TelegramNr>
<ServiceReadNumber>4022</ServiceReadNumber>
<Type>SS10</Type>
</NumericConverter16Template>
Now we need to figure out how to send this in the irs
elements. I think the easiest way is to look at the traffic from the smartset application. You can run the ism7proxy from the releases, but you need to replace the LuCon.WebPortal.StandaloneService.dll
in the Smartset directory with the attached version. Then just connect the Smartset Application with the IP 127.0.0.1 and paste the (redacted) log.
from ism7mqtt.
Sorry for the simple question, but just that I understood you correctly.
I replace the dll in the smartset directory, run "ism7proxy.exe -i IP_ISM7," and connect the smartset app to localhost?
from ism7mqtt.
yep, that's correct
from ism7mqtt.
Fine, thx!
I am still on the move, unfortunately without VPN to the ISM7. I should be able to upload the file tomorrow.
from ism7mqtt.
So, I just got around piping the output of ism7proxy.exe into a file.
I went through all the settings of the CWL "expert" / "non-expert" with all the tabs @ the smartset app.
Does this help you or do you need other/further info?
ism7.zip
from ism7mqtt.
This should be enough. I've found the request for the Parameter 23017 (Ablufttemperatur) and it shows the ServiceReadNumber
from the ConverterTemplate:
<ird se="A;171" ba="0x7C" in="7" is="60" snr="4022" />
I'll add the snr
attribute tomorrow. Would be great if you can test and confirm, that this fixes the issue.
from ism7mqtt.
Great! Testing won`t be a problem...
I am using the docker container, are u going to update this too?
from ism7mqtt.
I'll also publish a docker tag for testing.
Can you create another trace while modifying one of the parameters (like Luftdurchsatz Stufe 0 (Feuchteschutz))? I'd like to see how the ServiceWriteNumber
is sent to the ism.
from ism7mqtt.
@marc107 I've published a new tag to docker: zivillian/ism7mqtt:cwl
from ism7mqtt.
Using the following .json file I now get correct values - great, thanks!
{ "Devices": [ { "ReadBusAddress": "0x7C", "DeviceTemplateId": 23000, "Parameter": [ 23010, 23011, 23012, 23013, 23014, 23015, 23017, 23018, 23019, 23023, 23024, 23025, 23026, 23027, 23028, 23030, 23031, 23032, 23033, 23034, 23035, 23036, 23037, 23038, 23039, 23040, 23041, 23042, 23043, 23044, 23045, 23046, 23087 ] } ] }
Screenshot of the readings in fhem:
from ism7mqtt.
I'll also publish a docker tag for testing.
Can you create another trace while modifying one of the parameters (like Luftdurchsatz Stufe 0 (Feuchteschutz))? I'd like to see how the
ServiceWriteNumber
is sent to the ism.
Sure, no problem - see attachment.
I changed the "Programmwahl Lüftung" from "Reduzierte Lüftung" to ""Nennlüftung" and then back to "Reduzierte Lüftung".
Then changed the value "CWL02 Luftdurchsatz Stufe 1 (Reduz. Lüftung)" from 135m³/h to 136m³/h.
from ism7mqtt.
This is fixed in master and will be included in the next release.
from ism7mqtt.
Related Issues (20)
- ism7mqtt -i does not accept hostname HOT 2
- Docker version always using separate topics
- some json topics for write not working HOT 4
- Had to downgrade from 0.16 to 0.15 HOT 8
- Docker Parameter HOT 4
- Set Values with blanks in topics HOT 1
- time programs not returned HOT 3
- refresh interval not respected
- I get an SSL Error with my newly installed System on an Raspi 4 with newest Raspi OS 64 bit HOT 2
- Duplicated entries HOT 1
- Stuck on invalid login state / connection reset HOT 4
- unsafe legacy renegotiation disabled HOT 4
- Punkte machen Probleme im iobroker HOT 2
- Parameter file creation seems to have failed. Please report to the ism7mqtt project: HOT 2
- Received an unexpected EOF or 0 bytes from the transport stream.
- ism7mqtt unexpectedly quit with return code 137 HOT 2
- Kesselsolltemperatur nicht auslesbar HOT 2
- How do I get the parameter.json or ism7config tool to create it. HOT 3
- Einige Parameter/Werte werden nicht abgerufen CGB-2-14 (hassio Addon) HOT 25
- System.IO.InvalidDataException: invalid login state HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from ism7mqtt.