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

keine Fehlermeldung wenn man HmIP mit falschen Datentyp füttert. #72

Closed
Hypnos3 opened this issue Oct 22, 2018 · 2 comments
Closed

keine Fehlermeldung wenn man HmIP mit falschen Datentyp füttert. #72

Hypnos3 opened this issue Oct 22, 2018 · 2 comments
Labels
🐛bug Something isn't working ⚙️ccu nodes

Comments

@Hypnos3
Copy link
Contributor

Hypnos3 commented Oct 22, 2018

Hallo,

ist nicht weltbewegend, nur vermisse ich hier eine Fehlermeldung.

Ich habe einen Flow gebaut um mir den Fensterstatus einer HmIP Komponente zu setzen:
image

Ich hab das mit "true" und "false" gefüttert und mich gewundert, wieso nix passiert.

Im Log ist auch nix zu sehen:

Oct 22 12:55:58 homematic-ccu daemon.info node-red[21785]: [debug:IP-In] { _msgid: '3622202c.10814', topic: '', payload: false }
Oct 22 12:56:00 homematic-ccu daemon.info node-red[21785]: [debug:IP-In] { _msgid: '8c150f61.e9709', topic: '', payload: true }
Oct 22 12:56:03 homematic-ccu daemon.info node-red[21785]: [debug:IP-In] { _msgid: '14992b75.841915', topic: '', payload: false }

Dann hab ich im Handbuch nachgeschaut:
image

integer?!? - mal mit 0 und 1 gefüttert und siehe da - kaum macht man es richtig:

