windkh / node-red-contrib-grohe-sense

Grohe sense/guard nodes for node-red.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Caught exception: Cannot read properties of undefined

4Fire4 opened this issue · comments

I'm new to Node-RED and HA, so I just tried to import the examples to try this.

I managed to set the location, user, pw, room, name and type. When I deploy, the Guard has a green square and "connected" status. But if I start "timestamp" (or anything else), I get "failed" and this error in the debug: "Caught exception: Cannot read properties of undefined (reading 'type')"

Any hint at what I'm doing wrong?

image

@4Fire4 I never saw this before. To know what is going on I would need to debug the node or I would need more information.
On what platform do you run node-red?
Maybe we can arrange a teams meeting?

I'm running "Home Assistant Operating System" on a Raspberry Pi 4.
Yes, we can arrange a teams meeting.

Reason: conversion of notification response fails as category 40 is not known: make the conversion more robust

please install new version 0.15.1 and let me know if it works for you

Tested with both Windows and Home Assistant on Raspberry Pi 4 and it works :)

I had two unread of those category 40 notifications, which seem to be not normal notifications. More like a "Did you have a leak?" questionnaire that I got due to previously detected potential leak notifications.

Thanks @windkh!

I had a look at "ondusApi.js" and you say category 40 is "unkown, maybe info". Here is a screenshot of that specific notification category 40, which seems to be a questionnaire or request for feedback:

Screenshot_20230318_135025

@4Fire4 thanks for testing... yes indeed I also thought maybe the category is "question" but as this is the only type in category 40 I saw so far I left this open for now. Maybe more types in this category will be reported in future, then we will know for sure what 40 really means.

@4Fire4 I found out that category 0 is reserved for advertising and category 40 seems to be an external web url