Page 1 of 2

Battery polling is not working automatically?

Posted: 05 Aug 2015 17:00
by fableman
Hi

I got version : 2.0.2-rc1

Battery polling is not working automatically?
All values are old.
When I click update it updates, but how to keep it update like once a day?

What do I need todo?

Re: Battery polling is not working automatically?

Posted: 05 Aug 2015 18:07
by Isaksson
I think that you should activate the local App Battery polling, that will take care of this for you.

Re: Battery polling is not working automatically?

Posted: 05 Aug 2015 18:41
by pz1
It is installed in new installations of 2.0.2-rc1, but does not come if you upgrade from a previous version

Re: Battery polling is not working automatically?

Posted: 05 Aug 2015 20:41
by fableman
It's an upgrade.

Is it this App "Poll sensors and log values periodically" I need and
I must include all the battery devices manually now?

or the App "Sensor Values Logging" ?

Abit confusing to know what I need. I normally only use the expert mode and code my own stuff.

The temperature been working all the time without any polling apps.

I don't have any Apps active at all.

Re: Battery polling is not working automatically?

Posted: 05 Aug 2015 21:53
by pz1
fableman wrote:I must include all the battery devices manually now?
There is a dedicated scheduling app Battery Polling that you can install. It reports once a week, and you can set the warning level
pollers.PNG
pollers.PNG (42.52 KiB) Viewed 10257 times

Re: Battery polling is not working automatically?

Posted: 05 Aug 2015 21:57
by fableman
I don't have any app named Battery Polling :( I checked very carefull.

Should I try install z-way-server-RaspberryPiXTools-v2.0.2-rc2-beta-1-g500b32e.tgz ?

Re: Battery polling is not working automatically?

