[Ovmsdev] Server v3, proof-of-concept
mark at webb-johnson.net
Sat Jan 20 15:56:04 HKT 2018
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.
> On 19 Jan 2018, at 6:58 PM, Geir Øyvind Vælidalo <geir at 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,
>> 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 at lists.teslaclub.hk
> OvmsDev mailing list
> OvmsDev at lists.teslaclub.hk
More information about the OvmsDev