hi, i bought my first victron smart solar mppt 250/100 and i would like to read the data via ve.direct port. i am using a ttl to rs485 to eth converter. i read all the documentation about it but i cant figure out how to write the payload! can someone help me? thanks.
Didnt know what you want to to but when you need the datas in a housautomation software look at this
I already know this solution! But I would like to communicate directly with mppt
So i know you didnt need any payload to receive the data it send it in auto intervalls look into the esp git
The vedirect protocoll is here
Hello I have read all the victron documentation! I have difficulty building hex strings, I’m not a computer scientist ! I would only need one string for a single value with the explanation of how it works to be able to learn to do it myself, so then I build all the strings for each value ! Can anyone help me? Thank you.
Have you read what is have send
Older implementations
• On power up, a VE.Direct interface will always be in Text-mode, and continuously transmits
all run-time fields. As soon as it receives a valid HEX-message, it will switch to HEX-mode. It
will stay in HEX-mode as long as HEX-messages are frequently received. After a product has
not received any valid HEX-messages for several seconds, it will switch back to Text-mode
and start to auto transmit the run-time fields periodically again. Some products will send
Asynchronous HEX-messages, starting with “:A” and ending with a newline ‘\n’, on their
own. These messages can interrupt a regular Text-mode frame.
Newer implementations <-----------------------------
• Always have the Text-mode active, regardless of the HEX-messages.
Hi, yes I have read and understood this part! In text mode it provides partial but still important data but I am not able to implement yaml code to exploit the text string. So I would like to send him the requests for the individual hex values. I’ve already done this with other devices to which I send a payload and the device responds with all the data in a single, very long hex string. While mppt victron needs me to send a string for each value. I have difficulty composing the payload because I don’t have the skills to understand the decimal hex logic of the payload strings to be sent and then interpret the answers! I understand it’s complicated but I don’t want to use esp with code I don’t understand anything about ! Can I get help?