Hi
i have trouble with getting the batteristatus 8% written to a variable. How do i pick this value?
Response from „print_r ( IMAP_GetMailEx ( 50675 , ‚42602‘ ) ) ;“ looks like this:
Array
(
[ContentType] => text/plain
[CharSet] =>
[Text] =>Dear <strong>Jan Robin Aaland</strong>,
SXXXXXXXXXXXX7
Your Nissan’s battery is 8% charged and has an estimated driving range of 17,0 km with climate control on, or 19,0 km with climate control off.
A 3kw charger will fully charge your Nissan’s battery in 16 h 0 min.
A 6kw charger will fully charge your Nissan’s battery in 7 h 30 min.
.For more information, visit <a href=http://www.nissan.no/NO/no/YouPlus.html target=' blank'>http://www.nissan.no/NO/no/YouPlus.html</a>
(c) 2016 INFINITI
[SenderName] => [SenderAddress] => nissan@news-nissan.com [Recipient] => Dilljeneve@HOTMAIL.COM [Subject] => BATTERY STATUS [Date] => 1638041531 [UID] => 42602 [Flags] => SEEN
I’m in a hurry, electricity prices have gone through the roof after the north sea link cable was opened. (and my wife don’t want me to spend more hours on the pc swearing and crying
)
if this have been posted before… please point me in the right direction, my German skills are level 0