I have a question about the API, is there a way i could set the value of a certain sensor in the future (or past)?
In the netherlands we have variable prices for power and gas and have created a script in node-red to calculate when it's the cheapest to charge my tesla.
I would like to store the values of the energy price in domoticz because it's more persistent.
The issue is that the prices are known on a certain time, and i then would like to store it and not update that price every hour.
i have checked https://www.domoticz.com/wiki/Domoticz_API/JSON_URL%27s but i only see something about timers.
Is there a way to do this or am i asking the impossible

it would be nice if i could something like:
/json.htm?type=command¶m=udevice&idx=IDX&nvalue=0&svalue=VALUE&datetime=yyyyMMddhhmm
Thanks in advance