#1024 nHaystack: Scheduling and commands duration

Stefano Villa Tue 3 Jan 2023


I'm exploring the functionalities of the nHaystack module. I've been able to write points with different priority levels, but I cannot set the duration.

curl --location --request POST 'http://<server_ip_address>/haystack/pointWrite' \
--header 'Content-Type: text/zinc; charset=utf-8' \
--header 'Authorization: Basic <authentication>' \
--data-raw 'ver:"3.0"

And this is the answer from the server:

"level 1",1.0,
"level 2",2,
"level 3",3,
"level 4",4,
"level 5",5,
"level 6",6,
"level 7",7,
"level 8",8,1.0
"level 9",9,
"level 10",10,
"level 11",11,
"level 12",12,
"level 13",13,
"level 14",14,
"level 15",15,
"level 16",16,
"level 17",17,

The duration just seems to be ignored. I've tried different unit of measurements and to send a raw number with no effect. Any idea on what I'm doing wrong?

The other question is about the possibility to create schedules using nHaystack on the Jace: does anyone know if that is possible?

Thank you!

Login or Signup to reply.