Oct 22 13:02:02 homematic-ccu daemon.info node-red[21785]: [debug:IP-In] { _msgid: '6ad07d10.72e684', topic: '', payload: 1 }
Oct 22 13:02:03 homematic-ccu daemon.info node-red[21785]: [debug:IP-Out] { topic: 'localhost/HmIP-RF/000C9709A66CC4:1/WINDOW_STATE',
Oct 22 13:02:03 homematic-ccu daemon.info node-red[21785]: [debug:IP-Out]   payload: 1,
Oct 22 13:02:03 homematic-ccu daemon.info node-red[21785]: [debug:IP-Out]   ccu: 'localhost',
Oct 22 13:02:03 homematic-ccu daemon.info node-red[21785]: [debug:IP-Out]   iface: 'HmIP-RF',
Oct 22 13:02:03 homematic-ccu daemon.info node-red[21785]: [debug:IP-Out]   device: '000C9709A66CC4',
Oct 22 13:02:03 homematic-ccu daemon.info node-red[21785]: [debug:IP-Out]   deviceName: 'G26_301_Heizung_WZ',
Oct 22 13:02:03 homematic-ccu daemon.info node-red[21785]: [debug:IP-Out]   deviceType: 'HmIP-BWTH',
Oct 22 13:02:03 homematic-ccu daemon.info node-red[21785]: [debug:IP-Out]   channel: '000C9709A66CC4:1',
Oct 22 13:02:03 homematic-ccu daemon.info node-red[21785]: [debug:IP-Out]   channelName: 'G26_301_Heizung_WZ:1',
Oct 22 13:02:03 homematic-ccu daemon.info node-red[21785]: [debug:IP-Out]   channelType: 'HEATING_CLIMATECONTROL_TRANSCEIVER',
Oct 22 13:02:03 homematic-ccu daemon.info node-red[21785]: [debug:IP-Out]   channelIndex: 1,
Oct 22 13:02:03 homematic-ccu daemon.info node-red[21785]: [debug:IP-Out]   datapoint: 'WINDOW_STATE',
Oct 22 13:02:03 homematic-ccu daemon.info node-red[21785]: [debug:IP-Out]   datapointName: 'HmIP-RF.000C9709A66CC4:1.WINDOW_STATE',
Oct 22 13:02:03 homematic-ccu daemon.info node-red[21785]: [debug:IP-Out]   datapointType: 'ENUM',
Oct 22 13:02:03 homematic-ccu daemon.info node-red[21785]: [debug:IP-Out]   datapointMin: 'CLOSED',
Oct 22 13:02:03 homematic-ccu daemon.info node-red[21785]: [debug:IP-Out]   datapointMax: 'OPEN',
Oct 22 13:02:03 homematic-ccu daemon.info node-red[21785]: [debug:IP-Out]   datapointEnum: undefined,
Oct 22 13:02:03 homematic-ccu daemon.info node-red[21785]: [debug:IP-Out]   datapointDefault: 'CLOSED',
Oct 22 13:02:03 homematic-ccu daemon.info node-red[21785]: [debug:IP-Out]   datapointControl: 'HEATING_CONTROL_HMIP.WINDOW_STATE',
Oct 22 13:02:03 homematic-ccu daemon.info node-red[21785]: [debug:IP-Out]   value: 1,
Oct 22 13:02:03 homematic-ccu daemon.info node-red[21785]: [debug:IP-Out]   valuePrevious: 0,
Oct 22 13:02:03 homematic-ccu daemon.info node-red[21785]: [debug:IP-Out]   valueEnum: undefined,
Oct 22 13:02:03 homematic-ccu daemon.info node-red[21785]: [debug:IP-Out]   rooms: [ 'Erdgeschoss', 'Wohnzimmer' ],
Oct 22 13:02:03 homematic-ccu daemon.info node-red[21785]: [debug:IP-Out]   room: undefined,
Oct 22 13:02:03 homematic-ccu daemon.info node-red[21785]: [debug:IP-Out]   functions: [ 'Extern', 'Heizung' ],
Oct 22 13:02:03 homematic-ccu daemon.info node-red[21785]: [debug:IP-Out]   function: undefined,
Oct 22 13:02:03 homematic-ccu daemon.info node-red[21785]: [debug:IP-Out]   ts: 1540206123536,
Oct 22 13:02:03 homematic-ccu daemon.info node-red[21785]: [debug:IP-Out]   tsPrevious: 1540205763793,
Oct 22 13:02:03 homematic-ccu daemon.info node-red[21785]: [debug:IP-Out]   lc: 1540206123536,
Oct 22 13:02:03 homematic-ccu daemon.info node-red[21785]: [debug:IP-Out]   change: true,
Oct 22 13:02:03 homematic-ccu daemon.info node-red[21785]: [debug:IP-Out]   cache: false,
Oct 22 13:02:03 homematic-ccu daemon.info node-red[21785]: [debug:IP-Out]   working: undefined,
Oct 22 13:02:03 homematic-ccu daemon.info node-red[21785]: [debug:IP-Out]   direction: undefined,
Oct 22 13:02:03 homematic-ccu daemon.info node-red[21785]: [debug:IP-Out]   _msgid: '73e91f2a.34234' }

Mein Wunsch wäre es gewesen, wenn hier eine Fehlermeldung erscheint.
Wahrscheinlich kannst du hier nix machen, sondern das muss eq3 beheben.

@hobbyquaker
Copy link
Member

hobbyquaker commented Oct 22, 2018

RedMatic (bzw. node-red-contrib-ccu) sollte eigentlich einen Cast zum erwarteten Typen durchführen (die Information wird per getParamsetDescription einmalig für jedes Gerät geholt und in der ccu_paramsets.json gespeichert). Da scheint also auch auf meiner Seite was schief zu gehen, das hätte den falschen Typ ausbügeln müssen. Dass der RPC Call keine Fehlermeldung zurückliefert ist dann aber die Baustelle von eQ-3 ;-)

@hobbyquaker hobbyquaker added 🐛bug Something isn't working ⚙️ccu nodes labels Oct 22, 2018
hobbyquaker added a commit to rdmtc/node-red-contrib-ccu that referenced this issue Oct 22, 2018
@Hypnos3
Copy link
Contributor Author

Hypnos3 commented Oct 27, 2018

Danke für die Mühen!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
🐛bug Something isn't working ⚙️ccu nodes
Development

No branches or pull requests

2 participants