Hi all,
I'm encountering a strange behaviour of the node-red-contrib-speedtest-updated
-node:
I've put the node behind a cron-node to perform a speed test every full hour.
Every time the speedtest node runs, it throws a No server found, verify your proxy/network
error.
Whenever I trigger the node manually (either via an inject node or a button from the dashboard) it runs without any problems.
Couldy anyone give me a hint on why this might happen?
Here is my flow:
[{"id":"a4513d9cc8f71afe","type":"speedtest","z":"4c683dfcd3fa70e5","name":"","serverId":"12046","maxTime":5000,"x":480,"y":680,"wires":[["903bc7716db1225a","ea14bfe2d0bde8b8","3a3401210d5cd002"]]},{"id":"903bc7716db1225a","type":"change","z":"4c683dfcd3fa70e5","name":"","rules":[{"t":"set","p":"payload","pt":"msg","to":"payload.speeds.download","tot":"msg"}],"action":"","property":"","from":"","to":"","reg":false,"x":710,"y":620,"wires":[["de226e2581e59ca8"]]},{"id":"ea14bfe2d0bde8b8","type":"change","z":"4c683dfcd3fa70e5","name":"","rules":[{"t":"set","p":"payload","pt":"msg","to":"payload.speeds.upload","tot":"msg"}],"action":"","property":"","from":"","to":"","reg":false,"x":710,"y":680,"wires":[["975156d2acc82a5d"]]},{"id":"3a3401210d5cd002","type":"change","z":"4c683dfcd3fa70e5","name":"","rules":[{"t":"set","p":"payload","pt":"msg","to":"payload.server.ping","tot":"msg"}],"action":"","property":"","from":"","to":"","reg":false,"x":710,"y":740,"wires":[["4178a162a339d1d2"]]},{"id":"1bf645b83496b6f2","type":"cronplus","z":"4c683dfcd3fa70e5","name":"Every hour","outputField":"payload","timeZone":"","persistDynamic":false,"commandResponseMsgOutput":"output1","outputs":1,"options":[{"name":"Speedtest","topic":"Speedtest","payloadType":"date","payload":"","expressionType":"cron","expression":"0 0 * * * *","location":"","offset":"0","solarType":"all","solarEvents":"sunrise,sunset"}],"x":270,"y":680,"wires":[["a4513d9cc8f71afe"]]},{"id":"a30e184e3ca2e16c","type":"inject","z":"4c683dfcd3fa70e5","name":"Manual","props":[{"p":"payload"},{"p":"topic","vt":"str"}],"repeat":"","crontab":"","once":false,"onceDelay":0.1,"topic":"","payload":"","payloadType":"date","x":270,"y":740,"wires":[["a4513d9cc8f71afe"]]},{"id":"6fc13643bdecb7c0","type":"server-state-changed","z":"4c683dfcd3fa70e5","name":"Speedtest Now","server":"3acdbfb8.d5aa3","version":4,"exposeToHomeAssistant":false,"haConfig":[{"property":"name","value":""},{"property":"icon","value":""}],"entityidfilter":"input_button.speedtest_now","entityidfiltertype":"exact","outputinitially":false,"state_type":"str","haltifstate":"","halt_if_type":"str","halt_if_compare":"is","outputs":1,"output_only_on_state_change":true,"for":"0","forType":"num","forUnits":"minutes","ignorePrevStateNull":false,"ignorePrevStateUnknown":false,"ignorePrevStateUnavailable":false,"ignoreCurrentStateUnknown":false,"ignoreCurrentStateUnavailable":false,"outputProperties":[{"property":"payload","propertyType":"msg","value":"","valueType":"date"}],"x":260,"y":580,"wires":[["a4513d9cc8f71afe"]]},{"id":"da4f5bc30c182e90","type":"comment","z":"4c683dfcd3fa70e5","name":"Button on Home Assistant Dashboard","info":"","x":330,"y":540,"wires":[]},{"id":"975156d2acc82a5d","type":"debug","z":"4c683dfcd3fa70e5","name":"","active":true,"tosidebar":true,"console":false,"tostatus":false,"complete":"false","statusVal":"","statusType":"auto","x":930,"y":680,"wires":[]},{"id":"de226e2581e59ca8","type":"debug","z":"4c683dfcd3fa70e5","name":"","active":true,"tosidebar":true,"console":false,"tostatus":false,"complete":"false","statusVal":"","statusType":"auto","x":930,"y":620,"wires":[]},{"id":"4178a162a339d1d2","type":"debug","z":"4c683dfcd3fa70e5","name":"","active":true,"tosidebar":true,"console":false,"tostatus":false,"complete":"false","statusVal":"","statusType":"auto","x":930,"y":740,"wires":[]},{"id":"3acdbfb8.d5aa3","type":"server","name":"Home Assistant","version":2,"addon":false,"rejectUnauthorizedCerts":true,"ha_boolean":"y|yes|true|on|home|open","connectionDelay":true,"cacheJson":true,"heartbeat":false,"heartbeatInterval":"30"}]
Thanks,
Damos