Python Plugin: Speedtest Topic is solved
Moderator: leecollings
-
- Posts: 21
- Joined: Sunday 25 March 2018 12:56
- Target OS: Raspberry Pi / ODroid
- Domoticz version:
- Contact:
Re: Python Plugin: Speedtest
.
Last edited by emeyedeejay on Wednesday 28 March 2018 20:13, edited 1 time in total.
-
- Posts: 21
- Joined: Sunday 25 March 2018 12:56
- Target OS: Raspberry Pi / ODroid
- Domoticz version:
- Contact:
Re: Python Plugin: Speedtest
OK - might be this...
Not sure which one will be used or whihc versions are required. Serious learning curve on the go here!
Thanks!
Code: Select all
pi@bart:~/domoticz/plugins $ python -V
Python 2.7.13
pi@bart:~/domoticz/plugins $ python3 -V
Python 3.5.3
Thanks!
Re: Python Plugin: Speedtest
@ emeyedeejay
I was able to reproduce your problem! Probably you switched off the EventSystem. Please check the following:
Setup => Settings
Other tab
Check that EventSystem (Lua/Blockly/Scripts) is enabled
And restart Domoticz
I was able to reproduce your problem! Probably you switched off the EventSystem. Please check the following:
Setup => Settings
Other tab
Check that EventSystem (Lua/Blockly/Scripts) is enabled
And restart Domoticz
-
- Posts: 21
- Joined: Sunday 25 March 2018 12:56
- Target OS: Raspberry Pi / ODroid
- Domoticz version:
- Contact:
Re: Python Plugin: Speedtest
How did you fathom that out! OK - it was disabled (I have no idea how though)...
I now see this in the log:
2018-03-29 15:06:22.322 EventSystem: reset all events...
2018-03-29 15:06:22.322 EventSystem: reset all device statuses...
2018-03-29 15:06:22.331 EventSystem - Python: Failed dynamic library load, install the latest libpython3.x library that is available for your platform.
2018-03-29 15:06:22.331 EventSystem: Started
2018-03-29 15:06:22.331 EventSystem: Queue thread started...
Is that related to Python version?
Thank you!
I now see this in the log:
2018-03-29 15:06:22.322 EventSystem: reset all events...
2018-03-29 15:06:22.322 EventSystem: reset all device statuses...
2018-03-29 15:06:22.331 EventSystem - Python: Failed dynamic library load, install the latest libpython3.x library that is available for your platform.
2018-03-29 15:06:22.331 EventSystem: Started
2018-03-29 15:06:22.331 EventSystem: Queue thread started...
Is that related to Python version?
Thank you!
-
- Posts: 21
- Joined: Sunday 25 March 2018 12:56
- Target OS: Raspberry Pi / ODroid
- Domoticz version:
- Contact:
Re: Python Plugin: Speedtest
Rebooted and all up and running again - fantastic - thank you!
MIDJ
MIDJ
- capman
- Posts: 153
- Joined: Friday 12 July 2013 20:48
- Target OS: Raspberry Pi / ODroid
- Domoticz version: Beta
- Location: Belgium
- Contact:
Re: Python Plugin: Speedtest
I have sudenly this error in my log.
I run domoticz on a synology with beta version 3.9208
edit: Now (may) version 3.9317
Should this be a domoticz, python or plugin issue ?I run domoticz on a synology with beta version 3.9208
edit: Now (may) version 3.9317
Last edited by capman on Monday 07 May 2018 15:49, edited 1 time in total.
-
- Posts: 13
- Joined: Sunday 03 April 2016 20:51
- Target OS: Raspberry Pi / ODroid
- Domoticz version: beta
- Location: Sweden
- Contact:
Re: Python Plugin: Speedtest
Same for me
Running on beta 3.9227 and python 3.4.2
2018-04-15 20:25:40.883 Error: (Speedtest) 'onHeartbeat' failed 'FileNotFoundError'.
2018-04-15 20:25:40.883 Error: (Speedtest) ----> Line 156 in /home/pi/domoticz/plugins/xfr_speedtest/plugin.py, function onHeartbeat
2018-04-15 20:25:40.883 Error: (Speedtest) ----> Line 105 in /home/pi/domoticz/plugins/xfr_speedtest/plugin.py, function onHeartbeat
2018-04-15 20:25:40.883 Error: (Speedtest) ----> Line 884 in /usr/lib/python3.4/subprocess.py, function __init__
2018-04-15 20:25:40.883 Error: (Speedtest) ----> Line 1457 in /usr/lib/python3.4/subprocess.py, function _execute_child
Running on beta 3.9227 and python 3.4.2
2018-04-15 20:25:40.883 Error: (Speedtest) 'onHeartbeat' failed 'FileNotFoundError'.
2018-04-15 20:25:40.883 Error: (Speedtest) ----> Line 156 in /home/pi/domoticz/plugins/xfr_speedtest/plugin.py, function onHeartbeat
2018-04-15 20:25:40.883 Error: (Speedtest) ----> Line 105 in /home/pi/domoticz/plugins/xfr_speedtest/plugin.py, function onHeartbeat
2018-04-15 20:25:40.883 Error: (Speedtest) ----> Line 884 in /usr/lib/python3.4/subprocess.py, function __init__
2018-04-15 20:25:40.883 Error: (Speedtest) ----> Line 1457 in /usr/lib/python3.4/subprocess.py, function _execute_child
- EdwinK
- Posts: 1820
- Joined: Sunday 22 January 2017 21:46
- Target OS: Raspberry Pi / ODroid
- Domoticz version: BETA
- Location: Rhoon
- Contact:
Re: Python Plugin: Speedtest
Me too. Although the linenumbers are a bit different
2018-05-04 21:54:06.785 Error: (SpeedTest) 'onHeartbeat' failed 'FileNotFoundError'.
2018-05-04 21:54:06.785 Error: (SpeedTest) ----> Line 156 in /home/pi/domoticz/plugins/SpeedTest/plugin.py, function onHeartbeat
2018-05-04 21:54:06.785 Error: (SpeedTest) ----> Line 105 in /home/pi/domoticz/plugins/SpeedTest/plugin.py, function onHeartbeat
2018-05-04 21:54:06.786 Error: (SpeedTest) ----> Line 701 in /usr/lib/python3.5/subprocess.py, function __init__
2018-05-04 21:54:06.786 Error: (SpeedTest) ----> Line 1282 in /usr/lib/python3.5/subprocess.py, function _execute_child
Running latest BETA on a Pi-3 | Toon® Thermostat (rooted) | Hue | Tuya | IKEA tradfri | Dashticz V3 on Lenovo Huawei Tablet | Conbee
-
- Posts: 64
- Joined: Wednesday 11 May 2016 16:11
- Target OS: Raspberry Pi / ODroid
- Domoticz version:
- Contact:
Re: Python Plugin: Speedtest
I prefer use the 3.8153 version, not beta or new stable? version, thanx for the tipXorfor wrote: ↑Tuesday 27 March 2018 19:18 @Ventron,
This Python plugin is using a option, which is not available in your Domoticz.
You have 2 options:
1. Update to the latest beta version of Domoticz. If you are planning to use more plugins, this is the recommended option.
or
2. Change the Speedtest plugin:
a. Open the plugin.py in an editor
b. Goto to line 177, the UpdateDevice procedure:
-
- Posts: 1
- Joined: Monday 03 November 2014 8:45
- Target OS: Raspberry Pi / ODroid
- Domoticz version:
- Contact:
Re: Python Plugin: Speedtest
Hello,
Thanks for the plugin but it doesn't work on my system.
You can see the log below.
Thanks for the plugin but it doesn't work on my system.
You can see the log below.
Re: Python Plugin: Speedtest
@boboz2:
These messages are not coming from the plugin. I guess that these messages are generated by PP-Manager?
These messages are not coming from the plugin. I guess that these messages are generated by PP-Manager?
-
- Posts: 5
- Joined: Sunday 02 April 2017 10:11
- Target OS: NAS (Synology & others)
- Domoticz version: 2020.2
- Location: NL
- Contact:
Re: Python Plugin: Speedtest
Hello,
This plugin looks great, but unfortunately it's not working on my system.
I'm running Domoticz in an Alpine docker container in OMV4, I installed speedtest cli and this is working when running in the SSH terminal.
The speedtest plugin runs without error in the Domoticz log but it doesn't trigger the speedtest.
In the spoiler are the speedtest messages from Domoticz's log:
Changed _COMMAND = "speedtest-cli" in _COMMAND = "speedtest" in the Plugin.py and it's working.
kr.,
1kke
This plugin looks great, but unfortunately it's not working on my system.
I'm running Domoticz in an Alpine docker container in OMV4, I installed speedtest cli and this is working when running in the SSH terminal.
The speedtest plugin runs without error in the Domoticz log but it doesn't trigger the speedtest.
In the spoiler are the speedtest messages from Domoticz's log:
- Spoiler: show
Changed _COMMAND = "speedtest-cli" in _COMMAND = "speedtest" in the Plugin.py and it's working.
kr.,
1kke
-
- Posts: 113
- Joined: Sunday 14 July 2013 22:00
- Target OS: Raspberry Pi / ODroid
- Domoticz version: beta
- Location: NL
- Contact:
Re: Python Plugin: Speedtest
Exactly the same for me. Latest beta on Synology. Other python plugins are working fine.
Anyone with a fix available?
-
- Posts: 1
- Joined: Wednesday 14 April 2021 11:27
- Target OS: Raspberry Pi / ODroid
- Domoticz version:
- Contact:
Re: Python Plugin: Speedtest
hi,
i have a problem with the plugin. Since 1 week the plugin doesn't work. Python with lib is ok. Script lua was enable.
speedtest-cli --single work perfectly:
But
I have no idea...... Sorry for my basic english.
Best regard
i have a problem with the plugin. Since 1 week the plugin doesn't work. Python with lib is ok. Script lua was enable.
speedtest-cli --single work perfectly:
Code: Select all
Retrieving speedtest.net server list...
Selecting best server based on ping...
Hosted by KEYYO (Paris) [1.88 km]: 89.427 ms
Testing download speed................................................................................
Download: 7.88 Mbit/s
Testing upload speed................................................................................................
Upload: 6.91 Mbit/s
Code: Select all
2021-04-14 11:34:07.565 (internet) onHeartbeat called
2021-04-14 11:34:07.565 (internet) onHeartbeat called, run again in 340 heartbeats.
2021-04-14 11:34:17.529 (internet) Pushing 'onHeartbeatCallback' on to queue
2021-04-14 11:34:17.534 (internet) Processing 'onHeartbeatCallback' message
2021-04-14 11:34:17.534 (internet) Calling message handler 'onHeartbeat'.
2021-04-14 11:34:17.534 (internet) onHeartbeat called
2021-04-14 11:34:17.534 (internet) onHeartbeat called, run again in 339 heartbeats.
2021-04-14 11:34:27.530 (internet) Pushing 'onHeartbeatCallback' on to queue
2021-04-14 11:34:27.563 (internet) Processing 'onHeartbeatCallback' message
2021-04-14 11:34:27.563 (internet) Calling message handler 'onHeartbeat'.
2021-04-14 11:34:27.563 (internet) onHeartbeat called
2021-04-14 11:34:27.564 (internet) onHeartbeat called, run again in 338 heartbeats.
2021-04-14 11:34:37.532 (internet) Pushing 'onHeartbeatCallback' on to queue
2021-04-14 11:34:37.582 (internet) Processing 'onHeartbeatCallback' message
2021-04-14 11:34:37.582 (internet) Calling message handler 'onHeartbeat'.
2021-04-14 11:34:37.582 (internet) onHeartbeat called
2021-04-14 11:34:37.582 (internet) onHeartbeat called, run again in 337 heartbeats.
2021-04-14 11:34:47.534 (internet) Pushing 'onHeartbeatCallback' on to queue
2021-04-14 11:34:47.550 (internet) Processing 'onHeartbeatCallback' message
2021-04-14 11:34:47.550 (internet) Calling message handler 'onHeartbeat'.
2021-04-14 11:34:47.550 (internet) onHeartbeat called
2021-04-14 11:34:47.550 (internet) onHeartbeat called, run again in 336 heartbeats.
2021-04-14 11:34:57.536 (internet) Pushing 'onHeartbeatCallback' on to queue
2021-04-14 11:34:57.568 (internet) Processing 'onHeartbeatCallback' message
2021-04-14 11:34:57.568 (internet) Calling message handler 'onHeartbeat'.
2021-04-14 11:34:57.568 (internet) onHeartbeat called
2021-04-14 11:34:57.568 (internet) onHeartbeat called, run again in 335 heartbeats.
2021-04-14 11:35:07.538 (internet) Pushing 'onHeartbeatCallback' on to queue
2021-04-14 11:35:07.568 (internet) Processing 'onHeartbeatCallback' message
2021-04-14 11:35:07.568 (internet) Calling message handler 'onHeartbeat'.
2021-04-14 11:35:07.568 (internet) onHeartbeat called
2021-04-14 11:35:07.568 (internet) onHeartbeat called, run again in 334 heartbeats.
Best regard
-
- Posts: 2
- Joined: Saturday 17 April 2021 13:17
- Target OS: -
- Domoticz version:
- Contact:
Re: Python Plugin: Speedtest
i run domoticz on nuc and debian 10 and i had the same issue so i uninstall speedtest.cli en restart and again installing speedtest.cli
Who is online
Users browsing this forum: Bing [Bot] and 1 guest