HomeSeer / node-red-contrib-homeseer

HomeSeer Nodes for Node-RED
GNU Affero General Public License v3.0
5 stars 4 forks source link

TypeError: Cannot read property ‘log’ of undefined #13

Closed tonreproc closed 3 years ago

tonreproc commented 3 years ago

I upgraded from 1.2.6 to 1.3.1 and now I cannot read my homeseer devices any more. I am using node-red-contrib-homeseer version 1.0.5

The server is set up all right and the Device and Feature are found by the node.

2021-04-10_143028

Nothing shows up in de catch/debug window, only the same message as before: "TypeError: Cannot read property 'log' of undefined"

2021-04-11_120852

Any ideas how to solve? -- Cor --

spudwebb commented 3 years ago

I can reproduce the problem, I'm working on a fix.

spudwebb commented 3 years ago

It's fixed in version 1.0.6

tonreproc commented 3 years ago

Thanks, I can see now a value appearing below the node. But the values are not updated every time the value changes. I can see in i.e. the Google app MQTTlens that the value changes. So the broker is sending the values all right. Is there another problem?

If I select 'Report state on startup' then I see the value in de debug window, but after that no more.

2021-04-12_171054

spudwebb commented 3 years ago

Do you have the webhook setup correctly in HS4 ?

tonreproc commented 3 years ago

well, that was the problem indeed. The webhook has disappeared ?? Now it is working fine, thanks for fixing this.