Haha someone actually following my API post… I set a trigger to detect
For the first question. I will post later when I am home but its very similiar to the regex you used to get the numbers out of the http sensor web cache.
With the API call you will see in the log the result of the curl command as an update of the MobileAlertsAPI item. There will you can see the data returned from the sh script. This is the code used for the regex extraction. If you copy this you can test your regex expression in one of those free regex test sites. I used regex101. // needed for Openhab can cause an issue on some sites but changing it to / works for testing on regex101.
If your devices are different then you will needed to adapt the regex expression. I posted wind as an example since you were talking about that but I also use it for the rain gauge too. Its more accurate numbers than the sensor page cache as it returns the unrounded bucket tip volume 0.258ml per tip.
The API call should work for all the ‘pro’ rated sensors.
For the second question. Do you recognise the IP? Its not mobile alerts sensor page! Local IP ? This is for the sensor web caching method with http binding, right?
M