Jump to content

Archived

This topic is now archived and is closed to further replies.

sdogg71

Pi agent update

Recommended Posts

sdogg71

I haven't been able to find an answer on this.  I know that the Domotz Pi will auto update the agent but I don't see any info on updating a non-Domotz Pi's agent.

 

Thanks!

Share this post


Link to post
Share on other sites
Silvio

The Domotz software is made of a "package" which includes an "agent".  The agent is updated automatically, and this happens also for non-Domotz PI.

But some major releases of Domotz may require a mandatory  update of the whole package. In this case you will need to reinstall the whole package, unless you have a Domotz-Box or a Domotz-PI.

 

 

Share this post


Link to post
Share on other sites
GregS

How do we know when that is? I like the product, I've converted all my Ihijis to it, however lack of documentation about what is changing between versions can bothersome. For example, my clients all show 1.1.7, but your latest notes only show to 1.1.5. What happened since then?

 

 

Share this post


Link to post
Share on other sites
Giancarlo

Domotz periodically updates the release notes on the community forum. Latest release notes are available here:

 

We usually update the list as soon as we have significant changes. I confirm that at the moment the latest version of the Domotz Agent is 1.1.7 as you correctly pointed out. Thanks. 

Share this post


Link to post
Share on other sites
System_Error_Message

i reinstalled the entire domotz package and have the latest version of the agent but the web interface shows otherwise. The interfaces shows the agent version of 0.9.4 while the device itself shows version 1.1.7. Because of this i cant reset the agent as it says version not supported. Leaving the pi running domotz for a few hours doesnt show any updates or even changes or any devices.

Share this post


Link to post
Share on other sites
Giancarlo

The Agent is composed of two parts: the external Package (the one you installed, version 0.9.4) and the internal logic (in your case 1.1.7). This internal logic is automatically updated whenever there is a new release with additional functionality. The external part, for obvious reasons, can't be upgraded automatically on your own devices (Raspberry or NAS).

 

In any case, it seems like you did not complete the configuration of the Agent after you complete the reinstallation of the package. Did you proceed with the "resume" of the configuration? You should login in the web interface of the agent, insert your credentials and press resume: usually available on http://<RASPBERRY IP>:3000

Share this post


Link to post
Share on other sites
System_Error_Message

I did that and it still didnt update externally.

Share this post


Link to post
Share on other sites
Giancarlo

It seems like the Agent is not able to connect to our cloud. I suppose you downloaded the latest package. If so, as soon as you are able to Login within the Web page of the Agent and resume the configuration, it should contact the cloud to update the version there.

 

Which are the Domotz processes running on the Raspberry Pi?

Share this post


Link to post
Share on other sites
System_Error_Message

root     11052  0.3  2.8  40664 25448 ?        Ssl  20:53   0:03 /opt/domotz/bin/domotz_node /opt/domotz/lib/node_modules/forever/bin/monitor /opt/domotz/bin/domotz_listener
root     11070  0.0  0.2   5804  2216 ?        S    20:53   0:00 domotz_zabbix_agentd: collector [idle 1 sec]
root     11071  0.0  0.1   5804  1432 ?        S    20:53   0:00 domotz_zabbix_agentd: listener #1 [waiting for connection]
root     11072  0.0  0.2   5804  2044 ?        S    20:53   0:00 domotz_zabbix_agentd: active checks #1 [idle 1 sec]
root     11105  0.3  0.5  41848  4980 ?        S    20:53   0:03 domotz_zabbix_proxy: configuration syncer [synced config 10730 bytes in 0.199417 sec, idle 30 sec]
root     11106  0.0  0.3  41444  3192 ?        S    20:53   0:00 domotz_zabbix_proxy: heartbeat sender [sending heartbeat message success in 0.105915 sec, idle 60 sec]
root     11107  0.6  0.5  41704  4708 ?        S    20:53   0:06 domotz_zabbix_proxy: data sender [sent 0 values in 0.006011 sec, idle 1 sec]
root     11108  0.0  0.6  43620  6012 ?        S    20:53   0:00 domotz_zabbix_proxy: poller #1 [got 0 values in 0.000017 sec, idle 5 sec]
root     11109  0.0  0.6  43604  5688 ?        S    20:53   0:00 domotz_zabbix_proxy: unreachable poller #1 [got 0 values in 0.000019 sec, idle 5 sec]
root     11110  0.0  0.4  41792  4104 ?        S    20:53   0:00 domotz_zabbix_proxy: trapper #1 [processed data in 0.002067 sec, waiting for connection]
root     11111  0.0  0.4  41792  4040 ?        S    20:53   0:00 domotz_zabbix_proxy: trapper #2 [processed data in 0.001026 sec, waiting for connection]
root     11112  0.0  0.4  41792  4096 ?        S    20:53   0:00 domotz_zabbix_proxy: trapper #3 [processed data in 0.003861 sec, waiting for connection]
root     11113  0.0  0.1  41204  1740 ?        S    20:53   0:00 domotz_zabbix_proxy: housekeeper [startup idle for 30 minutes]
root     11114  0.0  0.6  43216  5640 ?        S    20:53   0:00 domotz_zabbix_proxy: discoverer #1 [processed 0 rules in 0.001942 sec, idle 60 sec]
root     11115  0.0  0.4  41464  3848 ?        S    20:53   0:00 domotz_zabbix_proxy: history syncer #1 [synced 0 items in 0.000006 sec, idle 5 sec]
root     11116  0.0  0.2  41204  1804 ?        S    20:53   0:00 domotz_zabbix_proxy: self-monitoring [processed data in 0.000025 sec, idle 1 sec]
root     11179  2.7  8.4 132388 74320 ?        Sl   20:53   0:29 /opt/domotz/bin/domotz_node /opt/domotz/bin/domotz_listener

Share this post


Link to post
Share on other sites
Giancarlo

I don't see anything strange here. Can you provide me with the domotz agent logs (/var/log/domotz/), even in private (so that you don't spoil private info)?

Share this post


Link to post
Share on other sites
System_Error_Message

i've got the logs, how do i send it to you in private?

Share this post


Link to post
Share on other sites
Giancarlo

sorry for the delay. I seems to have missed this update. Yes, please send me a link to dropbox or directly through PM

Share this post


Link to post
Share on other sites

×
×
  • Create New...