Hi, I don't know what changed on my OVMS box, but I am no longer abl to read manually (in the shell) any PID with the "obdii can1 request...". I receive the tranmission failure error. But it used to work fine a couple of days ago. Other commands works great like "re obdii scan start...", so the connection with the OMVS box, communication on the OBD2 port, etc works fine. What could go wrong ? I tried to download the lasted image. Same error. Here is a session that I did : OVMS# re obdii scan start 1 7e4 dd00 de00 -r7ec Scan started: bus 1, ecu 7e4, rxid 7ec-7ec, polltype 22, PID dd00-de00 (step 1), timeout 3 seconds I (804831) webcommand: HttpCommandStream[0x3f8d76b0]: 3317288 bytes free, executing: re obdii scan start 1 7e4 dd00 de00 -r7ecI (810981) re-pid: Scan of 7e4 completeI (817271) webserver: HTTP POST /api/executeOVMS# re obdii scan status Scan complete (7e4 dd00-de00)Scan started : 2024-10-30 17:46:53 EDTLast response: 2024-10-30 17:46:53 EDT7e4[7ec]:dd00 70 e8 79 bb7e4[7ec]:dd01 01 1c f87e4[7ec]:dd02 3a7e4[7ec]:dd04 3d7e4[7ec]:dd05 3a7e4[7ec]:dd06 e77e4[7ec]:dd08 007e4[7ec]:dd09 00I (817271) webcommand: HttpCommandStream[0x3f8d7350]: 3314968 bytes free, executing: re obdii scan statusI (821941) webserver: HTTP POST /api/executeI (821941) webcommand: HttpCommandStream[0x3f8d7414]: 3318624 bytes free, executing: obdii can1 request device 7E4 7EC 22dd00OVMS# obdii can1 request device 7E4 7EC 22dd00 7e4[7ec] 22dd00: ERROR: transmission failure (CAN bus error)Didier
Didier, the error message tells the now separated poller isn't started and also cannot be started for the request. Check "poller status": OVMS# poller status Poller on Can1 List: active State: 0 Last Request: 1s (ticks) Time between polling ticks: 1000ms Last Poll Received: 0s (ticks) ago Poll Queue Length: 0 OBD polling is Resumed Enable logging for tag "vehicle-poll" and issue "poller trace on" or possibly "poller trace all" if that doesn't show the cause. Regards, Michael Am 30.10.24 um 22:55 schrieb didier--- via OvmsDev:
Hi,
I don't know what changed on my OVMS box, but I am no longer abl to read manually (in the shell) any PID with the "obdii can1 request...". I receive the tranmission failure error. But it used to work fine a couple of days ago. Other commands works great like "re obdii scan start...", so the connection with the OMVS box, communication on the OBD2 port, etc works fine. What could go wrong ? I tried to download the lasted image. Same error.
Here is a session that I did :
*OVMS#* re obdii scan start 1 7e4 dd00 de00 -r7ec Scan started: bus 1, ecu 7e4, rxid 7ec-7ec, polltype 22, PID dd00-de00 (step 1), timeout 3 seconds I (804831) webcommand: HttpCommandStream[0x3f8d76b0]: 3317288 bytes free, executing: re obdii scan start 1 7e4 dd00 de00 -r7ec I (810981) re-pid: Scan of 7e4 complete I (817271) webserver: HTTP POST /api/execute *OVMS#* re obdii scan status Scan complete (7e4 dd00-de00) Scan started : 2024-10-30 17:46:53 EDT Last response: 2024-10-30 17:46:53 EDT 7e4[7ec]:dd00 70 e8 79 bb 7e4[7ec]:dd01 01 1c f8 7e4[7ec]:dd02 3a 7e4[7ec]:dd04 3d 7e4[7ec]:dd05 3a 7e4[7ec]:dd06 e7 7e4[7ec]:dd08 00 7e4[7ec]:dd09 00 I (817271) webcommand: HttpCommandStream[0x3f8d7350]: 3314968 bytes free, executing: re obdii scan status I (821941) webserver: HTTP POST /api/execute I (821941) webcommand: HttpCommandStream[0x3f8d7414]: 3318624 bytes free, executing: obdii can1 request device 7E4 7EC 22dd00 *OVMS#* obdii can1 request device 7E4 7EC 22dd00 7e4[7ec] 22dd00: ERROR: transmission failure (CAN bus error) Didier
_______________________________________________ OvmsDev mailing list OvmsDev@lists.openvehicles.com http://lists.openvehicles.com/mailman/listinfo/ovmsdev
-- Michael Balzer * Am Rahmen 5 * D-58313 Herdecke Fon 02330 9104094 * Handy 0176 20698926
Hi Michael, It seems like there is no poller. OVMS# log level debug Logging level for * set to debug I (185165) webcommand: HttpCommandStream[0x3f8d8ae4]: 3314760 bytes free, executing: log level debugI (193855) webserver: HTTP POST /api/executeI (193865) webcommand: HttpCommandStream[0x3f8e2890]: 3314548 bytes free, executing: poller statusOVMS# poller status No OBD Pollers active.I (198035) webserver: HTTP POST /api/executeI (198035) webcommand: HttpCommandStream[0x3f8e2890]: 3312220 bytes free, executing: poller resumeD (198045) vehicle-poll: Pollers: Queue Command()D (198045) vehicle-poll: Pollers: Command Resume (user)OVMS# poller resume Vehicle OBD Polling Resume RequestedI (214195) webserver: HTTP POST /api/executeOVMS# poller status No OBD Pollers active.I (214195) webcommand: HttpCommandStream[0x3f8e2890]: 3316368 bytes free, executing: poller statusD (217755) websocket: WebSocket[0x3f8e32ec] handler 0x3f8e3668 closed; 3 clients activeD (217755) events: Signal(server.web.socket.closed)D (217755) websocket: WebSocket[0x3f8d5e74] handler 0x3f8e2c90 closed; 2 clients activeD (217765) events: Signal(server.web.socket.closed)Didier Le jeudi 31 octobre 2024 à 02 h 58 min 01 s HAE, Michael Balzer via OvmsDev <ovmsdev@lists.openvehicles.com> a écrit : Didier, the error message tells the now separated poller isn't started and also cannot be started for the request. Check "poller status": OVMS# poller status Poller on Can1 List: active State: 0 Last Request: 1s (ticks) Time between polling ticks: 1000ms Last Poll Received: 0s (ticks) ago Poll Queue Length: 0 OBD polling is Resumed Enable logging for tag "vehicle-poll" and issue "poller trace on" or possibly "poller trace all" if that doesn't show the cause. Regards, Michael Am 30.10.24 um 22:55 schrieb didier--- via OvmsDev: Hi, I don't know what changed on my OVMS box, but I am no longer abl to read manually (in the shell) any PID with the "obdii can1 request...". I receive the tranmission failure error. But it used to work fine a couple of days ago. Other commands works great like "re obdii scan start...", so the connection with the OMVS box, communication on the OBD2 port, etc works fine. What could go wrong ? I tried to download the lasted image. Same error. Here is a session that I did : OVMS# re obdii scan start 1 7e4 dd00 de00 -r7ec Scan started: bus 1, ecu 7e4, rxid 7ec-7ec, polltype 22, PID dd00-de00 (step 1), timeout 3 seconds I (804831) webcommand: HttpCommandStream[0x3f8d76b0]: 3317288 bytes free, executing: re obdii scan start 1 7e4 dd00 de00 -r7ecI (810981) re-pid: Scan of 7e4 completeI (817271) webserver: HTTP POST /api/executeOVMS# re obdii scan statusScan complete (7e4 dd00-de00)Scan started : 2024-10-30 17:46:53 EDTLast response: 2024-10-30 17:46:53 EDT7e4[7ec]:dd00 70 e8 79 bb7e4[7ec]:dd01 01 1c f87e4[7ec]:dd02 3a7e4[7ec]:dd04 3d7e4[7ec]:dd05 3a7e4[7ec]:dd06 e77e4[7ec]:dd08 007e4[7ec]:dd09 00I (817271) webcommand: HttpCommandStream[0x3f8d7350]: 3314968 bytes free, executing: re obdii scan statusI (821941) webserver: HTTP POST /api/executeI (821941) webcommand: HttpCommandStream[0x3f8d7414]: 3318624 bytes free, executing: obdii can1 request device 7E4 7EC 22dd00OVMS# obdii can1 request device 7E4 7EC 22dd007e4[7ec] 22dd00: ERROR: transmission failure (CAN bus error) Didier _______________________________________________ OvmsDev mailing list OvmsDev@lists.openvehicles.com http://lists.openvehicles.com/mailman/listinfo/ovmsdev -- Michael Balzer * Am Rahmen 5 * D-58313 Herdecke Fon 02330 9104094 * Handy 0176 20698926 _______________________________________________ OvmsDev mailing list OvmsDev@lists.openvehicles.com http://lists.openvehicles.com/mailman/listinfo/ovmsdev
Hi, Is there a way to manually start a OBD Poller or what is the condition for not having an active Poller ? Didier Le jeudi 31 octobre 2024 à 14 h 06 min 36 s HAE, didier@ernotte.com <didier@ernotte.com> a écrit : Hi Michael, It seems like there is no poller. OVMS# log level debug Logging level for * set to debug I (185165) webcommand: HttpCommandStream[0x3f8d8ae4]: 3314760 bytes free, executing: log level debugI (193855) webserver: HTTP POST /api/executeI (193865) webcommand: HttpCommandStream[0x3f8e2890]: 3314548 bytes free, executing: poller statusOVMS# poller status No OBD Pollers active.I (198035) webserver: HTTP POST /api/executeI (198035) webcommand: HttpCommandStream[0x3f8e2890]: 3312220 bytes free, executing: poller resumeD (198045) vehicle-poll: Pollers: Queue Command()D (198045) vehicle-poll: Pollers: Command Resume (user)OVMS# poller resume Vehicle OBD Polling Resume RequestedI (214195) webserver: HTTP POST /api/executeOVMS# poller status No OBD Pollers active.I (214195) webcommand: HttpCommandStream[0x3f8e2890]: 3316368 bytes free, executing: poller statusD (217755) websocket: WebSocket[0x3f8e32ec] handler 0x3f8e3668 closed; 3 clients activeD (217755) events: Signal(server.web.socket.closed)D (217755) websocket: WebSocket[0x3f8d5e74] handler 0x3f8e2c90 closed; 2 clients activeD (217765) events: Signal(server.web.socket.closed)Didier Le jeudi 31 octobre 2024 à 02 h 58 min 01 s HAE, Michael Balzer via OvmsDev <ovmsdev@lists.openvehicles.com> a écrit : Didier, the error message tells the now separated poller isn't started and also cannot be started for the request. Check "poller status": OVMS# poller status Poller on Can1 List: active State: 0 Last Request: 1s (ticks) Time between polling ticks: 1000ms Last Poll Received: 0s (ticks) ago Poll Queue Length: 0 OBD polling is Resumed Enable logging for tag "vehicle-poll" and issue "poller trace on" or possibly "poller trace all" if that doesn't show the cause. Regards, Michael Am 30.10.24 um 22:55 schrieb didier--- via OvmsDev: Hi, I don't know what changed on my OVMS box, but I am no longer abl to read manually (in the shell) any PID with the "obdii can1 request...". I receive the tranmission failure error. But it used to work fine a couple of days ago. Other commands works great like "re obdii scan start...", so the connection with the OMVS box, communication on the OBD2 port, etc works fine. What could go wrong ? I tried to download the lasted image. Same error. Here is a session that I did : OVMS# re obdii scan start 1 7e4 dd00 de00 -r7ec Scan started: bus 1, ecu 7e4, rxid 7ec-7ec, polltype 22, PID dd00-de00 (step 1), timeout 3 seconds I (804831) webcommand: HttpCommandStream[0x3f8d76b0]: 3317288 bytes free, executing: re obdii scan start 1 7e4 dd00 de00 -r7ecI (810981) re-pid: Scan of 7e4 completeI (817271) webserver: HTTP POST /api/executeOVMS# re obdii scan statusScan complete (7e4 dd00-de00)Scan started : 2024-10-30 17:46:53 EDTLast response: 2024-10-30 17:46:53 EDT7e4[7ec]:dd00 70 e8 79 bb7e4[7ec]:dd01 01 1c f87e4[7ec]:dd02 3a7e4[7ec]:dd04 3d7e4[7ec]:dd05 3a7e4[7ec]:dd06 e77e4[7ec]:dd08 007e4[7ec]:dd09 00I (817271) webcommand: HttpCommandStream[0x3f8d7350]: 3314968 bytes free, executing: re obdii scan statusI (821941) webserver: HTTP POST /api/executeI (821941) webcommand: HttpCommandStream[0x3f8d7414]: 3318624 bytes free, executing: obdii can1 request device 7E4 7EC 22dd00OVMS# obdii can1 request device 7E4 7EC 22dd007e4[7ec] 22dd00: ERROR: transmission failure (CAN bus error) Didier _______________________________________________ OvmsDev mailing list OvmsDev@lists.openvehicles.com http://lists.openvehicles.com/mailman/listinfo/ovmsdev -- Michael Balzer * Am Rahmen 5 * D-58313 Herdecke Fon 02330 9104094 * Handy 0176 20698926 _______________________________________________ OvmsDev mailing list OvmsDev@lists.openvehicles.com http://lists.openvehicles.com/mailman/listinfo/ovmsdev
Ok, maybe I found something. There is no vehicle selected in the config because I am not using the OVMS box to monitor continously my car, I simply do spot check and manual queries. But if I select a car and deselect it, the poller started.... Didier Le vendredi 1 novembre 2024 à 12 h 14 min 49 s HAE, didier--- via OvmsDev <ovmsdev@lists.openvehicles.com> a écrit : Hi, Is there a way to manually start a OBD Poller or what is the condition for not having an active Poller ? Didier Le jeudi 31 octobre 2024 à 14 h 06 min 36 s HAE, didier@ernotte.com <didier@ernotte.com> a écrit : Hi Michael, It seems like there is no poller. OVMS# log level debug Logging level for * set to debug I (185165) webcommand: HttpCommandStream[0x3f8d8ae4]: 3314760 bytes free, executing: log level debugI (193855) webserver: HTTP POST /api/executeI (193865) webcommand: HttpCommandStream[0x3f8e2890]: 3314548 bytes free, executing: poller statusOVMS# poller status No OBD Pollers active.I (198035) webserver: HTTP POST /api/executeI (198035) webcommand: HttpCommandStream[0x3f8e2890]: 3312220 bytes free, executing: poller resumeD (198045) vehicle-poll: Pollers: Queue Command()D (198045) vehicle-poll: Pollers: Command Resume (user)OVMS# poller resume Vehicle OBD Polling Resume RequestedI (214195) webserver: HTTP POST /api/executeOVMS# poller status No OBD Pollers active.I (214195) webcommand: HttpCommandStream[0x3f8e2890]: 3316368 bytes free, executing: poller statusD (217755) websocket: WebSocket[0x3f8e32ec] handler 0x3f8e3668 closed; 3 clients activeD (217755) events: Signal(server.web.socket.closed)D (217755) websocket: WebSocket[0x3f8d5e74] handler 0x3f8e2c90 closed; 2 clients activeD (217765) events: Signal(server.web.socket.closed)Didier Le jeudi 31 octobre 2024 à 02 h 58 min 01 s HAE, Michael Balzer via OvmsDev <ovmsdev@lists.openvehicles.com> a écrit : Didier, the error message tells the now separated poller isn't started and also cannot be started for the request. Check "poller status": OVMS# poller status Poller on Can1 List: active State: 0 Last Request: 1s (ticks) Time between polling ticks: 1000ms Last Poll Received: 0s (ticks) ago Poll Queue Length: 0 OBD polling is Resumed Enable logging for tag "vehicle-poll" and issue "poller trace on" or possibly "poller trace all" if that doesn't show the cause. Regards, Michael Am 30.10.24 um 22:55 schrieb didier--- via OvmsDev: Hi, I don't know what changed on my OVMS box, but I am no longer abl to read manually (in the shell) any PID with the "obdii can1 request...". I receive the tranmission failure error. But it used to work fine a couple of days ago. Other commands works great like "re obdii scan start...", so the connection with the OMVS box, communication on the OBD2 port, etc works fine. What could go wrong ? I tried to download the lasted image. Same error. Here is a session that I did : OVMS# re obdii scan start 1 7e4 dd00 de00 -r7ec Scan started: bus 1, ecu 7e4, rxid 7ec-7ec, polltype 22, PID dd00-de00 (step 1), timeout 3 seconds I (804831) webcommand: HttpCommandStream[0x3f8d76b0]: 3317288 bytes free, executing: re obdii scan start 1 7e4 dd00 de00 -r7ecI (810981) re-pid: Scan of 7e4 completeI (817271) webserver: HTTP POST /api/executeOVMS# re obdii scan statusScan complete (7e4 dd00-de00)Scan started : 2024-10-30 17:46:53 EDTLast response: 2024-10-30 17:46:53 EDT7e4[7ec]:dd00 70 e8 79 bb7e4[7ec]:dd01 01 1c f87e4[7ec]:dd02 3a7e4[7ec]:dd04 3d7e4[7ec]:dd05 3a7e4[7ec]:dd06 e77e4[7ec]:dd08 007e4[7ec]:dd09 00I (817271) webcommand: HttpCommandStream[0x3f8d7350]: 3314968 bytes free, executing: re obdii scan statusI (821941) webserver: HTTP POST /api/executeI (821941) webcommand: HttpCommandStream[0x3f8d7414]: 3318624 bytes free, executing: obdii can1 request device 7E4 7EC 22dd00OVMS# obdii can1 request device 7E4 7EC 22dd007e4[7ec] 22dd00: ERROR: transmission failure (CAN bus error) Didier _______________________________________________ OvmsDev mailing list OvmsDev@lists.openvehicles.com http://lists.openvehicles.com/mailman/listinfo/ovmsdev -- Michael Balzer * Am Rahmen 5 * D-58313 Herdecke Fon 02330 9104094 * Handy 0176 20698926 _______________________________________________ OvmsDev mailing list OvmsDev@lists.openvehicles.com http://lists.openvehicles.com/mailman/listinfo/ovmsdev _______________________________________________ OvmsDev mailing list OvmsDev@lists.openvehicles.com http://lists.openvehicles.com/mailman/listinfo/ovmsdev
Ahh.. yes. I've had a look and I believe I've got it. I'll just need to make sure that the "can can? listen" and "can can? active" commands go through the poller so that it starts up the polling thread (with a bit of conditional compilation for the where the poller is not compiled in). I'm assuming that you do, in fact, call these commands? On a side note, I've been working on a whole bunch of stuff to allow users to program a whole vehicle implementation with duktape and commands... so if somebody were interested in testing that (the bit that I'm struggling to find time for at the moment) I'd be happy for the help. //. On Sat, 2 Nov 2024 at 00:24, didier--- via OvmsDev < ovmsdev@lists.openvehicles.com> wrote:
Ok, maybe I found something. There is no vehicle selected in the config because I am not using the OVMS box to monitor continously my car, I simply do spot check and manual queries. But if I select a car and deselect it, the poller started....
Didier
Le vendredi 1 novembre 2024 à 12 h 14 min 49 s HAE, didier--- via OvmsDev < ovmsdev@lists.openvehicles.com> a écrit :
Hi,
Is there a way to manually start a OBD Poller or what is the condition for not having an active Poller ?
Didier
Le jeudi 31 octobre 2024 à 14 h 06 min 36 s HAE, didier@ernotte.com < didier@ernotte.com> a écrit :
Hi Michael,
It seems like there is no poller.
*OVMS#* log level debug Logging level for * set to debug
I (185165) webcommand: HttpCommandStream[0x3f8d8ae4]: 3314760 bytes free, executing: log level debug I (193855) webserver: HTTP POST /api/execute I (193865) webcommand: HttpCommandStream[0x3f8e2890]: 3314548 bytes free, executing: poller status *OVMS#* poller status No OBD Pollers active. I (198035) webserver: HTTP POST /api/execute I (198035) webcommand: HttpCommandStream[0x3f8e2890]: 3312220 bytes free, executing: poller resume D (198045) vehicle-poll: Pollers: Queue Command() D (198045) vehicle-poll: Pollers: Command Resume (user) *OVMS#* poller resume Vehicle OBD Polling Resume Requested I (214195) webserver: HTTP POST /api/execute *OVMS#* poller status No OBD Pollers active. I (214195) webcommand: HttpCommandStream[0x3f8e2890]: 3316368 bytes free, executing: poller status D (217755) websocket: WebSocket[0x3f8e32ec] handler 0x3f8e3668 closed; 3 clients active D (217755) events: Signal(server.web.socket.closed) D (217755) websocket: WebSocket[0x3f8d5e74] handler 0x3f8e2c90 closed; 2 clients active D (217765) events: Signal(server.web.socket.closed) Didier
Le jeudi 31 octobre 2024 à 02 h 58 min 01 s HAE, Michael Balzer via OvmsDev <ovmsdev@lists.openvehicles.com> a écrit :
Didier,
the error message tells the now separated poller isn't started and also cannot be started for the request.
Check "poller status":
OVMS# poller status Poller on Can1 List: active State: 0 Last Request: 1s (ticks) Time between polling ticks: 1000ms Last Poll Received: 0s (ticks) ago Poll Queue Length: 0 OBD polling is Resumed
Enable logging for tag "vehicle-poll" and issue "poller trace on" or possibly "poller trace all" if that doesn't show the cause.
Regards, Michael
Am 30.10.24 um 22:55 schrieb didier--- via OvmsDev:
Hi,
I don't know what changed on my OVMS box, but I am no longer abl to read manually (in the shell) any PID with the "obdii can1 request...". I receive the tranmission failure error. But it used to work fine a couple of days ago. Other commands works great like "re obdii scan start...", so the connection with the OMVS box, communication on the OBD2 port, etc works fine. What could go wrong ? I tried to download the lasted image. Same error.
Here is a session that I did :
*OVMS#* re obdii scan start 1 7e4 dd00 de00 -r7ec Scan started: bus 1, ecu 7e4, rxid 7ec-7ec, polltype 22, PID dd00-de00 (step 1), timeout 3 seconds
I (804831) webcommand: HttpCommandStream[0x3f8d76b0]: 3317288 bytes free, executing: re obdii scan start 1 7e4 dd00 de00 -r7ec I (810981) re-pid: Scan of 7e4 complete I (817271) webserver: HTTP POST /api/execute *OVMS#* re obdii scan status Scan complete (7e4 dd00-de00) Scan started : 2024-10-30 17:46:53 EDT Last response: 2024-10-30 17:46:53 EDT 7e4[7ec]:dd00 70 e8 79 bb 7e4[7ec]:dd01 01 1c f8 7e4[7ec]:dd02 3a 7e4[7ec]:dd04 3d 7e4[7ec]:dd05 3a 7e4[7ec]:dd06 e7 7e4[7ec]:dd08 00 7e4[7ec]:dd09 00 I (817271) webcommand: HttpCommandStream[0x3f8d7350]: 3314968 bytes free, executing: re obdii scan status I (821941) webserver: HTTP POST /api/execute I (821941) webcommand: HttpCommandStream[0x3f8d7414]: 3318624 bytes free, executing: obdii can1 request device 7E4 7EC 22dd00 *OVMS#* obdii can1 request device 7E4 7EC 22dd00 7e4[7ec] 22dd00: ERROR: transmission failure (CAN bus error) Didier
_______________________________________________ OvmsDev mailing listOvmsDev@lists.openvehicles.comhttp://lists.openvehicles.com/mailman/listinfo/ovmsdev
-- Michael Balzer * Am Rahmen 5 * D-58313 Herdecke Fon 02330 9104094 * Handy 0176 20698926
_______________________________________________ OvmsDev mailing list OvmsDev@lists.openvehicles.com http://lists.openvehicles.com/mailman/listinfo/ovmsdev _______________________________________________ OvmsDev mailing list OvmsDev@lists.openvehicles.com http://lists.openvehicles.com/mailman/listinfo/ovmsdev _______________________________________________ OvmsDev mailing list OvmsDev@lists.openvehicles.com http://lists.openvehicles.com/mailman/listinfo/ovmsdev
Since the can1 is active at boot up time I don't even use this command. I mostly use the PID scanner, the shell with obdii command, and the logger/vfs command to capture log. I have programmed everything I need to query PID in javascript using web plugin.I can definitively give a hand testing the vehicle implementation with ducktape. Didier Le samedi 2 novembre 2024 à 00 h 00 min 18 s HAE, Michael Geddes <frog@bunyip.wheelycreek.net> a écrit : Ahh.. yes. I've had a look and I believe I've got it. I'll just need to make sure that the "can can? listen" and "can can? active" commands go through thepoller so that it starts up the polling thread (with a bit of conditional compilation for the where the poller is not compiled in). I'm assuming that you do, in fact, call these commands? On a side note, I've been working on a whole bunch of stuff to allow users to program a whole vehicle implementation with duktape and commands... so if somebody were interested in testing that (the bit that I'm struggling to find time for at the moment) I'd be happy for the help. //. On Sat, 2 Nov 2024 at 00:24, didier--- via OvmsDev <ovmsdev@lists.openvehicles.com> wrote: Ok, maybe I found something. There is no vehicle selected in the config because I am not using the OVMS box to monitor continously my car, I simply do spot check and manual queries. But if I select a car and deselect it, the poller started.... Didier Le vendredi 1 novembre 2024 à 12 h 14 min 49 s HAE, didier--- via OvmsDev <ovmsdev@lists.openvehicles.com> a écrit : Hi, Is there a way to manually start a OBD Poller or what is the condition for not having an active Poller ? Didier Le jeudi 31 octobre 2024 à 14 h 06 min 36 s HAE, didier@ernotte.com <didier@ernotte.com> a écrit : Hi Michael, It seems like there is no poller. OVMS# log level debug Logging level for * set to debug I (185165) webcommand: HttpCommandStream[0x3f8d8ae4]: 3314760 bytes free, executing: log level debugI (193855) webserver: HTTP POST /api/executeI (193865) webcommand: HttpCommandStream[0x3f8e2890]: 3314548 bytes free, executing: poller statusOVMS# poller status No OBD Pollers active.I (198035) webserver: HTTP POST /api/executeI (198035) webcommand: HttpCommandStream[0x3f8e2890]: 3312220 bytes free, executing: poller resumeD (198045) vehicle-poll: Pollers: Queue Command()D (198045) vehicle-poll: Pollers: Command Resume (user)OVMS# poller resume Vehicle OBD Polling Resume RequestedI (214195) webserver: HTTP POST /api/executeOVMS# poller status No OBD Pollers active.I (214195) webcommand: HttpCommandStream[0x3f8e2890]: 3316368 bytes free, executing: poller statusD (217755) websocket: WebSocket[0x3f8e32ec] handler 0x3f8e3668 closed; 3 clients activeD (217755) events: Signal(server.web.socket.closed)D (217755) websocket: WebSocket[0x3f8d5e74] handler 0x3f8e2c90 closed; 2 clients activeD (217765) events: Signal(server.web.socket.closed)Didier Le jeudi 31 octobre 2024 à 02 h 58 min 01 s HAE, Michael Balzer via OvmsDev <ovmsdev@lists.openvehicles.com> a écrit : Didier, the error message tells the now separated poller isn't started and also cannot be started for the request. Check "poller status": OVMS# poller status Poller on Can1 List: active State: 0 Last Request: 1s (ticks) Time between polling ticks: 1000ms Last Poll Received: 0s (ticks) ago Poll Queue Length: 0 OBD polling is Resumed Enable logging for tag "vehicle-poll" and issue "poller trace on" or possibly "poller trace all" if that doesn't show the cause. Regards, Michael Am 30.10.24 um 22:55 schrieb didier--- via OvmsDev: Hi, I don't know what changed on my OVMS box, but I am no longer abl to read manually (in the shell) any PID with the "obdii can1 request...". I receive the tranmission failure error. But it used to work fine a couple of days ago. Other commands works great like "re obdii scan start...", so the connection with the OMVS box, communication on the OBD2 port, etc works fine. What could go wrong ? I tried to download the lasted image. Same error. Here is a session that I did : OVMS# re obdii scan start 1 7e4 dd00 de00 -r7ec Scan started: bus 1, ecu 7e4, rxid 7ec-7ec, polltype 22, PID dd00-de00 (step 1), timeout 3 seconds I (804831) webcommand: HttpCommandStream[0x3f8d76b0]: 3317288 bytes free, executing: re obdii scan start 1 7e4 dd00 de00 -r7ecI (810981) re-pid: Scan of 7e4 completeI (817271) webserver: HTTP POST /api/executeOVMS# re obdii scan statusScan complete (7e4 dd00-de00)Scan started : 2024-10-30 17:46:53 EDTLast response: 2024-10-30 17:46:53 EDT7e4[7ec]:dd00 70 e8 79 bb7e4[7ec]:dd01 01 1c f87e4[7ec]:dd02 3a7e4[7ec]:dd04 3d7e4[7ec]:dd05 3a7e4[7ec]:dd06 e77e4[7ec]:dd08 007e4[7ec]:dd09 00I (817271) webcommand: HttpCommandStream[0x3f8d7350]: 3314968 bytes free, executing: re obdii scan statusI (821941) webserver: HTTP POST /api/executeI (821941) webcommand: HttpCommandStream[0x3f8d7414]: 3318624 bytes free, executing: obdii can1 request device 7E4 7EC 22dd00OVMS# obdii can1 request device 7E4 7EC 22dd007e4[7ec] 22dd00: ERROR: transmission failure (CAN bus error) Didier _______________________________________________ OvmsDev mailing list OvmsDev@lists.openvehicles.com http://lists.openvehicles.com/mailman/listinfo/ovmsdev -- Michael Balzer * Am Rahmen 5 * D-58313 Herdecke Fon 02330 9104094 * Handy 0176 20698926 _______________________________________________ OvmsDev mailing list OvmsDev@lists.openvehicles.com http://lists.openvehicles.com/mailman/listinfo/ovmsdev _______________________________________________ OvmsDev mailing list OvmsDev@lists.openvehicles.com http://lists.openvehicles.com/mailman/listinfo/ovmsdev _______________________________________________ OvmsDev mailing list OvmsDev@lists.openvehicles.com http://lists.openvehicles.com/mailman/listinfo/ovmsdev
I just checked, and the 're' engine still uses its own thread and direct queue from the bus, so I don't think the poller was the problem. I think it was just that there was a missing 're' before the 're obdii' command. On the plus side, if I move the dbc parsing from the DBC Vehicle into the poller then the changes I just made are quite needed! //.ichael On Thu, 31 Oct 2024 at 14:57, Michael Balzer via OvmsDev < ovmsdev@lists.openvehicles.com> wrote:
Didier,
the error message tells the now separated poller isn't started and also cannot be started for the request.
Check "poller status":
OVMS# poller status Poller on Can1 List: active State: 0 Last Request: 1s (ticks) Time between polling ticks: 1000ms Last Poll Received: 0s (ticks) ago Poll Queue Length: 0 OBD polling is Resumed
Enable logging for tag "vehicle-poll" and issue "poller trace on" or possibly "poller trace all" if that doesn't show the cause.
Regards, Michael
Am 30.10.24 um 22:55 schrieb didier--- via OvmsDev:
Hi,
I don't know what changed on my OVMS box, but I am no longer abl to read manually (in the shell) any PID with the "obdii can1 request...". I receive the tranmission failure error. But it used to work fine a couple of days ago. Other commands works great like "re obdii scan start...", so the connection with the OMVS box, communication on the OBD2 port, etc works fine. What could go wrong ? I tried to download the lasted image. Same error.
Here is a session that I did :
*OVMS#* re obdii scan start 1 7e4 dd00 de00 -r7ec Scan started: bus 1, ecu 7e4, rxid 7ec-7ec, polltype 22, PID dd00-de00 (step 1), timeout 3 seconds I (804831) webcommand: HttpCommandStream[0x3f8d76b0]: 3317288 bytes free, executing: re obdii scan start 1 7e4 dd00 de00 -r7ec I (810981) re-pid: Scan of 7e4 complete I (817271) webserver: HTTP POST /api/execute *OVMS#* re obdii scan status Scan complete (7e4 dd00-de00) Scan started : 2024-10-30 17:46:53 EDT Last response: 2024-10-30 17:46:53 EDT 7e4[7ec]:dd00 70 e8 79 bb 7e4[7ec]:dd01 01 1c f8 7e4[7ec]:dd02 3a 7e4[7ec]:dd04 3d 7e4[7ec]:dd05 3a 7e4[7ec]:dd06 e7 7e4[7ec]:dd08 00 7e4[7ec]:dd09 00 I (817271) webcommand: HttpCommandStream[0x3f8d7350]: 3314968 bytes free, executing: re obdii scan status I (821941) webserver: HTTP POST /api/execute I (821941) webcommand: HttpCommandStream[0x3f8d7414]: 3318624 bytes free, executing: obdii can1 request device 7E4 7EC 22dd00 *OVMS#* obdii can1 request device 7E4 7EC 22dd00 7e4[7ec] 22dd00: ERROR: transmission failure (CAN bus error)
Didier
_______________________________________________ OvmsDev mailing listOvmsDev@lists.openvehicles.comhttp://lists.openvehicles.com/mailman/listinfo/ovmsdev
-- Michael Balzer * Am Rahmen 5 * D-58313 Herdecke Fon 02330 9104094 * Handy 0176 20698926
_______________________________________________ OvmsDev mailing list OvmsDev@lists.openvehicles.com http://lists.openvehicles.com/mailman/listinfo/ovmsdev
Michael & Didier, there is no "re obdii" request command, the toplevel "obdii" request command is meant for single requests via the poller, it's also available via Duktape as "OvmsVehicle.ObdRequest()". Both use the vehicle poller, not the RE framework. But… Am 02.11.24 um 14:44 schrieb didier--- via OvmsDev:
Since the can1 is active at boot up time I don't even use this command.
…that's not correct. can1 isn't automatically started. Regards, Michael Am 03.11.24 um 01:09 schrieb Michael Geddes via OvmsDev:
I just checked, and the 're' engine still uses its own thread and direct queue from the bus, so I don't think the poller was the problem. I think it was just that there was a missing 're' before the 're obdii' command.
On the plus side, if I move the dbc parsing from the DBC Vehicle into the poller then the changes I just made are quite needed!
//.ichael
On Thu, 31 Oct 2024 at 14:57, Michael Balzer via OvmsDev <ovmsdev@lists.openvehicles.com> wrote:
Didier,
the error message tells the now separated poller isn't started and also cannot be started for the request.
Check "poller status":
OVMS# poller status Poller on Can1 List: active State: 0 Last Request: 1s (ticks) Time between polling ticks: 1000ms Last Poll Received: 0s (ticks) ago Poll Queue Length: 0 OBD polling is Resumed
Enable logging for tag "vehicle-poll" and issue "poller trace on" or possibly "poller trace all" if that doesn't show the cause.
Regards, Michael
Am 30.10.24 um 22:55 schrieb didier--- via OvmsDev:
Hi,
I don't know what changed on my OVMS box, but I am no longer abl to read manually (in the shell) any PID with the "obdii can1 request...". I receive the tranmission failure error. But it used to work fine a couple of days ago. Other commands works great like "re obdii scan start...", so the connection with the OMVS box, communication on the OBD2 port, etc works fine. What could go wrong ? I tried to download the lasted image. Same error.
Here is a session that I did :
*OVMS#* re obdii scan start 1 7e4 dd00 de00 -r7ec Scan started: bus 1, ecu 7e4, rxid 7ec-7ec, polltype 22, PID dd00-de00 (step 1), timeout 3 seconds I (804831) webcommand: HttpCommandStream[0x3f8d76b0]: 3317288 bytes free, executing: re obdii scan start 1 7e4 dd00 de00 -r7ec I (810981) re-pid: Scan of 7e4 complete I (817271) webserver: HTTP POST /api/execute *OVMS#* re obdii scan status Scan complete (7e4 dd00-de00) Scan started : 2024-10-30 17:46:53 EDT Last response: 2024-10-30 17:46:53 EDT 7e4[7ec]:dd00 70 e8 79 bb 7e4[7ec]:dd01 01 1c f8 7e4[7ec]:dd02 3a 7e4[7ec]:dd04 3d 7e4[7ec]:dd05 3a 7e4[7ec]:dd06 e7 7e4[7ec]:dd08 00 7e4[7ec]:dd09 00 I (817271) webcommand: HttpCommandStream[0x3f8d7350]: 3314968 bytes free, executing: re obdii scan status I (821941) webserver: HTTP POST /api/execute I (821941) webcommand: HttpCommandStream[0x3f8d7414]: 3318624 bytes free, executing: obdii can1 request device 7E4 7EC 22dd00 *OVMS#* obdii can1 request device 7E4 7EC 22dd00 7e4[7ec] 22dd00: ERROR: transmission failure (CAN bus error) Didier
_______________________________________________ OvmsDev mailing list OvmsDev@lists.openvehicles.com http://lists.openvehicles.com/mailman/listinfo/ovmsdev
-- Michael Balzer * Am Rahmen 5 * D-58313 Herdecke Fon 02330 9104094 * Handy 0176 20698926
_______________________________________________ OvmsDev mailing list OvmsDev@lists.openvehicles.com http://lists.openvehicles.com/mailman/listinfo/ovmsdev
_______________________________________________ OvmsDev mailing list OvmsDev@lists.openvehicles.com http://lists.openvehicles.com/mailman/listinfo/ovmsdev
-- Michael Balzer * Am Rahmen 5 * D-58313 Herdecke Fon 02330 9104094 * Handy 0176 20698926
Arghh. Sorry. Not sure what I was looking at. I'll have a fix for starting the can bus from the command line. Is there a duktape command as well? //. On Sun, 3 Nov 2024, 15:23 Michael Balzer via OvmsDev, < ovmsdev@lists.openvehicles.com> wrote:
Michael & Didier,
there is no "re obdii" request command, the toplevel "obdii" request command is meant for single requests via the poller, it's also available via Duktape as "OvmsVehicle.ObdRequest()".
Both use the vehicle poller, not the RE framework.
But…
Am 02.11.24 um 14:44 schrieb didier--- via OvmsDev:
Since the can1 is active at boot up time I don't even use this command.
…that's not correct. can1 isn't automatically started.
Regards, Michael
Am 03.11.24 um 01:09 schrieb Michael Geddes via OvmsDev:
I just checked, and the 're' engine still uses its own thread and direct queue from the bus, so I don't think the poller was the problem. I think it was just that there was a missing 're' before the 're obdii' command.
On the plus side, if I move the dbc parsing from the DBC Vehicle into the poller then the changes I just made are quite needed!
//.ichael
On Thu, 31 Oct 2024 at 14:57, Michael Balzer via OvmsDev < ovmsdev@lists.openvehicles.com> wrote:
Didier,
the error message tells the now separated poller isn't started and also cannot be started for the request.
Check "poller status":
OVMS# poller status Poller on Can1 List: active State: 0 Last Request: 1s (ticks) Time between polling ticks: 1000ms Last Poll Received: 0s (ticks) ago Poll Queue Length: 0 OBD polling is Resumed
Enable logging for tag "vehicle-poll" and issue "poller trace on" or possibly "poller trace all" if that doesn't show the cause.
Regards, Michael
Am 30.10.24 um 22:55 schrieb didier--- via OvmsDev:
Hi,
I don't know what changed on my OVMS box, but I am no longer abl to read manually (in the shell) any PID with the "obdii can1 request...". I receive the tranmission failure error. But it used to work fine a couple of days ago. Other commands works great like "re obdii scan start...", so the connection with the OMVS box, communication on the OBD2 port, etc works fine. What could go wrong ? I tried to download the lasted image. Same error.
Here is a session that I did :
*OVMS#* re obdii scan start 1 7e4 dd00 de00 -r7ec Scan started: bus 1, ecu 7e4, rxid 7ec-7ec, polltype 22, PID dd00-de00 (step 1), timeout 3 seconds I (804831) webcommand: HttpCommandStream[0x3f8d76b0]: 3317288 bytes free, executing: re obdii scan start 1 7e4 dd00 de00 -r7ec I (810981) re-pid: Scan of 7e4 complete I (817271) webserver: HTTP POST /api/execute *OVMS#* re obdii scan status Scan complete (7e4 dd00-de00) Scan started : 2024-10-30 17:46:53 EDT Last response: 2024-10-30 17:46:53 EDT 7e4[7ec]:dd00 70 e8 79 bb 7e4[7ec]:dd01 01 1c f8 7e4[7ec]:dd02 3a 7e4[7ec]:dd04 3d 7e4[7ec]:dd05 3a 7e4[7ec]:dd06 e7 7e4[7ec]:dd08 00 7e4[7ec]:dd09 00 I (817271) webcommand: HttpCommandStream[0x3f8d7350]: 3314968 bytes free, executing: re obdii scan status I (821941) webserver: HTTP POST /api/execute I (821941) webcommand: HttpCommandStream[0x3f8d7414]: 3318624 bytes free, executing: obdii can1 request device 7E4 7EC 22dd00 *OVMS#* obdii can1 request device 7E4 7EC 22dd00 7e4[7ec] 22dd00: ERROR: transmission failure (CAN bus error)
Didier
_______________________________________________ OvmsDev mailing listOvmsDev@lists.openvehicles.comhttp://lists.openvehicles.com/mailman/listinfo/ovmsdev
-- Michael Balzer * Am Rahmen 5 * D-58313 Herdecke <https://www.google.com/maps/search/Am+Rahmen+5+*+D-58313+Herdecke?entry=gmail&source=g> Fon 02330 9104094 * Handy 0176 20698926
_______________________________________________ OvmsDev mailing list OvmsDev@lists.openvehicles.com http://lists.openvehicles.com/mailman/listinfo/ovmsdev
_______________________________________________ OvmsDev mailing listOvmsDev@lists.openvehicles.comhttp://lists.openvehicles.com/mailman/listinfo/ovmsdev
-- Michael Balzer * Am Rahmen 5 * D-58313 Herdecke <https://www.google.com/maps/search/Am+Rahmen+5+*+D-58313+Herdecke?entry=gmail&source=g> Fon 02330 9104094 * Handy 0176 20698926
_______________________________________________ OvmsDev mailing list OvmsDev@lists.openvehicles.com http://lists.openvehicles.com/mailman/listinfo/ovmsdev
Hey, I think that last command was meant to be: re obdii can1 ..... you left off the 're' bit. //. On Thu, 31 Oct 2024 at 05:56, didier--- via OvmsDev < ovmsdev@lists.openvehicles.com> wrote:
Hi,
I don't know what changed on my OVMS box, but I am no longer abl to read manually (in the shell) any PID with the "obdii can1 request...". I receive the tranmission failure error. But it used to work fine a couple of days ago. Other commands works great like "re obdii scan start...", so the connection with the OMVS box, communication on the OBD2 port, etc works fine. What could go wrong ? I tried to download the lasted image. Same error.
Here is a session that I did :
*OVMS#* re obdii scan start 1 7e4 dd00 de00 -r7ec Scan started: bus 1, ecu 7e4, rxid 7ec-7ec, polltype 22, PID dd00-de00 (step 1), timeout 3 seconds I (804831) webcommand: HttpCommandStream[0x3f8d76b0]: 3317288 bytes free, executing: re obdii scan start 1 7e4 dd00 de00 -r7ec I (810981) re-pid: Scan of 7e4 complete I (817271) webserver: HTTP POST /api/execute *OVMS#* re obdii scan status Scan complete (7e4 dd00-de00) Scan started : 2024-10-30 17:46:53 EDT Last response: 2024-10-30 17:46:53 EDT 7e4[7ec]:dd00 70 e8 79 bb 7e4[7ec]:dd01 01 1c f8 7e4[7ec]:dd02 3a 7e4[7ec]:dd04 3d 7e4[7ec]:dd05 3a 7e4[7ec]:dd06 e7 7e4[7ec]:dd08 00 7e4[7ec]:dd09 00 I (817271) webcommand: HttpCommandStream[0x3f8d7350]: 3314968 bytes free, executing: re obdii scan status I (821941) webserver: HTTP POST /api/execute I (821941) webcommand: HttpCommandStream[0x3f8d7414]: 3318624 bytes free, executing: obdii can1 request device 7E4 7EC 22dd00 *OVMS#* obdii can1 request device 7E4 7EC 22dd00 7e4[7ec] 22dd00: ERROR: transmission failure (CAN bus error)
Didier _______________________________________________ OvmsDev mailing list OvmsDev@lists.openvehicles.com http://lists.openvehicles.com/mailman/listinfo/ovmsdev
participants (3)
-
didier@ernotte.com -
Michael Balzer -
Michael Geddes