I’ve committed a proof-of-concept for the server v3. Trying to keep this to just simple pure MQTT, so it can operate with any standard MQTT server. Of course, we’ll need our own api conventions on top of MQTT, but the basic metrics should work with any standard client/server. Screenshot below is from MQTTInspector on iPad, and I’m using a mosquito server. Don’t try this over cellular, as it currently sends metrics in real time as they change. For the final implementation, we’ll poll them in a similar way to v2 and only send changed ones once every N minutes. Regards, Mark
Nice, Mark! I look forward to test this :-) Regarding the sending frequency, for both V2 and V3, could we have it user definable? I have quite a large amount of data on my subscription, and would like OVMS to send data to the server as often as possible. I was think once every N seconds. Default could of course be once every N minutes, but I'd like the possibility to send updates more often Best regards, Geir
Iâve committed a proof-of-concept for the server v3. Trying to keep this to just simple pure MQTT, so it can operate with any standard MQTT server.
Of course, weâll need our own api conventions on top of MQTT, but the basic metrics should work with any standard client/server. Screenshot below is from MQTTInspector on iPad, and Iâm using a mosquito server.
Donât try this over cellular, as it currently sends metrics in real time as they change. For the final implementation, weâll poll them in a similar way to v2 and only send changed ones once every N minutes.
Regards, Mark
_______________________________________________ OvmsDev mailing list OvmsDev@lists.teslaclub.hk http://lists.teslaclub.hk/mailman/listinfo/ovmsdev
Sure. Done. Please note that we also want to limit the impact on the server these updates make. But, that can presumably be handled at the server side (which should never trust the clients anyway). I’ve also implemented the periodic updates for v3 server connections. Seems much better now. Regards, Mark.
On 19 Jan 2018, at 6:58 PM, Geir Øyvind Vælidalo <geir@validalo.net> wrote:
Nice, Mark!
I look forward to test this :-)
Regarding the sending frequency, for both V2 and V3, could we have it user definable? I have quite a large amount of data on my subscription, and would like OVMS to send data to the server as often as possible. I was think once every N seconds. Default could of course be once every N minutes, but I'd like the possibility to send updates more often
Best regards, Geir
Iâve committed a proof-of-concept for the server v3. Trying to keep this to just simple pure MQTT, so it can operate with any standard MQTT server.
Of course, weâll need our own api conventions on top of MQTT, but the basic metrics should work with any standard client/server. Screenshot below is from MQTTInspector on iPad, and Iâm using a mosquito server.
Donât try this over cellular, as it currently sends metrics in real time as they change. For the final implementation, weâll poll them in a similar way to v2 and only send changed ones once every N minutes.
Regards, Mark
_______________________________________________ OvmsDev mailing list OvmsDev@lists.teslaclub.hk http://lists.teslaclub.hk/mailman/listinfo/ovmsdev
_______________________________________________ OvmsDev mailing list OvmsDev@lists.teslaclub.hk http://lists.teslaclub.hk/mailman/listinfo/ovmsdev
Thanks Mark 🙂 Now I need to install Mosquito or similar. Just wish I had more time… Geir
20. jan. 2018 kl. 08:56 skrev Mark Webb-Johnson <mark@webb-johnson.net>:
Sure. Done.
Please note that we also want to limit the impact on the server these updates make. But, that can presumably be handled at the server side (which should never trust the clients anyway).
I’ve also implemented the periodic updates for v3 server connections. Seems much better now.
Regards, Mark.
On 19 Jan 2018, at 6:58 PM, Geir Øyvind Vælidalo <geir@validalo.net> wrote:
Nice, Mark!
I look forward to test this :-)
Regarding the sending frequency, for both V2 and V3, could we have it user definable? I have quite a large amount of data on my subscription, and would like OVMS to send data to the server as often as possible. I was think once every N seconds. Default could of course be once every N minutes, but I'd like the possibility to send updates more often
Best regards, Geir
Iâve committed a proof-of-concept for the server v3. Trying to keep this to just simple pure MQTT, so it can operate with any standard MQTT server.
Of course, weâll need our own api conventions on top of MQTT, but the basic metrics should work with any standard client/server. Screenshot below is from MQTTInspector on iPad, and Iâm using a mosquito server.
Donât try this over cellular, as it currently sends metrics in real time as they change. For the final implementation, weâll poll them in a similar way to v2 and only send changed ones once every N minutes.
Regards, Mark
_______________________________________________ OvmsDev mailing list OvmsDev@lists.teslaclub.hk http://lists.teslaclub.hk/mailman/listinfo/ovmsdev
_______________________________________________ OvmsDev mailing list OvmsDev@lists.teslaclub.hk http://lists.teslaclub.hk/mailman/listinfo/ovmsdev
_______________________________________________ OvmsDev mailing list OvmsDev@lists.teslaclub.hk http://lists.teslaclub.hk/mailman/listinfo/ovmsdev
You can use one of the public MQTT servers. Adafruit has a good one (with custom dashboards). Regards, Mark
On 21 Jan 2018, at 2:19 AM, Geir Øyvind Vælidalo <geir@validalo.net> wrote:
Thanks Mark 🙂 Now I need to install Mosquito or similar. Just wish I had more time…
Geir
20. jan. 2018 kl. 08:56 skrev Mark Webb-Johnson <mark@webb-johnson.net <mailto:mark@webb-johnson.net>>:
Sure. Done.
Please note that we also want to limit the impact on the server these updates make. But, that can presumably be handled at the server side (which should never trust the clients anyway).
I’ve also implemented the periodic updates for v3 server connections. Seems much better now.
Regards, Mark.
On 19 Jan 2018, at 6:58 PM, Geir Øyvind Vælidalo <geir@validalo.net <mailto:geir@validalo.net>> wrote:
Nice, Mark!
I look forward to test this :-)
Regarding the sending frequency, for both V2 and V3, could we have it user definable? I have quite a large amount of data on my subscription, and would like OVMS to send data to the server as often as possible. I was think once every N seconds. Default could of course be once every N minutes, but I'd like the possibility to send updates more often
Best regards, Geir
Iâve committed a proof-of-concept for the server v3. Trying to keep this to just simple pure MQTT, so it can operate with any standard MQTT server.
Of course, weâll need our own api conventions on top of MQTT, but the basic metrics should work with any standard client/server. Screenshot below is from MQTTInspector on iPad, and Iâm using a mosquito server.
Donât try this over cellular, as it currently sends metrics in real time as they change. For the final implementation, weâll poll them in a similar way to v2 and only send changed ones once every N minutes.
Regards, Mark
_______________________________________________ OvmsDev mailing list OvmsDev@lists.teslaclub.hk <mailto:OvmsDev@lists.teslaclub.hk> http://lists.teslaclub.hk/mailman/listinfo/ovmsdev
_______________________________________________ OvmsDev mailing list OvmsDev@lists.teslaclub.hk <mailto:OvmsDev@lists.teslaclub.hk> http://lists.teslaclub.hk/mailman/listinfo/ovmsdev
_______________________________________________ OvmsDev mailing list OvmsDev@lists.teslaclub.hk <mailto:OvmsDev@lists.teslaclub.hk> http://lists.teslaclub.hk/mailman/listinfo/ovmsdev
_______________________________________________ OvmsDev mailing list OvmsDev@lists.teslaclub.hk http://lists.teslaclub.hk/mailman/listinfo/ovmsdev
Oh… Thanks for the tip! I’ll check that one out. Best regards, Geir
21. jan. 2018 kl. 16:22 skrev Mark Webb-Johnson <mark@webb-johnson.net>:
You can use one of the public MQTT servers. Adafruit has a good one (with custom dashboards).
Regards, Mark
On 21 Jan 2018, at 2:19 AM, Geir Øyvind Vælidalo <geir@validalo.net <mailto:geir@validalo.net>> wrote:
Thanks Mark 🙂 Now I need to install Mosquito or similar. Just wish I had more time…
Geir
20. jan. 2018 kl. 08:56 skrev Mark Webb-Johnson <mark@webb-johnson.net <mailto:mark@webb-johnson.net>>:
Sure. Done.
Please note that we also want to limit the impact on the server these updates make. But, that can presumably be handled at the server side (which should never trust the clients anyway).
I’ve also implemented the periodic updates for v3 server connections. Seems much better now.
Regards, Mark.
On 19 Jan 2018, at 6:58 PM, Geir Øyvind Vælidalo <geir@validalo.net <mailto:geir@validalo.net>> wrote:
Nice, Mark!
I look forward to test this :-)
Regarding the sending frequency, for both V2 and V3, could we have it user definable? I have quite a large amount of data on my subscription, and would like OVMS to send data to the server as often as possible. I was think once every N seconds. Default could of course be once every N minutes, but I'd like the possibility to send updates more often
Best regards, Geir
Iâve committed a proof-of-concept for the server v3. Trying to keep this to just simple pure MQTT, so it can operate with any standard MQTT server.
Of course, weâll need our own api conventions on top of MQTT, but the basic metrics should work with any standard client/server. Screenshot below is from MQTTInspector on iPad, and Iâm using a mosquito server.
Donât try this over cellular, as it currently sends metrics in real time as they change. For the final implementation, weâll poll them in a similar way to v2 and only send changed ones once every N minutes.
Regards, Mark
_______________________________________________ OvmsDev mailing list OvmsDev@lists.teslaclub.hk <mailto:OvmsDev@lists.teslaclub.hk> http://lists.teslaclub.hk/mailman/listinfo/ovmsdev <http://lists.teslaclub.hk/mailman/listinfo/ovmsdev>
_______________________________________________ OvmsDev mailing list OvmsDev@lists.teslaclub.hk <mailto:OvmsDev@lists.teslaclub.hk> http://lists.teslaclub.hk/mailman/listinfo/ovmsdev <http://lists.teslaclub.hk/mailman/listinfo/ovmsdev>
_______________________________________________ OvmsDev mailing list OvmsDev@lists.teslaclub.hk <mailto:OvmsDev@lists.teslaclub.hk> http://lists.teslaclub.hk/mailman/listinfo/ovmsdev <http://lists.teslaclub.hk/mailman/listinfo/ovmsdev>
_______________________________________________ OvmsDev mailing list OvmsDev@lists.teslaclub.hk <mailto:OvmsDev@lists.teslaclub.hk> http://lists.teslaclub.hk/mailman/listinfo/ovmsdev
_______________________________________________ OvmsDev mailing list OvmsDev@lists.teslaclub.hk http://lists.teslaclub.hk/mailman/listinfo/ovmsdev
participants (2)
-
Geir Øyvind Vælidalo -
Mark Webb-Johnson