Mike Bishop

Results 186 comments of Mike Bishop

@KirkKirk, why doesn't Car2 report the VIN? If it's not a Tesla, we presumably have no easy way to fetch the current charge level. If it's an older TWC that...

Currently, I don't believe so; the policies respond to things which can be evaluated, and there's no generic way to set a value it would act on by MQTT. An...

The latter is what I do for case 1; I'm using an EMS module that can see the battery, so it just requires this: "restrictions": { "Track Green Energy": {...

No, the VIN is only for Tesla. But if *you* only have Teslas and put their VINs as the only ones allowed to charge, then getting a non-Tesla vehicle (VIN...

Part of the issue is that we have 2-6 different ways we can arrive at the limit. There's currently code to try to "retcon" them into one computation for display...

IIRC, there's code to handle the report from the slave of the car's VIN, but nothing is done with it and we never ask the slave for this data.

@nean-and-i, to your last question, if a non-Tesla car is charging the result will be all zeros.

FWIW, the `commentjson` module does allow comments, though I know they're non-standard. What I do is use a Find/Replace to remove the comments temporarily, see what the validation complains about,...

I haven't tried a setup with `fakemaster=2`, so I'll need to defer to @ngardiner on that. And it's entirely possibly one of my contributions broke something there, because that's not...

BTW, @ngardiner, I kept the current behavior of considering an empty string to be valid, but I'm not totally sure what that's for. I see a few empty-string charging sessions,...