I would just like to say a huge thank you to the both of you! Absolute legends! I am now sorted.
Thanks again lads.
I would just like to say a huge thank you to the both of you! Absolute legends! I am now sorted.
Thanks again lads.
Thanks very much for the welcome as well as the quick response! That does somewhat, but what I'm not so sure about is how one actually extracts it, for example:
int incoming_command = atoi(message.data);
would allows me to see the state the controller is trying to set my relay to, should I be extracting the node and child ID's in the same way?
Hi all,
I was hoping somebody could help me out here or call me out on not looking properly. I'm currently trying to check messages coming from the controller to the sensor in hope of extracting the Node ID, Child ID in order to toggle the state of the target relay.
I'm currently confused on the proper way to do it, and have only managed to determine what state the controller is wanting to set on which ever relay it's meant to be targeting.
I should also note I'm using MySensor Library v2
Thanks
Mango