On Thursday, January 2, 2020 at 11:27:20 AM UTC-5, Stefanie Drucker wrote:
>
> Update:
>
>    - The Mobile Alerts REST API only supports some of their sensors - 
>    most of my temp/hum sensors are not supported by the API.
>    - I think the easiest way to gain sensor data is to parse the 
>    measurements from a website that is provided by Mobile Alerts. There's no 
>    password protection, all you need are the IDs of your weather station 
>    ('PhoneID') and the sensors, or even better the unique URLs showing the 
>    last measurements for each sensor. For sorry these are HTML tables only, 
> no 
>    XML format. But still should be no problem to parse the values.
>
> So sniffing is not required, just HTML parsing.
> I think then the interceptor is the wrong driver, right?
>

if you use tcpdump or some other tool to capture the tcp/ip traffic between 
your station and mobile alerts servers, then it would be possible to extend 
the weewx-interceptor driver to recognize that protocol.  or just create a 
standalone driver just for that protocol.

you could scrape and parse html from the mobile alerts web site, but that 
approach has many problems of its own.

it might be possible to write a driver that uses the mobile alerts API to 
get data from mobile alerts, but if mobile alerts does not support all of 
the sensors, then that does not seem like time well spent.

m

-- 
You received this message because you are subscribed to the Google Groups 
"weewx-user" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/weewx-user/f85db606-4413-4ce3-98ca-b7a8c7835534%40googlegroups.com.

Reply via email to