OpenEVSE / openevse_esp32_firmware

OpenEVSE V4 WiFi gateway using ESP32
171 stars 112 forks source link

Station Serial Number #218

Closed chris1howell closed 2 years ago

chris1howell commented 3 years ago

Devoloper Mode should allow a set once (If null) feature to assign the station, port and meter serial numbers. Wiping would require full FLASH/EEPROM erase.

This serial number should be avaliable in the HTTP configuration info, MQTT announce and sent via OCPP.

jeremypoulter commented 3 years ago

Is this something that should go into the OpenEVSE flash?

jeremypoulter commented 3 years ago

@chris1howell Can you comment on if these should be in the OpenEVSE flash? Maybe just the meter serial number? but can you also clarify what the difference between each of these is?

Realistically how secure do these values need to be? Is just writing to the flash and blocking in software sufficient? or do we been to depend on hardware features to protect from changes, eg use the eFUSE on the ESP32?

glynhudson commented 3 years ago

Can the ESP serial number be used for this? I guess this could cause issues if the WiFi module was changed / upgraded?

chris1howell commented 3 years ago

The connector serial number should be the controller, same with the power meter unless another external power meter is used. The chassis serial number can be stored wherever we choose.

On Mon, Jul 26, 2021, 11:36 AM Glyn Hudson @.***> wrote:

Can the ESP serial number be used for this? I guess this could cause issues if the WiFi module was changed / upgraded?

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/OpenEVSE/ESP32_WiFi_V4.x/issues/218#issuecomment-886810017, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAN5QHYQWNKYNAH6YMFZGKDTZV6JNANCNFSM5AT32RIA .

jeremypoulter commented 3 years ago

I think in our context the meter is the OpenEVSE and also in the future we should have multiple OpenEVSE per WiFi module, so I would propose the following:

Is this acceptable?

jeremypoulter commented 3 years ago

https://gist.github.com/speters/f889faec42b510052a6ab4be437d38ca

jeremypoulter commented 3 years ago

https://github.com/ricaun/ArduinoUniqueID