Yea !
You just now need to do a translation
Yea !
You just now need to do a translation
yes, I will do it.
Good job !
i have also my Apple Watch working
I also got this working (for e-Niro) using the Telegram bot. Kudos @pIord! I must say that you have made a fantastic work. So happy that you shared this with the community. It’s hard to understand that Hyundai/Kia did not manage to put out a service/app when @plord manages this from his couch
One thing I noticed is that I get a lower value for current charging speed than what is showing in the car. Not a big issue, the most important thing is to know if the car is charging or not.
Yes - here we are measure the charging rate at the battery ( ie battery voltage * battery current ) - there is some power loss ( maybe 10% ) in the on board charger, cables etc.
It should be possible to measure the power going in to the on board charger, but I’ve not yet seen anyone work that out.
I’m a developer but I’m new to Python. Where can I find a list of available modules? I want to do MQTT with the result of the work in this thread. I assume that I have to install a new module on the rpi?!
Suggestion to the notification levels. I want data more often
Replace the 80% and 100% code with the following code to get a notification at each percent
# each % alert
#
lastsoc = persistance['SOC']
for level in xrange(1, 100):
if soc >= level and lastsoc < level:
bot_sendtext("Charging now at a rate of "+format(batt_power,'.2f')+"kW. State of charge now "+format(soc,'.1f')+"%")
break
I want to extend the battery information with temperature etc. I know the Torque Pro information is on github but I don’t know how to convert the formulas. Especially the data positions (like Q, R, S, T) in the result. I have seen a post describing this but I can’t find it. Anyone has a link to that post?
How is this row converted to AutoPi/Python formula?
000_Battery Module 01 Temperature Batt Temp01 0x220101 Signed(Q) -40 80 C 7E4
So same a kona - we have in the library -
Batt_Temp1
Battery Module 1 Temperature
220
101
7E4
64
twos_comp(bytes_to_int(message.data[19:20]),8)
deg
-40
80
There it was… Thanx. Now its bookmarked
When I look in the community library I find no Kona EV PID for Battery Temperature. Did you mean the docs on GitHub?
By the way, it looks like all PIDs are the same for Kona EV and e-Niro. Nice!
Strange, I’m not sure why you aren’t seeing them -
Not so strange. I was filtering on 2019 and not 2018
i not understand Kona 2019, only make confusing people … @Malte is useful remove and use only year of every models, for Kona 1 gen only 2018
Yeah, I see what you mean.
To do this, however, we will have to extend our modelling of car makes, models, series and years, so unfortunately it’s as easy as we’d like it to be.
I have added a task to our backlog so that I can discuss it further with the team.
Best regards
/Malte
Hi all! Telegram works very well. Just wanted to share an idea. Its just as easy to use IFTTT with webhooks to do almost anything. I just set up a webhook on IFTTT and connected it to my home automation system (Telldus Z-Wave). Resulting in turning a light on and off when charging starts or stops
Simple python code for sending webhook to IFTTT
# send message to ifttt
#
def ifttt_sendevent():
requests.get('https://maker.ifttt.com/trigger/ev_charge_start/with/key/your_webhook_key')
Nice idea
Nice work plord. I just want to let you know that I am using your code for my e-Niro, work great. My next quest is to get this into my Home Assistant.
Umm if you use the API, you can already get the data into Home Assistant:
Well, this is in Slovenian but you get the point
For info: currently I’m using Node-Red to get the data and it posts results to MQTT. I can use the MQTT messages in multiple systems at the same time then.
Hello
Can you explain how do you do it ?
Thanks
Sure, I’ll open a new topic tomorrow. Too late for today
Warning in advance: it’s not pretty, but it works
I’ve added some improvements to the script including -
I’ll post script in a few days when back home.