Problem message "something went wrong" Module Presence state

Discussions about RaZberry - Z-Wave board for Raspberry computer
Post Reply
kandalf
Posts: 54
Joined: 13 May 2016 11:10

Problem message "something went wrong" Module Presence state

Post by kandalf »

Hello,

when i install with version 2.2.2 the user module Presence state and configure night start to 21:00 and night end to 06:00 thre i get the error message "something went wrong" by saving the data.

Event:
Cannot instantiate module: Presence: TypeError: undefined is not a function

Some ideas?
Raspberry PI with Z-Wave.me Board
2 x Fibaro Double Relay-Switch FGS 222
2 x Fibaro Shutter FGR 222
Fibaro Multi Sensor
Z-Wave.me RemoteControl
Hazard
Posts: 13
Joined: 22 Feb 2016 14:48

Re: Problem message "something went wrong" Module Presence s

Post by Hazard »

Did you install the Base Module App as well? It is a prerequisite for the Presence App. Let me know if this helps

Kind regards
Dennis
kandalf
Posts: 54
Joined: 13 May 2016 11:10

Re: Problem message "something went wrong" Module Presence s

Post by kandalf »

Hello, yes i have install it first of apps.
Raspberry PI with Z-Wave.me Board
2 x Fibaro Double Relay-Switch FGS 222
2 x Fibaro Shutter FGR 222
Fibaro Multi Sensor
Z-Wave.me RemoteControl
maros
Posts: 103
Joined: 05 Apr 2014 11:21

Re: Problem message "something went wrong" Module Presence s

Post by maros »

The "Cannot instantiate module: Presence: TypeError: undefined is not a function" error message is clearly a sign that z-way cannot access the module metadata (module.json). Please make sure that 1) the module is installed in the correct location and that 2) all files are readable by the user running z-way. Sometimes a z-way restart also seems to help.
Z-Way 2.2.4 on Raspi B | My Zway GitHub repos | Amazon Wishlist to support module development
kandalf
Posts: 54
Joined: 13 May 2016 11:10

Re: Problem message "something went wrong" Module Presence s

Post by kandalf »

It's a little bit crazy. Always when i boot the raspberry i can install one app. The second on shows the same error message. Then i reboot again and i can install the next one :-(
Raspberry PI with Z-Wave.me Board
2 x Fibaro Double Relay-Switch FGS 222
2 x Fibaro Shutter FGR 222
Fibaro Multi Sensor
Z-Wave.me RemoteControl
User avatar
PoltoS
Posts: 7571
Joined: 26 Jan 2011 19:36

Re: Problem message "something went wrong" Module Presence s

Post by PoltoS »

Please test it on the latest v2.2.4-rc2 and if the problem is still present, please report it to our github issues with more details on the error
Post Reply