Rotronic RMS Forum

Can't add device with API function.

Thread #5965 | 2024-09-23 08:53 UTC | Guest | replies: 7
Post #1 | 2024-09-23 08:53 UTC | Guest
Hello

We're trying to add a JSON device to an on premise RMS system (version 2.4) via API function. We're using curl for that. When choosing New -> JSON device then after few seconds the system says "Device initialization failed", when pressing OK, the system still keeps on waiting for a new device. When sending first command (without token and deviceid) then the server responses: 400 bad request.
The command that we are using:
curl -v -H "Content-Type: application/json" -H "Expect: 100-continue" -H "Connection: Close" -d '{"Name":"proov","Serial":1551,"Values":[{"Index":1,"Typ":1,"Unit":"%rh","Value":35.6},{ "In dex":2,"Typ":2,"Unit":"°C","Value":23.5}]} http://serverip/wService/wService3.DeviceService.svc/UpdateDataJson

Can anyone help?​​
Post #2 | 2024-10-08 08:10 UTC | Guest
Hello
The URL is correct, the post itself has cut a part of the URL. If you hover the mouse over the URL then you see it entirely.
Post #3 | 2024-11-26 13:32 UTC | James
Hi Lauri,

Can you please reach out to [email]rms@rotronic.ch[/email] to get more in depth support?

Regards,
James
Post #4 | 2024-12-09 03:04 UTC | Guest
lauri maripuu wrote:
Hello

We're trying to add a JSON device to an on premise RMS system (version 2.4) via API function. We're using curl for that. When choosing New -> JSON device then after few seconds the system says "Device initialization failed", when pressing OK, the system still keeps on waiting for a new device. When sending first command (without token and deviceid) then the server responses: 400 bad request.
The command that we are using:
curl -v -H "Content-Type: application/json" -H "Expect: 100-continue" -H "Connection: Close" -d '{"Name":"proov","Serial":1551,"Values":[{"Index":1,"Typ":1,"Unit":"%rh","Value":35.6},{ "In dex":2,"Typ":2,"Unit":"°C","Value":23.5}]} http://serverip/wService/wService3.DeviceService.svc/UpdateDataJson Block Blast

Can anyone help?​​


Can you provide the complete and correct API endpoint URL, as the one shared seems truncated (`...wService3.D...UpdateDataJson`) and may not be accurate?
Post #5 | 2024-12-21 04:53 UTC | Guest
lauri maripuu wrote:
Hello

We're trying to add a JSON device to an on premise RMS system (version 2.4) via API function. We're using curl for that. When choosing New -> JSON device then after few seconds the system says "Device initialization failed", when pressing OK, the system still keeps on waiting for a new device. When sending first command (without token and deviceid) then the server responses: 400 bad request.
The command that we are using:
curl -v -H "Content-Type: application/json" -H "Expect: 100-continue" -H "Connection: Close" -d '{"Name":"proov","Serial":1551,"Values":[{"Index":1,"Typ":1,"Unit":"%rh","Value":35.6},{ "In dex":2,"Typ":2,"Unit":"°C","Value":23.5}]} http://serverip/wService/wService3.DeviceService.svc/UpdateDataJson Smashy road

Can anyone help?​​


Try hovering over the URL and you will see it and click on it.
Post #6 | 2025-01-06 04:54 UTC | Guest
Serious issue
Post #7 | 2025-05-06 10:17 UTC | Guest
In capybara clicker, your goal is to build a capybara empire by clicking on the capybara on screen. Each click produces additional capybara, and you may purchase upgrades to speed up the manufacturing process. These enhancements include auto-clickers and tools for increasing the quantity of capybara each click. As you continue in the game, you will unlock different costumes and modify the weather to create the ideal environment for your capybara empire.

Post #8 | 2025-07-28 10:35 UTC | Guest
There are many unique characters that players can unlock in crossy road. Each character has its own movement style and characteristics, but some have stood out in the hearts of fans.

No matching posts in this thread.