duhanebel / fanjiu-weather-service

MIT License
4 stars 3 forks source link

integrate in smarthome #1

Open elzershark opened 4 years ago

elzershark commented 4 years ago

hi, can you make it so that you can query the temperatures? i would like to integrate that into iobroker. with mqtt or something like that. Thanks

duhanebel commented 3 years ago

A bit late to the party.. but I did exactly that the other day. I've got a working implementation here (it uploads to influxDB but you should be able to change it for MTTQ easily): https://gist.github.com/duhanebel/68063b43a2548ec6716262a01cb036a3

What you're interested in is the method: def process_local_request(str):