Hi.
Is that possible to multiply by 2 (for example) the value that I want to send with json?
For example, something like that:
/json.htm?type=command¶m=udevice&idx=IDX&nvalue=0&svalue=TEMP*2
I tried differents syntaxes but no succes.
Any idea?
Thanks
arithmetic operatins with json.
Moderators: leecollings, remb0
- jvdz
- Posts: 2328
- Joined: Tuesday 30 December 2014 19:25
- Target OS: Raspberry Pi / ODroid
- Domoticz version: 4.107
- Location: Netherlands
- Contact:
Re: arithmetic operatins with json.
No, you need to do that in the script that sends the JSON api call.
Jos
Jos
New Garbage collection scripts: https://github.com/jvanderzande/GarbageCalendar
Who is online
Users browsing this forum: No registered users and 1 guest