meatpiHQ / wican-fw

GNU General Public License v3.0
283 stars 52 forks source link

Feature Request: Encrypted MQTT #130

Open DerHerrW opened 3 months ago

DerHerrW commented 3 months ago

Hello,

i use a WiCAN to read out the odometer and SOC from an e-up! and transfer the SOC to my OpenWB and feed data to spritmonitor.de. This works for several months now: https://forum.openwb.de/viewtopic.php?t=7451 (german) and can easily be extendet to work with other cars.

The OpenWallbox team is working to harden the MQTT broker of the wallbox. There is a plan to disable unencrypted connections to the broker running on the wallbox . I use this broker to communicate with the WiCAN. Only allowing encrypted connections would require to set up and use an additional mqtt broker in the network, which I could do, but other users of my project could not.

Is there a plan to enable encrypted mqtt connections on the WiCAN? I would very much appreciate that.

PS: The latest firmware with the option to enter mqtt prefixes for topics has come to the rescue for the intermediate time. Thanks!

meatpiHQ commented 3 months ago

@DerHerrW I plan to add secure MQTT to WiCAN firmware, but I'm not sure it will be supported on the C3 version, because of the ram limitations, it will need a lot of optimisation I'll try my best to make it happen.

The OpenWallbox runs a MQTT broker in the local network right?

DerHerrW commented 3 months ago

The OpenWallbox runs a MQTT broker in the local network right?

Thanks for coming back on this - yes, the OpenWB runs in the local network. It has the possibility to configure an MQTT bridge, but I think this does not matter.

meatpiHQ commented 3 months ago

@DerHerrW Keep an eye for future firmware release, not sure when I will add this I still have a lot of features backlog.