Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error messages in log #1

Open
digdilem opened this issue Jan 4, 2018 · 4 comments
Open

Error messages in log #1

digdilem opened this issue Jan 4, 2018 · 4 comments

Comments

@digdilem
Copy link

digdilem commented Jan 4, 2018

Added fine as per your instructions. Created a new device "Simons phone" and it didn't "Turn On", despite the IP (10.1.0.5) responding to pings from the same server domoticz is hosted on.

Upon enabling Verbose, the following is shown.

(BTW, I think the instructions are unclear on what units the interval is for. I assume seconds (1-20) but it could be minutes and it's not defined)

Thanks. Good to see support for demoticz.

2018-01-04 13:33:09.619 Error: (Simons Phone) 'onStart' failed 'AttributeError':''Domoticz.Device' object has no attribute 'TimedOut''.
2018-01-04 13:33:09.619 Error: (Simons Phone) ----> Line 168 in /srv/domoticz/plugins/Domoticz-Pinger-Plugin/plugin.py, function onStart
2018-01-04 13:33:09.619 Error: (Simons Phone) ----> Line 105 in /srv/domoticz/plugins/Domoticz-Pinger-Plugin/plugin.py, function onStart
2018-01-04 13:33:09.619 Error: (Simons Phone) ----> Line 185 in /srv/domoticz/plugins/Domoticz-Pinger-Plugin/plugin.py, function UpdateDevice
2018-01-04 13:33:09.619 (Simons Phone) Heartbeat interval set to: 20.
2018-01-04 13:33:19.133 (Simons Phone) Calling message handler 'onHeartbeat'.
2018-01-04 13:33:19.133 (Simons Phone) Heartbeating...
2018-01-04 13:33:19.133 Error: (Simons Phone) 'onHeartbeat' failed 'IndexError':'list index out of range'.
2018-01-04 13:33:19.133 Error: (Simons Phone) ----> Line 180 in /srv/domoticz/plugins/Domoticz-Pinger-Plugin/plugin.py, function onHeartbeat
2018-01-04 13:33:19.133 Error: (Simons Phone) ----> Line 156 in /srv/domoticz/plugins/Domoticz-Pinger-Plugin/plugin.py, function onHeartbeat 
@digdilem
Copy link
Author

digdilem commented Jan 4, 2018

Extra info: Using the current stable release of demoticz, not the beta.

@dnpwwo
Copy link
Owner

dnpwwo commented Jan 5, 2018

That is the problem.

The Timed Out functionality was added quite recently

@fabiotodesco
Copy link

i conferme the same problem on stable version...
his it resolvable?

@dnpwwo
Copy link
Owner

dnpwwo commented Apr 6, 2018

Yes, you will need to run the beta version until the next stable version is released

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants