Thread Rating:
  • 2 Vote(s) - 3.5 Average
  • 1
  • 2
  • 3
  • 4
  • 5

[Pro2 Plus RX] Integrating RESTful Sensor Data - working solution for local wifi/www
#23

Hi Werk_AG,

I did some new measurements for 24h. Now the code is a lot better but I try to improve it more!
E.g. setting down timeout limits and trying to detect a "long runner" if there comes no answer or the tcp connection cannot be closed.
One main point I see now is, that sending the data of all extra sensors consumes much time (even more than communication to the wireless displays).
Now I have changed the behaviour of my simulated sensors to real world (but random) values.
As an attachement to this post I have some graphs about:
  • comparison: send extra sensors vs communication with 4 TCP sensors
  • Wifi_Sensors: comparison with all 4 Sensors
  • Wifi_Extra: comparison of the sum of WIFI and the sum of sending extra sensor data
In this data you see, that:
  • tcp now is pretty fast
  • sending the new data out (via 433) consumes some time
  • there was one error and the tcp connection could not be closed, what lead to a timeout of around 8000ms (Right now I cannot determine, if it was the wireless display, or a rasp - because the time of "sensor 2" data has been left out, so I only know the time sum of 1+2)
  • local sensors are faster
  • two identical raspberry pis are different, because one sits in a metal case Wink
I will send another post with plots of each tcp Sensor also.


Attached Files Image(s)
           
Reply


Messages In This Thread
[Pro2 Plus RX] Integrating RESTful Sensor Data - working solution for local wifi/www - by t3gathome - 04-06-2018, 23:36
RE: [Pro2 Plus RX] Integrating RESTful Sensor Data - working solution for local wifi/www - by werk_ag - 05-06-2018, 22:12
RE: [Pro2 Plus RX] Integrating RESTful Sensor Data - working solution for local wifi/www - by t3gathome - 05-06-2018, 22:24
RE: [Pro2 Plus RX] Integrating RESTful Sensor Data - working solution for local wifi/www - by t3gathome - 05-06-2018, 22:36
RE: [Pro2 Plus RX] Integrating RESTful Sensor Data - working solution for local wifi/www - by werk_ag - 05-06-2018, 22:49
RE: [Pro2 Plus RX] Integrating RESTful Sensor Data - working solution for local wifi/www - by werk_ag - 05-06-2018, 22:41
RE: [Pro2 Plus RX] Integrating RESTful Sensor Data - working solution for local wifi/www - by t3gathome - 06-06-2018, 20:34
RE: [Pro2 Plus RX] Integrating RESTful Sensor Data - working solution for local wifi/www - by werk_ag - 07-06-2018, 03:23
RE: [Pro2 Plus RX] Integrating RESTful Sensor Data - working solution for local wifi/www - by markkkk42 - 07-06-2018, 06:26
RE: [Pro2 Plus RX] Integrating RESTful Sensor Data - working solution for local wifi/www - by werk_ag - 07-06-2018, 19:19
RE: [Pro2 Plus RX] Integrating RESTful Sensor Data - working solution for local wifi/www - by t3gathome - 07-06-2018, 21:03
RE: [Pro2 Plus RX] Integrating RESTful Sensor Data - working solution for local wifi/www - by werk_ag - 08-06-2018, 03:15
RE: [Pro2 Plus RX] Integrating RESTful Sensor Data - working solution for local wifi/www - by t3gathome - 08-06-2018, 20:37
RE: [Pro2 Plus RX] Integrating RESTful Sensor Data - working solution for local wifi/www - by t3gathome - 08-06-2018, 22:05
RE: [Pro2 Plus RX] Integrating RESTful Sensor Data - working solution for local wifi/www - by werk_ag - 09-06-2018, 02:16
RE: [Pro2 Plus RX] Integrating RESTful Sensor Data - working solution for local wifi/www - by engolling - 10-06-2018, 22:04
RE: [Pro2 Plus RX] Integrating RESTful Sensor Data - working solution for local wifi/www - by werk_ag - 12-06-2018, 21:59
RE: [Pro2 Plus RX] Integrating RESTful Sensor Data - working solution for local wifi/www - by engolling - 13-06-2018, 20:52
RE: [Pro2 Plus RX] Integrating RESTful Sensor Data - working solution for local wifi/www - by t3gathome - 11-06-2018, 00:56
RE: [Pro2 Plus RX] Integrating RESTful Sensor Data - working solution for local wifi/www - by werk_ag - 12-06-2018, 22:10
RE: [Pro2 Plus RX] Integrating RESTful Sensor Data - working solution for local wifi/www - by t3gathome - 12-06-2018, 22:17
RE: [Pro2 Plus RX] Integrating RESTful Sensor Data - working solution for local wifi/www - by werk_ag - 12-06-2018, 22:33
RE: [Pro2 Plus RX] Integrating RESTful Sensor Data - working solution for local wifi/www - by t3gathome - 13-06-2018, 23:32
RE: [Pro2 Plus RX] Integrating RESTful Sensor Data - working solution for local wifi/www - by t3gathome - 13-06-2018, 23:37
RE: [Pro2 Plus RX] Integrating RESTful Sensor Data - working solution for local wifi/www - by t3gathome - 14-06-2018, 01:22
RE: [Pro2 Plus RX] Integrating RESTful Sensor Data - working solution for local wifi/www - by werk_ag - 25-06-2018, 17:16
RE: [Pro2 Plus RX] Integrating RESTful Sensor Data - working solution for local wifi/www - by t3gathome - 25-06-2018, 23:24
RE: [Pro2 Plus RX] Integrating RESTful Sensor Data - working solution for local wifi/www - by t3gathome - 20-06-2018, 22:27
RE: [Pro2 Plus RX] Integrating RESTful Sensor Data - working solution for local wifi/www - by werk_ag - 01-07-2018, 19:36
RE: [Pro2 Plus RX] Integrating RESTful Sensor Data - working solution for local wifi/www - by werk_ag - 25-06-2018, 17:10
RE: [Pro2 Plus RX] Integrating RESTful Sensor Data - working solution for local wifi/www - by t3gathome - 03-07-2018, 15:41
RE: [Pro2 Plus RX] Integrating RESTful Sensor Data - working solution for local wifi/www - by werk_ag - 04-07-2018, 22:54
RE: [Pro2 Plus RX] Integrating RESTful Sensor Data - working solution for local wifi/www - by t3gathome - 08-07-2018, 21:02
RE: [Pro2 Plus RX] Integrating RESTful Sensor Data - working solution for local wifi/www - by werk_ag - 08-07-2018, 23:17
RE: [Pro2 Plus RX] Integrating RESTful Sensor Data - working solution for local wifi/www - by uncle_bob - 09-07-2018, 08:56
RE: [Pro2 Plus RX] Integrating RESTful Sensor Data - working solution for local wifi/www - by hornychz - 08-07-2018, 23:40



Users browsing this thread: 1 Guest(s)