I’m working on getting a Daikin Zone controller + wifi module working with openhab.
Querying the Zone controller with a http query returns:
ret=OK,zone_name=Master;Study;Guest;US Living;DS Living; Zone6; Zone7; Zone8,zone_onoff=1;0;0;0;1;0;0;0
This output represents the names of the individual zones - separated by ; after ‘zone_name’ and also the states of these zones - separated by ; after zone_onoff
What I need to do is parse this string to populate the current values of each zone - the zone names isn’t important, other than the command to ‘set’ to new zone values needs to include the full zone_name string, so storing it would be useful.
OK thanks, I’d seen that post, just wondered if there was a more efficient way - seems I’ll need to call split a number of times to get all the parts I need, but if that’s the most efficient way then so be it…