This may be of use.
I'm not sure.
[{"id":"9ca02b1571269132","type":"switch","z":"7f2f416d9e78b7fb","name":"Raspberry switch","property":"payload.raspberry","propertyType":"msg","rules":[{"t":"eq","v":"0","vt":"num"},{"t":"eq","v":"1","vt":"num"}],"checkall":"true","repair":false,"outputs":2,"x":690,"y":470,"wires":[["debe912c9a806cdd","2db82bb311c86903"],[]]},{"id":"545f2b6d0466fb4f","type":"junction","z":"7f2f416d9e78b7fb","x":570,"y":470,"wires":[["9ca02b1571269132","d78b19a8f58e55b5"]]},{"id":"debe912c9a806cdd","type":"switch","z":"7f2f416d9e78b7fb","name":"66","property":"payload.test","propertyType":"msg","rules":[{"t":"btwn","v":"1","vt":"num","v2":"63","v2t":"num"},{"t":"btwn","v":"64","vt":"num","v2":"100","v2t":"num"}],"checkall":"true","repair":false,"outputs":2,"x":890,"y":410,"wires":[["9f265664d400cc51","719fac3de4790af6"],["3356f23f37385155","27e3b90516fa3e30"]]},{"id":"2db82bb311c86903","type":"debug","z":"7f2f416d9e78b7fb","name":"debug 306","active":true,"tosidebar":true,"console":false,"tostatus":false,"complete":"payload.test","targetType":"msg","statusVal":"","statusType":"auto","x":910,"y":340,"wires":[]},{"id":"496fd9e9e862e46b","type":"function","z":"7f2f416d9e78b7fb","name":"function 36","func":"let msg1 = {};\n\nlet x = msg.payload;\n\nmsg1.payload = {\"raspberry\":0,\"test\":x};\n\n//node.warn(msg1);\n\nreturn msg1;","outputs":1,"noerr":0,"initialize":"","finalize":"","libs":[],"x":440,"y":470,"wires":[["545f2b6d0466fb4f"]]},{"id":"d78b19a8f58e55b5","type":"debug","z":"7f2f416d9e78b7fb","name":"debug 305","active":false,"tosidebar":true,"console":false,"tostatus":false,"complete":"false","statusVal":"","statusType":"auto","x":700,"y":400,"wires":[]},{"id":"9f265664d400cc51","type":"change","z":"7f2f416d9e78b7fb","name":"payload off","rules":[{"t":"set","p":"payload","pt":"msg","to":"off","tot":"str"}],"action":"","property":"","from":"","to":"","reg":false,"x":1080,"y":550,"wires":[["6cc39d704b5f95a1"]]},{"id":"719fac3de4790af6","type":"change","z":"7f2f416d9e78b7fb","name":"payload on","rules":[{"t":"set","p":"payload","pt":"msg","to":"on","tot":"str"}],"action":"","property":"","from":"","to":"","reg":false,"x":1080,"y":390,"wires":[["9689cb5b53fb22ea"]]},{"id":"3356f23f37385155","type":"change","z":"7f2f416d9e78b7fb","name":"payload off","rules":[{"t":"set","p":"payload","pt":"msg","to":"off","tot":"str"}],"action":"","property":"","from":"","to":"","reg":false,"x":1080,"y":430,"wires":[["9689cb5b53fb22ea"]]},{"id":"27e3b90516fa3e30","type":"change","z":"7f2f416d9e78b7fb","name":"payload on","rules":[{"t":"set","p":"payload","pt":"msg","to":"on","tot":"str"}],"action":"","property":"","from":"","to":"","reg":false,"x":1080,"y":510,"wires":[["6cc39d704b5f95a1"]]},{"id":"2c995f110bcb3e56","type":"junction","z":"7f2f416d9e78b7fb","x":320,"y":470,"wires":[["496fd9e9e862e46b"]]},{"id":"1a347da86ce0a986","type":"switch","z":"7f2f416d9e78b7fb","name":"30","property":"payload.test","propertyType":"msg","rules":[{"t":"btwn","v":"1","vt":"num","v2":"30","v2t":"num"},{"t":"btwn","v":"31","vt":"num","v2":"100","v2t":"num"}],"checkall":"true","repair":false,"outputs":2,"x":890,"y":530,"wires":[["719fac3de4790af6","9f265664d400cc51"],["3356f23f37385155","27e3b90516fa3e30"]]},{"id":"6cc39d704b5f95a1","type":"debug","z":"7f2f416d9e78b7fb","name":"debug 304","active":false,"tosidebar":true,"console":false,"tostatus":false,"complete":"false","statusVal":"","statusType":"auto","x":1300,"y":530,"wires":[]},{"id":"9689cb5b53fb22ea","type":"debug","z":"7f2f416d9e78b7fb","name":"debug 303","active":true,"tosidebar":true,"console":false,"tostatus":false,"complete":"false","statusVal":"","statusType":"auto","x":1290,"y":410,"wires":[]},{"id":"7741af307c5dcca9","type":"inject","z":"7f2f416d9e78b7fb","name":"","props":[{"p":"payload"},{"p":"topic","vt":"str"}],"repeat":"","crontab":"","once":false,"onceDelay":0.1,"topic":"","payload":"65","payloadType":"num","x":190,"y":410,"wires":[["2c995f110bcb3e56"]]},{"id":"01ae580f9cb43a2e","type":"inject","z":"7f2f416d9e78b7fb","name":"","props":[{"p":"payload"},{"p":"topic","vt":"str"}],"repeat":"","crontab":"","once":false,"onceDelay":0.1,"topic":"","payload":"66","payloadType":"num","x":190,"y":450,"wires":[["2c995f110bcb3e56"]]},{"id":"9292b064e410ebf8","type":"inject","z":"7f2f416d9e78b7fb","name":"","props":[{"p":"payload"},{"p":"topic","vt":"str"}],"repeat":"","crontab":"","once":false,"onceDelay":0.1,"topic":"","payload":"67","payloadType":"num","x":190,"y":490,"wires":[["2c995f110bcb3e56"]]},{"id":"e98f580ef72ebc4b","type":"inject","z":"7f2f416d9e78b7fb","name":"","props":[{"p":"payload"},{"p":"topic","vt":"str"}],"repeat":"","crontab":"","once":false,"onceDelay":0.1,"topic":"","payload":"68","payloadType":"num","x":190,"y":530,"wires":[["2c995f110bcb3e56"]]},{"id":"57523052acf0ef2f","type":"inject","z":"7f2f416d9e78b7fb","name":"","props":[{"p":"payload"},{"p":"topic","vt":"str"}],"repeat":"","crontab":"","once":false,"onceDelay":0.1,"topic":"","payload":"69","payloadType":"num","x":190,"y":570,"wires":[["2c995f110bcb3e56"]]},{"id":"6fd47af761d226b6","type":"inject","z":"7f2f416d9e78b7fb","name":"","props":[{"p":"payload"},{"p":"topic","vt":"str"}],"repeat":"","crontab":"","once":false,"onceDelay":0.1,"topic":"","payload":"70","payloadType":"num","x":190,"y":610,"wires":[["2c995f110bcb3e56"]]},{"id":"1b91dd0e75f154ab","type":"inject","z":"7f2f416d9e78b7fb","name":"","props":[{"p":"payload"},{"p":"topic","vt":"str"}],"repeat":"","crontab":"","once":false,"onceDelay":0.1,"topic":"","payload":"64","payloadType":"num","x":190,"y":370,"wires":[["2c995f110bcb3e56"]]},{"id":"b4e0f6edec31c29e","type":"inject","z":"7f2f416d9e78b7fb","name":"","props":[{"p":"payload"},{"p":"topic","vt":"str"}],"repeat":"","crontab":"","once":false,"onceDelay":0.1,"topic":"","payload":"63","payloadType":"num","x":190,"y":330,"wires":[["2c995f110bcb3e56"]]},{"id":"dd9f6d812efd2fe9","type":"inject","z":"7f2f416d9e78b7fb","name":"","props":[{"p":"payload"},{"p":"topic","vt":"str"}],"repeat":"","crontab":"","once":false,"onceDelay":0.1,"topic":"","payload":"62","payloadType":"num","x":190,"y":290,"wires":[["2c995f110bcb3e56"]]},{"id":"8e9bab76ff1d0c35","type":"inject","z":"7f2f416d9e78b7fb","name":"","props":[{"p":"payload"},{"p":"topic","vt":"str"}],"repeat":"","crontab":"","once":false,"onceDelay":0.1,"topic":"","payload":"61","payloadType":"num","x":190,"y":250,"wires":[["2c995f110bcb3e56"]]},{"id":"3507a88de0877375","type":"switch","z":"7f2f416d9e78b7fb","name":"70","property":"payload.test","propertyType":"msg","rules":[{"t":"btwn","v":"1","vt":"num","v2":"69","v2t":"num"},{"t":"btwn","v":"70","vt":"num","v2":"100","v2t":"num"}],"checkall":"true","repair":false,"outputs":2,"x":890,"y":290,"wires":[[],[]]}]