@joorit said in Toon on Pimatic via Z-way:
@Gleno0h I used the script from your link. Just have one problem with it. i am able to get the temprature and state. unfortunally i am not able to change one of them.
Any suggestions?
Well, the page also mentions a toonclient python click here it states you can set temp as following
./toonclient.py -s 21
<==== might also need the username and password
See
parser.add_argument('-t', help='return current temperature in Celsius', action='store_true')
parser.add_argument('-p', help='return current power usage in Watts', action='store_true')
parser.add_argument('-c', help='return active program state', action='store_true')
parser.add_argument('-s', '--settemp', help='set target temperature', dest='targettemp', type=float)
parser.add_argument('-C', '--setstate', help='set target state', dest='targetstate')
parser.add_argument('-U', '--username', help='the Toon username', required=True, dest='username')
parser.add_argument('-P', '--password', help='the Toon password', required=True, dest='password')
You can use it in a rule:
WHEN blablabla THEN execute '/path/to/toonclient.py -s 21'
I dont own a toon so i cant test the script.