[Ovmsdev] Server v3, proof-of-concept

Mark Webb-Johnson mark at webb-johnson.net
Sun Jan 21 23:22:48 HKT 2018


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 at 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 at webb-johnson.net <mailto:mark at 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 at validalo.net <mailto: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,
>>> 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 at lists.teslaclub.hk <mailto:OvmsDev at lists.teslaclub.hk>
>>>> http://lists.teslaclub.hk/mailman/listinfo/ovmsdev
>>>> 
>>> 
>>> 
>>> _______________________________________________
>>> OvmsDev mailing list
>>> OvmsDev at lists.teslaclub.hk <mailto:OvmsDev at lists.teslaclub.hk>
>>> http://lists.teslaclub.hk/mailman/listinfo/ovmsdev
>> 
>> _______________________________________________
>> OvmsDev mailing list
>> OvmsDev at lists.teslaclub.hk <mailto:OvmsDev at lists.teslaclub.hk>
>> http://lists.teslaclub.hk/mailman/listinfo/ovmsdev
> 
> _______________________________________________
> OvmsDev mailing list
> OvmsDev at lists.teslaclub.hk
> http://lists.teslaclub.hk/mailman/listinfo/ovmsdev

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openvehicles.com/pipermail/ovmsdev/attachments/20180121/7d0595d9/attachment.htm>


More information about the OvmsDev mailing list