# MPPT: Ve Direct

**URL:** <https://community.victronenergy.com/t/mppt-ve-direct/14394>\
**Category:** Modifications\
**Tags:** ve-direct, mppt\_controllers\
**Created:** [6 December 2024 10:05 UTC](https://community.victronenergy.com/t/mppt-ve-direct/14394 "2024-12-06T10:05:32Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![Ian0](https://avatars.discourse-cdn.com/v4/letter/i/51bf81/32.png) [@Ian0](https://community.victronenergy.com/u/Ian0)\
**Post date:** [6 December 2024 10:05 UTC](https://community.victronenergy.com/t/mppt-ve-direct/14394/1 "2024-12-06T10:05:32Z")

</div>

I wrote a routine to retrieve Panel Voltage and Current data from MPPTs via the VE Direct interface, and tested it on a MPPT 250:100-Tr Ve-CAN, but it didn’t work on a 150:100-Tr.  
What has changed?

---

<div class="post-metadata">

**Author:** ![alexpescaru](https://dub1.discourse-cdn.com/victron/user_avatar/community.victronenergy.com/alexpescaru/32/270_2.png) [@alexpescaru](https://community.victronenergy.com/u/alexpescaru)\
**Post date:** [6 December 2024 10:17 UTC](https://community.victronenergy.com/t/mppt-ve-direct/14394/2 "2024-12-06T10:17:02Z")

</div>

Please be more specific and post the way you retrieve the info, as in commands, scripts, etc.  
Then we will see if on the 150:100 is must be done the same.  
Thanks.

---

<div class="post-metadata">

**Author:** ![Ian0](https://avatars.discourse-cdn.com/v4/letter/i/51bf81/32.png) [@Ian0](https://community.victronenergy.com/u/Ian0)\
**Post date:** [6 December 2024 11:44 UTC](https://community.victronenergy.com/t/mppt-ve-direct/14394/3 "2024-12-06T11:44:19Z")

</div>

To detect the presence of an MPPT on the input, I wait for an any message, which will most likely be an asynchronous message starting :A  
Then I send a SET commands 0x2001 and 0x2015 to set the voltage and current limits, then GET commands 0xEDD7, 0xEDD5, 0xEDBD, 0xEDBB, 0x200E each one sent when a reply to the previous is received.

---

<div class="post-metadata">

**Author:** ![alexpescaru](https://dub1.discourse-cdn.com/victron/user_avatar/community.victronenergy.com/alexpescaru/32/270_2.png) [@alexpescaru](https://community.victronenergy.com/u/alexpescaru)\
**Post date:** [6 December 2024 11:49 UTC](https://community.victronenergy.com/t/mppt-ve-direct/14394/4 "2024-12-06T11:49:10Z")

</div>

Thanks for the detailed response.

Now, to which command it doesn’t respond?  
Or you don’t even get an :A message ?

Instead of waiting for an :A, why don’t you use a ping (:1) message for detecting the presence? It’s the recommended way…

Also these are HEX messages. Newer versions are always have the **text mode** active, regardless of HEX messages.

 ![1](https://europe1.discourse-cdn.com/victron/original/2X/3/3819b72f7f9d8c1d19229eb7bea05495918095c6.jpeg)

---

<div class="post-metadata">

**Author:** ![Ian0](https://avatars.discourse-cdn.com/v4/letter/i/51bf81/32.png) [@Ian0](https://community.victronenergy.com/u/Ian0)\
**Post date:** [6 December 2024 12:14 UTC](https://community.victronenergy.com/t/mppt-ve-direct/14394/5 "2024-12-06T12:14:51Z")

</div>

Unfortunately, the device in question is about 600km away from here, and the one I had in stock doesn’t work (as per my other post). I’ll resume this topic in due course. . .  
I used the :A message to start it up simply because it worked with my existing routine that receives replies. For a ping, I’d have to write another routine (which I shall do, following you recommendation)
