I need to know how I can change in real-time the value send by the http (get metod).
This is what I get 'till now (1) and what I want to achive (2)
- Now I have the first test running fine like this
CDI1 – LP_SENSOR_MANUAL_1002/1_1/4194279
CDI1 - LP_SENSOR_INPUT_1004/1_1/755
The system is sending the value when it changes.
The parameter is always “almnr”
- – Final solution must change in real-time and send:
PREFIX = 4 (will be a fixed number. Same for all)
DeviceID = Range of device/point name, like examples (before the equal sign are the device name. After the equal sign are the number to be extracted):
LP_SENSOR_MANUAL_1002/1_1/4194279 = 1002 LP_SENSOR_INPUT_1004/1_1/755 = 1004
The position of DevideID varies. Position is between first “/” counting backwards to “_” as you can notice above.
VALUE = value (of the data point)
Final example: almnr=410027
4 = the fixed nr
1002 = Id of device
7 = the value
Can you advise?
Thank you for your attention