Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
wiki:misc:ovms [2020/07/28 13:23] – jaxx | misc:ovms [2021/02/08 22:35] (current) – [Fun with NodeRed] jaxx | ||
---|---|---|---|
Line 1: | Line 1: | ||
+ | ====== M5 Stack websocket client and display ====== | ||
+ | |||
+ | The OVMS has Wifi and also exposes a websocket server from which you can stream metrics from. | ||
+ | I've glued together some [[misc: | ||
+ | |||
+ | The buttons also allow to trigger hand crafted events that end up being managed by some javascript code in NodeRed (that subscribes to the MQTT broker used by the Protocol V3 stack in OVMS) | ||
+ | |||
+ | {{ : | ||
+ | |||
+ | ====== ABRP Plugin for OVMS ====== | ||
+ | |||
The ABRP plugin and explanations for OVMS can be found [[https:// | The ABRP plugin and explanations for OVMS can be found [[https:// | ||
Beyond setting your car model with '' | Beyond setting your car model with '' | ||
+ | |||
+ | ===== ABRP GET bounce ===== | ||
+ | |||
The URL will point to code that looks a bit like this: | The URL will point to code that looks a bit like this: | ||
Line 25: | Line 39: | ||
); | ); | ||
- | file_get_contents($URL.'?' | + | file_get_contents($URL.'?' |
//echo " | //echo " | ||
</ | </ | ||
- | the libTorque.php used to be old code to parse the crazy stuff that the android Torque app used (with a Bluetooth OBD dongle)... because it started by sending data to inform on how to parse subsequent url calls... (where the ABRP plugin directly embedded in the OVMS has much easier to parse data) but at least you can start having | + | the libTorque.php used to be old code to parse the crazy stuff that the android Torque app used (with a Bluetooth OBD dongle)... because it started by sending data to inform on how to parse subsequent url calls... (where the ABRP plugin directly embedded in the OVMS has much easier to parse data) : |
+ | |||
+ | < | ||
+ | 37.164.143.zz - - [28/ | ||
+ | </ | ||
+ | |||
+ | The '' | ||
+ | < | ||
+ | tlm={" | ||
+ | </ | ||
+ | |||
+ | but here's the old stuff: | ||
<code php> | <code php> | ||
Line 137: | Line 162: | ||
} | } | ||
</ | </ | ||
+ | |||
+ | ====== OVMS V3 Protocol ====== | ||
+ | |||
Since, I have simply configured a [[https:// | Since, I have simply configured a [[https:// | ||
Line 271: | Line 299: | ||
- | {{ :wiki:misc: | + | {{ misc: |
Easier to understand, here's what's inside mqtt2influx: | Easier to understand, here's what's inside mqtt2influx: | ||
Line 305: | Line 333: | ||
Once you're all set, you can get precise metric data and plot it over in your Chronograf dashboard: | Once you're all set, you can get precise metric data and plot it over in your Chronograf dashboard: | ||
- | {{ :wiki:misc: | + | {{ misc: |
+ | |||
+ | Or even nicer with Grafana | ||
+ | |||
+ | {{ : | ||
+ | |||
+ | {{ : | ||
+ | |||
+ | ====== Fun with NodeRed ====== | ||
+ | |||
+ | {{ : | ||
+ | |||
+ | I ended up with the first [[https:// | ||
+ | |||
+ | [[misc: |