MMore / pimatic-z-way

pimatic plugin for controlling devices using Z-Way
GNU General Public License v2.0
7 stars 9 forks source link

error after z-wave 2.2.4 update #19

Closed benbeton closed 7 years ago

benbeton commented 8 years ago

Hi,

after updating to zwave 2.2.4 there are a lot of errors in the log:

error updating sensor value Cannot read property 'data' of undefined

rolling back to 2.2.3 helps, errors gone.... if you need more information let me know. I'm running pimatic plugin v1.3.2

regards

MMore commented 7 years ago

Hi @benbeton,

thanks for the info. So it seemed they changed the API a little bit despite only increasing the patch level version...

Currently I cannot update my Razberry to reproduce it. I should be able to do it within this month.

Cheers

johnappletree commented 7 years ago

hi @benbeton, I updated to zwave 2.2.4 and don't have any issues. Please check, if your specified z-wave user in the pimatic config file has access to all your rooms and sensors. In the case that no user is defined in the log file, check if the local user (in z-wave.me software) has access to them.

Best regards,

jat

benbeton commented 7 years ago

I'll update it again and check if there are config related things changed on my installation

johnappletree commented 7 years ago

@benbeton did it work?

benbeton commented 7 years ago

no it didn't. I updated to 2.2.4 and checked the configuration: nothing changed to the permissions. Even with 2.2.5 I get the error.

Wikibear commented 7 years ago

Go to User Managment and Edit Local User. There must be a local user. If not create one. The local user needs right to the rooms! Thats important or you get this error.

benbeton commented 7 years ago

just updated to 2.2.5 again, to check if the local user exits, and he exits. but the error is still there. so I rolled back to 2.2.3.

Wikibear commented 7 years ago

And again it is totally recommended that the local user get access to your created rooms! If not local user is useless.

MMore commented 7 years ago

I updated to v2.2.5 too: no issues with pimatic-z-way.

benbeton commented 7 years ago

found the issue! Because you implemented the that error updating sensor value Cannot read property 'data' of undefined gives a sensor indication in the newest update, I was able to see the after 2.2.5 Update my error has come from a zway motion sensor that was changed during the 2.2.5 update.

after I fixed that in the pimatic config, the error is gone. Thank you!