Problem with BaseModule

Discussions about RaZberry - Z-Wave board for Raspberry computer
Post Reply
luhrern
Posts: 3
Joined: 12 Aug 2019 18:01

Problem with BaseModule

Post by luhrern » 18 Aug 2019 17:20

I have done the following;

- Installed the 3.0.0 version on a new Raspberry PI
- The RPI are equipped with Razberry card.
- I uploaded the BaseModule in from Online Apps
- I established a fresh instance of InfluxDb on the RPI
- I connected a 6 Mulitisensor to the Z-way controller
- I uploaded the InfluxDb Statistics Collector, and set up this app to tahe the Temperature values from the Multisensor and update the Influx database

Did a reboot of the RPI, and got the following message in the LOG

"Failed to load module because dependency was not instanciated: [DEP]::[MODUL] = BaseModule :: InfluxDbStats"

When I open the BaseModule App and try to save it I get the following message

localhost:8083 "Something went wrong"

The Influx db are not uploaded with records.

Anybody that can guide me here ?

User avatar
PoltoS
Posts: 4975
Joined: 26 Jan 2011 19:36

Re: Problem with BaseModule

Post by PoltoS » 19 Aug 2019 19:55

What do you see in the log concerning BaseModule?

luhrern
Posts: 3
Joined: 12 Aug 2019 18:01

Re: Problem with BaseModule

Post by luhrern » 20 Aug 2019 00:07

[2019-08-18 13:29:04.596] [core] [InfluxDbStats-17] Update all
[2019-08-18 13:29:04.599] [core] [InfluxDbStats-17] Update zway.1
[2019-08-18 13:29:04.600] [core] [InfluxDbStats-17] Update zway.2
[2019-08-18 13:29:04.720] [core] [InfluxDbStats_17] Error: Could not post stats: SSL connect error
POST https://192.168.39.197:8086/write?db=vi ... =lars3992A
Body: device.ZWayVDev_zway_2-0-49-1,probe=temperature,room=Basement,scale=°C,title=Aeotec\ Temperature\ (#2),type=sensorMultilevel level=22.7
zwave.1,title=null,type=2 failed=0,failure=0,success=0,queue=0
zwave.2,title=Aeotec\ Multisensor\ Gen\ 6,type=4 failed=0,failure=0,success=0,queue=0,battery=100
Response: undefined
at InfluxDbStats.BaseModule.error (automation/userModules/BaseModule/index.js:122:17)
at Function.request.error (automation/userModules/InfluxDbStats/index.js:233:18)

luhrern
Posts: 3
Joined: 12 Aug 2019 18:01

Re: Problem with BaseModule

Post by luhrern » 20 Aug 2019 00:21

[2019-08-19 22:47:43.340] [core] [BaseModule-6] Set lastLevel to 21.7 for ZWayVDev_zway_2-0-49-1 (was 22.5)
[2019-08-19 22:47:43.380] [core] [InfluxDbStats-8] Update device ZWayVDev_zway_2-0-49-1
[2019-08-19 22:47:43.394] [core] [BaseModule-6] Set lastLevel to 0 for ZWayVDev_zway_2-0-49-3 (was 3)
[2019-08-19 22:47:43.441] [core] [BaseModule-6] Set lastLevel to 57 for ZWayVDev_zway_2-0-49-5 (was 53)
[2019-08-19 22:47:43.511] [core] [InfluxDbStats-8] Update device ZWayVDev_zway_2-0-49-5
[2019-08-19 22:47:43.563] [core] [InfluxDbStats_8] Error: Could not post stats: Couldn't connect to server
POST http://192.168.39.197:8086/write?db=db1 ... p=passhere
Body: device.ZWayVDev_zway_2-0-49-1,probe=temperature,room=testroom,scale=°C,title=Aeotec\ Temperature\ (#2),type=sensorMultilevel level=21.7
Response: undefined
at InfluxDbStats.BaseModule.error (automation/userModules/BaseModule/index.js:122:17)
at Function.request.error (automation/userModules/InfluxDbStats/index.js:233:18)
[2019-08-19 22:47:43.566] [core]
[2019-08-19 22:47:43.568] [core] Notification: error (module): Could not post InfluxDb statistics. Please check log files for details
[2019-08-19 22:47:43.571] [core] [InfluxDbStats_8] Error: Could not post stats: Couldn't connect to server
POST http://192.168.39.197:8086/write?db=db1 ... p=passhere
Body: device.ZWayVDev_zway_2-0-49-5,probe=humidity,room=testroom,scale=%,title=Aeotec\ Humidity\ (#2),type=sensorMultilevel level=57
Response: undefined
at InfluxDbStats.BaseModule.error (automation/userModules/BaseModule/index.js:122:17)
at Function.request.error (automation/userModules/InfluxDbStats/index.js:233:18)

User avatar
PoltoS
Posts: 4975
Joined: 26 Jan 2011 19:36

Re: Problem with BaseModule

Post by PoltoS » 20 Aug 2019 00:53

First was obviously due to https instead of http

Second looks like the the port is not reachable in that IP.

Nothing shows a BaseModule issue

Post Reply