Posted: 05 Aug 2015 22:13
by fableman
Now installed and same problem. there is no battery polling app :(

I cleared all my active apps and battery don't show up in local apps..

What can I do ?

My install log:

Code: Select all

root@zwave-raspberrypi:~# wget -O - razberry.z-wave.me/install/v2.0.2-rc2-beta-1-g500b32e | sudo bash
--2015-08-05 21:02:59--  http://razberry.z-wave.me/install/v2.0.2-rc2-beta-1-g500b32e
Resolving razberry.z-wave.me (razberry.z-wave.me)... 46.20.244.36
Connecting to razberry.z-wave.me (razberry.z-wave.me)|46.20.244.36|:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: unspecified [text/plain]
Saving to: `STDOUT'

    [<=>                                                                                                                     ] 0           --.-K/s              Removing MathKernel
Reading package lists... Done
    [ <=>                                                                                                                    ] 16,161      --.-K/s   in 0.07s

2015-08-05 21:02:59 (234 KB/s) - written to stdout [16161]

Building dependency tree
Reading state information... Done
Package 'wolfram-engine' is not installed, so not removed
0 upgraded, 0 newly installed, 0 to remove and 105 not upgraded.
Installing additional libraries
Hit http://raspberrypi.collabora.com wheezy Release.gpg
Hit http://mirrordirector.raspbian.org wheezy Release.gpg
Hit http://raspberrypi.collabora.com wheezy Release
Hit http://archive.raspberrypi.org wheezy Release.gpg
Hit http://mirrordirector.raspbian.org wheezy Release
Hit http://archive.raspberrypi.org wheezy Release
Hit http://raspberrypi.collabora.com wheezy/rpi armhf Packages
Hit http://mirrordirector.raspbian.org wheezy/main armhf Packages
Hit http://archive.raspberrypi.org wheezy/main armhf Packages
Hit http://mirrordirector.raspbian.org wheezy/contrib armhf Packages
Hit http://mirrordirector.raspbian.org wheezy/non-free armhf Packages
Hit http://mirrordirector.raspbian.org wheezy/rpi armhf Packages
Ign http://raspberrypi.collabora.com wheezy/rpi Translation-en_GB
Ign http://raspberrypi.collabora.com wheezy/rpi Translation-en
Ign http://archive.raspberrypi.org wheezy/main Translation-en_GB
Ign http://archive.raspberrypi.org wheezy/main Translation-en
Ign http://mirrordirector.raspbian.org wheezy/contrib Translation-en_GB
Ign http://mirrordirector.raspbian.org wheezy/contrib Translation-en
Ign http://mirrordirector.raspbian.org wheezy/main Translation-en_GB
Ign http://mirrordirector.raspbian.org wheezy/main Translation-en
Ign http://mirrordirector.raspbian.org wheezy/non-free Translation-en_GB
Ign http://mirrordirector.raspbian.org wheezy/non-free Translation-en
Ign http://mirrordirector.raspbian.org wheezy/rpi Translation-en_GB
Ign http://mirrordirector.raspbian.org wheezy/rpi Translation-en
Reading package lists... Done
Reading package lists...
Building dependency tree...
Reading state information...
gawk is already the newest version.
sharutils is already the newest version.
tzdata is already the newest version.
0 upgraded, 0 newly installed, 0 to remove and 105 not upgraded.
Installing additional libraries for HomeKit
Reading package lists...
Building dependency tree...
Reading state information...
libavahi-compat-libdnssd-dev is already the newest version.
0 upgraded, 0 newly installed, 0 to remove and 105 not upgraded.
Getting Z-Way for Raspberry Pi and installing
--2015-08-05 21:03:42--  http://razberry.z-wave.me/z-way-server/z-way-server-RaspberryPiXTools-v2.0.2-rc2-beta-1-g500b32e.tgz
Resolving razberry.z-wave.me (razberry.z-wave.me)... 46.20.244.36
Connecting to razberry.z-wave.me (razberry.z-wave.me)|46.20.244.36|:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 15842110 (15M) [application/x-gzip]
Saving to: `/tmp/z-way-server-RaspberryPiXTools-v2.0.2-rc2-beta-1-g500b32e.tgz'

100%[=======================================================================================================================>] 15,842,110  1.58M/s   in 9.9s

2015-08-05 21:03:52 (1.53 MB/s) - `/tmp/z-way-server-RaspberryPiXTools-v2.0.2-rc2-beta-1-g500b32e.tgz' saved [15842110/15842110]

Extracting new z-way-server
Previous z-way-server installation found
Stopping z-way-server: done.
Making backup of previous version of Z-Way in /opt/z-way-server_2015-08-05-21-03-55
Copying settings
config.xml replaced by the new one - make sure to restore your changes
diff /opt/z-way-server/config.xml /opt/z-way-server_2015-08-05-21-03-55/config.xml:
3c3
<     <log-file>/var/log/z-way-server.log</log-file>
---
>     <log-file>/mnt/ramdrive/z-way-server.log</log-file>

!!! Defaults.xml and config.xml updated with new versions !!!
Creating Z-Way startup script
Adding z-way-server to autostart
update-rc.d: using dependency based boot sequencing
Getting Webif for Raspberry Pi and installing
--2015-08-05 21:03:55--  http://razberry.z-wave.me/webif_raspberry.tar.gz
Resolving razberry.z-wave.me (razberry.z-wave.me)... 46.20.244.36
Connecting to razberry.z-wave.me (razberry.z-wave.me)|46.20.244.36|:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 401379 (392K) [application/x-gzip]
Saving to: `STDOUT'

100%[=======================================================================================================================>] 401,379     1008K/s   in 0.4s

2015-08-05 21:03:56 (1008 KB/s) - written to stdout [401379/401379]

[....] Stoping zbw_connect:[info] ok.
zbw_connect patched
[....] Starting zbw_connect:[info] ok.
Removing duplicate of mongoose
Getting webserver mongoose for Webif
--2015-08-05 21:03:56--  http://razberry.z-wave.me/mongoose.pkg.rPi.tgz
Resolving razberry.z-wave.me (razberry.z-wave.me)... 46.20.244.36
Connecting to razberry.z-wave.me (razberry.z-wave.me)|46.20.244.36|:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 44749 (44K) [application/x-gzip]
Saving to: `/tmp/mongoose.pkg.rPi.tgz'

100%[=======================================================================================================================>] 44,749      --.-K/s   in 0.1s

2015-08-05 21:03:56 (414 KB/s) - `/tmp/mongoose.pkg.rPi.tgz' saved [44749/44749]

Stopping mongoose http server
Adding mongoose to autostart
update-rc.d: using dependency based boot sequencing
Start mongoose http server
Opened config/zddx/0184e528-DevicesData.xml
Opened config/zddx/faf9d597-DevicesData.xml
Starting z-way-server
Starting z-way-server: done.
Thank you for using RaZberry!

Re: Battery polling is not working automatically?

Posted: 05 Aug 2015 22:18
by fableman
I found the problem...

Under my Settings
I activated : "Show System Apps" ( you should remove this option )

Now I can see the Battery App.

Re: Battery polling is not working automatically?

Posted: 05 Aug 2015 22:24
by fableman
one more question what time xx:xx ? dose the battery app check the devices?
(it don't show, only every day or Sunday, I need to know the hour)

Re: Battery polling is not working automatically?

Posted: 06 Aug 2015 03:17
by PoltoS
00:00

You have sources ;)

automation/modules/BatteryPolling/index.js