I have a Home Assistant set up with the Node Red addon. I've been trying to get responses from the Arcam from the serial port and then send the info like volume etc, back into Home Assistant.
I can receive the responses but I'm stuck on how to split the responses into something readable by Home Assistant.
The format from the manual looks like this for the Arcam response to a volume change;
Response: 0x41 0x56 0x5f 0x2f 0x50 0x32 0x68 0x0d
The volume level is the 7th value but minus -0x30, the other values are zone etc. (Formula: actual volume = (reported volume – 0x30)
Can someone please explain how can I split into separate values and then do the subtraction to get a value back to Home Assistant?
Thanks in advance! it might be easy for some of you but I'm scratching my head.