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

Boolean state true/false swapped with version 2.0.6? #21

Closed
Stabilostick opened this issue Jul 2, 2018 · 5 comments
Closed

Boolean state true/false swapped with version 2.0.6? #21

Stabilostick opened this issue Jul 2, 2018 · 5 comments

Comments

@Stabilostick
Copy link

Ich nutze zur Heizungssteuerung eine UVR16x2 von TA. Der aktuelle Status meiner Heizungspumpen soll an den ioBroker übergeben werden. Der modbus-Adapter ist Slave und bekommt die Daten über TCP vom UVR-Master. Der modbus-Adapter hat die Version 2.0.6.

Bei der UVR sehe ich den boolschen Status eine Heizungspumpe als Text "EIN" oder "AUS". Dabei betrachte ich den Modbus-Ausgangskonfigurationsdialog. Dort wird der aktuell übertragene Wert jeweils angezeigt.

Das zugehörige modbus-Objekt im ioBroker (egal ob vom Typ state oder value) zeigt als Text immer "true" oder "false" an. Die Coils sind dort als "Diskrete Ausgänge" definert.

Das Objekt zeigt "true" an, wenn die Heizungssteuerung "AUS" anzeigt und "false", wenn die UVR den Wert "EIN" liefert.

Vertauscht der ioBroker.modbus-Adapter true und false?!

Mit Wireshark sehe ich auf dem Netzwerkinterface des ioBrokers die folgenden Datenflüsse (die Modbus-Coil-Adresse ist die 2 und der Function-Code ist 5):

Übergang in der UVR von "AUS" nach stabilen "EIN":

modbus-Adapter empfängt "00 00 00 00 00 06 02 05 00 01 ff 00"
und sendet dann gleich  "00 00 00 00 00 06 02 05 00 01 00 00" 
zurück zur UVR

Übergang in der UVR von "EIN" nach stabilen "AUS":

modbus-Adapter empfängt "00 00 00 00 00 06 02 05 00 01 00 00"
und sendet dann gleich  "00 00 00 00 00 06 02 05 00 01 ff 00" 
zurück zur UVR
@Stabilostick
Copy link
Author

@digidax
Copy link

digidax commented Oct 28, 2019

still open in Version 3.0.0

@Apollon77
Copy link
Contributor

still open

@stale
Copy link

stale bot commented Sep 10, 2020

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs within the next 7 days. Please check if the issue is still relevant in the most current version of the adapter and tell us. Also check that all relevant details, logs and reproduction steps are included and update them if needed. Thank you for your contributions.
Dieses Problem wurde automatisch als veraltet markiert, da es in letzter Zeit keine Aktivitäten gab. Es wird geschlossen, wenn nicht innerhalb der nächsten 7 Tage weitere Aktivitäten stattfinden. Bitte überprüft, ob das Problem auch in der aktuellsten Version des Adapters noch relevant ist, und teilt uns dies mit. Überprüft auch, ob alle relevanten Details, Logs und Reproduktionsschritte enthalten sind bzw. aktualisiert diese. Vielen Dank für Eure Unterstützung.

@stale stale bot added the wontfix label Sep 10, 2020
@stale
Copy link

stale bot commented Sep 17, 2020

This issue has been automatically closed because of inactivity. Please open a new issue if still relevant and make sure to include all relevant details, logs and reproduction steps. Thank you for your contributions.
Dieses Problem wurde aufgrund von Inaktivität automatisch geschlossen. Bitte öffnet ein neues Issue, falls dies noch relevant ist und stellt sicher das alle relevanten Details, Logs und Reproduktionsschritte enthalten sind. Vielen Dank für Eure Unterstützung.

@stale stale bot closed this as completed Sep 17, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

4 participants