diff --git a/include/phevargs.h b/include/phevargs.h index d5e08b2..b5b1a63 100644 --- a/include/phevargs.h +++ b/include/phevargs.h @@ -17,7 +17,7 @@ #define CHARGING_STATUS "chargestatus" #define HVAC_STATUS "hvac" #define UPDATE "update" -#define REMAINING_CHARGING_STATUS "remaningchargestatus" +#define REMAINING_CHARGING_STATUS "remainingchargestatus" #define AIRCON "aircon" #define AIRCON_MODE "acmode" #define TEST_MODE "test" diff --git a/main.c b/main.c index af46b30..2b2ef0a 100644 --- a/main.c +++ b/main.c @@ -292,6 +292,7 @@ int main(int argc, char *argv[]) phevSettings_t settings = { .host = opts->host, .mac = opts->mac, + .numerical = true, .port = opts->port, .registerDevice = (opts->command == CMD_REGISTER ? true : false), .handler = main_eventHandler,