Open Rails API
#21
Posted 12 November 2021 - 03:29 AM
Hello,
For those who succeed to extract datas from API/Web server do you know Why there are some duplicates datas returned by the API/web server (AMMETER, THROTTLE, SPEEDOMETER for example) ?
Not easy to catch the right value for the right arduino servo() :(
Thanks for your help.
Rgds
BB22210
For those who succeed to extract datas from API/Web server do you know Why there are some duplicates datas returned by the API/web server (AMMETER, THROTTLE, SPEEDOMETER for example) ?
Not easy to catch the right value for the right arduino servo() :(
Thanks for your help.
Rgds
BB22210
#22
Posted 27 November 2021 - 01:02 AM
BB22210, on 12 November 2021 - 03:29 AM, said:
Hello,
For those who succeed to extract datas from API/Web server do you know Why there are some duplicates datas returned by the API/web server (AMMETER, THROTTLE, SPEEDOMETER for example) ?
For those who succeed to extract datas from API/Web server do you know Why there are some duplicates datas returned by the API/web server (AMMETER, THROTTLE, SPEEDOMETER for example) ?
Hi Christophe,
No, I don't know why, but I can look into it.
Please send me a PM and attach the loco files.
#23
Posted 27 November 2021 - 12:29 PM
#24
Posted 28 November 2021 - 10:29 AM
Hi Christophe,
I've sent you a PM so we can continue this privately.
I've sent you a PM so we can continue this privately.
#25
Posted 10 November 2022 - 03:01 AM
BB22210, on 12 November 2021 - 03:29 AM, said:
Hello,
For those who succeed to extract datas from API/Web server do you know Why there are some duplicates datas returned by the API/web server (AMMETER, THROTTLE, SPEEDOMETER for example) ?
Not easy to catch the right value for the right arduino servo() :(
Thanks for your help.
Rgds
BB22210
For those who succeed to extract datas from API/Web server do you know Why there are some duplicates datas returned by the API/web server (AMMETER, THROTTLE, SPEEDOMETER for example) ?
Not easy to catch the right value for the right arduino servo() :(
Thanks for your help.
Rgds
BB22210
The data is double because the webserver loads two control stations of one locomotive.
#26
Posted 10 November 2022 - 01:48 PM
#27
Posted 10 November 2022 - 11:44 PM
#28
Posted 10 November 2022 - 11:51 PM
#29
Posted 11 November 2022 - 02:35 AM
The only way is to edit the cvf files.
e.g. delete one entry in the cvf.rv file for a test, and then it will be missing on the webserver. and determine that it is ST.2
e.g. delete one entry in the cvf.rv file for a test, and then it will be missing on the webserver. and determine that it is ST.2